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

#include <optpage.hxx>

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

Public Member Functions

 SwStdFontTabPage (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
 
virtual ~SwStdFontTabPage () override
 
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
 
void set_visible (bool bVisible)
 
const SfxItemSetGetItemSet () const
 
virtual bool FillItemSet (SfxItemSet *)
 
virtual void Reset (const SfxItemSet *)
 
virtual bool DeferResetToFirstActivation ()
 
bool HasExchangeSupport () const
 
void SetExchangeSupport ()
 
virtual void ActivatePage (const SfxItemSet &)
 
virtual DeactivateRC DeactivatePage (SfxItemSet *pSet)
 
void SetUserData (const OUString &rString)
 
const OUString & GetUserData () const
 
virtual void FillUserData ()
 
virtual bool IsReadOnly () const
 
virtual void PageCreated (const SfxAllItemSet &aSet)
 
virtual void ChangesApplied ()
 
void SetFrame (const css::uno::Reference< css::frame::XFrame > &xFrame)
 
css::uno::Reference< css::frame::XFrame > GetFrame () const
 
const SfxItemSetGetDialogExampleSet () const
 
OUString GetHelpId () const
 
OUString GetConfigId () const
 
bool IsVisible () const
 
weld::WindowGetFrameWeld () const
 
std::unordered_map< OUString, css::uno::Any > & getAdditionalProperties ()
 

Static Public Member Functions

static std::unique_ptr< SfxTabPageCreate (weld::Container *pPage, weld::DialogController *pController, 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)
 

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
 
sal_uInt8 m_nFontGroup
 
OUString m_sScriptWestern
 
OUString m_sScriptAsian
 
OUString m_sScriptComplex
 
std::unique_ptr< weld::Labelm_xLabelFT
 
std::unique_ptr< weld::ComboBoxm_xStandardBox
 
std::unique_ptr< FontSizeBoxm_xStandardHeightLB
 
std::unique_ptr< weld::ComboBoxm_xTitleBox
 
std::unique_ptr< FontSizeBoxm_xTitleHeightLB
 
std::unique_ptr< weld::ComboBoxm_xListBox
 
std::unique_ptr< FontSizeBoxm_xListHeightLB
 
std::unique_ptr< weld::ComboBoxm_xLabelBox
 
std::unique_ptr< FontSizeBoxm_xLabelHeightLB
 
std::unique_ptr< weld::ComboBoxm_xIdxBox
 
std::unique_ptr< FontSizeBoxm_xIndexHeightLB
 
std::unique_ptr< weld::Buttonm_xStandardPB
 

Additional Inherited Members

- Protected Member Functions inherited from SfxTabPage
 SfxTabPage (weld::Container *pPage, weld::DialogController *pController, const OUString &rUIXMLDescription, const OUString &rID, const SfxItemSet *rAttrSet)
 
sal_uInt16 GetWhich (sal_uInt16 nSlot, bool bDeep=true) const
 
TypedWhichId< T > GetWhich (TypedWhichId< T > 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
 

Detailed Description

Definition at line 122 of file optpage.hxx.

Constructor & Destructor Documentation

◆ SwStdFontTabPage()

SwStdFontTabPage::SwStdFontTabPage ( weld::Container pPage,
weld::DialogController pController,
const SfxItemSet rSet 
)

Definition at line 487 of file optpage.cxx.

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

◆ ~SwStdFontTabPage()

SwStdFontTabPage::~SwStdFontTabPage ( )
overridevirtual

Member Function Documentation

◆ Create()

std::unique_ptr< SfxTabPage > SwStdFontTabPage::Create ( weld::Container pPage,
weld::DialogController pController,
const SfxItemSet rAttrSet 
)
static

Definition at line 550 of file optpage.cxx.

Referenced by SwAbstractDialogFactory_Impl::GetTabPageCreatorFunc().

◆ DECL_LINK() [1/3]

SwStdFontTabPage::DECL_LINK ( LoseFocusHdl  ,
weld::Widget ,
void   
)
private

◆ DECL_LINK() [2/3]

SwStdFontTabPage::DECL_LINK ( ModifyHdl  ,
weld::ComboBox ,
void   
)
private

◆ DECL_LINK() [3/3]

SwStdFontTabPage::DECL_LINK ( StandardHdl  ,
weld::Button ,
void   
)
private

◆ FillItemSet()

bool SwStdFontTabPage::FillItemSet ( SfxItemSet rSet)
overridevirtual

◆ PageCreated()

void SwStdFontTabPage::PageCreated ( const SfxAllItemSet aSet)
overridevirtual

Reimplemented from SfxTabPage.

Definition at line 972 of file optpage.cxx.

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

◆ Reset()

void SwStdFontTabPage::Reset ( const SfxItemSet rSet)
overridevirtual

Reimplemented from SfxTabPage.

Definition at line 706 of file optpage.cxx.

References CalcToPoint(), VclPtr< class reference_type >::Create(), VclPtr< class 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(), vcl::Font::GetFamilyName(), SwFormat::GetFont(), SwStdFontConfig::GetFontCaption(), SwStdFontConfig::GetFontHeight(), SwStdFontConfig::GetFontIndex(), SwStdFontConfig::GetFontList(), SwStdFontConfig::GetFontOutline(), SwStdFontConfig::GetFontStandard(), SwFormat::GetFormatAttr(), SvxFontHeightItem::GetHeight(), SfxItemSet::GetItemIfSet(), SfxItemSet::GetItemState(), SfxItemSet::GetPool(), SwEditShell::GetTextCollFromPool(), i, m_bDisposePrinter, m_bIdxDefault, m_bLabelDefault, m_bListDefault, 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_NUMBER_BULLET_BASE, RES_POOLCOLL_REGISTER_BASE, RES_POOLCOLL_STANDARD, and rSet.

Member Data Documentation

◆ m_bDisposePrinter

bool SwStdFontTabPage::m_bDisposePrinter
private

Definition at line 143 of file optpage.hxx.

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

◆ m_bIdxDefault

bool SwStdFontTabPage::m_bIdxDefault
private

Definition at line 141 of file optpage.hxx.

Referenced by FillItemSet(), and Reset().

◆ m_bLabelDefault

bool SwStdFontTabPage::m_bLabelDefault
private

Definition at line 139 of file optpage.hxx.

Referenced by FillItemSet(), and Reset().

◆ m_bListDefault

bool SwStdFontTabPage::m_bListDefault
private

Definition at line 137 of file optpage.hxx.

Referenced by FillItemSet(), and Reset().

◆ m_bSetIdxDefault

bool SwStdFontTabPage::m_bSetIdxDefault
private

Definition at line 142 of file optpage.hxx.

Referenced by FillItemSet().

◆ m_bSetLabelDefault

bool SwStdFontTabPage::m_bSetLabelDefault
private

Definition at line 140 of file optpage.hxx.

Referenced by FillItemSet().

◆ m_bSetListDefault

bool SwStdFontTabPage::m_bSetListDefault
private

Definition at line 138 of file optpage.hxx.

Referenced by FillItemSet().

◆ m_eLanguage

LanguageType SwStdFontTabPage::m_eLanguage
private

Definition at line 134 of file optpage.hxx.

Referenced by Reset().

◆ m_nFontGroup

sal_uInt8 SwStdFontTabPage::m_nFontGroup
private

Definition at line 145 of file optpage.hxx.

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

◆ m_pFontConfig

SwStdFontConfig* SwStdFontTabPage::m_pFontConfig
private

Definition at line 132 of file optpage.hxx.

Referenced by FillItemSet(), and Reset().

◆ m_pFontList

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

Definition at line 131 of file optpage.hxx.

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

◆ m_pPrt

VclPtr<SfxPrinter> SwStdFontTabPage::m_pPrt
private

Definition at line 130 of file optpage.hxx.

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

◆ m_pWrtShell

SwWrtShell* SwStdFontTabPage::m_pWrtShell
private

Definition at line 133 of file optpage.hxx.

Referenced by FillItemSet(), and Reset().

◆ m_sScriptAsian

OUString SwStdFontTabPage::m_sScriptAsian
private

Definition at line 148 of file optpage.hxx.

Referenced by Reset().

◆ m_sScriptComplex

OUString SwStdFontTabPage::m_sScriptComplex
private

Definition at line 149 of file optpage.hxx.

Referenced by Reset().

◆ m_sScriptWestern

OUString SwStdFontTabPage::m_sScriptWestern
private

Definition at line 147 of file optpage.hxx.

Referenced by Reset().

◆ m_sShellIndex

OUString SwStdFontTabPage::m_sShellIndex
private

Definition at line 128 of file optpage.hxx.

Referenced by FillItemSet(), and Reset().

◆ m_sShellLabel

OUString SwStdFontTabPage::m_sShellLabel
private

Definition at line 127 of file optpage.hxx.

Referenced by FillItemSet(), and Reset().

◆ m_sShellList

OUString SwStdFontTabPage::m_sShellList
private

Definition at line 126 of file optpage.hxx.

Referenced by FillItemSet(), and Reset().

◆ m_sShellStd

OUString SwStdFontTabPage::m_sShellStd
private

Definition at line 124 of file optpage.hxx.

Referenced by FillItemSet(), and Reset().

◆ m_sShellTitle

OUString SwStdFontTabPage::m_sShellTitle
private

Definition at line 125 of file optpage.hxx.

Referenced by FillItemSet(), and Reset().

◆ m_xIdxBox

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

Definition at line 160 of file optpage.hxx.

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

◆ m_xIndexHeightLB

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

Definition at line 161 of file optpage.hxx.

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

◆ m_xLabelBox

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

Definition at line 158 of file optpage.hxx.

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

◆ m_xLabelFT

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

Definition at line 151 of file optpage.hxx.

Referenced by Reset().

◆ m_xLabelHeightLB

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

Definition at line 159 of file optpage.hxx.

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

◆ m_xListBox

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

Definition at line 156 of file optpage.hxx.

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

◆ m_xListHeightLB

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

Definition at line 157 of file optpage.hxx.

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

◆ m_xStandardBox

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

Definition at line 152 of file optpage.hxx.

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

◆ m_xStandardHeightLB

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

Definition at line 153 of file optpage.hxx.

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

◆ m_xStandardPB

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

Definition at line 162 of file optpage.hxx.

Referenced by SwStdFontTabPage().

◆ m_xTitleBox

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

Definition at line 154 of file optpage.hxx.

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

◆ m_xTitleHeightLB

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

Definition at line 155 of file optpage.hxx.

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


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