summaryrefslogtreecommitdiff
path: root/cui/source/inc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-01-08 09:18:58 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-01-08 10:13:49 +0000
commit3d4753f551914d0841552fcd37f569cea16a9a9d (patch)
treefd4acc743f1c25aa23654ceb58b8e28983c465df /cui/source/inc
parentb434b00dd75c2ddd93c42e867e89a3c18f1e3e6a (diff)
convert distribute tab page to .ui
Change-Id: I6269f199bddcf13c1e412b14f9a5935c62c63fe0
Diffstat (limited to 'cui/source/inc')
-rw-r--r--cui/source/inc/dstribut.hxx39
-rw-r--r--cui/source/inc/helpid.hrc2
2 files changed, 14 insertions, 27 deletions
diff --git a/cui/source/inc/dstribut.hxx b/cui/source/inc/dstribut.hxx
index 042cfad1560f..c3133b6fc180 100644
--- a/cui/source/inc/dstribut.hxx
+++ b/cui/source/inc/dstribut.hxx
@@ -26,35 +26,24 @@
class SvxDistributePage : public SvxTabPage
{
- SvxDistributeHorizontal meDistributeHor;
- SvxDistributeVertical meDistributeVer;
+ SvxDistributeHorizontal m_eDistributeHor;
+ SvxDistributeVertical m_eDistributeVer;
- FixedLine maFlHorizontal ;
- RadioButton maBtnHorNone ;
- RadioButton maBtnHorLeft ;
- RadioButton maBtnHorCenter ;
- RadioButton maBtnHorDistance ;
- RadioButton maBtnHorRight ;
- FixedImage maHorLow ;
- FixedImage maHorCenter ;
- FixedImage maHorDistance ;
- FixedImage maHorHigh ;
- FixedLine maFlVertical ;
- RadioButton maBtnVerNone ;
- RadioButton maBtnVerTop ;
- RadioButton maBtnVerCenter ;
- RadioButton maBtnVerDistance ;
- RadioButton maBtnVerBottom ;
- FixedImage maVerLow ;
- FixedImage maVerCenter ;
- FixedImage maVerDistance ;
- FixedImage maVerHigh ;
+ RadioButton* m_pBtnHorNone;
+ RadioButton* m_pBtnHorLeft;
+ RadioButton* m_pBtnHorCenter;
+ RadioButton* m_pBtnHorDistance;
+ RadioButton* m_pBtnHorRight;
+ RadioButton* m_pBtnVerNone;
+ RadioButton* m_pBtnVerTop;
+ RadioButton* m_pBtnVerCenter;
+ RadioButton* m_pBtnVerDistance;
+ RadioButton* m_pBtnVerBottom;
public:
SvxDistributePage(Window* pWindow, const SfxItemSet& rInAttrs,
SvxDistributeHorizontal eHor = SvxDistributeHorizontalNone,
SvxDistributeVertical eVer = SvxDistributeVerticalNone);
- ~SvxDistributePage();
static SfxTabPage* Create(Window*, const SfxItemSet&,
SvxDistributeHorizontal eHor, SvxDistributeVertical eVer);
@@ -63,8 +52,8 @@ public:
virtual void Reset(const SfxItemSet&);
virtual void PointChanged(Window* pWindow, RECT_POINT eRP);
- SvxDistributeHorizontal GetDistributeHor() const { return meDistributeHor; }
- SvxDistributeVertical GetDistributeVer() const { return meDistributeVer; }
+ SvxDistributeHorizontal GetDistributeHor() const { return m_eDistributeHor; }
+ SvxDistributeVertical GetDistributeVer() const { return m_eDistributeVer; }
};
class SvxDistributeDialog : public SfxNoLayoutSingleTabDialog
diff --git a/cui/source/inc/helpid.hrc b/cui/source/inc/helpid.hrc
index c1262d59b8af..80990b5b8704 100644
--- a/cui/source/inc/helpid.hrc
+++ b/cui/source/inc/helpid.hrc
@@ -204,8 +204,6 @@
#define HID_TPCOLOR_CMYK_3 "CUI_HID_TPCOLOR_CMYK_3"
#define HID_OFAPAGE_AUTOCOMPLETE_OPTIONS "CUI_HID_OFAPAGE_AUTOCOMPLETE_OPTIONS"
-#define HID_PAGE_DISTRIBUTE "CUI_HID_PAGE_DISTRIBUTE"
-
#define HID_MEASURE_CTL_POSITION "CUI_HID_MEASURE_CTL_POSITION"
#define HID_VALUESET_NUM "CUI_HID_VALUESET_NUM"
#define HID_MEASURE_CTL_PREVIEW "CUI_HID_MEASURE_CTL_PREVIEW"