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

#include <textapi.hxx>

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

Public Member Functions

 SwTextAPIEditSource (SwDoc *pDoc)
 
virtual ~SwTextAPIEditSource () override
 
void Dispose ()
 
void SetText (OutlinerParaObject const &rText)
 
void SetString (const OUString &rText)
 
std::optional< OutlinerParaObjectCreateText ()
 
OUString GetText () const
 
- 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

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

Private Attributes

SwTextAPIEditSource_Implm_pImpl
 

Detailed Description

Definition at line 30 of file textapi.hxx.

Constructor & Destructor Documentation

◆ SwTextAPIEditSource() [1/2]

SwTextAPIEditSource::SwTextAPIEditSource ( const SwTextAPIEditSource rSource)
explicitprivate

Definition at line 107 of file textapi.cxx.

References m_pImpl, and SwTextAPIEditSource_Impl::mnRef.

Referenced by Clone().

◆ SwTextAPIEditSource() [2/2]

SwTextAPIEditSource::SwTextAPIEditSource ( SwDoc pDoc)

◆ ~SwTextAPIEditSource()

SwTextAPIEditSource::~SwTextAPIEditSource ( )
overridevirtual

Definition at line 133 of file textapi.cxx.

References m_pImpl, and SwTextAPIEditSource_Impl::mnRef.

Member Function Documentation

◆ Clone()

std::unique_ptr< SvxEditSource > SwTextAPIEditSource::Clone ( ) const
overrideprivatevirtual

Implements SvxEditSource.

Definition at line 115 of file textapi.cxx.

References SwTextAPIEditSource().

◆ CreateText()

std::optional< OutlinerParaObject > SwTextAPIEditSource::CreateText ( )

◆ Dispose()

void SwTextAPIEditSource::Dispose ( )

◆ EnsureOutliner()

void SwTextAPIEditSource::EnsureOutliner ( )
private

◆ GetText()

OUString SwTextAPIEditSource::GetText ( ) const

◆ GetTextForwarder()

SvxTextForwarder * SwTextAPIEditSource::GetTextForwarder ( )
overrideprivatevirtual

◆ SetString()

void SwTextAPIEditSource::SetString ( const OUString &  rText)

◆ SetText()

void SwTextAPIEditSource::SetText ( OutlinerParaObject const &  rText)

◆ UpdateData()

void SwTextAPIEditSource::UpdateData ( )
overrideprivatevirtual

Implements SvxEditSource.

Definition at line 120 of file textapi.cxx.

Member Data Documentation

◆ m_pImpl

SwTextAPIEditSource_Impl* SwTextAPIEditSource::m_pImpl
private

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