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:
[legend]
Collaboration diagram for SwOneExampleFrame:
[legend]

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 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 OUString &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

 DECL_DLLPRIVATE_LINK (TimeoutHdl, Timer *, void)
 
void PopupHdl (std::u16string_view 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 &, void > m_aInitializedLink
 
OUString m_sArgumentURL
 
SwViewm_pModuleView
 
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 43 of file unotools.hxx.

Constructor & Destructor Documentation

◆ SwOneExampleFrame()

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

◆ ~SwOneExampleFrame()

SwOneExampleFrame::~SwOneExampleFrame ( )
overridevirtual

Definition at line 171 of file unotools.cxx.

References DisposeControl().

Member Function Documentation

◆ ClearDocument()

void SwOneExampleFrame::ClearDocument ( )

◆ Command()

bool SwOneExampleFrame::Command ( const CommandEvent rCEvt)
overridevirtual

◆ CreateControl()

void SwOneExampleFrame::CreateControl ( )
private

◆ CreatePopup()

bool SwOneExampleFrame::CreatePopup ( const Point rPt)

◆ DECL_DLLPRIVATE_LINK()

SwOneExampleFrame::DECL_DLLPRIVATE_LINK ( TimeoutHdl  ,
Timer ,
void   
)
private

◆ DisposeControl()

void SwOneExampleFrame::DisposeControl ( )
private

Definition at line 197 of file unotools.cxx.

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

Referenced by ~SwOneExampleFrame().

◆ GetModel()

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

Definition at line 76 of file unotools.hxx.

References m_xModel.

◆ GetTextCursor()

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

Definition at line 77 of file unotools.hxx.

◆ IsInitialized()

bool SwOneExampleFrame::IsInitialized ( ) const
inline

Definition at line 81 of file unotools.hxx.

◆ Paint()

void SwOneExampleFrame::Paint ( vcl::RenderContext rRenderContext,
const tools::Rectangle rRect 
)
overridevirtual

◆ PopupHdl()

void SwOneExampleFrame::PopupHdl ( std::u16string_view  rId)
private

◆ SetDrawingArea()

void SwOneExampleFrame::SetDrawingArea ( weld::DrawingArea pDrawingArea)
overridevirtual

Member Data Documentation

◆ m_aInitializedLink

Link<SwOneExampleFrame&,void> SwOneExampleFrame::m_aInitializedLink
private

Definition at line 51 of file unotools.hxx.

Referenced by SwOneExampleFrame().

◆ m_aLoadedIdle

Idle SwOneExampleFrame::m_aLoadedIdle
private

Definition at line 50 of file unotools.hxx.

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

◆ m_bIsInitialized

bool SwOneExampleFrame::m_bIsInitialized
private

Definition at line 59 of file unotools.hxx.

◆ m_nStyleFlags

sal_uInt32 SwOneExampleFrame::m_nStyleFlags
private

Definition at line 57 of file unotools.hxx.

Referenced by CreatePopup().

◆ m_pModuleView

SwView* SwOneExampleFrame::m_pModuleView
private

Definition at line 55 of file unotools.hxx.

◆ m_sArgumentURL

OUString SwOneExampleFrame::m_sArgumentURL
private

Definition at line 53 of file unotools.hxx.

Referenced by CreateControl(), and SwOneExampleFrame().

◆ m_xController

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

Definition at line 47 of file unotools.hxx.

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

◆ m_xCursor

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

Definition at line 48 of file unotools.hxx.

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

◆ m_xModel

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

Definition at line 46 of file unotools.hxx.

Referenced by CreateControl(), and DisposeControl().

◆ m_xVirDev

ScopedVclPtr<VirtualDevice> SwOneExampleFrame::m_xVirDev
private

Definition at line 45 of file unotools.hxx.

Referenced by Paint(), and SetDrawingArea().


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