summaryrefslogtreecommitdiff
path: root/sc/source/ui/inc/tptable.hxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-10-26 12:49:44 +0100
committerCaolán McNamara <caolanm@redhat.com>2017-10-27 09:57:07 +0200
commitbdd7c74a499ea550a10e47d159c2d2d80c940fc0 (patch)
treef54a6a5e767f2c2aafc88ae7ce566fb81da86e6c /sc/source/ui/inc/tptable.hxx
parent75c642dae3ded5bcf6d48f81363ad918d101d2e5 (diff)
Resolves: tdf#113455 Impossible to clear width/height in pages
Change-Id: I88f80d417108822ceeb73c07cb49892925a2e57f Reviewed-on: https://gerrit.libreoffice.org/43891 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sc/source/ui/inc/tptable.hxx')
-rw-r--r--sc/source/ui/inc/tptable.hxx8
1 files changed, 7 insertions, 1 deletions
diff --git a/sc/source/ui/inc/tptable.hxx b/sc/source/ui/inc/tptable.hxx
index f3d01eef310d..3b01422a68ce 100644
--- a/sc/source/ui/inc/tptable.hxx
+++ b/sc/source/ui/inc/tptable.hxx
@@ -46,6 +46,9 @@ private:
void ShowImage();
private:
+ sal_uInt16 m_nOrigScalePageWidth;
+ sal_uInt16 m_nOrigScalePageHeight;
+
VclPtr<RadioButton> m_pBtnTopDown;
VclPtr<RadioButton> m_pBtnLeftRight;
VclPtr<FixedImage> m_pBmpPageDir;
@@ -66,7 +69,9 @@ private:
VclPtr<MetricField> m_pEdScaleAll;
VclPtr<VclGrid> m_pGrHeightWidth;
VclPtr<NumericField> m_pEdScalePageWidth;
+ VclPtr<CheckBox> m_pCbScalePageWidth;
VclPtr<NumericField> m_pEdScalePageHeight;
+ VclPtr<CheckBox> m_pCbScalePageHeight;
VclPtr<VclHBox> m_pBxScalePageNum;
VclPtr<NumericField> m_pEdScalePageNum;
@@ -74,8 +79,9 @@ private:
// Handler:
DECL_LINK(PageDirHdl, Button*, void);
- DECL_LINK( PageNoHdl, Button*, void );
+ DECL_LINK(PageNoHdl, Button*, void);
DECL_LINK(ScaleHdl, ListBox&, void);
+ DECL_LINK(ToggleHdl, CheckBox&, void);
};
#endif // INCLUDED_SC_SOURCE_UI_INC_TPTABLE_HXX