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
 
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
 
OString GetHelpId () const
 
OString GetConfigId () const
 
bool IsVisible () const
 
weld::WindowGetFrameWeld () const
 

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 (ClickHdl, weld::Button &, void)
 
 DECL_LINK (TreeListBoxSelectHdl, weld::TreeView &, void)
 
 DECL_LINK (NonPropFontsHdl, weld::ToggleButton &, void)
 
 DECL_LINK (HeaderBarClick, int, void)
 
void SelectHdl (const weld::Widget *pWidget)
 
void CheckEnable ()
 
void setColSizes ()
 

Private Attributes

OUString m_sAutomatic
 
std::unique_ptr< SvtFontSubstConfigm_xConfig
 
bool m_bSorted
 
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 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
 

Detailed Description

Definition at line 26 of file fontsubs.hxx.

Constructor & Destructor Documentation

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

Definition at line 139 of file fontsubs.cxx.

Member Function Documentation

void SvxFontSubstTabPage::CheckEnable ( )
private

Definition at line 358 of file fontsubs.cxx.

References m_xApply, m_xCheckLB, m_xDelete, m_xFont1CB, m_xFont2CB, m_xUseTableCB, and SelectHdl().

Referenced by Reset(), and SelectHdl().

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

Definition at line 143 of file fontsubs.cxx.

Referenced by CreateGeneralTabPage().

SvxFontSubstTabPage::DECL_LINK ( SelectComboBoxHdl  ,
weld::ComboBox ,
void   
)
private
SvxFontSubstTabPage::DECL_LINK ( ClickHdl  ,
weld::Button ,
void   
)
private
SvxFontSubstTabPage::DECL_LINK ( TreeListBoxSelectHdl  ,
weld::TreeView ,
void   
)
private
SvxFontSubstTabPage::DECL_LINK ( NonPropFontsHdl  ,
weld::ToggleButton ,
void   
)
private
SvxFontSubstTabPage::DECL_LINK ( HeaderBarClick  ,
int  ,
void   
)
private
bool SvxFontSubstTabPage::FillItemSet ( SfxItemSet rSet)
overridevirtual
void SvxFontSubstTabPage::Reset ( const SfxItemSet rSet)
overridevirtual
void SvxFontSubstTabPage::SelectHdl ( const weld::Widget pWidget)
private

Definition at line 278 of file fontsubs.cxx.

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

Referenced by CheckEnable().

void SvxFontSubstTabPage::setColSizes ( )
private

Definition at line 122 of file fontsubs.cxx.

References m_xCheckLB, and Width.

Referenced by SvxFontSubstTabPage().

Member Data Documentation

bool SvxFontSubstTabPage::m_bSorted
private

Definition at line 30 of file fontsubs.hxx.

OUString SvxFontSubstTabPage::m_sAutomatic
private

Definition at line 28 of file fontsubs.hxx.

Referenced by SvxFontSubstTabPage().

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

Definition at line 35 of file fontsubs.hxx.

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

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

Definition at line 29 of file fontsubs.hxx.

Referenced by FillItemSet(), and Reset().

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

Definition at line 36 of file fontsubs.hxx.

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

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

Definition at line 33 of file fontsubs.hxx.

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

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

Definition at line 34 of file fontsubs.hxx.

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

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

Definition at line 40 of file fontsubs.hxx.

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

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

Definition at line 38 of file fontsubs.hxx.

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

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

Definition at line 39 of file fontsubs.hxx.

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

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

Definition at line 32 of file fontsubs.hxx.

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


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