LibreOffice Module sw (master)  1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
SwOneExampleFrame Class Referencefinal

#include <unotools.hxx>

Inheritance diagram for SwOneExampleFrame:
Collaboration diagram for SwOneExampleFrame:

Public Member Functions

 SwOneExampleFrame (sal_uInt32 nStyleFlags, const Link< SwOneExampleFrame &, void > *pInitializedLink, const OUString *pURL=nullptr)
virtual void SetDrawingArea (weld::DrawingArea *pDrawingArea) override
virtual void Paint (vcl::RenderContext &rRenderContext, const tools::Rectangle &rRect) override
virtual bool Command (const CommandEvent &rCEvt) override
virtual ~SwOneExampleFrame () override
css::uno::Reference< css::frame::XModel > & GetModel ()
css::uno::Reference< css::text::XTextCursor > & GetTextCursor ()
void ClearDocument ()
bool IsInitialized () const
bool CreatePopup (const Point &rPt)
- Public Member Functions inherited from weld::CustomWidgetController
virtual css::uno::Reference< css::accessibility::XAccessible > CreateAccessible ()
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 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)
weld::DrawingAreaGetDrawingArea () const
void Invalidate ()
void Invalidate (const tools::Rectangle &rRect)
virtual void Show ()
virtual void Hide ()
void GrabFocus ()
bool HasFocus () 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 SetDragDataTransferrable (rtl::Reference< TransferDataContainer > &rTransferrable, 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

 DECL_DLLPRIVATE_LINK (TimeoutHdl, Timer *, void)
void PopupHdl (const OString &rId)
SAL_DLLPRIVATE void CreateControl ()
SAL_DLLPRIVATE void DisposeControl ()

Private Attributes

ScopedVclPtr< VirtualDevicem_xVirDev
css::uno::Reference< css::frame::XModel > m_xModel
css::uno::Reference< css::frame::XController > m_xController
css::uno::Reference< css::text::XTextCursor > m_xCursor
Idle m_aLoadedIdle
Link< SwOneExampleFrame &, voidm_aInitializedLink
OUString m_sArgumentURL
sal_uInt32 m_nStyleFlags
bool m_bIsInitialized

Additional Inherited Members

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

Detailed Description

Definition at line 39 of file unotools.hxx.

Constructor & Destructor Documentation

SwOneExampleFrame::SwOneExampleFrame ( sal_uInt32  nStyleFlags,
const Link< SwOneExampleFrame &, void > *  pInitializedLink,
const OUString *  pURL = nullptr 
SwOneExampleFrame::~SwOneExampleFrame ( )

Definition at line 172 of file unotools.cxx.

References DisposeControl().

Member Function Documentation

void SwOneExampleFrame::ClearDocument ( )
bool SwOneExampleFrame::Command ( const CommandEvent rCEvt)
void SwOneExampleFrame::CreateControl ( )
bool SwOneExampleFrame::CreatePopup ( const Point rPt)
SwOneExampleFrame::DECL_DLLPRIVATE_LINK ( TimeoutHdl  ,
Timer ,
void SwOneExampleFrame::DisposeControl ( )

Definition at line 198 of file unotools.cxx.

References m_aLoadedIdle, m_xController, m_xCursor, m_xModel, and Task::Stop().

Referenced by ~SwOneExampleFrame().

css::uno::Reference< css::frame::XModel >& SwOneExampleFrame::GetModel ( )

Definition at line 72 of file unotools.hxx.

css::uno::Reference< css::text::XTextCursor >& SwOneExampleFrame::GetTextCursor ( )

Definition at line 73 of file unotools.hxx.

bool SwOneExampleFrame::IsInitialized ( ) const

Definition at line 77 of file unotools.hxx.

void SwOneExampleFrame::Paint ( vcl::RenderContext rRenderContext,
const tools::Rectangle rRect 
void SwOneExampleFrame::PopupHdl ( const OString &  rId)
void SwOneExampleFrame::SetDrawingArea ( weld::DrawingArea pDrawingArea)

Member Data Documentation

Link<SwOneExampleFrame&,void> SwOneExampleFrame::m_aInitializedLink

Definition at line 47 of file unotools.hxx.

Referenced by SwOneExampleFrame().

Idle SwOneExampleFrame::m_aLoadedIdle

Definition at line 46 of file unotools.hxx.

Referenced by ClearDocument(), CreateControl(), DisposeControl(), and SwOneExampleFrame().

bool SwOneExampleFrame::m_bIsInitialized

Definition at line 55 of file unotools.hxx.

sal_uInt32 SwOneExampleFrame::m_nStyleFlags

Definition at line 53 of file unotools.hxx.

Referenced by CreatePopup().

SwView* SwOneExampleFrame::m_pModuleView

Definition at line 51 of file unotools.hxx.

OUString SwOneExampleFrame::m_sArgumentURL

Definition at line 49 of file unotools.hxx.

Referenced by CreateControl(), and SwOneExampleFrame().

css::uno::Reference< css::frame::XController > SwOneExampleFrame::m_xController

Definition at line 43 of file unotools.hxx.

Referenced by Command(), CreatePopup(), DisposeControl(), Paint(), and PopupHdl().

css::uno::Reference< css::text::XTextCursor > SwOneExampleFrame::m_xCursor

Definition at line 44 of file unotools.hxx.

Referenced by ClearDocument(), DisposeControl(), and Paint().

css::uno::Reference< css::frame::XModel > SwOneExampleFrame::m_xModel

Definition at line 42 of file unotools.hxx.

Referenced by CreateControl(), and DisposeControl().

ScopedVclPtr<VirtualDevice> SwOneExampleFrame::m_xVirDev

Definition at line 41 of file unotools.hxx.

Referenced by Paint(), and SetDrawingArea().

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