summaryrefslogtreecommitdiff
path: root/cui/source/inc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-02-01 10:20:25 +0000
committerCaolán McNamara <caolanm@redhat.com>2012-09-28 08:48:07 +0100
commit976371800747f5688562e67ae941921560971f47 (patch)
tree6cbb2dbecfaa3eb183c3e68b35a0d610ddf367dd /cui/source/inc
parent792a4cc0f88e97ab210171dd6d0e166eab435f08 (diff)
use grids for layout
Diffstat (limited to 'cui/source/inc')
-rw-r--r--cui/source/inc/chardlg.hxx16
1 files changed, 12 insertions, 4 deletions
diff --git a/cui/source/inc/chardlg.hxx b/cui/source/inc/chardlg.hxx
index 72652ce239c3..5cb504451611 100644
--- a/cui/source/inc/chardlg.hxx
+++ b/cui/source/inc/chardlg.hxx
@@ -34,6 +34,7 @@
#include <svx/fntctrl.hxx>
#include <svx/checklbx.hxx>
#include <svx/langbox.hxx>
+#include <vcl/layout.hxx>
// forward ---------------------------------------------------------------
@@ -55,15 +56,17 @@ class FontList;
class SvxCharBasePage : public SfxTabPage
{
protected:
- SvxFontPrevWindow m_aPreviewWin;
- FixedInfo m_aFontTypeFT;
+ SvxFontPrevWindow* m_pPreviewWin;
+ FixedInfo* m_pFontTypeFT;
sal_Bool m_bPreviewBackgroundToCharacter;
- SvxCharBasePage( Window* pParent, const ResId& rResIdTabPage, const SfxItemSet&,
- sal_uInt16 nResIdPrewievWin, sal_uInt16 nResIdFontTypeFT );
+ SvxCharBasePage(Window* pParent, const ResId& rResIdTabPage, const SfxItemSet&);
virtual ~SvxCharBasePage();
+ void makeWidgets(Window *pParent, const ResId& rResId,
+ sal_uInt16 nResIdPrewievWin, sal_uInt16 nResIdFontTypeFT);
+
void SetPrevFontWidthScale( const SfxItemSet& rSet );
void SetPrevFontEscapement( sal_uInt8 nProp, sal_uInt8 nEscProp, short nEsc );
@@ -87,6 +90,11 @@ class SvxCharNamePage : public SvxCharBasePage
{
private:
+ VBox m_aBox;
+ Grid *m_pWestGrid;
+ Grid *m_pEastGrid;
+ Grid *m_pCTLGrid;
+
FixedLine* m_pWestLine;
FixedText* m_pWestFontNameFT;
FontNameBox* m_pWestFontNameLB;