summaryrefslogtreecommitdiffstats
path: root/cui/source/inc/page.hxx
diff options
context:
space:
mode:
authorOlivier Hallot <olivier.hallot@alta.org.br>2013-02-26 22:09:55 -0300
committerCaolán McNamara <caolanm@redhat.com>2013-02-27 12:01:16 +0000
commit7ba10e2d317a53763e1aff55a85546bfdac12fc5 (patch)
tree633050dc71f488a74406169feb557ab09b098fa2 /cui/source/inc/page.hxx
parentUse closesocket() on Windows (diff)
downloadcore-7ba10e2d317a53763e1aff55a85546bfdac12fc5.tar.gz
core-7ba10e2d317a53763e1aff55a85546bfdac12fc5.zip
Convert page format tab page to new widget UI
Notes: * pageformatpage.ui contains 3 hidden labels to hold strings used in page.cxx * Paper format (A0,A4,...) left in src file. Change-Id: If22c62558f1644e5f25baffeb3d04b921ec0fe8b Reviewed-on: https://gerrit.libreoffice.org/2432 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'cui/source/inc/page.hxx')
-rw-r--r--cui/source/inc/page.hxx74
1 files changed, 30 insertions, 44 deletions
diff --git a/cui/source/inc/page.hxx b/cui/source/inc/page.hxx
index e731aef1526f..104923853818 100644
--- a/cui/source/inc/page.hxx
+++ b/cui/source/inc/page.hxx
@@ -76,67 +76,53 @@ class SvxPageDescPage : public SfxTabPage
using TabPage::DeactivatePage;
// paper format
- FixedLine aPaperSizeFl;
- FixedText aPaperFormatText;
- ListBox aPaperSizeBox;
+ ListBox* m_pPaperSizeBox;
- FixedText aPaperWidthText;
- MetricField aPaperWidthEdit;
- FixedText aPaperHeightText;
- MetricField aPaperHeightEdit;
+ MetricField* m_pPaperWidthEdit;
+ MetricField* m_pPaperHeightEdit;
- FixedText aOrientationFT;
- RadioButton aPortraitBtn;
- RadioButton aLandscapeBtn;
+ FixedText* m_pOrientationFT;
+ RadioButton* m_pPortraitBtn;
+ RadioButton* m_pLandscapeBtn;
- SvxPageWindow aBspWin;
+ SvxPageWindow* m_pBspWin;
- FixedText aTextFlowLbl;
- svx::FrameDirectionListBox aTextFlowBox;
+ FixedText* m_pTextFlowLbl;
+ svx::FrameDirectionListBox* m_pTextFlowBox;
- FixedText aPaperTrayLbl;
- ListBox aPaperTrayBox;
+ ListBox* m_pPaperTrayBox;
// Margins
- FixedLine aMarginFl;
- FixedText aLeftMarginLbl;
- MetricField aLeftMarginEdit;
- FixedText aRightMarginLbl;
- MetricField aRightMarginEdit;
- FixedText aTopMarginLbl;
- MetricField aTopMarginEdit;
- FixedText aBottomMarginLbl;
- MetricField aBottomMarginEdit;
-
- FixedLine aBottomSeparatorFl;
- // layout settings
- FixedLine aLayoutFL;
- FixedText aPageText;
- ListBox aLayoutBox;
- FixedText aNumberFormatText;
- ListBox aNumberFormatBox;
+ FixedText* m_pLeftMarginLbl;
+ MetricField* m_pLeftMarginEdit;
+ FixedText* m_pRightMarginLbl;
+ MetricField* m_pRightMarginEdit;
+ MetricField* m_pTopMarginEdit;
+ MetricField* m_pBottomMarginEdit;
+ // layout settings
+ FixedText* m_pPageText;
+ ListBox* m_pLayoutBox;
+ ListBox* m_pNumberFormatBox;
//Extras Calc
- FixedText aTblAlignFT;
- CheckBox aHorzBox;
- CheckBox aVertBox;
+ FixedText* m_pTblAlignFT;
+ CheckBox* m_pHorzBox;
+ CheckBox* m_pVertBox;
// Impress and Draw
- CheckBox aAdaptBox;
+ CheckBox* m_pAdaptBox;
//Register Writer
- CheckBox aRegisterCB;
- FixedText aRegisterFT;
- ListBox aRegisterLB;
+ CheckBox* m_pRegisterCB;
+ FixedText* m_pRegisterFT;
+ ListBox* m_pRegisterLB;
String sStandardRegister;
- String aInsideText;
- String aOutsideText;
- String aLeftText;
- String aRightText;
- String aPrintRangeQueryText;
+ FixedText* m_pInsideText;
+ FixedText* m_pOutsideText;
+ FixedText* m_pPrintRangeQueryText;
long nFirstLeftMargin;
long nFirstRightMargin;