diff options
Diffstat (limited to 'include/svx')
-rw-r--r-- | include/svx/connctrl.hxx | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/include/svx/connctrl.hxx b/include/svx/connctrl.hxx index a559f615c14c..945746d28a7f 100644 --- a/include/svx/connctrl.hxx +++ b/include/svx/connctrl.hxx @@ -37,22 +37,23 @@ class SVX_DLLPUBLIC SvxXConnectionPreview : public Control friend class SvxConnectionPage; private: - const SfxItemSet& rAttrs; SdrEdgeObj* pEdgeObj; SdrObjList* pObjList; const SdrView* pView; SVX_DLLPRIVATE void SetStyles(); + SVX_DLLPRIVATE void AdaptSize(); public: - SvxXConnectionPreview( Window* pParent, const ResId& rResId, - const SfxItemSet& rInAttrs ); - ~SvxXConnectionPreview(); + SvxXConnectionPreview( Window* pParent, WinBits nStyle); + virtual ~SvxXConnectionPreview(); virtual void Paint( const Rectangle& rRect ); + virtual void Resize(); + virtual Size GetOptimalSize() const; virtual void MouseButtonDown( const MouseEvent& rMEvt ); void SetAttributes( const SfxItemSet& rInAttrs ); - sal_uInt16 GetLineDeltaAnz(); + sal_uInt16 GetLineDeltaAnz(); void Construct(); void SetView( const SdrView* pSdrView ) { pView = pSdrView; } |