LibreOffice Module sd (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
sd::TextAPIEditSource Class Reference
Inheritance diagram for sd::TextAPIEditSource:
[legend]
Collaboration diagram for sd::TextAPIEditSource:
[legend]

Public Member Functions

 TextAPIEditSource (SdDrawDocument *pDoc)
 
void Dispose ()
 
void SetText (OutlinerParaObject const &rText)
 
std::optional< OutlinerParaObjectCreateText ()
 
OUString GetText () const
 
SdDrawDocumentGetDoc ()
 
- 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
 

Private Member Functions

virtual std::unique_ptr< SvxEditSourceClone () const override
 
virtual SvxTextForwarderGetTextForwarder () override
 
virtual void UpdateData () override
 
 TextAPIEditSource (const TextAPIEditSource &rSource)
 

Private Attributes

std::shared_ptr< TextAPIEditSource_Impl > m_xImpl
 

Detailed Description

Definition at line 97 of file textapi.cxx.

Constructor & Destructor Documentation

◆ TextAPIEditSource() [1/2]

sd::TextAPIEditSource::TextAPIEditSource ( const TextAPIEditSource rSource)
explicitprivate

Definition at line 192 of file textapi.cxx.

Referenced by Clone().

◆ TextAPIEditSource() [2/2]

sd::TextAPIEditSource::TextAPIEditSource ( SdDrawDocument pDoc)
explicit

Definition at line 208 of file textapi.cxx.

References m_xImpl, and make_shared().

Member Function Documentation

◆ Clone()

std::unique_ptr< SvxEditSource > sd::TextAPIEditSource::Clone ( ) const
overrideprivatevirtual

Implements SvxEditSource.

Definition at line 198 of file textapi.cxx.

References TextAPIEditSource().

◆ CreateText()

std::optional< OutlinerParaObject > sd::TextAPIEditSource::CreateText ( )

Definition at line 259 of file textapi.cxx.

References m_xImpl.

◆ Dispose()

void sd::TextAPIEditSource::Dispose ( )

Definition at line 216 of file textapi.cxx.

References m_xImpl.

◆ GetDoc()

SdDrawDocument * sd::TextAPIEditSource::GetDoc ( )
inline

Definition at line 114 of file textapi.cxx.

◆ GetText()

OUString sd::TextAPIEditSource::GetText ( ) const

Definition at line 267 of file textapi.cxx.

References m_xImpl.

◆ GetTextForwarder()

SvxTextForwarder * sd::TextAPIEditSource::GetTextForwarder ( )
overrideprivatevirtual

Implements SvxEditSource.

Definition at line 226 of file textapi.cxx.

References m_xImpl, and SdDrawDocument::SetCalcFieldValueHdl().

◆ SetText()

void sd::TextAPIEditSource::SetText ( OutlinerParaObject const &  rText)

Definition at line 244 of file textapi.cxx.

References m_xImpl, and SdDrawDocument::SetCalcFieldValueHdl().

◆ UpdateData()

void sd::TextAPIEditSource::UpdateData ( )
overrideprivatevirtual

Implements SvxEditSource.

Definition at line 203 of file textapi.cxx.

Member Data Documentation

◆ m_xImpl

std::shared_ptr<TextAPIEditSource_Impl> sd::TextAPIEditSource::m_xImpl
private

Definition at line 100 of file textapi.cxx.

Referenced by CreateText(), Dispose(), GetText(), GetTextForwarder(), SetText(), and TextAPIEditSource().


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