diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-10-16 16:36:19 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-10-17 16:06:32 +0100 |
commit | de661fd70a33010ff455a3909020c8df346b5743 (patch) | |
tree | 49ef870ba880a1db9b5a89b2cc588e3bb89bfff5 /svx/inc/svx | |
parent | c648d4287877f62554cb4f940d565833fb46a2b3 (diff) |
add a makeSwRulerValueSet for custom SwRulerValueSet widget
Change-Id: Id13086906e2f66de45356baa7593b6d0e7657714
Diffstat (limited to 'svx/inc/svx')
-rw-r--r-- | svx/inc/svx/numvset.hxx | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/svx/inc/svx/numvset.hxx b/svx/inc/svx/numvset.hxx index 546644490226..442addc79cc6 100644 --- a/svx/inc/svx/numvset.hxx +++ b/svx/inc/svx/numvset.hxx @@ -64,8 +64,12 @@ class SVX_DLLPUBLIC SvxNumValueSet : public ValueSet com::sun::star::uno::Sequence< com::sun::star::uno::Reference< com::sun::star::container::XIndexAccess> > aOutlineSettings; + + void init(sal_uInt16 nType); + public: SvxNumValueSet( Window* pParent, const ResId& rResId, sal_uInt16 nType ); + SvxNumValueSet( Window* pParent, sal_uInt16 nType ); ~SvxNumValueSet(); virtual void UserDraw( const UserDrawEvent& rUDEvt ); @@ -92,6 +96,8 @@ class SVX_DLLPUBLIC SvxBmpNumValueSet : public SvxNumValueSet Timer aFormatTimer; sal_Bool bGrfNotFound; + void init(); + protected: DECL_LINK(FormatHdl_Impl, void *); @@ -101,7 +107,8 @@ class SVX_DLLPUBLIC SvxBmpNumValueSet : public SvxNumValueSet Timer& GetFormatTimer() {return aFormatTimer;} public: - SvxBmpNumValueSet( Window* pParent, const ResId& rResId); + SvxBmpNumValueSet(Window* pParent, const ResId& rResId); + SvxBmpNumValueSet(Window* pParent); ~SvxBmpNumValueSet(); virtual void UserDraw( const UserDrawEvent& rUDEvt ); |