summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorOlivier Hallot <olivier.hallot@edx.srv.br>2013-08-02 08:28:46 -0300
committerCaolán McNamara <caolanm@redhat.com>2013-08-02 19:14:16 +0000
commit241c670f06047a2298b6f2b0d80f898f530a6a33 (patch)
tree7560d24e645916311777bc37c889adf32cfa2812 /include
parentf3d2b533122f918929f3ef5a77af4972582a5960 (diff)
Convert line tab page to widget UI
Change-Id: I26ee6e0b5b6d17dfb9a65d16aaee0db1b64f5e05 Reviewed-on: https://gerrit.libreoffice.org/5244 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/svx/dlgctrl.hxx10
1 files changed, 7 insertions, 3 deletions
diff --git a/include/svx/dlgctrl.hxx b/include/svx/dlgctrl.hxx
index f5ff8053cefc..50563831881e 100644
--- a/include/svx/dlgctrl.hxx
+++ b/include/svx/dlgctrl.hxx
@@ -321,6 +321,7 @@ public:
void SelectEntryByList(const XDashList* pList, const String& rStr, const XDash& rDash, sal_uInt16 nDist = 0);
};
+
/************************************************************************/
class SVX_DLLPUBLIC LineEndLB : public ListBox
@@ -340,6 +341,7 @@ public:
//////////////////////////////////////////////////////////////////////////////
class SdrObject;
+class SdrPathObj;
class SdrModel;
class SvxPreviewBase : public Control
@@ -380,9 +382,9 @@ public:
class SVX_DLLPUBLIC SvxXLinePreview : public SvxPreviewBase
{
private:
- SdrObject* mpLineObjA;
- SdrObject* mpLineObjB;
- SdrObject* mpLineObjC;
+ SdrPathObj* mpLineObjA;
+ SdrPathObj* mpLineObjB;
+ SdrPathObj* mpLineObjC;
Graphic* mpGraphic;
sal_Bool mbWithSymbol;
@@ -390,6 +392,7 @@ private:
public:
SvxXLinePreview( Window* pParent, const ResId& rResId );
+ SvxXLinePreview( Window* pParent );
virtual ~SvxXLinePreview();
void SetLineAttributes(const SfxItemSet& rItemSet);
@@ -399,6 +402,7 @@ public:
void ResizeSymbol( const Size& s );
virtual void Paint( const Rectangle& rRect );
+ virtual void Resize();
};
/*************************************************************************