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, Button *, void)
 
 DECL_LINK (ModifyHdl, Edit &, void)
 
 DECL_LINK (LoseFocusHdl, Control &, void)
 
 SwStdFontTabPage (vcl::Window *pParent, const SfxItemSet &rSet)
 
virtual ~SwStdFontTabPage () override
 
virtual void dispose () override
 

Private Attributes

VclPtr< FixedTextm_pLabelFT
 
VclPtr< ComboBoxm_pStandardBox
 
VclPtr< FontSizeBoxm_pStandardHeightLB
 
VclPtr< ComboBoxm_pTitleBox
 
VclPtr< FontSizeBoxm_pTitleHeightLB
 
VclPtr< ComboBoxm_pListBox
 
VclPtr< FontSizeBoxm_pListHeightLB
 
VclPtr< ComboBoxm_pLabelBox
 
VclPtr< FontSizeBoxm_pLabelHeightLB
 
VclPtr< ComboBoxm_pIdxBox
 
VclPtr< FontSizeBoxm_pIndexHeightLB
 
VclPtr< PushButtonm_pStandardPB
 
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_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
 

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 124 of file optpage.hxx.

Constructor & Destructor Documentation

SwStdFontTabPage::SwStdFontTabPage ( vcl::Window pParent,
const SfxItemSet rSet 
)
private
SwStdFontTabPage::~SwStdFontTabPage ( )
overrideprivatevirtual

Definition at line 589 of file optpage.cxx.

Member Function Documentation

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

Reimplemented from SfxTabPage.

Definition at line 640 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(), Edit::GetText(), 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_pIdxBox, m_pIndexHeightLB, m_pLabelBox, m_pLabelHeightLB, m_pListBox, m_pListHeightLB, m_pStandardBox, m_pStandardHeightLB, m_pTitleBox, m_pTitleHeightLB, m_pWrtShell, m_sShellIndex, m_sShellLabel, m_sShellList, m_sShellStd, m_sShellTitle, 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 1039 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 769 of file optpage.cxx.

References CalcToPoint(), VclPtr< reference_type >::Create(), FontSizeBox::Fill(), 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(), ComboBox::GetEntryCount(), SvxFontItem::GetFamilyName(), SwFormat::GetFont(), SwStdFontConfig::GetFontCaption(), SwStdFontConfig::GetFontHeight(), SwStdFontConfig::GetFontIndex(), SwStdFontConfig::GetFontList(), SwStdFontConfig::GetFontOutline(), SwStdFontConfig::GetFontStandard(), SwFormat::GetFormatAttr(), SvxFontHeightItem::GetHeight(), SfxItemSet::GetItemState(), SfxItemSet::GetPool(), vcl::Window::GetText(), SwEditShell::GetTextCollFromPool(), GetValue, i, ComboBox::InsertEntry(), m_bIdxDefault, m_bIndexHeightDefault, m_bLabelDefault, m_bLabelHeightDefault, m_bListDefault, m_bListHeightDefault, m_eLanguage, m_nFontGroup, m_pFontConfig, m_pFontList, m_pIdxBox, m_pIndexHeightLB, m_pLabelBox, m_pLabelFT, m_pLabelHeightLB, m_pListBox, m_pListHeightLB, m_pPrt, m_pStandardBox, m_pStandardHeightLB, m_pTitleBox, m_pTitleHeightLB, m_pWrtShell, m_sScriptAsian, m_sScriptComplex, m_sScriptWestern, m_sShellIndex, m_sShellLabel, m_sShellList, m_sShellStd, m_sShellTitle, 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, Edit::SaveValue(), Control::SetText(), ComboBox::SetText(), FontSizeBox::SetValue(), and SetValue.

Friends And Related Function Documentation

friend class VclPtr< SwStdFontTabPage >
friend

Definition at line 126 of file optpage.hxx.

Member Data Documentation

bool SwStdFontTabPage::m_bIdxDefault
private

Definition at line 158 of file optpage.hxx.

Referenced by FillItemSet(), and Reset().

bool SwStdFontTabPage::m_bIndexHeightDefault
private

Definition at line 163 of file optpage.hxx.

Referenced by FillItemSet(), and Reset().

bool SwStdFontTabPage::m_bLabelDefault
private

Definition at line 156 of file optpage.hxx.

Referenced by FillItemSet(), and Reset().

bool SwStdFontTabPage::m_bLabelHeightDefault
private

Definition at line 162 of file optpage.hxx.

Referenced by FillItemSet(), and Reset().

bool SwStdFontTabPage::m_bListDefault
private

Definition at line 154 of file optpage.hxx.

Referenced by FillItemSet(), and Reset().

bool SwStdFontTabPage::m_bListHeightDefault
private

Definition at line 161 of file optpage.hxx.

Referenced by FillItemSet(), and Reset().

bool SwStdFontTabPage::m_bSetIdxDefault
private

Definition at line 159 of file optpage.hxx.

Referenced by FillItemSet().

bool SwStdFontTabPage::m_bSetLabelDefault
private

Definition at line 157 of file optpage.hxx.

Referenced by FillItemSet().

bool SwStdFontTabPage::m_bSetListDefault
private

Definition at line 155 of file optpage.hxx.

Referenced by FillItemSet().

LanguageType SwStdFontTabPage::m_eLanguage
private

Definition at line 151 of file optpage.hxx.

Referenced by Reset().

sal_uInt8 SwStdFontTabPage::m_nFontGroup
private

Definition at line 165 of file optpage.hxx.

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

SwStdFontConfig* SwStdFontTabPage::m_pFontConfig
private

Definition at line 149 of file optpage.hxx.

Referenced by FillItemSet(), and Reset().

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

Definition at line 148 of file optpage.hxx.

Referenced by dispose(), and Reset().

VclPtr<ComboBox> SwStdFontTabPage::m_pIdxBox
private

Definition at line 137 of file optpage.hxx.

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

VclPtr<FontSizeBox> SwStdFontTabPage::m_pIndexHeightLB
private

Definition at line 138 of file optpage.hxx.

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

VclPtr<ComboBox> SwStdFontTabPage::m_pLabelBox
private

Definition at line 135 of file optpage.hxx.

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

VclPtr<FixedText> SwStdFontTabPage::m_pLabelFT
private

Definition at line 127 of file optpage.hxx.

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

VclPtr<FontSizeBox> SwStdFontTabPage::m_pLabelHeightLB
private

Definition at line 136 of file optpage.hxx.

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

VclPtr<ComboBox> SwStdFontTabPage::m_pListBox
private

Definition at line 133 of file optpage.hxx.

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

VclPtr<FontSizeBox> SwStdFontTabPage::m_pListHeightLB
private

Definition at line 134 of file optpage.hxx.

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

VclPtr<SfxPrinter> SwStdFontTabPage::m_pPrt
private

Definition at line 147 of file optpage.hxx.

Referenced by dispose(), and Reset().

VclPtr<ComboBox> SwStdFontTabPage::m_pStandardBox
private

Definition at line 129 of file optpage.hxx.

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

VclPtr<FontSizeBox> SwStdFontTabPage::m_pStandardHeightLB
private

Definition at line 130 of file optpage.hxx.

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

VclPtr<PushButton> SwStdFontTabPage::m_pStandardPB
private

Definition at line 139 of file optpage.hxx.

Referenced by dispose(), and SwStdFontTabPage().

VclPtr<ComboBox> SwStdFontTabPage::m_pTitleBox
private

Definition at line 131 of file optpage.hxx.

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

VclPtr<FontSizeBox> SwStdFontTabPage::m_pTitleHeightLB
private

Definition at line 132 of file optpage.hxx.

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

SwWrtShell* SwStdFontTabPage::m_pWrtShell
private

Definition at line 150 of file optpage.hxx.

Referenced by FillItemSet(), and Reset().

OUString const SwStdFontTabPage::m_sScriptAsian
private

Definition at line 168 of file optpage.hxx.

Referenced by Reset().

OUString const SwStdFontTabPage::m_sScriptComplex
private

Definition at line 169 of file optpage.hxx.

Referenced by Reset().

OUString const SwStdFontTabPage::m_sScriptWestern
private

Definition at line 167 of file optpage.hxx.

Referenced by Reset().

OUString SwStdFontTabPage::m_sShellIndex
private

Definition at line 145 of file optpage.hxx.

Referenced by FillItemSet(), and Reset().

OUString SwStdFontTabPage::m_sShellLabel
private

Definition at line 144 of file optpage.hxx.

Referenced by FillItemSet(), and Reset().

OUString SwStdFontTabPage::m_sShellList
private

Definition at line 143 of file optpage.hxx.

Referenced by FillItemSet(), and Reset().

OUString SwStdFontTabPage::m_sShellStd
private

Definition at line 141 of file optpage.hxx.

Referenced by FillItemSet(), and Reset().

OUString SwStdFontTabPage::m_sShellTitle
private

Definition at line 142 of file optpage.hxx.

Referenced by FillItemSet(), and Reset().


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