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

#include <optpage.hxx>

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

Public Member Functions

 SwMarkPreview ()
 
virtual void SetDrawingArea (weld::DrawingArea *pDrawingArea) override
 
virtual ~SwMarkPreview () override
 
void SetColor (const Color &rCol)
 
void SetMarkPos (sal_uInt16 nPos)
 
- 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 ContextMenu (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
 
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

virtual void Paint (vcl::RenderContext &rRenderContext, const tools::Rectangle &) override
 
void PaintPage (vcl::RenderContext &rRenderContext, const tools::Rectangle &rRect)
 
void InitColors ()
 

Private Attributes

Color m_aBgCol
 
Color const m_aTransCol
 
Color m_aMarkCol
 
Color m_aLineCol
 
Color m_aShadowCol
 
Color m_aTextCol
 
Color m_aPrintAreaCol
 
tools::Rectangle aPage
 
tools::Rectangle aLeftPagePrtArea
 
tools::Rectangle aRightPagePrtArea
 
sal_uInt16 nMarkPos
 

Additional Inherited Members

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

Detailed Description

Definition at line 262 of file optpage.hxx.

Constructor & Destructor Documentation

SwMarkPreview::SwMarkPreview ( )

Definition at line 1420 of file optpage.cxx.

References COL_LIGHTRED(), COL_TRANSPARENT(), and InitColors().

SwMarkPreview::~SwMarkPreview ( )
overridevirtual

Definition at line 1429 of file optpage.cxx.

Member Function Documentation

void SwMarkPreview::InitColors ( )
private
void SwMarkPreview::Paint ( vcl::RenderContext rRenderContext,
const tools::Rectangle  
)
overrideprivatevirtual
void SwMarkPreview::PaintPage ( vcl::RenderContext rRenderContext,
const tools::Rectangle rRect 
)
private
void SwMarkPreview::SetColor ( const Color rCol)
inline

Definition at line 287 of file optpage.hxx.

void SwMarkPreview::SetDrawingArea ( weld::DrawingArea pDrawingArea)
overridevirtual
void SwMarkPreview::SetMarkPos ( sal_uInt16  nPos)
inline

Definition at line 288 of file optpage.hxx.

Member Data Documentation

tools::Rectangle SwMarkPreview::aLeftPagePrtArea
private

Definition at line 273 of file optpage.hxx.

Referenced by Paint().

tools::Rectangle SwMarkPreview::aPage
private

Definition at line 272 of file optpage.hxx.

Referenced by Paint(), and PaintPage().

tools::Rectangle SwMarkPreview::aRightPagePrtArea
private

Definition at line 274 of file optpage.hxx.

Referenced by Paint().

Color SwMarkPreview::m_aBgCol
private

Definition at line 264 of file optpage.hxx.

Referenced by InitColors(), and Paint().

Color SwMarkPreview::m_aLineCol
private

Definition at line 267 of file optpage.hxx.

Referenced by InitColors(), and Paint().

Color SwMarkPreview::m_aMarkCol
private

Definition at line 266 of file optpage.hxx.

Referenced by Paint().

Color SwMarkPreview::m_aPrintAreaCol
private

Definition at line 270 of file optpage.hxx.

Referenced by InitColors(), and PaintPage().

Color SwMarkPreview::m_aShadowCol
private

Definition at line 268 of file optpage.hxx.

Referenced by InitColors(), and Paint().

Color SwMarkPreview::m_aTextCol
private

Definition at line 269 of file optpage.hxx.

Referenced by InitColors(), and PaintPage().

Color const SwMarkPreview::m_aTransCol
private

Definition at line 265 of file optpage.hxx.

Referenced by Paint(), and PaintPage().

sal_uInt16 SwMarkPreview::nMarkPos
private

Definition at line 276 of file optpage.hxx.

Referenced by Paint().


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