LibreOffice Module sw (master)  1
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
SwStdFontTabPage Class Reference

#include <optpage.hxx>

Inheritance diagram for SwStdFontTabPage:
[legend]
Collaboration diagram for SwStdFontTabPage:
[legend]

Public Member Functions

virtual bool FillItemSet (SfxItemSet *rSet) override
 
virtual void Reset (const SfxItemSet *rSet) override
 
virtual void PageCreated (const SfxAllItemSet &aSet) override
 
- Public Member Functions inherited from SfxTabPage
void SetDialogController (SfxOkDialogController *pDialog)
 
virtual ~SfxTabPage () override
 
const SfxItemSetGetItemSet () const
 
bool HasExchangeSupport () const
 
void SetExchangeSupport ()
 
virtual void ActivatePage (const SfxItemSet &)
 
virtual DeactivateRC DeactivatePage (SfxItemSet *pSet)
 
void SetUserData (const OUString &rString)
 
const OUString & GetUserData ()
 
virtual void FillUserData ()
 
virtual bool IsReadOnly () const
 
virtual void ChangesApplied ()
 
void SetFrame (const css::uno::Reference< css::frame::XFrame > &xFrame)
 
css::uno::Reference< css::frame::XFrame > GetFrame ()
 
const SfxItemSetGetDialogExampleSet () const
 
OString GetConfigId () const
 
weld::WindowGetDialogFrameWeld () const
 

Static Public Member Functions

static VclPtr< SfxTabPageCreate (TabPageParent pParent, const SfxItemSet *rAttrSet)
 
- Static Public Member Functions inherited from SfxTabPage
static const SfxPoolItemGetItem (const SfxItemSet &rSet, sal_uInt16 nSlot, bool bDeep=true)
 
static const T * GetItem (const SfxItemSet &rSet, TypedWhichId< T > nSlot, bool bDeep=true)
 

Private Member Functions

 DECL_LINK (StandardHdl, weld::Button &, void)
 
 DECL_LINK (ModifyHdl, weld::ComboBox &, void)
 
 DECL_LINK (LoseFocusHdl, weld::Widget &, void)
 
 SwStdFontTabPage (TabPageParent pParent, const SfxItemSet &rSet)
 
virtual ~SwStdFontTabPage () override
 
virtual void dispose () override
 

Private Attributes

OUString m_sShellStd
 
OUString m_sShellTitle
 
OUString m_sShellList
 
OUString m_sShellLabel
 
OUString m_sShellIndex
 
VclPtr< SfxPrinterm_pPrt
 
std::unique_ptr< FontListm_pFontList
 
SwStdFontConfigm_pFontConfig
 
SwWrtShellm_pWrtShell
 
LanguageType m_eLanguage
 
bool m_bListDefault:1
 
bool m_bSetListDefault:1
 
bool m_bLabelDefault:1
 
bool m_bSetLabelDefault:1
 
bool m_bIdxDefault:1
 
bool m_bSetIdxDefault:1
 
bool m_bDisposePrinter:1
 
bool m_bListHeightDefault:1
 
bool m_bLabelHeightDefault:1
 
bool m_bIndexHeightDefault:1
 
sal_uInt8 m_nFontGroup
 
OUString const m_sScriptWestern
 
OUString const m_sScriptAsian
 
OUString const m_sScriptComplex
 
std::unique_ptr< weld::Labelm_xLabelFT
 
std::unique_ptr< weld::ComboBoxm_xStandardBox
 
std::unique_ptr< SvtFontSizeBoxm_xStandardHeightLB
 
std::unique_ptr< weld::ComboBoxm_xTitleBox
 
std::unique_ptr< SvtFontSizeBoxm_xTitleHeightLB
 
std::unique_ptr< weld::ComboBoxm_xListBox
 
std::unique_ptr< SvtFontSizeBoxm_xListHeightLB
 
std::unique_ptr< weld::ComboBoxm_xLabelBox
 
std::unique_ptr< SvtFontSizeBoxm_xLabelHeightLB
 
std::unique_ptr< weld::ComboBoxm_xIdxBox
 
std::unique_ptr< SvtFontSizeBoxm_xIndexHeightLB
 
std::unique_ptr< weld::Buttonm_xStandardPB
 

Friends

class VclPtr< SwStdFontTabPage >
 

Additional Inherited Members

- Protected Member Functions inherited from SfxTabPage
 SfxTabPage (vcl::Window *pParent, const OString &rID, const OUString &rUIXMLDescription, const SfxItemSet *rAttrSet)
 
 SfxTabPage (TabPageParent pParent, const OUString &rUIXMLDescription, const OString &rID, const SfxItemSet *rAttrSet)
 
sal_uInt16 GetWhich (sal_uInt16 nSlot, bool bDeep=true) const
 
const SfxPoolItemGetOldItem (const SfxItemSet &rSet, sal_uInt16 nSlot, bool bDeep=true)
 
const T * GetOldItem (const SfxItemSet &rSet, TypedWhichId< T > nSlot, bool bDeep=true)
 
SfxOkDialogControllerGetDialogController () const
 
- Protected Attributes inherited from SfxTabPage
std::unique_ptr< weld::Builderm_xBuilder
 
std::unique_ptr< weld::Containerm_xContainer
 

Detailed Description

Definition at line 118 of file optpage.hxx.

Constructor & Destructor Documentation

SwStdFontTabPage::SwStdFontTabPage ( TabPageParent  pParent,
const SfxItemSet rSet 
)
private

Definition at line 493 of file optpage.cxx.

References LINK, m_xIdxBox, m_xLabelBox, m_xListBox, m_xStandardBox, m_xStandardPB, and m_xTitleBox.

SwStdFontTabPage::~SwStdFontTabPage ( )
overrideprivatevirtual

Definition at line 545 of file optpage.cxx.

Member Function Documentation

VclPtr< SfxTabPage > SwStdFontTabPage::Create ( TabPageParent  pParent,
const SfxItemSet rAttrSet 
)
static
SwStdFontTabPage::DECL_LINK ( StandardHdl  ,
weld::Button ,
void   
)
private
SwStdFontTabPage::DECL_LINK ( ModifyHdl  ,
weld::ComboBox ,
void   
)
private
SwStdFontTabPage::DECL_LINK ( LoseFocusHdl  ,
weld::Widget ,
void   
)
private
void SwStdFontTabPage::dispose ( void  )
overrideprivatevirtual
bool SwStdFontTabPage::FillItemSet ( SfxItemSet rSet)
overridevirtual

Reimplemented from SfxTabPage.

Definition at line 592 of file optpage.cxx.

References CalcToUnit(), SwEditShell::EndAllAction(), FONT_CAPTION, FONT_GROUP_CJK, FONT_GROUP_DEFAULT, FONT_INDEX, FONT_LIST, FONT_OUTLINE, FONT_STANDARD, vcl::Font::GetCharSet(), vcl::Font::GetFamilyName(), vcl::Font::GetFamilyType(), SwViewShell::getIDocumentDeviceAccess(), vcl::Font::GetPitch(), IDocumentDeviceAccess::getPrinter(), SwEditShell::GetTextCollFromPool(), lcl_SetColl(), m_bIdxDefault, m_bIndexHeightDefault, m_bLabelDefault, m_bLabelHeightDefault, m_bListDefault, m_bListHeightDefault, m_bSetIdxDefault, m_bSetLabelDefault, m_bSetListDefault, m_nFontGroup, m_pFontConfig, m_pWrtShell, m_sShellIndex, m_sShellLabel, m_sShellList, m_sShellStd, m_sShellTitle, m_xIdxBox, m_xIndexHeightLB, m_xLabelBox, m_xLabelHeightLB, m_xListBox, m_xListHeightLB, m_xStandardBox, m_xStandardHeightLB, m_xTitleBox, m_xTitleHeightLB, RES_CHRATR_CJK_FONT, RES_CHRATR_CJK_FONTSIZE, RES_CHRATR_CTL_FONT, RES_CHRATR_CTL_FONTSIZE, RES_CHRATR_FONT, RES_CHRATR_FONTSIZE, RES_POOLCOLL_HEADLINE_BASE, RES_POOLCOLL_LABEL, RES_POOLCOLL_NUMBUL_BASE, RES_POOLCOLL_REGISTER_BASE, RES_POOLCOLL_STANDARD, SwTextFormatColl::ResetFormatAttr(), SwEditShell::SetDefault(), SwStdFontConfig::SetFontCaption(), SwStdFontConfig::SetFontHeight(), SwStdFontConfig::SetFontIndex(), SwStdFontConfig::SetFontList(), SwStdFontConfig::SetFontOutline(), SwStdFontConfig::SetFontStandard(), SwEditShell::SetModified(), SwEditShell::StartAllAction(), and SW_MOD.

void SwStdFontTabPage::PageCreated ( const SfxAllItemSet aSet)
overridevirtual

Reimplemented from SfxTabPage.

Definition at line 998 of file optpage.cxx.

References SfxItemSet::GetItem(), CntUInt16Item::GetValue(), and m_nFontGroup.

void SwStdFontTabPage::Reset ( const SfxItemSet rSet)
overridevirtual

Reimplemented from SfxTabPage.

Definition at line 721 of file optpage.cxx.

References CalcToPoint(), VclPtr< reference_type >::Create(), VclPtr< reference_type >::disposeAndClear(), FN_PARAM_PRINTER, FN_PARAM_STDFONTS, FN_PARAM_WRTSHELL, FONT_CAPTION, FONT_GROUP_CJK, FONT_GROUP_CTL, FONT_GROUP_DEFAULT, FONT_INDEX, FONT_LIST, FONT_OUTLINE, FONT_PER_GROUP, FONT_STANDARD, SwFormat::GetAttrSet(), SwFormat::GetCJKFont(), SwFormat::GetCTLFont(), SwStdFontConfig::GetDefaultHeightFor(), SvxFontItem::GetFamilyName(), SwFormat::GetFont(), SwStdFontConfig::GetFontCaption(), SwStdFontConfig::GetFontHeight(), SwStdFontConfig::GetFontIndex(), SwStdFontConfig::GetFontList(), SwStdFontConfig::GetFontOutline(), SwStdFontConfig::GetFontStandard(), SwFormat::GetFormatAttr(), SvxFontHeightItem::GetHeight(), SfxItemSet::GetItemState(), SfxItemSet::GetPool(), SwEditShell::GetTextCollFromPool(), GetValue, i, m_bDisposePrinter, m_bIdxDefault, m_bIndexHeightDefault, m_bLabelDefault, m_bLabelHeightDefault, m_bListDefault, m_bListHeightDefault, m_eLanguage, m_nFontGroup, m_pFontConfig, m_pFontList, m_pPrt, m_pWrtShell, m_sScriptAsian, m_sScriptComplex, m_sScriptWestern, m_sShellIndex, m_sShellLabel, m_sShellList, m_sShellStd, m_sShellTitle, m_xIdxBox, m_xIndexHeightLB, m_xLabelBox, m_xLabelFT, m_xLabelHeightLB, m_xListBox, m_xListHeightLB, m_xStandardBox, m_xStandardHeightLB, m_xTitleBox, m_xTitleHeightLB, RES_CHRATR_CJK_FONT, RES_CHRATR_CJK_FONTSIZE, RES_CHRATR_CTL_FONT, RES_CHRATR_CTL_FONTSIZE, RES_CHRATR_FONT, RES_CHRATR_FONTSIZE, RES_POOLCOLL_HEADLINE_BASE, RES_POOLCOLL_LABEL, RES_POOLCOLL_NUMBUL_BASE, RES_POOLCOLL_REGISTER_BASE, and RES_POOLCOLL_STANDARD.

Friends And Related Function Documentation

friend class VclPtr< SwStdFontTabPage >
friend

Definition at line 120 of file optpage.hxx.

Member Data Documentation

bool SwStdFontTabPage::m_bDisposePrinter
private

Definition at line 140 of file optpage.hxx.

Referenced by dispose(), and Reset().

bool SwStdFontTabPage::m_bIdxDefault
private

Definition at line 138 of file optpage.hxx.

Referenced by FillItemSet(), and Reset().

bool SwStdFontTabPage::m_bIndexHeightDefault
private

Definition at line 144 of file optpage.hxx.

Referenced by FillItemSet(), and Reset().

bool SwStdFontTabPage::m_bLabelDefault
private

Definition at line 136 of file optpage.hxx.

Referenced by FillItemSet(), and Reset().

bool SwStdFontTabPage::m_bLabelHeightDefault
private

Definition at line 143 of file optpage.hxx.

Referenced by FillItemSet(), and Reset().

bool SwStdFontTabPage::m_bListDefault
private

Definition at line 134 of file optpage.hxx.

Referenced by FillItemSet(), and Reset().

bool SwStdFontTabPage::m_bListHeightDefault
private

Definition at line 142 of file optpage.hxx.

Referenced by FillItemSet(), and Reset().

bool SwStdFontTabPage::m_bSetIdxDefault
private

Definition at line 139 of file optpage.hxx.

Referenced by FillItemSet().

bool SwStdFontTabPage::m_bSetLabelDefault
private

Definition at line 137 of file optpage.hxx.

Referenced by FillItemSet().

bool SwStdFontTabPage::m_bSetListDefault
private

Definition at line 135 of file optpage.hxx.

Referenced by FillItemSet().

LanguageType SwStdFontTabPage::m_eLanguage
private

Definition at line 131 of file optpage.hxx.

Referenced by Reset().

sal_uInt8 SwStdFontTabPage::m_nFontGroup
private

Definition at line 146 of file optpage.hxx.

Referenced by FillItemSet(), PageCreated(), and Reset().

SwStdFontConfig* SwStdFontTabPage::m_pFontConfig
private

Definition at line 129 of file optpage.hxx.

Referenced by FillItemSet(), and Reset().

std::unique_ptr<FontList> SwStdFontTabPage::m_pFontList
private

Definition at line 128 of file optpage.hxx.

Referenced by dispose(), and Reset().

VclPtr<SfxPrinter> SwStdFontTabPage::m_pPrt
private

Definition at line 127 of file optpage.hxx.

Referenced by dispose(), and Reset().

SwWrtShell* SwStdFontTabPage::m_pWrtShell
private

Definition at line 130 of file optpage.hxx.

Referenced by FillItemSet(), and Reset().

OUString const SwStdFontTabPage::m_sScriptAsian
private

Definition at line 149 of file optpage.hxx.

Referenced by Reset().

OUString const SwStdFontTabPage::m_sScriptComplex
private

Definition at line 150 of file optpage.hxx.

Referenced by Reset().

OUString const SwStdFontTabPage::m_sScriptWestern
private

Definition at line 148 of file optpage.hxx.

Referenced by Reset().

OUString SwStdFontTabPage::m_sShellIndex
private

Definition at line 125 of file optpage.hxx.

Referenced by FillItemSet(), and Reset().

OUString SwStdFontTabPage::m_sShellLabel
private

Definition at line 124 of file optpage.hxx.

Referenced by FillItemSet(), and Reset().

OUString SwStdFontTabPage::m_sShellList
private

Definition at line 123 of file optpage.hxx.

Referenced by FillItemSet(), and Reset().

OUString SwStdFontTabPage::m_sShellStd
private

Definition at line 121 of file optpage.hxx.

Referenced by FillItemSet(), and Reset().

OUString SwStdFontTabPage::m_sShellTitle
private

Definition at line 122 of file optpage.hxx.

Referenced by FillItemSet(), and Reset().

std::unique_ptr<weld::ComboBox> SwStdFontTabPage::m_xIdxBox
private

Definition at line 161 of file optpage.hxx.

Referenced by FillItemSet(), Reset(), and SwStdFontTabPage().

std::unique_ptr<SvtFontSizeBox> SwStdFontTabPage::m_xIndexHeightLB
private

Definition at line 162 of file optpage.hxx.

Referenced by dispose(), FillItemSet(), and Reset().

std::unique_ptr<weld::ComboBox> SwStdFontTabPage::m_xLabelBox
private

Definition at line 159 of file optpage.hxx.

Referenced by FillItemSet(), Reset(), and SwStdFontTabPage().

std::unique_ptr<weld::Label> SwStdFontTabPage::m_xLabelFT
private

Definition at line 152 of file optpage.hxx.

Referenced by Reset().

std::unique_ptr<SvtFontSizeBox> SwStdFontTabPage::m_xLabelHeightLB
private

Definition at line 160 of file optpage.hxx.

Referenced by dispose(), FillItemSet(), and Reset().

std::unique_ptr<weld::ComboBox> SwStdFontTabPage::m_xListBox
private

Definition at line 157 of file optpage.hxx.

Referenced by FillItemSet(), Reset(), and SwStdFontTabPage().

std::unique_ptr<SvtFontSizeBox> SwStdFontTabPage::m_xListHeightLB
private

Definition at line 158 of file optpage.hxx.

Referenced by dispose(), FillItemSet(), and Reset().

std::unique_ptr<weld::ComboBox> SwStdFontTabPage::m_xStandardBox
private

Definition at line 153 of file optpage.hxx.

Referenced by FillItemSet(), Reset(), and SwStdFontTabPage().

std::unique_ptr<SvtFontSizeBox> SwStdFontTabPage::m_xStandardHeightLB
private

Definition at line 154 of file optpage.hxx.

Referenced by dispose(), FillItemSet(), and Reset().

std::unique_ptr<weld::Button> SwStdFontTabPage::m_xStandardPB
private

Definition at line 163 of file optpage.hxx.

Referenced by SwStdFontTabPage().

std::unique_ptr<weld::ComboBox> SwStdFontTabPage::m_xTitleBox
private

Definition at line 155 of file optpage.hxx.

Referenced by FillItemSet(), Reset(), and SwStdFontTabPage().

std::unique_ptr<SvtFontSizeBox> SwStdFontTabPage::m_xTitleHeightLB
private

Definition at line 156 of file optpage.hxx.

Referenced by dispose(), FillItemSet(), and Reset().


The documentation for this class was generated from the following files: