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

Encapsulates the document view for the purpose of unified EditEngine/Outliner access. More...

#include <unoedsrc.hxx>

Inheritance diagram for SvxViewForwarder:
[legend]

Public Member Functions

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 the document view for the purpose of unified EditEngine/Outliner access.

This one has to be different from the SvxEditViewForwarder, since the latter is only valid in edit mode.

Definition at line 451 of file unoedsrc.hxx.

Constructor & Destructor Documentation

◆ ~SvxViewForwarder()

SvxViewForwarder::~SvxViewForwarder ( )
virtual

Definition at line 49 of file unoedsrc.cxx.

Member Function Documentation

◆ IsValid()

virtual bool SvxViewForwarder::IsValid ( ) const
pure virtual

Query state of forwarder.

Returns
sal_False, if no longer valid

Implemented in SvxAccessibleTextEditViewAdapter, and SvxDrawOutlinerViewForwarder.

Referenced by accessibility::AccessibleImageBullet::GetViewForwarder(), and SvxAccessibleTextEditViewAdapter::IsValid().

◆ LogicToPixel()

virtual Point SvxViewForwarder::LogicToPixel ( const Point rPoint,
const MapMode rMapMode 
) const
pure virtual

Convert from logical, EditEngine-relative coordinates to screen coordinates.

Parameters
rPointPoint in logical, EditEngine-relative coordinates.
rMapModeThe map mode to interpret the coordinates in.
Returns
the point in screen coordinates

Implemented in SvxAccessibleTextEditViewAdapter, and SvxDrawOutlinerViewForwarder.

Referenced by SvxAccessibleTextEditViewAdapter::LogicToPixel().

◆ PixelToLogic()

virtual Point SvxViewForwarder::PixelToLogic ( const Point rPoint,
const MapMode rMapMode 
) const
pure virtual

Convert from screen to logical, EditEngine-relative coordinates.

Parameters
rPointPoint in screen coordinates
rMapModeThe map mode to interpret the coordinates in.
Returns
the point in logical coordinates.

Implemented in SvxAccessibleTextEditViewAdapter, and SvxDrawOutlinerViewForwarder.

Referenced by SvxAccessibleTextEditViewAdapter::PixelToLogic().


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