LibreOffice Module sw (master) 1
|
#include <textapi.hxx>
Public Member Functions | |
SwTextAPIEditSource (SwDoc *pDoc) | |
virtual | ~SwTextAPIEditSource () override |
void | Dispose () |
void | SetText (OutlinerParaObject const &rText) |
void | SetString (const OUString &rText) |
std::optional< OutlinerParaObject > | CreateText () |
OUString | GetText () const |
Public Member Functions inherited from SvxEditSource | |
SvxEditSource ()=default | |
SvxEditSource (SvxEditSource const &)=default | |
SvxEditSource (SvxEditSource &&)=default | |
SvxEditSource & | operator= (SvxEditSource const &)=default |
SvxEditSource & | operator= (SvxEditSource &&)=default |
virtual | ~SvxEditSource () |
virtual std::unique_ptr< SvxEditSource > | Clone () const=0 |
virtual SvxTextForwarder * | GetTextForwarder ()=0 |
virtual SvxViewForwarder * | GetViewForwarder () |
virtual SvxEditViewForwarder * | GetEditViewForwarder (bool bCreate=false) |
virtual void | UpdateData ()=0 |
virtual SfxBroadcaster & | GetBroadcaster () const |
virtual void | addRange (SvxUnoTextRangeBase *pNewRange) |
virtual void | removeRange (SvxUnoTextRangeBase *pOldRange) |
virtual const SvxUnoTextRangeBaseVec & | getRanges () const |
Private Member Functions | |
void | EnsureOutliner () |
virtual std::unique_ptr< SvxEditSource > | Clone () const override |
virtual SvxTextForwarder * | GetTextForwarder () override |
virtual void | UpdateData () override |
SwTextAPIEditSource (const SwTextAPIEditSource &rSource) | |
Private Attributes | |
SwTextAPIEditSource_Impl * | m_pImpl |
Definition at line 30 of file textapi.hxx.
|
explicitprivate |
Definition at line 107 of file textapi.cxx.
References m_pImpl, and SwTextAPIEditSource_Impl::mnRef.
Referenced by Clone().
SwTextAPIEditSource::SwTextAPIEditSource | ( | SwDoc * | pDoc | ) |
Definition at line 125 of file textapi.cxx.
References SwDoc::GetDocShell(), SfxShell::GetPool(), m_pImpl, m_pImpl, SwTextAPIEditSource_Impl::mnRef, SwTextAPIEditSource_Impl::mpDoc, and SwTextAPIEditSource_Impl::mpPool.
|
overridevirtual |
Definition at line 133 of file textapi.cxx.
References m_pImpl, and SwTextAPIEditSource_Impl::mnRef.
|
overrideprivatevirtual |
Implements SvxEditSource.
Definition at line 115 of file textapi.cxx.
References SwTextAPIEditSource().
std::optional< OutlinerParaObject > SwTextAPIEditSource::CreateText | ( | ) |
Definition at line 199 of file textapi.cxx.
References m_pImpl, SwTextAPIEditSource_Impl::mpOutliner, and SwTextAPIEditSource_Impl::mpPool.
void SwTextAPIEditSource::Dispose | ( | ) |
Definition at line 139 of file textapi.cxx.
References m_pImpl, SwTextAPIEditSource_Impl::mpDoc, SwTextAPIEditSource_Impl::mpOutliner, SwTextAPIEditSource_Impl::mpPool, and SwTextAPIEditSource_Impl::mpTextForwarder.
|
private |
Definition at line 147 of file textapi.cxx.
References SwDoc::GetDocShell(), SwDocStyleSheetPool::GetEEStyleSheetPool(), SwDoc::getIDocumentDrawModelAccess(), IDocumentDrawModelAccess::GetOrCreateDrawModel(), SwDocShell::GetStyleSheetPool(), m_pImpl, SwTextAPIEditSource_Impl::mpDoc, SwTextAPIEditSource_Impl::mpOutliner, SwTextAPIEditSource_Impl::mpPool, and SwDoc::SetCalcFieldValueHdl().
Referenced by GetTextForwarder(), SetString(), and SetText().
OUString SwTextAPIEditSource::GetText | ( | ) | const |
Definition at line 207 of file textapi.cxx.
References m_pImpl, SwTextAPIEditSource_Impl::mpOutliner, and SwTextAPIEditSource_Impl::mpPool.
|
overrideprivatevirtual |
Implements SvxEditSource.
Definition at line 160 of file textapi.cxx.
References EnsureOutliner(), m_pImpl, SwTextAPIEditSource_Impl::mpOutliner, SwTextAPIEditSource_Impl::mpPool, and SwTextAPIEditSource_Impl::mpTextForwarder.
void SwTextAPIEditSource::SetString | ( | const OUString & | rText | ) |
Definition at line 184 of file textapi.cxx.
References EnsureOutliner(), m_pImpl, SwTextAPIEditSource_Impl::mpOutliner, SwTextAPIEditSource_Impl::mpPool, and SwResId().
void SwTextAPIEditSource::SetText | ( | OutlinerParaObject const & | rText | ) |
Definition at line 175 of file textapi.cxx.
References EnsureOutliner(), m_pImpl, SwTextAPIEditSource_Impl::mpOutliner, and SwTextAPIEditSource_Impl::mpPool.
|
overrideprivatevirtual |
Implements SvxEditSource.
Definition at line 120 of file textapi.cxx.
|
private |
Definition at line 32 of file textapi.hxx.
Referenced by CreateText(), Dispose(), EnsureOutliner(), GetText(), GetTextForwarder(), SetString(), SetText(), SwTextAPIEditSource(), and ~SwTextAPIEditSource().