LibreOffice Module cui (master) 1
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
SvxFontSubstTabPage Class Reference

#include <fontsubs.hxx>

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

Public Member Functions

 SvxFontSubstTabPage (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
 
virtual ~SvxFontSubstTabPage () override
 
virtual bool FillItemSet (SfxItemSet *rSet) override
 
virtual void Reset (const SfxItemSet *rSet) 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 (SelectComboBoxHdl, weld::ComboBox &, void)
 
 DECL_LINK (ToggleHdl, weld::Toggleable &, void)
 
 DECL_LINK (ClickHdl, weld::Button &, void)
 
 DECL_LINK (TreeListBoxSelectHdl, weld::TreeView &, void)
 
 DECL_LINK (NonPropFontsHdl, weld::Toggleable &, void)
 
 DECL_LINK (HeaderBarClick, int, void)
 
 DECL_LINK (ResizeHdl, const Size &, void)
 
void SelectHdl (const weld::Widget *pWidget)
 
void CheckEnable ()
 
void setColSizes (const Size &rSize)
 

Private Attributes

OUString m_sAutomatic
 
std::unique_ptr< weld::CheckButtonm_xUseTableCB
 
std::unique_ptr< weld::ComboBoxm_xFont1CB
 
std::unique_ptr< weld::ComboBoxm_xFont2CB
 
std::unique_ptr< weld::Buttonm_xApply
 
std::unique_ptr< weld::Buttonm_xDelete
 
std::unique_ptr< weld::TreeViewm_xCheckLB
 
std::unique_ptr< weld::ComboBoxm_xFontNameLB
 
std::unique_ptr< weld::CheckButtonm_xNonPropFontsOnlyCB
 
std::unique_ptr< weld::ComboBoxm_xFontHeightLB
 

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 26 of file fontsubs.hxx.

Constructor & Destructor Documentation

◆ SvxFontSubstTabPage()

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

◆ ~SvxFontSubstTabPage()

SvxFontSubstTabPage::~SvxFontSubstTabPage ( )
overridevirtual

Definition at line 133 of file fontsubs.cxx.

Member Function Documentation

◆ CheckEnable()

void SvxFontSubstTabPage::CheckEnable ( )
private

Definition at line 374 of file fontsubs.cxx.

References m_xApply, m_xCheckLB, m_xDelete, m_xFont1CB, m_xFont2CB, and m_xUseTableCB.

Referenced by SelectHdl().

◆ Create()

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

Definition at line 137 of file fontsubs.cxx.

Referenced by CreateGeneralTabPage().

◆ DECL_LINK() [1/7]

SvxFontSubstTabPage::DECL_LINK ( ClickHdl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [2/7]

SvxFontSubstTabPage::DECL_LINK ( HeaderBarClick  ,
int  ,
void   
)
private

◆ DECL_LINK() [3/7]

SvxFontSubstTabPage::DECL_LINK ( NonPropFontsHdl  ,
weld::Toggleable ,
void   
)
private

◆ DECL_LINK() [4/7]

SvxFontSubstTabPage::DECL_LINK ( ResizeHdl  ,
const Size ,
void   
)
private

◆ DECL_LINK() [5/7]

SvxFontSubstTabPage::DECL_LINK ( SelectComboBoxHdl  ,
weld::ComboBox ,
void   
)
private

◆ DECL_LINK() [6/7]

SvxFontSubstTabPage::DECL_LINK ( ToggleHdl  ,
weld::Toggleable ,
void   
)
private

◆ DECL_LINK() [7/7]

SvxFontSubstTabPage::DECL_LINK ( TreeListBoxSelectHdl  ,
weld::TreeView ,
void   
)
private

◆ FillItemSet()

bool SvxFontSubstTabPage::FillItemSet ( SfxItemSet rSet)
overridevirtual

◆ Reset()

void SvxFontSubstTabPage::Reset ( const SfxItemSet rSet)
overridevirtual

◆ SelectHdl()

void SvxFontSubstTabPage::SelectHdl ( const weld::Widget pWidget)
private

Definition at line 286 of file fontsubs.cxx.

References CheckEnable(), m_xApply, m_xCheckLB, m_xDelete, m_xFont1CB, m_xFont2CB, nPos, and TRISTATE_FALSE.

Referenced by Reset().

◆ setColSizes()

void SvxFontSubstTabPage::setColSizes ( const Size rSize)
private

Definition at line 115 of file fontsubs.cxx.

References m_xCheckLB, and Size::Width().

Referenced by SvxFontSubstTabPage().

Member Data Documentation

◆ m_sAutomatic

OUString SvxFontSubstTabPage::m_sAutomatic
private

Definition at line 28 of file fontsubs.hxx.

Referenced by SvxFontSubstTabPage().

◆ m_xApply

std::unique_ptr<weld::Button> SvxFontSubstTabPage::m_xApply
private

Definition at line 33 of file fontsubs.hxx.

Referenced by CheckEnable(), SelectHdl(), and SvxFontSubstTabPage().

◆ m_xCheckLB

std::unique_ptr<weld::TreeView> SvxFontSubstTabPage::m_xCheckLB
private

◆ m_xDelete

std::unique_ptr<weld::Button> SvxFontSubstTabPage::m_xDelete
private

Definition at line 34 of file fontsubs.hxx.

Referenced by CheckEnable(), SelectHdl(), and SvxFontSubstTabPage().

◆ m_xFont1CB

std::unique_ptr<weld::ComboBox> SvxFontSubstTabPage::m_xFont1CB
private

Definition at line 31 of file fontsubs.hxx.

Referenced by CheckEnable(), Reset(), SelectHdl(), and SvxFontSubstTabPage().

◆ m_xFont2CB

std::unique_ptr<weld::ComboBox> SvxFontSubstTabPage::m_xFont2CB
private

Definition at line 32 of file fontsubs.hxx.

Referenced by CheckEnable(), Reset(), SelectHdl(), and SvxFontSubstTabPage().

◆ m_xFontHeightLB

std::unique_ptr<weld::ComboBox> SvxFontSubstTabPage::m_xFontHeightLB
private

Definition at line 38 of file fontsubs.hxx.

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

◆ m_xFontNameLB

std::unique_ptr<weld::ComboBox> SvxFontSubstTabPage::m_xFontNameLB
private

Definition at line 36 of file fontsubs.hxx.

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

◆ m_xNonPropFontsOnlyCB

std::unique_ptr<weld::CheckButton> SvxFontSubstTabPage::m_xNonPropFontsOnlyCB
private

Definition at line 37 of file fontsubs.hxx.

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

◆ m_xUseTableCB

std::unique_ptr<weld::CheckButton> SvxFontSubstTabPage::m_xUseTableCB
private

Definition at line 30 of file fontsubs.hxx.

Referenced by CheckEnable(), FillItemSet(), Reset(), and SvxFontSubstTabPage().


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