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

#include <grfpage.hxx>

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

Public Member Functions

 SvxCropExample ()
 
virtual void Paint (vcl::RenderContext &rRenderContext, const ::tools::Rectangle &rRect) override
 
virtual void Resize () override
 
virtual void SetDrawingArea (weld::DrawingArea *pDrawingArea) override
 
void SetTop (long nVal)
 
void SetBottom (long nVal)
 
void SetLeft (long nVal)
 
void SetRight (long nVal)
 
void SetFrameSize (const Size &rSz)
 
void SetGraphic (const Graphic &rGrf)
 
- 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 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 Attributes

MapMode m_aMapMode
 
Size m_aFrameSize
 
Point m_aTopLeft
 
Point m_aBottomRight
 
Graphic m_aGrf
 

Additional Inherited Members

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

Detailed Description

Definition at line 27 of file grfpage.hxx.

Constructor & Destructor Documentation

SvxCropExample::SvxCropExample ( )

Definition at line 676 of file grfpage.cxx.

Member Function Documentation

void SvxCropExample::Paint ( vcl::RenderContext rRenderContext,
const ::tools::Rectangle rRect 
)
overridevirtual
void SvxCropExample::Resize ( )
overridevirtual

Reimplemented from weld::CustomWidgetController.

Definition at line 722 of file grfpage.cxx.

References m_aFrameSize, and SetFrameSize().

void SvxCropExample::SetBottom ( long  nVal)
inline

Definition at line 42 of file grfpage.hxx.

References Point::setX().

Referenced by SvxGrfCropPage::GraphicHasChanged(), and SvxGrfCropPage::Reset().

void SvxCropExample::SetDrawingArea ( weld::DrawingArea pDrawingArea)
overridevirtual
void SvxCropExample::SetFrameSize ( const Size rSz)
void SvxCropExample::SetGraphic ( const Graphic rGrf)
inline

Definition at line 46 of file grfpage.hxx.

Referenced by SvxGrfCropPage::ActivatePage(), and SvxGrfCropPage::Reset().

void SvxCropExample::SetLeft ( long  nVal)
inline

Definition at line 43 of file grfpage.hxx.

References Point::setY().

Referenced by SvxGrfCropPage::GraphicHasChanged(), and SvxGrfCropPage::Reset().

void SvxCropExample::SetRight ( long  nVal)
inline

Definition at line 44 of file grfpage.hxx.

References Point::setY().

Referenced by SvxGrfCropPage::GraphicHasChanged(), and SvxGrfCropPage::Reset().

void SvxCropExample::SetTop ( long  nVal)
inline

Definition at line 41 of file grfpage.hxx.

References Point::setX().

Referenced by SvxGrfCropPage::GraphicHasChanged(), and SvxGrfCropPage::Reset().

Member Data Documentation

Point SvxCropExample::m_aBottomRight
private

Definition at line 31 of file grfpage.hxx.

Referenced by Paint().

Size SvxCropExample::m_aFrameSize
private

Definition at line 30 of file grfpage.hxx.

Referenced by Paint(), Resize(), SetDrawingArea(), and SetFrameSize().

Graphic SvxCropExample::m_aGrf
private

Definition at line 32 of file grfpage.hxx.

Referenced by Paint().

MapMode SvxCropExample::m_aMapMode
private

Definition at line 29 of file grfpage.hxx.

Referenced by Paint(), SetDrawingArea(), and SetFrameSize().

Point SvxCropExample::m_aTopLeft
private

Definition at line 31 of file grfpage.hxx.

Referenced by Paint().


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