LibreOffice Module svx (master) 1
Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
SvxXConnectionPreview Class Referencefinal

#include <connctrl.hxx>

Inheritance diagram for SvxXConnectionPreview:
Collaboration diagram for SvxXConnectionPreview:

Public Member Functions

 SvxXConnectionPreview ()
virtual void SetDrawingArea (weld::DrawingArea *pDrawingArea) override
virtual ~SvxXConnectionPreview () override
virtual void Paint (vcl::RenderContext &rRenderContext, const tools::Rectangle &rRect) override
virtual void Resize () override
virtual bool MouseButtonDown (const MouseEvent &rMEvt) override
void SetAttributes (const SfxItemSet &rInAttrs)
sal_uInt16 GetLineDeltaCount () const
void Construct ()
void SetView (const SdrView *pSdrView)
- Public Member Functions inherited from weld::CustomWidgetController
virtual css::uno::Reference< css::accessibility::XAccessible > CreateAccessible ()
virtual void Paint (vcl::RenderContext &rRenderContext, const tools::Rectangle &rRect)=0
virtual void Resize ()
virtual bool MouseButtonDown (const MouseEvent &)
virtual bool MouseMove (const MouseEvent &)
virtual bool MouseButtonUp (const MouseEvent &)
virtual void GetFocus ()
virtual void LoseFocus ()
virtual void StyleUpdated ()
virtual bool Command (const CommandEvent &)
virtual bool KeyInput (const KeyEvent &)
virtual tools::Rectangle GetFocusRect ()
virtual FactoryFunction GetUITestFactory () const
virtual OUString RequestHelp (tools::Rectangle &)
virtual OUString GetHelpText () const
Size const & GetOutputSizePixel () const
void SetOutputSizePixel (const Size &rSize)
virtual void SetDrawingArea (weld::DrawingArea *pDrawingArea)
weld::DrawingAreaGetDrawingArea () const
void Invalidate ()
void Invalidate (const tools::Rectangle &rRect)
virtual void Show ()
virtual void Hide ()
void SetCursor (void *pData)
void GrabFocus ()
bool HasFocus () const
bool HasChildFocus () const
bool IsVisible () const
bool IsReallyVisible () const
bool IsEnabled () const
void Enable () const
void Disable () const
bool IsActive () const
int GetTextHeight () const
int GetTextWidth (const OUString &rText) const
OUString GetAccessibleName () const
OUString GetAccessibleDescription () const
void CaptureMouse ()
bool IsMouseCaptured () const
Point GetPointerPosPixel () const
void EnableRTL (bool bEnable)
bool IsRTLEnabled () const
void ReleaseMouse ()
void SetPointer (PointerStyle ePointerStyle)
void SetHelpId (const OString &rHelpId)
void SetAccessibleName (const OUString &rName)
void SetInputContext (const InputContext &rInputContext)
void SetCursorRect (const tools::Rectangle &rCursorRect, int nExtTextInputWidth)
virtual int GetSurroundingText (OUString &)
virtual bool DeleteSurroundingText (const Selection &)
css::uno::Reference< css::datatransfer::dnd::XDropTarget > GetDropTarget ()
css::uno::Reference< css::datatransfer::clipboard::XClipboard > GetClipboard () const
void SetDragDataTransferable (rtl::Reference< TransferDataContainer > &rTransferable, sal_uInt8 eDNDConstants)
virtual bool StartDrag ()
void set_size_request (int nWidth, int nHeight)
void queue_resize ()
 CustomWidgetController ()
virtual ~CustomWidgetController ()
 CustomWidgetController (CustomWidgetController const &)=default
 CustomWidgetController (CustomWidgetController &&)=default
CustomWidgetControlleroperator= (CustomWidgetController const &)=default
CustomWidgetControlleroperator= (CustomWidgetController &&)=default

Private Member Functions

SVX_DLLPRIVATE void AdaptSize ()
SVX_DLLPRIVATE void SetMapMode (const MapMode &rNewMapMode)
SVX_DLLPRIVATE const MapModeGetMapMode () const

Private Attributes

MapMode aNewMapMode
rtl::Reference< SdrEdgeObjpEdgeObj
rtl::Reference< SdrPagemxSdrPage
const SdrViewpView


class SvxConnectionPage

Additional Inherited Members

- Static Public Member Functions inherited from weld::CustomWidgetController
static bool IsUpdateMode ()

Detailed Description

Definition at line 37 of file connctrl.hxx.

Constructor & Destructor Documentation

◆ SvxXConnectionPreview()

SvxXConnectionPreview::SvxXConnectionPreview ( )

Definition at line 36 of file connctrl.cxx.

References SetMapMode().

◆ ~SvxXConnectionPreview()

SvxXConnectionPreview::~SvxXConnectionPreview ( )

Definition at line 50 of file connctrl.cxx.

Member Function Documentation

◆ AdaptSize()

void SvxXConnectionPreview::AdaptSize ( )

◆ Construct()

void SvxXConnectionPreview::Construct ( )

◆ GetLineDeltaCount()

sal_uInt16 SvxXConnectionPreview::GetLineDeltaCount ( ) const

◆ GetMapMode()

SVX_DLLPRIVATE const MapMode & SvxXConnectionPreview::GetMapMode ( ) const

Definition at line 49 of file connctrl.hxx.

Referenced by AdaptSize(), MouseButtonDown(), and Paint().

◆ MouseButtonDown()

bool SvxXConnectionPreview::MouseButtonDown ( const MouseEvent rMEvt)

◆ Paint()

void SvxXConnectionPreview::Paint ( vcl::RenderContext rRenderContext,
const tools::Rectangle rRect 

◆ Resize()

void SvxXConnectionPreview::Resize ( )

Reimplemented from weld::CustomWidgetController.

Definition at line 54 of file connctrl.cxx.

References AdaptSize(), and weld::CustomWidgetController::Invalidate().

◆ SetAttributes()

void SvxXConnectionPreview::SetAttributes ( const SfxItemSet rInAttrs)

Definition at line 233 of file connctrl.cxx.

References weld::CustomWidgetController::Invalidate(), and pEdgeObj.

◆ SetDrawingArea()

void SvxXConnectionPreview::SetDrawingArea ( weld::DrawingArea pDrawingArea)

◆ SetMapMode()

SVX_DLLPRIVATE void SvxXConnectionPreview::SetMapMode ( const MapMode rNewMapMode)

Definition at line 48 of file connctrl.hxx.

Referenced by AdaptSize(), MouseButtonDown(), and SvxXConnectionPreview().

◆ SetView()

void SvxXConnectionPreview::SetView ( const SdrView pSdrView)

Definition at line 63 of file connctrl.hxx.

References SvxConnectionPage::pView.

Friends And Related Function Documentation

◆ SvxConnectionPage

friend class SvxConnectionPage

Definition at line 39 of file connctrl.hxx.

Member Data Documentation

◆ aNewMapMode

MapMode SvxXConnectionPreview::aNewMapMode

Definition at line 42 of file connctrl.hxx.

◆ mxSdrPage

rtl::Reference<SdrPage> SvxXConnectionPreview::mxSdrPage

Definition at line 44 of file connctrl.hxx.

Referenced by AdaptSize(), Construct(), and Paint().

◆ pEdgeObj

rtl::Reference<SdrEdgeObj> SvxXConnectionPreview::pEdgeObj

Definition at line 43 of file connctrl.hxx.

Referenced by Construct(), GetLineDeltaCount(), and SetAttributes().

◆ pView

const SdrView* SvxXConnectionPreview::pView

Definition at line 45 of file connctrl.hxx.

Referenced by AdaptSize(), and Construct().

The documentation for this class was generated from the following files: