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

#include <unotools.hxx>

Inheritance diagram for SwOneExampleFrame:
[legend]
Collaboration diagram for SwOneExampleFrame:
[legend]

Public Member Functions

 SwOneExampleFrame (sal_uInt32 nStyleFlags, const Link< SwOneExampleFrame &, void > *pInitalizedLink, const OUString *pURL=nullptr)
 
virtual void SetDrawingArea (weld::DrawingArea *pDrawingArea) override
 
virtual void Paint (vcl::RenderContext &rRenderContext, const tools::Rectangle &rRect) override
 
virtual bool ContextMenu (const CommandEvent &rCEvt) override
 
virtual ~SwOneExampleFrame () override
 
css::uno::Reference< css::frame::XModel > & GetModel ()
 
css::uno::Reference< css::frame::XController > & GetController ()
 
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
 
bool IsActive () const
 
int GetTextHeight () const
 
OUString GetAccessibleName () const
 
OUString GetAccessibleDescription () const
 
void CaptureMouse ()
 
bool IsMouseCaptured () 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 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
 
SwView *const m_pModuleView
 
sal_uInt32 const m_nStyleFlags
 
bool m_bIsInitialized
 

Additional Inherited Members

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

Detailed Description

Definition at line 38 of file unotools.hxx.

Constructor & Destructor Documentation

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

Definition at line 188 of file unotools.cxx.

References DisposeControl().

Member Function Documentation

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

Definition at line 214 of file unotools.cxx.

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

Referenced by ~SwOneExampleFrame().

css::uno::Reference< css::frame::XController >& SwOneExampleFrame::GetController ( )
inline

Definition at line 72 of file unotools.hxx.

Referenced by ContextMenu().

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

Definition at line 71 of file unotools.hxx.

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

Definition at line 73 of file unotools.hxx.

bool SwOneExampleFrame::IsInitialized ( ) const
inline

Definition at line 77 of file unotools.hxx.

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

Member Data Documentation

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

Definition at line 46 of file unotools.hxx.

Referenced by SwOneExampleFrame().

Idle SwOneExampleFrame::m_aLoadedIdle
private

Definition at line 45 of file unotools.hxx.

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

bool SwOneExampleFrame::m_bIsInitialized
private

Definition at line 54 of file unotools.hxx.

sal_uInt32 const SwOneExampleFrame::m_nStyleFlags
private

Definition at line 52 of file unotools.hxx.

Referenced by CreatePopup().

SwView* const SwOneExampleFrame::m_pModuleView
private

Definition at line 50 of file unotools.hxx.

OUString SwOneExampleFrame::m_sArgumentURL
private

Definition at line 48 of file unotools.hxx.

Referenced by CreateControl(), and SwOneExampleFrame().

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

Definition at line 42 of file unotools.hxx.

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

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

Definition at line 43 of file unotools.hxx.

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

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

Definition at line 41 of file unotools.hxx.

Referenced by CreateControl(), and DisposeControl().

ScopedVclPtr<VirtualDevice> SwOneExampleFrame::m_xVirDev
private

Definition at line 40 of file unotools.hxx.

Referenced by Paint(), and SetDrawingArea().


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