LibreOffice Module editeng (master) 1
Public Member Functions | List of all members
SvxEditViewForwarder Class Referenceabstract

Encapsulates EditView and OutlinerView for the purpose of unified EditEngine/Outliner access. More...

#include <unoedsrc.hxx>

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

Public Member Functions

virtual bool GetSelection (ESelection &rSelection) const =0
 Query current selection. More...
 
virtual bool SetSelection (const ESelection &rSelection)=0
 Set selection in view. More...
 
virtual bool Copy ()=0
 Copy current selection to clipboard. More...
 
virtual bool Cut ()=0
 Cut current selection to clipboard. More...
 
virtual bool Paste ()=0
 Paste clipboard into current selection. More...
 
- Public Member Functions inherited from SvxViewForwarder
virtual ~SvxViewForwarder ()
 
virtual bool IsValid () const =0
 Query state of forwarder. More...
 
virtual Point LogicToPixel (const Point &rPoint, const MapMode &rMapMode) const =0
 Convert from logical, EditEngine-relative coordinates to screen coordinates. More...
 
virtual Point PixelToLogic (const Point &rPoint, const MapMode &rMapMode) const =0
 Convert from screen to logical, EditEngine-relative coordinates. More...
 

Detailed Description

Encapsulates EditView and OutlinerView for the purpose of unified EditEngine/Outliner access.

Definition at line 492 of file unoedsrc.hxx.

Member Function Documentation

◆ Copy()

virtual bool SvxEditViewForwarder::Copy ( )
pure virtual

Copy current selection to clipboard.

Returns
false if no selection or no view (the empty selection is a selection)

Implemented in SvxAccessibleTextEditViewAdapter, and SvxDrawOutlinerViewForwarder.

Referenced by SvxAccessibleTextEditViewAdapter::Copy(), and accessibility::AccessibleStaticTextBase_Impl::CopyText().

◆ Cut()

virtual bool SvxEditViewForwarder::Cut ( )
pure virtual

Cut current selection to clipboard.

Returns
false if no selection or no view (the empty selection is a selection)

Implemented in SvxAccessibleTextEditViewAdapter, and SvxDrawOutlinerViewForwarder.

Referenced by SvxAccessibleTextEditViewAdapter::Cut().

◆ GetSelection()

virtual bool SvxEditViewForwarder::GetSelection ( ESelection rSelection) const
pure virtual

Query current selection.

Parameters
rSelectionContains the current selection after method call
Returns
false, if there is no view or no selection (the empty selection is a selection)

Implemented in SvxAccessibleTextEditViewAdapter, and SvxDrawOutlinerViewForwarder.

Referenced by accessibility::AccessibleStaticTextBase_Impl::CopyText(), and SvxAccessibleTextEditViewAdapter::GetSelection().

◆ Paste()

virtual bool SvxEditViewForwarder::Paste ( )
pure virtual

Paste clipboard into current selection.

Returns
false if no view or no selection (the empty selection is a selection)

Implemented in SvxAccessibleTextEditViewAdapter, and SvxDrawOutlinerViewForwarder.

Referenced by SvxAccessibleTextEditViewAdapter::Paste().

◆ SetSelection()

virtual bool SvxEditViewForwarder::SetSelection ( const ESelection rSelection)
pure virtual

Set selection in view.

Parameters
rSelectionThe selection to set
Returns
false, if there is no view or selection is invalid

Implemented in SvxAccessibleTextEditViewAdapter, and SvxDrawOutlinerViewForwarder.

Referenced by accessibility::AccessibleStaticTextBase_Impl::CopyText(), SvxAccessibleTextEditViewAdapter::SetSelection(), and accessibility::AccessibleStaticTextBase_Impl::SetSelection().


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