summaryrefslogtreecommitdiffstats
path: root/sw/source/ui/inc/drpcps.hxx
diff options
context:
space:
mode:
authorOlivier Hallot <olivier.hallot@edx.srv.br>2013-06-12 15:47:38 -0300
committerCaolán McNamara <caolanm@redhat.com>2013-06-19 13:13:52 +0000
commitd74323815aec2abb25eae026052651ceec7e372a (patch)
tree64bdc0e610bca40712aeddec444c7e8b5a10a355 /sw/source/ui/inc/drpcps.hxx
parentCall CheckContext() on OS X, too (diff)
downloadcore-d74323815aec2abb25eae026052651ceec7e372a.tar.gz
core-d74323815aec2abb25eae026052651ceec7e372a.zip
Convert Drop Caps tab page to UI widgets
Conflicts: sw/UIConfig_swriter.mk Conflicts: sw/source/ui/chrdlg/drpcps.cxx Change-Id: Ic66f367d23b84666dd0165108c405b5b625b798b Reviewed-on: https://gerrit.libreoffice.org/4236 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw/source/ui/inc/drpcps.hxx')
-rw-r--r--sw/source/ui/inc/drpcps.hxx48
1 files changed, 26 insertions, 22 deletions
diff --git a/sw/source/ui/inc/drpcps.hxx b/sw/source/ui/inc/drpcps.hxx
index c6784d40f6fe..d0bcd7401cdc 100644
--- a/sw/source/ui/inc/drpcps.hxx
+++ b/sw/source/ui/inc/drpcps.hxx
@@ -53,28 +53,29 @@ class SwDropCapsPict;
class SwDropCapsPage : public SfxTabPage
{
friend class SwDropCapsPict;
-
- FixedLine aSettingsFL;
- CheckBox aDropCapsBox;
- CheckBox aWholeWordCB;
- FixedText aSwitchText;
- NumericField aDropCapsField;
- FixedText aLinesText;
- NumericField aLinesField;
- FixedText aDistanceText;
- MetricField aDistanceField;
-
- FixedLine aContentFL;
- FixedText aTextText;
- Edit aTextEdit;
- FixedText aTemplateText;
- ListBox aTemplateBox;
-
- SwDropCapsPict *pPict;
-
- sal_Bool bModified;
- sal_Bool bFormat;
- sal_Bool bHtmlMode;
+ // TODO: Work in progress
+ VclGrid* m_pSwDropCapsGrid;
+ //FixedLine aSettingsFL;
+ CheckBox* m_pDropCapsBox;
+ CheckBox* m_pWholeWordCB;
+ //FixedText aSwitchText;
+ NumericField* m_pDropCapsField;
+ //FixedText aLinesText;
+ NumericField* m_pLinesField;
+ //FixedText aDistanceText;
+ MetricField* m_pDistanceField;
+
+ VclFrame* m_pContentFL;
+ FixedText* m_pTextText;
+ Edit* m_pTextEdit;
+ //FixedText aTemplateText;
+ ListBox* m_pTemplateBox;
+
+ SwDropCapsPict* m_pPict;
+
+ sal_Bool bModified;
+ sal_Bool bFormat;
+ sal_Bool bHtmlMode;
SwWrtShell &rSh;
@@ -101,6 +102,9 @@ public:
virtual void Reset (const SfxItemSet &rSet);
void SetFormat(sal_Bool bSet){bFormat = bSet;}
+protected:
+ void aSwitchText(sal_Bool bChecked);
+ //void SW_RES(int arg1);
};
#endif