LibreOffice Module cui (master) 1
Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
ScreenshotAnnotationDlg_Impl Class Reference
Collaboration diagram for ScreenshotAnnotationDlg_Impl:
[legend]

Public Member Functions

 ScreenshotAnnotationDlg_Impl (weld::Window *pParent, weld::Builder &rParent, weld::Dialog &rParentDialog)
 
 ~ScreenshotAnnotationDlg_Impl ()
 
void Paint (vcl::RenderContext &rRenderContext)
 
bool MouseMove (const MouseEvent &rMouseEvent)
 
bool MouseButtonUp ()
 

Private Member Functions

 DECL_LINK (saveButtonHandler, weld::Button &, void)
 
weld::ScreenShotEntryCheckHit (const basegfx::B2IPoint &rPosition)
 
void PaintScreenShotEntry (const weld::ScreenShotEntry &rEntry, const Color &rColor, double fLineWidth, double fTransparency)
 
void RepaintToBuffer (bool bUseDimmed=false, bool bPaintHilight=false)
 
void RepaintPictureElement ()
 
Point GetOffsetInPicture () const
 

Private Attributes

weld::WindowmpParentWindow
 
weld::DialogmrParentDialog
 
BitmapEx maParentDialogBitmap
 
BitmapEx maDimmedDialogBitmap
 
Size maParentDialogSize
 
VclPtr< VirtualDevicemxVirtualBufferDevice
 
weld::ScreenShotCollection maAllChildren
 
weld::ScreenShotEntrympHilighted
 
std::set< weld::ScreenShotEntry * > maSelected
 
Picture maPicture
 
std::unique_ptr< weld::CustomWeldmxPicture
 
std::unique_ptr< weld::TextViewmxText
 
std::unique_ptr< weld::ButtonmxSave
 
OUString maSaveAsText
 
OUString maMainMarkupText
 

Static Private Attributes

static OUString maLastFolderURL = OUString()
 

Detailed Description

Definition at line 132 of file screenshotannotationdlg.cxx.

Constructor & Destructor Documentation

◆ ScreenshotAnnotationDlg_Impl()

ScreenshotAnnotationDlg_Impl::ScreenshotAnnotationDlg_Impl ( weld::Window pParent,
weld::Builder rParent,
weld::Dialog rParentDialog 
)

◆ ~ScreenshotAnnotationDlg_Impl()

ScreenshotAnnotationDlg_Impl::~ScreenshotAnnotationDlg_Impl ( )

Member Function Documentation

◆ CheckHit()

weld::ScreenShotEntry * ScreenshotAnnotationDlg_Impl::CheckHit ( const basegfx::B2IPoint rPosition)
private

◆ DECL_LINK()

ScreenshotAnnotationDlg_Impl::DECL_LINK ( saveButtonHandler  ,
weld::Button ,
void   
)
private

◆ GetOffsetInPicture()

Point ScreenshotAnnotationDlg_Impl::GetOffsetInPicture ( ) const
private

Definition at line 419 of file screenshotannotationdlg.cxx.

References Size::Height(), maParentDialogSize, maPicture, and Size::Width().

Referenced by MouseMove(), and Paint().

◆ MouseButtonUp()

bool ScreenshotAnnotationDlg_Impl::MouseButtonUp ( )

◆ MouseMove()

bool ScreenshotAnnotationDlg_Impl::MouseMove ( const MouseEvent rMouseEvent)

◆ Paint()

void ScreenshotAnnotationDlg_Impl::Paint ( vcl::RenderContext rRenderContext)

◆ PaintScreenShotEntry()

void ScreenshotAnnotationDlg_Impl::PaintScreenShotEntry ( const weld::ScreenShotEntry rEntry,
const Color rColor,
double  fLineWidth,
double  fTransparency 
)
private

◆ RepaintPictureElement()

void ScreenshotAnnotationDlg_Impl::RepaintPictureElement ( )
private

Definition at line 471 of file screenshotannotationdlg.cxx.

References mxPicture, mxVirtualBufferDevice, and RepaintToBuffer().

Referenced by MouseButtonUp(), and MouseMove().

◆ RepaintToBuffer()

void ScreenshotAnnotationDlg_Impl::RepaintToBuffer ( bool  bUseDimmed = false,
bool  bPaintHilight = false 
)
private

Member Data Documentation

◆ maAllChildren

weld::ScreenShotCollection ScreenshotAnnotationDlg_Impl::maAllChildren
private

Definition at line 169 of file screenshotannotationdlg.cxx.

Referenced by CheckHit(), and ScreenshotAnnotationDlg_Impl().

◆ maDimmedDialogBitmap

BitmapEx ScreenshotAnnotationDlg_Impl::maDimmedDialogBitmap
private

Definition at line 162 of file screenshotannotationdlg.cxx.

Referenced by RepaintToBuffer(), and ScreenshotAnnotationDlg_Impl().

◆ maLastFolderURL

OUString ScreenshotAnnotationDlg_Impl::maLastFolderURL = OUString()
staticprivate

Definition at line 187 of file screenshotannotationdlg.cxx.

◆ maMainMarkupText

OUString ScreenshotAnnotationDlg_Impl::maMainMarkupText
private

Definition at line 184 of file screenshotannotationdlg.cxx.

Referenced by MouseButtonUp(), and ScreenshotAnnotationDlg_Impl().

◆ maParentDialogBitmap

BitmapEx ScreenshotAnnotationDlg_Impl::maParentDialogBitmap
private

Definition at line 161 of file screenshotannotationdlg.cxx.

Referenced by RepaintToBuffer(), and ScreenshotAnnotationDlg_Impl().

◆ maParentDialogSize

Size ScreenshotAnnotationDlg_Impl::maParentDialogSize
private

◆ maPicture

Picture ScreenshotAnnotationDlg_Impl::maPicture
private

◆ maSaveAsText

OUString ScreenshotAnnotationDlg_Impl::maSaveAsText
private

Definition at line 183 of file screenshotannotationdlg.cxx.

◆ maSelected

std::set< weld::ScreenShotEntry* > ScreenshotAnnotationDlg_Impl::maSelected
private

Definition at line 174 of file screenshotannotationdlg.cxx.

Referenced by MouseButtonUp(), and RepaintToBuffer().

◆ mpHilighted

weld::ScreenShotEntry* ScreenshotAnnotationDlg_Impl::mpHilighted
private

Definition at line 172 of file screenshotannotationdlg.cxx.

Referenced by MouseButtonUp(), MouseMove(), and RepaintToBuffer().

◆ mpParentWindow

weld::Window* ScreenshotAnnotationDlg_Impl::mpParentWindow
private

Definition at line 159 of file screenshotannotationdlg.cxx.

◆ mrParentDialog

weld::Dialog& ScreenshotAnnotationDlg_Impl::mrParentDialog
private

Definition at line 160 of file screenshotannotationdlg.cxx.

Referenced by ScreenshotAnnotationDlg_Impl().

◆ mxPicture

std::unique_ptr<weld::CustomWeld> ScreenshotAnnotationDlg_Impl::mxPicture
private

◆ mxSave

std::unique_ptr<weld::Button> ScreenshotAnnotationDlg_Impl::mxSave
private

Definition at line 180 of file screenshotannotationdlg.cxx.

Referenced by ScreenshotAnnotationDlg_Impl().

◆ mxText

std::unique_ptr<weld::TextView> ScreenshotAnnotationDlg_Impl::mxText
private

Definition at line 179 of file screenshotannotationdlg.cxx.

Referenced by MouseButtonUp(), and ScreenshotAnnotationDlg_Impl().

◆ mxVirtualBufferDevice

VclPtr<VirtualDevice> ScreenshotAnnotationDlg_Impl::mxVirtualBufferDevice
private

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