LibreOffice Module svx (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
SvxTextEditSource Class Referencefinal

#include <unoshtxt.hxx>

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

Public Member Functions

 SvxTextEditSource (SdrObject *pObj, SdrText *pText)
 
 SvxTextEditSource (SdrObject &rObj, SdrText *pText, SdrView &rView, const OutputDevice &rViewWindow)
 Since the views don't broadcast their dying, make sure that this object gets destroyed if the view becomes invalid. More...
 
 SvxTextEditSource (const SvxTextEditSource &)=delete
 
SvxTextEditSourceoperator= (const SvxTextEditSource &)=delete
 
virtual ~SvxTextEditSource () override
 
virtual std::unique_ptr< SvxEditSourceClone () const override
 
virtual SvxTextForwarderGetTextForwarder () override
 
virtual SvxViewForwarderGetViewForwarder () override
 
virtual SvxEditViewForwarderGetEditViewForwarder (bool bCreate=false) override
 
virtual void UpdateData () override
 
virtual void addRange (SvxUnoTextRangeBase *pNewRange) override
 
virtual void removeRange (SvxUnoTextRangeBase *pOldRange) override
 
virtual const SvxUnoTextRangeBaseVecgetRanges () const override
 
virtual SfxBroadcasterGetBroadcaster () const override
 
void lock ()
 
void unlock ()
 
virtual bool IsValid () const override
 
virtual Point LogicToPixel (const Point &, const MapMode &) const override
 
virtual Point PixelToLogic (const Point &, const MapMode &) const override
 
void UpdateOutliner ()
 
- Public Member Functions inherited from SvxEditSource
 SvxEditSource ()=default
 
 SvxEditSource (SvxEditSource const &)=default
 
 SvxEditSource (SvxEditSource &&)=default
 
SvxEditSourceoperator= (SvxEditSource const &)=default
 
SvxEditSourceoperator= (SvxEditSource &&)=default
 
virtual ~SvxEditSource ()
 
virtual std::unique_ptr< SvxEditSourceClone () const=0
 
virtual SvxTextForwarderGetTextForwarder ()=0
 
virtual SvxViewForwarderGetViewForwarder ()
 
virtual SvxEditViewForwarderGetEditViewForwarder (bool bCreate=false)
 
virtual void UpdateData ()=0
 
virtual SfxBroadcasterGetBroadcaster () const
 
virtual void addRange (SvxUnoTextRangeBase *pNewRange)
 
virtual void removeRange (SvxUnoTextRangeBase *pOldRange)
 
virtual const SvxUnoTextRangeBaseVecgetRanges () const
 
- Public Member Functions inherited from SvxViewForwarder
virtual ~SvxViewForwarder ()
 
virtual bool IsValid () const=0
 
virtual Point LogicToPixel (const Point &rPoint, const MapMode &rMapMode) const=0
 
virtual Point PixelToLogic (const Point &rPoint, const MapMode &rMapMode) const=0
 

Private Member Functions

SVX_DLLPRIVATE SvxTextEditSource (SvxTextEditSourceImpl *pImpl)
 

Private Attributes

rtl::Reference< SvxTextEditSourceImplmpImpl
 

Detailed Description

Definition at line 44 of file unoshtxt.hxx.

Constructor & Destructor Documentation

◆ SvxTextEditSource() [1/4]

SvxTextEditSource::SvxTextEditSource ( SdrObject pObj,
SdrText pText 
)

Definition at line 905 of file unoshtxt.cxx.

References mpImpl, and pObject.

Referenced by Clone().

◆ SvxTextEditSource() [2/4]

SvxTextEditSource::SvxTextEditSource ( SdrObject rObj,
SdrText pText,
SdrView rView,
const OutputDevice rViewWindow 
)

Since the views don't broadcast their dying, make sure that this object gets destroyed if the view becomes invalid.

The window is necessary, since our views can display on multiple windows

Definition at line 911 of file unoshtxt.cxx.

References mpImpl.

◆ SvxTextEditSource() [3/4]

SvxTextEditSource::SvxTextEditSource ( const SvxTextEditSource )
delete

◆ ~SvxTextEditSource()

SvxTextEditSource::~SvxTextEditSource ( )
overridevirtual

Definition at line 923 of file unoshtxt.cxx.

References mpImpl.

◆ SvxTextEditSource() [4/4]

SvxTextEditSource::SvxTextEditSource ( SvxTextEditSourceImpl pImpl)
private

Definition at line 917 of file unoshtxt.cxx.

References mpImpl.

Member Function Documentation

◆ addRange()

void SvxTextEditSource::addRange ( SvxUnoTextRangeBase *  pNewRange)
overridevirtual

Reimplemented from SvxEditSource.

Definition at line 989 of file unoshtxt.cxx.

References mpImpl.

◆ Clone()

std::unique_ptr< SvxEditSource > SvxTextEditSource::Clone ( ) const
overridevirtual

Implements SvxEditSource.

Definition at line 930 of file unoshtxt.cxx.

References mpImpl, and SvxTextEditSource().

◆ GetBroadcaster()

SfxBroadcaster & SvxTextEditSource::GetBroadcaster ( ) const
overridevirtual

Reimplemented from SvxEditSource.

Definition at line 959 of file unoshtxt.cxx.

References mpImpl.

◆ GetEditViewForwarder()

SvxEditViewForwarder * SvxTextEditSource::GetEditViewForwarder ( bool  bCreate = false)
overridevirtual

Reimplemented from SvxEditSource.

Definition at line 942 of file unoshtxt.cxx.

References mpImpl.

◆ getRanges()

const SvxUnoTextRangeBaseVec & SvxTextEditSource::getRanges ( ) const
overridevirtual

Reimplemented from SvxEditSource.

Definition at line 999 of file unoshtxt.cxx.

References mpImpl.

◆ GetTextForwarder()

SvxTextForwarder * SvxTextEditSource::GetTextForwarder ( )
overridevirtual

Implements SvxEditSource.

Definition at line 936 of file unoshtxt.cxx.

References mpImpl.

◆ GetViewForwarder()

SvxViewForwarder * SvxTextEditSource::GetViewForwarder ( )
overridevirtual

Reimplemented from SvxEditSource.

Definition at line 948 of file unoshtxt.cxx.

◆ IsValid()

bool SvxTextEditSource::IsValid ( ) const
overridevirtual

Implements SvxViewForwarder.

Definition at line 974 of file unoshtxt.cxx.

References mpImpl.

◆ lock()

void SvxTextEditSource::lock ( )

Definition at line 964 of file unoshtxt.cxx.

References mpImpl.

Referenced by SvxShapeText::lock().

◆ LogicToPixel()

Point SvxTextEditSource::LogicToPixel ( const Point rPoint,
const MapMode rMapMode 
) const
overridevirtual

Implements SvxViewForwarder.

Definition at line 979 of file unoshtxt.cxx.

References mpImpl.

◆ operator=()

SvxTextEditSource & SvxTextEditSource::operator= ( const SvxTextEditSource )
delete

References lock().

◆ PixelToLogic()

Point SvxTextEditSource::PixelToLogic ( const Point rPoint,
const MapMode rMapMode 
) const
overridevirtual

Implements SvxViewForwarder.

Definition at line 984 of file unoshtxt.cxx.

References mpImpl.

◆ removeRange()

void SvxTextEditSource::removeRange ( SvxUnoTextRangeBase *  pOldRange)
overridevirtual

Reimplemented from SvxEditSource.

Definition at line 994 of file unoshtxt.cxx.

References mpImpl.

◆ unlock()

void SvxTextEditSource::unlock ( )

Definition at line 969 of file unoshtxt.cxx.

References mpImpl.

Referenced by SvxShapeText::unlock().

◆ UpdateData()

void SvxTextEditSource::UpdateData ( )
overridevirtual

Implements SvxEditSource.

Definition at line 954 of file unoshtxt.cxx.

References mpImpl.

◆ UpdateOutliner()

void SvxTextEditSource::UpdateOutliner ( )

Definition at line 1004 of file unoshtxt.cxx.

References mpImpl.

Member Data Documentation

◆ mpImpl

rtl::Reference<SvxTextEditSourceImpl> SvxTextEditSource::mpImpl
private

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