summaryrefslogtreecommitdiffstats
path: root/cui/source/options/fontsubs.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'cui/source/options/fontsubs.hxx')
-rw-r--r--cui/source/options/fontsubs.hxx40
1 files changed, 17 insertions, 23 deletions
diff --git a/cui/source/options/fontsubs.hxx b/cui/source/options/fontsubs.hxx
index 900f8cd96d5e..775960a1d8fe 100644
--- a/cui/source/options/fontsubs.hxx
+++ b/cui/source/options/fontsubs.hxx
@@ -38,6 +38,7 @@ class SvxFontSubstCheckListBox : public SvxSimpleTable
protected:
virtual void SetTabs();
virtual void KeyInput( const KeyEvent& rKEvt );
+ virtual void Resize();
public:
SvxFontSubstCheckListBox(SvxSimpleTableContainer& rParent, WinBits nBits = WB_BORDER)
@@ -54,37 +55,30 @@ class SvxFontSubstCheckListBox : public SvxSimpleTable
void CheckEntry(SvTreeListEntry* pEntry, sal_uInt16 nCol, sal_Bool bChecked);
SvButtonState GetCheckButtonState( SvTreeListEntry*, sal_uInt16 nCol ) const;
void SetCheckButtonState( SvTreeListEntry*, sal_uInt16 nCol, SvButtonState );
+
+ void setColSizes();
};
// class SvxFontSubstTabPage ----------------------------------------------------
class SvtFontSubstConfig;
class SvxFontSubstTabPage : public SfxTabPage
{
- CheckBox aUseTableCB;
- FixedText aFont1FT;
- FontNameBox aFont1CB;
- FixedText aFont2FT;
- FontNameBox aFont2CB;
- ToolBox aNewDelTBX;
- SvxSimpleTableContainer m_aCheckLBContainer;
- SvxFontSubstCheckListBox aCheckLB;
-
- FixedLine aSourceViewFontsFL;
- FixedText aFontNameFT;
- ListBox aFontNameLB;
- CheckBox aNonPropFontsOnlyCB;
- FixedText aFontHeightFT;
- ListBox aFontHeightLB;
-
- ImageList aImageList;
- String sAutomatic;
+ CheckBox* m_pUseTableCB;
+ VclContainer* m_pReplacements;
+ FontNameBox* m_pFont1CB;
+ FontNameBox* m_pFont2CB;
+ PushButton* m_pApply;
+ PushButton* m_pDelete;
- SvtFontSubstConfig* pConfig;
+ SvxFontSubstCheckListBox* m_pCheckLB;
+
+ ListBox* m_pFontNameLB;
+ CheckBox* m_pNonPropFontsOnlyCB;
+ ListBox* m_pFontHeightLB;
- String sHeader1;
- String sHeader2;
- String sHeader3;
- String sHeader4;
+ OUString m_sAutomatic;
+
+ SvtFontSubstConfig* pConfig;
Color aTextColor;