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

#include <labfmt.hxx>

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

Public Member Functions

 SwLabPreview ()
 
void UpdateItem (const SwLabItem &rItem)
 
- 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 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

virtual void SetDrawingArea (weld::DrawingArea *pDrawingArea) override
 
virtual void Paint (vcl::RenderContext &rRenderContext, const tools::Rectangle &rRect) override
 

Private Attributes

Color const m_aGrayColor
 
OUString const m_aHDistStr
 
OUString const m_aVDistStr
 
OUString const m_aWidthStr
 
OUString const m_aHeightStr
 
OUString const m_aLeftStr
 
OUString const m_aUpperStr
 
OUString const m_aColsStr
 
OUString const m_aRowsStr
 
long m_lHDistWidth
 
long m_lVDistWidth
 
long m_lHeightWidth
 
long m_lLeftWidth
 
long m_lUpperWidth
 
long m_lColsWidth
 
long m_lXWidth
 
long m_lXHeight
 
SwLabItem m_aItem
 

Additional Inherited Members

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

Detailed Description

Definition at line 32 of file labfmt.hxx.

Constructor & Destructor Documentation

SwLabPreview::SwLabPreview ( )

Definition at line 102 of file labfmt.cxx.

References COL_LIGHTGRAY().

Member Function Documentation

void SwLabPreview::Paint ( vcl::RenderContext rRenderContext,
const tools::Rectangle rRect 
)
overrideprivatevirtual
void SwLabPreview::SetDrawingArea ( weld::DrawingArea pDrawingArea)
overrideprivatevirtual
void SwLabPreview::UpdateItem ( const SwLabItem rItem)

Definition at line 281 of file labfmt.cxx.

References weld::CustomWidgetController::Invalidate(), and m_aItem.

Member Data Documentation

OUString const SwLabPreview::m_aColsStr
private

Definition at line 42 of file labfmt.hxx.

Referenced by Paint(), and SetDrawingArea().

Color const SwLabPreview::m_aGrayColor
private

Definition at line 34 of file labfmt.hxx.

Referenced by Paint().

OUString const SwLabPreview::m_aHDistStr
private

Definition at line 36 of file labfmt.hxx.

Referenced by Paint(), and SetDrawingArea().

OUString const SwLabPreview::m_aHeightStr
private

Definition at line 39 of file labfmt.hxx.

Referenced by Paint(), and SetDrawingArea().

SwLabItem SwLabPreview::m_aItem
private

Definition at line 55 of file labfmt.hxx.

Referenced by Paint(), and UpdateItem().

OUString const SwLabPreview::m_aLeftStr
private

Definition at line 40 of file labfmt.hxx.

Referenced by Paint(), and SetDrawingArea().

OUString const SwLabPreview::m_aRowsStr
private

Definition at line 43 of file labfmt.hxx.

Referenced by Paint().

OUString const SwLabPreview::m_aUpperStr
private

Definition at line 41 of file labfmt.hxx.

Referenced by Paint(), and SetDrawingArea().

OUString const SwLabPreview::m_aVDistStr
private

Definition at line 37 of file labfmt.hxx.

Referenced by Paint(), and SetDrawingArea().

OUString const SwLabPreview::m_aWidthStr
private

Definition at line 38 of file labfmt.hxx.

Referenced by Paint().

long SwLabPreview::m_lColsWidth
private

Definition at line 50 of file labfmt.hxx.

Referenced by Paint(), and SetDrawingArea().

long SwLabPreview::m_lHDistWidth
private

Definition at line 45 of file labfmt.hxx.

Referenced by Paint(), and SetDrawingArea().

long SwLabPreview::m_lHeightWidth
private

Definition at line 47 of file labfmt.hxx.

Referenced by Paint(), and SetDrawingArea().

long SwLabPreview::m_lLeftWidth
private

Definition at line 48 of file labfmt.hxx.

Referenced by Paint(), and SetDrawingArea().

long SwLabPreview::m_lUpperWidth
private

Definition at line 49 of file labfmt.hxx.

Referenced by Paint(), and SetDrawingArea().

long SwLabPreview::m_lVDistWidth
private

Definition at line 46 of file labfmt.hxx.

Referenced by Paint(), and SetDrawingArea().

long SwLabPreview::m_lXHeight
private

Definition at line 53 of file labfmt.hxx.

Referenced by Paint(), and SetDrawingArea().

long SwLabPreview::m_lXWidth
private

Definition at line 52 of file labfmt.hxx.

Referenced by Paint(), and SetDrawingArea().


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