LibreOffice Module cui (master) 1
|
#include <fontsubs.hxx>
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 SfxItemSet & | GetItemSet () 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 SfxItemSet * | GetDialogExampleSet () const |
OUString | GetHelpId () const |
OUString | GetConfigId () const |
bool | IsVisible () const |
weld::Window * | GetFrameWeld () const |
std::unordered_map< OUString, css::uno::Any > & | getAdditionalProperties () |
Static Public Member Functions | |
static std::unique_ptr< SfxTabPage > | Create (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rAttrSet) |
Static Public Member Functions inherited from SfxTabPage | |
static const SfxPoolItem * | GetItem (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::CheckButton > | m_xUseTableCB |
std::unique_ptr< weld::ComboBox > | m_xFont1CB |
std::unique_ptr< weld::ComboBox > | m_xFont2CB |
std::unique_ptr< weld::Button > | m_xApply |
std::unique_ptr< weld::Button > | m_xDelete |
std::unique_ptr< weld::TreeView > | m_xCheckLB |
std::unique_ptr< weld::ComboBox > | m_xFontNameLB |
std::unique_ptr< weld::CheckButton > | m_xNonPropFontsOnlyCB |
std::unique_ptr< weld::ComboBox > | m_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 SfxPoolItem * | GetOldItem (const SfxItemSet &rSet, sal_uInt16 nSlot, bool bDeep=true) |
const T * | GetOldItem (const SfxItemSet &rSet, TypedWhichId< T > nSlot, bool bDeep=true) |
SfxOkDialogController * | GetDialogController () const |
Definition at line 26 of file fontsubs.hxx.
SvxFontSubstTabPage::SvxFontSubstTabPage | ( | weld::Container * | pPage, |
weld::DialogController * | pController, | ||
const SfxItemSet & | rSet | ||
) |
Definition at line 35 of file fontsubs.cxx.
References weld::Check, HID_OFA_FONT_SUBST_CLB, LINK, m_sAutomatic, m_xApply, m_xCheckLB, m_xDelete, m_xFont1CB, m_xFont2CB, m_xFontHeightLB, m_xFontNameLB, m_xNonPropFontsOnlyCB, m_xUseTableCB, rSet, and setColSizes().
|
overridevirtual |
Definition at line 133 of file fontsubs.cxx.
|
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().
|
static |
Definition at line 137 of file fontsubs.cxx.
Referenced by CreateGeneralTabPage().
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 143 of file fontsubs.cxx.
References svtools::ApplyFontSubstitutionsToVcl(), SubstitutionStruct::bReplaceAlways, SubstitutionStruct::bReplaceOnScreenOnly, comphelper::ConfigurationChanges::create(), m_xCheckLB, m_xFontHeightLB, m_xFontNameLB, m_xNonPropFontsOnlyCB, m_xUseTableCB, svtools::SetFontSubstitutions(), SubstitutionStruct::sFont, and SubstitutionStruct::sReplaceBy.
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 181 of file fontsubs.cxx.
References get(), Application::GetDefaultDevice(), vcl::Font::GetFamilyName(), FontList::GetFontName(), FontList::GetFontNameCount(), svtools::GetFontSubstitutions(), i, svtools::IsFontSubstitutionsEnabled(), m_xCheckLB, m_xFont1CB, m_xFont2CB, m_xFontHeightLB, m_xFontNameLB, m_xNonPropFontsOnlyCB, m_xUseTableCB, SelectHdl(), TRISTATE_FALSE, and TRISTATE_TRUE.
|
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().
|
private |
Definition at line 115 of file fontsubs.cxx.
References m_xCheckLB, and Size::Width().
Referenced by SvxFontSubstTabPage().
|
private |
Definition at line 28 of file fontsubs.hxx.
Referenced by SvxFontSubstTabPage().
|
private |
Definition at line 33 of file fontsubs.hxx.
Referenced by CheckEnable(), SelectHdl(), and SvxFontSubstTabPage().
|
private |
Definition at line 35 of file fontsubs.hxx.
Referenced by CheckEnable(), FillItemSet(), Reset(), SelectHdl(), setColSizes(), and SvxFontSubstTabPage().
|
private |
Definition at line 34 of file fontsubs.hxx.
Referenced by CheckEnable(), SelectHdl(), and SvxFontSubstTabPage().
|
private |
Definition at line 31 of file fontsubs.hxx.
Referenced by CheckEnable(), Reset(), SelectHdl(), and SvxFontSubstTabPage().
|
private |
Definition at line 32 of file fontsubs.hxx.
Referenced by CheckEnable(), Reset(), SelectHdl(), and SvxFontSubstTabPage().
|
private |
Definition at line 38 of file fontsubs.hxx.
Referenced by FillItemSet(), Reset(), and SvxFontSubstTabPage().
|
private |
Definition at line 36 of file fontsubs.hxx.
Referenced by FillItemSet(), Reset(), and SvxFontSubstTabPage().
|
private |
Definition at line 37 of file fontsubs.hxx.
Referenced by FillItemSet(), Reset(), and SvxFontSubstTabPage().
|
private |
Definition at line 30 of file fontsubs.hxx.
Referenced by CheckEnable(), FillItemSet(), Reset(), and SvxFontSubstTabPage().