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 ( weld::Window pParent,
weld::Builder rParent,
weld::Dialog rParentDialog 
)
ScreenshotAnnotationDlg_Impl::~ScreenshotAnnotationDlg_Impl ( )

Member Function Documentation

weld::ScreenShotEntry * ScreenshotAnnotationDlg_Impl::CheckHit ( const basegfx::B2IPoint rPosition)
private
ScreenshotAnnotationDlg_Impl::DECL_LINK ( saveButtonHandler  ,
weld::Button ,
void   
)
private
Point ScreenshotAnnotationDlg_Impl::GetOffsetInPicture ( ) const
private

Definition at line 420 of file screenshotannotationdlg.cxx.

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

Referenced by MouseMove(), and Paint().

bool ScreenshotAnnotationDlg_Impl::MouseButtonUp ( )
bool ScreenshotAnnotationDlg_Impl::MouseMove ( const MouseEvent rMouseEvent)
void ScreenshotAnnotationDlg_Impl::Paint ( vcl::RenderContext rRenderContext)
void ScreenshotAnnotationDlg_Impl::PaintScreenShotEntry ( const weld::ScreenShotEntry rEntry,
const Color rColor,
double  fLineWidth,
double  fTransparency 
)
private
void ScreenshotAnnotationDlg_Impl::RepaintPictureElement ( )
private

Definition at line 473 of file screenshotannotationdlg.cxx.

References mxPicture, mxVirtualBufferDevice, and RepaintToBuffer().

Referenced by MouseButtonUp(), and MouseMove().

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

Member Data Documentation

weld::ScreenShotCollection ScreenshotAnnotationDlg_Impl::maAllChildren
private

Definition at line 169 of file screenshotannotationdlg.cxx.

Referenced by CheckHit(), and ScreenshotAnnotationDlg_Impl().

BitmapEx ScreenshotAnnotationDlg_Impl::maDimmedDialogBitmap
private

Definition at line 162 of file screenshotannotationdlg.cxx.

Referenced by RepaintToBuffer(), and ScreenshotAnnotationDlg_Impl().

OUString ScreenshotAnnotationDlg_Impl::maLastFolderURL = OUString()
staticprivate

Definition at line 187 of file screenshotannotationdlg.cxx.

OUString ScreenshotAnnotationDlg_Impl::maMainMarkupText
private

Definition at line 184 of file screenshotannotationdlg.cxx.

Referenced by MouseButtonUp(), and ScreenshotAnnotationDlg_Impl().

BitmapEx ScreenshotAnnotationDlg_Impl::maParentDialogBitmap
private

Definition at line 161 of file screenshotannotationdlg.cxx.

Referenced by RepaintToBuffer(), and ScreenshotAnnotationDlg_Impl().

Size ScreenshotAnnotationDlg_Impl::maParentDialogSize
private
Picture ScreenshotAnnotationDlg_Impl::maPicture
private
OUString ScreenshotAnnotationDlg_Impl::maSaveAsText
private

Definition at line 183 of file screenshotannotationdlg.cxx.

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

Definition at line 174 of file screenshotannotationdlg.cxx.

Referenced by MouseButtonUp(), and RepaintToBuffer().

weld::ScreenShotEntry* ScreenshotAnnotationDlg_Impl::mpHilighted
private

Definition at line 172 of file screenshotannotationdlg.cxx.

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

weld::Window* ScreenshotAnnotationDlg_Impl::mpParentWindow
private

Definition at line 159 of file screenshotannotationdlg.cxx.

weld::Dialog& ScreenshotAnnotationDlg_Impl::mrParentDialog
private

Definition at line 160 of file screenshotannotationdlg.cxx.

Referenced by ScreenshotAnnotationDlg_Impl().

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

Definition at line 180 of file screenshotannotationdlg.cxx.

Referenced by ScreenshotAnnotationDlg_Impl().

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

Definition at line 179 of file screenshotannotationdlg.cxx.

Referenced by MouseButtonUp(), and ScreenshotAnnotationDlg_Impl().

VclPtr<VirtualDevice> ScreenshotAnnotationDlg_Impl::mxVirtualBufferDevice
private

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