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

#include <swframeexample.hxx>

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

Public Member Functions

 SwFrameExample ()
 
virtual void SetDrawingArea (weld::DrawingArea *pDrawingArea) override
 
void SetWrap (css::text::WrapTextMode nW)
 
void SetHAlign (short nH)
 
void SetHoriRel (short nR)
 
void SetVAlign (short nV)
 
void SetVertRel (short nR)
 
void SetTransparent (bool bT)
 
void SetAnchor (RndStdIds nA)
 
void SetRelPos (const Point &rP)
 
- 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 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)
 
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

void InitColors_Impl ()
 
void InitAllRects_Impl (vcl::RenderContext &rRenderContext)
 
void CalcBoundRect_Impl (const vcl::RenderContext &rRenderContext, tools::Rectangle &rRect)
 
tools::Rectangle DrawInnerFrame_Impl (vcl::RenderContext &rRenderContext, const tools::Rectangle &rRect, const Color &rFillColor, const Color &rBorderColor)
 
virtual void StyleUpdated () override
 
virtual void Paint (vcl::RenderContext &rRenderContext, const tools::Rectangle &) override
 

Private Attributes

Color m_aTransColor
 transparency More...
 
Color m_aBgCol
 background More...
 
Color m_aFrameColor
 graphic frame More...
 
Color m_aAlignColor
 align anchor More...
 
Color m_aBorderCol
 frame of doc More...
 
Color m_aPrintAreaCol
 frame of printable area of doc More...
 
Color m_aTxtCol
 symbolised text More...
 
Color m_aBlankCol
 area of symbol for blank More...
 
Color m_aBlankFrameCol
 frame of symbol for blank More...
 
tools::Rectangle aPage
 
tools::Rectangle aPagePrtArea
 
tools::Rectangle aTextLine
 
tools::Rectangle aPara
 
tools::Rectangle aParaPrtArea
 
tools::Rectangle aFrameAtFrame
 
tools::Rectangle aDrawObj
 
tools::Rectangle aAutoCharFrame
 
Size aFrmSize
 
short nHAlign
 
short nHRel
 
short nVAlign
 
short nVRel
 
css::text::WrapTextMode nWrap
 
RndStdIds nAnchor
 
bool bTrans
 
Point aRelPos
 

Additional Inherited Members

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

Detailed Description

Definition at line 29 of file swframeexample.hxx.

Constructor & Destructor Documentation

SwFrameExample::SwFrameExample ( )

Definition at line 49 of file swframeexample.cxx.

References CENTER, FLY_AT_PAGE, FRAME, InitColors_Impl(), and TOP.

Member Function Documentation

void SwFrameExample::CalcBoundRect_Impl ( const vcl::RenderContext rRenderContext,
tools::Rectangle rRect 
)
private
tools::Rectangle SwFrameExample::DrawInnerFrame_Impl ( vcl::RenderContext rRenderContext,
const tools::Rectangle rRect,
const Color rFillColor,
const Color rBorderColor 
)
private
void SwFrameExample::InitAllRects_Impl ( vcl::RenderContext rRenderContext)
private
void SwFrameExample::InitColors_Impl ( )
private
void SwFrameExample::Paint ( vcl::RenderContext rRenderContext,
const tools::Rectangle  
)
overrideprivatevirtual
void SwFrameExample::SetAnchor ( RndStdIds  nA)
inline

Definition at line 85 of file swframeexample.hxx.

void SwFrameExample::SetDrawingArea ( weld::DrawingArea pDrawingArea)
overridevirtual
void SwFrameExample::SetHAlign ( short  nH)
inline

Definition at line 78 of file swframeexample.hxx.

void SwFrameExample::SetHoriRel ( short  nR)
inline

Definition at line 79 of file swframeexample.hxx.

void SwFrameExample::SetRelPos ( const Point rP)

Definition at line 700 of file swframeexample.cxx.

References aRelPos, Point::setX(), Point::setY(), Point::X(), and Point::Y().

void SwFrameExample::SetTransparent ( bool  bT)
inline

Definition at line 84 of file swframeexample.hxx.

void SwFrameExample::SetVAlign ( short  nV)
inline

Definition at line 81 of file swframeexample.hxx.

void SwFrameExample::SetVertRel ( short  nR)
inline

Definition at line 82 of file swframeexample.hxx.

void SwFrameExample::SetWrap ( css::text::WrapTextMode  nW)
inline

Definition at line 76 of file swframeexample.hxx.

void SwFrameExample::StyleUpdated ( )
overrideprivatevirtual

Reimplemented from weld::CustomWidgetController.

Definition at line 89 of file swframeexample.cxx.

References InitColors_Impl().

Member Data Documentation

tools::Rectangle SwFrameExample::aAutoCharFrame
private

Definition at line 48 of file swframeexample.hxx.

Referenced by CalcBoundRect_Impl(), InitAllRects_Impl(), and Paint().

tools::Rectangle SwFrameExample::aDrawObj
private

Definition at line 47 of file swframeexample.hxx.

Referenced by CalcBoundRect_Impl(), InitAllRects_Impl(), and Paint().

tools::Rectangle SwFrameExample::aFrameAtFrame
private

Definition at line 46 of file swframeexample.hxx.

Referenced by CalcBoundRect_Impl(), InitAllRects_Impl(), and Paint().

Size SwFrameExample::aFrmSize
private

Definition at line 49 of file swframeexample.hxx.

Referenced by InitAllRects_Impl(), and Paint().

tools::Rectangle SwFrameExample::aPage
private

Definition at line 41 of file swframeexample.hxx.

Referenced by CalcBoundRect_Impl(), InitAllRects_Impl(), and Paint().

tools::Rectangle SwFrameExample::aPagePrtArea
private
tools::Rectangle SwFrameExample::aPara
private

Definition at line 44 of file swframeexample.hxx.

Referenced by CalcBoundRect_Impl(), InitAllRects_Impl(), and Paint().

tools::Rectangle SwFrameExample::aParaPrtArea
private
Point SwFrameExample::aRelPos
private

Definition at line 61 of file swframeexample.hxx.

Referenced by Paint(), and SetRelPos().

tools::Rectangle SwFrameExample::aTextLine
private

Definition at line 43 of file swframeexample.hxx.

Referenced by DrawInnerFrame_Impl(), InitAllRects_Impl(), and Paint().

bool SwFrameExample::bTrans
private

Definition at line 59 of file swframeexample.hxx.

Referenced by Paint().

Color SwFrameExample::m_aAlignColor
private

align anchor

Definition at line 34 of file swframeexample.hxx.

Referenced by InitColors_Impl(), and Paint().

Color SwFrameExample::m_aBgCol
private

background

Definition at line 32 of file swframeexample.hxx.

Referenced by InitAllRects_Impl(), InitColors_Impl(), and Paint().

Color SwFrameExample::m_aBlankCol
private

area of symbol for blank

Definition at line 38 of file swframeexample.hxx.

Referenced by InitColors_Impl(), and Paint().

Color SwFrameExample::m_aBlankFrameCol
private

frame of symbol for blank

Definition at line 39 of file swframeexample.hxx.

Referenced by InitColors_Impl(), and Paint().

Color SwFrameExample::m_aBorderCol
private

frame of doc

Definition at line 35 of file swframeexample.hxx.

Referenced by InitColors_Impl(), and Paint().

Color SwFrameExample::m_aFrameColor
private

graphic frame

Definition at line 33 of file swframeexample.hxx.

Referenced by InitColors_Impl(), and Paint().

Color SwFrameExample::m_aPrintAreaCol
private

frame of printable area of doc

Definition at line 36 of file swframeexample.hxx.

Referenced by InitColors_Impl(), and Paint().

Color SwFrameExample::m_aTransColor
private

transparency

Definition at line 31 of file swframeexample.hxx.

Referenced by DrawInnerFrame_Impl(), InitColors_Impl(), and Paint().

Color SwFrameExample::m_aTxtCol
private

symbolised text

Definition at line 37 of file swframeexample.hxx.

Referenced by DrawInnerFrame_Impl(), InitAllRects_Impl(), InitColors_Impl(), and Paint().

RndStdIds SwFrameExample::nAnchor
private
short SwFrameExample::nHAlign
private

Definition at line 51 of file swframeexample.hxx.

Referenced by Paint().

short SwFrameExample::nHRel
private

Definition at line 52 of file swframeexample.hxx.

Referenced by CalcBoundRect_Impl(), InitAllRects_Impl(), and Paint().

short SwFrameExample::nVAlign
private

Definition at line 54 of file swframeexample.hxx.

Referenced by CalcBoundRect_Impl(), and Paint().

short SwFrameExample::nVRel
private

Definition at line 55 of file swframeexample.hxx.

Referenced by CalcBoundRect_Impl(), and Paint().

css::text::WrapTextMode SwFrameExample::nWrap
private

Definition at line 57 of file swframeexample.hxx.

Referenced by Paint().


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