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 906 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 912 of file unoshtxt.cxx.

References mpImpl.

◆ SvxTextEditSource() [3/4]

SvxTextEditSource::SvxTextEditSource ( const SvxTextEditSource )
delete

◆ ~SvxTextEditSource()

SvxTextEditSource::~SvxTextEditSource ( )
overridevirtual

Definition at line 924 of file unoshtxt.cxx.

References mpImpl.

◆ SvxTextEditSource() [4/4]

SvxTextEditSource::SvxTextEditSource ( SvxTextEditSourceImpl pImpl)
private

Definition at line 918 of file unoshtxt.cxx.

References mpImpl.

Member Function Documentation

◆ addRange()

void SvxTextEditSource::addRange ( SvxUnoTextRangeBase *  pNewRange)
overridevirtual

Reimplemented from SvxEditSource.

Definition at line 990 of file unoshtxt.cxx.

References mpImpl.

◆ Clone()

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

Implements SvxEditSource.

Definition at line 931 of file unoshtxt.cxx.

References mpImpl, and SvxTextEditSource().

◆ GetBroadcaster()

SfxBroadcaster & SvxTextEditSource::GetBroadcaster ( ) const
overridevirtual

Reimplemented from SvxEditSource.

Definition at line 960 of file unoshtxt.cxx.

References mpImpl.

◆ GetEditViewForwarder()

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

Reimplemented from SvxEditSource.

Definition at line 943 of file unoshtxt.cxx.

References mpImpl.

◆ getRanges()

const SvxUnoTextRangeBaseVec & SvxTextEditSource::getRanges ( ) const
overridevirtual

Reimplemented from SvxEditSource.

Definition at line 1000 of file unoshtxt.cxx.

References mpImpl.

◆ GetTextForwarder()

SvxTextForwarder * SvxTextEditSource::GetTextForwarder ( )
overridevirtual

Implements SvxEditSource.

Definition at line 937 of file unoshtxt.cxx.

References mpImpl.

◆ GetViewForwarder()

SvxViewForwarder * SvxTextEditSource::GetViewForwarder ( )
overridevirtual

Reimplemented from SvxEditSource.

Definition at line 949 of file unoshtxt.cxx.

◆ IsValid()

bool SvxTextEditSource::IsValid ( ) const
overridevirtual

Implements SvxViewForwarder.

Definition at line 975 of file unoshtxt.cxx.

References mpImpl.

◆ lock()

void SvxTextEditSource::lock ( )

Definition at line 965 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 980 of file unoshtxt.cxx.

References mpImpl, and Point.

◆ operator=()

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

References lock(), and Point.

◆ PixelToLogic()

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

Implements SvxViewForwarder.

Definition at line 985 of file unoshtxt.cxx.

References mpImpl, and Point.

◆ removeRange()

void SvxTextEditSource::removeRange ( SvxUnoTextRangeBase *  pOldRange)
overridevirtual

Reimplemented from SvxEditSource.

Definition at line 995 of file unoshtxt.cxx.

References mpImpl.

◆ unlock()

void SvxTextEditSource::unlock ( )

Definition at line 970 of file unoshtxt.cxx.

References mpImpl.

Referenced by SvxShapeText::unlock().

◆ UpdateData()

void SvxTextEditSource::UpdateData ( )
overridevirtual

Implements SvxEditSource.

Definition at line 955 of file unoshtxt.cxx.

References mpImpl.

◆ UpdateOutliner()

void SvxTextEditSource::UpdateOutliner ( )

Definition at line 1005 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: