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

#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 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

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 m_aTransCol
 
Color m_aMarkCol
 
Color m_aLineCol
 
Color m_aShadowCol
 
Color m_aTextCol
 
Color m_aPrintAreaCol
 
tools::Rectangle m_aPage
 
tools::Rectangle m_aLeftPagePrtArea
 
tools::Rectangle m_aRightPagePrtArea
 
sal_uInt16 m_nMarkPos
 

Additional Inherited Members

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

Detailed Description

Definition at line 260 of file optpage.hxx.

Constructor & Destructor Documentation

◆ SwMarkPreview()

SwMarkPreview::SwMarkPreview ( )

Definition at line 1372 of file optpage.cxx.

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

◆ ~SwMarkPreview()

SwMarkPreview::~SwMarkPreview ( )
overridevirtual

Definition at line 1381 of file optpage.cxx.

Member Function Documentation

◆ InitColors()

void SwMarkPreview::InitColors ( )
private

◆ Paint()

void SwMarkPreview::Paint ( vcl::RenderContext rRenderContext,
const tools::Rectangle  
)
overrideprivatevirtual

◆ PaintPage()

void SwMarkPreview::PaintPage ( vcl::RenderContext rRenderContext,
const tools::Rectangle rRect 
)
private

◆ SetColor()

void SwMarkPreview::SetColor ( const Color rCol)
inline

Definition at line 285 of file optpage.hxx.

References m_aMarkCol.

◆ SetDrawingArea()

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

◆ SetMarkPos()

void SwMarkPreview::SetMarkPos ( sal_uInt16  nPos)
inline

Definition at line 286 of file optpage.hxx.

References m_nMarkPos, and nPos.

Member Data Documentation

◆ m_aBgCol

Color SwMarkPreview::m_aBgCol
private

Definition at line 262 of file optpage.hxx.

Referenced by InitColors(), and Paint().

◆ m_aLeftPagePrtArea

tools::Rectangle SwMarkPreview::m_aLeftPagePrtArea
private

Definition at line 271 of file optpage.hxx.

Referenced by Paint().

◆ m_aLineCol

Color SwMarkPreview::m_aLineCol
private

Definition at line 265 of file optpage.hxx.

Referenced by InitColors(), and Paint().

◆ m_aMarkCol

Color SwMarkPreview::m_aMarkCol
private

Definition at line 264 of file optpage.hxx.

Referenced by Paint(), and SetColor().

◆ m_aPage

tools::Rectangle SwMarkPreview::m_aPage
private

Definition at line 270 of file optpage.hxx.

Referenced by Paint(), and PaintPage().

◆ m_aPrintAreaCol

Color SwMarkPreview::m_aPrintAreaCol
private

Definition at line 268 of file optpage.hxx.

Referenced by InitColors(), and PaintPage().

◆ m_aRightPagePrtArea

tools::Rectangle SwMarkPreview::m_aRightPagePrtArea
private

Definition at line 272 of file optpage.hxx.

Referenced by Paint().

◆ m_aShadowCol

Color SwMarkPreview::m_aShadowCol
private

Definition at line 266 of file optpage.hxx.

Referenced by InitColors(), and Paint().

◆ m_aTextCol

Color SwMarkPreview::m_aTextCol
private

Definition at line 267 of file optpage.hxx.

Referenced by InitColors(), and PaintPage().

◆ m_aTransCol

Color SwMarkPreview::m_aTransCol
private

Definition at line 263 of file optpage.hxx.

Referenced by Paint(), and PaintPage().

◆ m_nMarkPos

sal_uInt16 SwMarkPreview::m_nMarkPos
private

Definition at line 274 of file optpage.hxx.

Referenced by Paint(), and SetMarkPos().


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