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:
Collaboration diagram for SwMarkPreview:

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 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 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 OString &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 SetDragDataTransferrable (rtl::Reference< TransferDataContainer > &rTransferrable, 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 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 261 of file optpage.hxx.

Constructor & Destructor Documentation

SwMarkPreview::SwMarkPreview ( )

Definition at line 1373 of file optpage.cxx.

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

SwMarkPreview::~SwMarkPreview ( )

Definition at line 1382 of file optpage.cxx.

Member Function Documentation

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

Definition at line 286 of file optpage.hxx.

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

Definition at line 287 of file optpage.hxx.

Member Data Documentation

tools::Rectangle SwMarkPreview::aLeftPagePrtArea

Definition at line 272 of file optpage.hxx.

Referenced by Paint().

tools::Rectangle SwMarkPreview::aPage

Definition at line 271 of file optpage.hxx.

Referenced by Paint(), and PaintPage().

tools::Rectangle SwMarkPreview::aRightPagePrtArea

Definition at line 273 of file optpage.hxx.

Referenced by Paint().

Color SwMarkPreview::m_aBgCol

Definition at line 263 of file optpage.hxx.

Referenced by InitColors(), and Paint().

Color SwMarkPreview::m_aLineCol

Definition at line 266 of file optpage.hxx.

Referenced by InitColors(), and Paint().

Color SwMarkPreview::m_aMarkCol

Definition at line 265 of file optpage.hxx.

Referenced by Paint().

Color SwMarkPreview::m_aPrintAreaCol

Definition at line 269 of file optpage.hxx.

Referenced by InitColors(), and PaintPage().

Color SwMarkPreview::m_aShadowCol

Definition at line 267 of file optpage.hxx.

Referenced by InitColors(), and Paint().

Color SwMarkPreview::m_aTextCol

Definition at line 268 of file optpage.hxx.

Referenced by InitColors(), and PaintPage().

Color SwMarkPreview::m_aTransCol

Definition at line 264 of file optpage.hxx.

Referenced by Paint(), and PaintPage().

sal_uInt16 SwMarkPreview::nMarkPos

Definition at line 275 of file optpage.hxx.

Referenced by Paint().

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