LibreOffice Module sd (master) 1
Public Member Functions | Private Attributes | List of all members
sd::AnnotationTextWindow Class Reference

#include <annotationwindow.hxx>

Inheritance diagram for sd::AnnotationTextWindow:
[legend]
Collaboration diagram for sd::AnnotationTextWindow:
[legend]

Public Member Functions

 AnnotationTextWindow (AnnotationWindow &rContents)
 
virtual EditViewGetEditView () const override
 
virtual EditEngineGetEditEngine () const override
 
virtual void EditViewScrollStateChange () override
 
void SetDrawingArea (weld::DrawingArea *pDrawingArea) override
 
virtual void Paint (vcl::RenderContext &rRenderContext, const ::tools::Rectangle &rRect) override
 
virtual bool KeyInput (const KeyEvent &rKeyEvt) override
 
virtual bool Command (const CommandEvent &rCEvt) override
 
- Public Member Functions inherited from WeldEditView
 WeldEditView ()
 
virtual void SetDrawingArea (weld::DrawingArea *pDrawingArea) override
 
virtual int GetSurroundingText (OUString &rSurrounding) override
 
virtual bool DeleteSurroundingText (const Selection &rRange) override
 
void SetText (const OUString &rStr)
 
OUString GetText () const
 
virtual FactoryFunction GetUITestFactory () const override
 
void SetModifyHdl (const Link< LinkParamNone *, void > &rLink)
 
virtual EditViewGetEditView () const
 
virtual EditEngineGetEditEngine () const
 
bool HasSelection () const
 
void Delete ()
 
void Cut ()
 
void Copy ()
 
void Paste ()
 
virtual ~WeldEditView () override
 
virtual void Paint (vcl::RenderContext &rRenderContext, const tools::Rectangle &rRect) override
 
virtual bool MouseMove (const MouseEvent &rMEvt) override
 
virtual bool MouseButtonDown (const MouseEvent &rMEvt) override
 
virtual bool MouseButtonUp (const MouseEvent &rMEvt) override
 
virtual bool KeyInput (const KeyEvent &rKEvt) override
 
virtual bool Command (const CommandEvent &rCEvt) override
 
virtual bool CanFocus () const
 
virtual void GetFocus () override
 
virtual void LoseFocus () override
 
virtual void Resize () override
 
virtual css::uno::Reference< css::datatransfer::clipboard::XClipboard > GetClipboard () const override
 
virtual css::uno::Reference< css::datatransfer::dnd::XDropTarget > GetDropTarget () override
 
bool GetAcceptsTab () const
 
void SetAcceptsTab (bool bAcceptsTab)
 

Private Attributes

AnnotationWindowmrContents
 

Additional Inherited Members

- Protected Member Functions inherited from WeldEditView
virtual void makeEditEngine ()
 
void InitAccessible ()
 
void DoPaint (vcl::RenderContext &rRenderContext, const tools::Rectangle &rRect)
 
virtual css::uno::Reference< css::accessibility::XAccessible > CreateAccessible () override
 
virtual void EditViewInvalidate (const tools::Rectangle &rRect) override
 
virtual void EditViewSelectionChange () override
 
virtual OutputDeviceEditViewOutputDevice () const override
 
virtual Point EditViewPointerPosPixel () const override
 
virtual void EditViewInputContext (const InputContext &rInputContext) override
 
virtual void EditViewCursorRect (const tools::Rectangle &rRect, int nExtTextInputWidth) override
 
virtual weld::WidgetEditViewPopupParent () const override
 
- Protected Attributes inherited from WeldEditView
bool m_bAcceptsTab
 
css::uno::Reference< css::datatransfer::dnd::XDropTarget > m_xDropTarget
 
std::unique_ptr< EditEnginem_xEditEngine
 
std::unique_ptr< EditViewm_xEditView
 
rtl::Reference< WeldEditAccessiblem_xAccessible
 

Detailed Description

Definition at line 41 of file annotationwindow.hxx.

Constructor & Destructor Documentation

◆ AnnotationTextWindow()

sd::AnnotationTextWindow::AnnotationTextWindow ( AnnotationWindow rContents)

Definition at line 150 of file annotationwindow.cxx.

Member Function Documentation

◆ Command()

bool sd::AnnotationTextWindow::Command ( const CommandEvent rCEvt)
overridevirtual

Reimplemented from WeldEditView.

Definition at line 602 of file annotationwindow.cxx.

References Any, aStr, bReadOnly, WeldEditView::Command(), OutlinerView::Copy(), Application::CreateBuilder(), TransferableDataHelper::CreateFromClipboard(), sd::AnnotationWindow::DocShell(), sd::AnnotationWindow::DoResize(), EE_CHAR_ITALIC(), EE_CHAR_STRIKEOUT(), EE_CHAR_UNDERLINE(), EE_CHAR_WEIGHT(), SfxDispatcher::Execute(), SfxDispatcher::ExecuteList(), Get(), SfxItemSet::Get(), sd::AnnotationWindow::getAnnotation(), OutlinerView::GetAttribs(), WeldEditView::GetClipboard(), CommandEvent::GetCommand(), vcl::CommandInfoProvider::GetCommandProperties(), SfxViewFrame::GetDispatcher(), Outliner::GetEmptyItemSet(), TransferableDataHelper::GetFormatCount(), SfxViewFrame::GetFrame(), SfxFrame::GetFrameInterface(), SvtUserOptions::GetFullName(), SfxItemSet::GetItemState(), vcl::CommandInfoProvider::GetMenuLabelForCommand(), vcl::CommandInfoProvider::GetModuleIdentifier(), CommandEvent::GetMousePosPixel(), sd::AnnotationWindow::GetOutliner(), sd::AnnotationWindow::GetOutlinerView(), sd::ViewShell::GetViewFrame(), sd::DrawDocShell::GetViewShell(), vcl::CommandInfoProvider::GetXGraphicForCommand(), OutlinerView::HasSelection(), sd::AnnotationWindow::IsProtected(), SfxObjectShell::IsReadOnly(), ITALIC_NONE, ITALIC_NORMAL, LINESTYLE_NONE, LINESTYLE_SINGLE, mrContents, OutlinerView::PasteSpecial(), SfxItemSet::Put(), SdResId(), OutlinerView::SetAttribs(), sId, STRIKEOUT_NONE, STRIKEOUT_SINGLE, TRISTATE_INDET, TRISTATE_TRUE, WEIGHT_BOLD, WEIGHT_NORMAL, and xFrame.

◆ EditViewScrollStateChange()

void sd::AnnotationTextWindow::EditViewScrollStateChange ( )
overridevirtual

Definition at line 86 of file annotationwindow.cxx.

References mrContents, and sd::AnnotationWindow::SetScrollbar().

◆ GetEditEngine()

EditEngine * sd::AnnotationTextWindow::GetEditEngine ( ) const
overridevirtual

◆ GetEditView()

EditView * sd::AnnotationTextWindow::GetEditView ( ) const
overridevirtual

Reimplemented from WeldEditView.

Definition at line 155 of file annotationwindow.cxx.

References OutlinerView::GetEditView(), sd::AnnotationWindow::GetOutlinerView(), and mrContents.

Referenced by KeyInput(), and SetDrawingArea().

◆ KeyInput()

bool sd::AnnotationTextWindow::KeyInput ( const KeyEvent rKeyEvt)
overridevirtual

◆ Paint()

void sd::AnnotationTextWindow::Paint ( vcl::RenderContext rRenderContext,
const ::tools::Rectangle rRect 
)
overridevirtual

◆ SetDrawingArea()

void sd::AnnotationTextWindow::SetDrawingArea ( weld::DrawingArea pDrawingArea)
overridevirtual

Member Data Documentation

◆ mrContents

AnnotationWindow& sd::AnnotationTextWindow::mrContents
private

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