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

#include <tox.hxx>

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

Public Member Functions

 SwTOXType (SwDoc &rDoc, TOXTypes eTyp, OUString aName)
 
 SwTOXType (const SwTOXType &rCopy)
 
const OUString & GetTypeName () const
 
TOXTypes GetType () const
 
SwDocGetDoc () const
 
void CollectTextMarks (SwTOXMarks &rMarks) const
 
SwContentFrameFindContentFrame (const SwDoc &rDoc, const SwRootFrame &rLayout) const
 
void CollectTextTOXMarksForLayout (std::vector< std::reference_wrapper< SwTextTOXMark > > &rMarks, const SwRootFrame *pLayout) const
 
- Public Member Functions inherited from sw::BroadcastingModify
virtual void CallSwClientNotify (const SfxHint &rHint) const override
 
- Public Member Functions inherited from SwModify
 SwModify ()
 
virtual void CallSwClientNotify (const SfxHint &rHint) const
 
virtual ~SwModify () override
 
void Add (SwClient *pDepend)
 
SwClientRemove (SwClient *pDepend)
 
bool HasWriterListeners () const
 
bool HasOnlyOneListener () const
 
virtual bool GetInfo (SfxPoolItem &) const override
 
void LockModify ()
 
void UnlockModify ()
 
bool IsModifyLocked () const
 
- Public Member Functions inherited from SwClient
 SwClient ()
 
 SwClient (SwClient &&) noexcept
 
virtual ~SwClient () override
 
std::optional< sw::ModifyChangedHintCheckRegistration (const SfxPoolItem *pOldValue)
 
void CheckRegistrationFormat (SwFormat &rOld)
 
const SwModifyGetRegisteredIn () const
 
SwModifyGetRegisteredIn ()
 
void EndListeningAll ()
 
void StartListeningToSameModifyAs (const SwClient &)
 
virtual bool GetInfo (SfxPoolItem &) const
 
- Public Member Functions inherited from sw::WriterListener
bool IsLast () const
 
virtual const SwCellFrameDynCastCellFrame () const
 
virtual const SwTabFrameDynCastTabFrame () const
 
virtual const SwRowFrameDynCastRowFrame () const
 
virtual const SwTableDynCastTable () const
 
- Public Member Functions inherited from sw::BroadcasterMixin
 BroadcasterMixin ()=default
 
 BroadcasterMixin (BroadcasterMixin const &)=default
 
BroadcasterMixinoperator= (const BroadcasterMixin &)
 
SvtBroadcasterGetNotifier ()
 

Private Member Functions

SwTOXTypeoperator= (const SwTOXType &)=delete
 

Private Attributes

SwDocm_rDoc
 
OUString m_aName
 
TOXTypes m_eType
 

Additional Inherited Members

- Protected Member Functions inherited from SwModify
virtual void SwClientNotify (const SwModify &, const SfxHint &rHint) override
 
- Protected Member Functions inherited from SwClient
 SwClient (SwModify *pToRegisterIn)
 
SwModifyGetRegisteredInNonConst () const
 
virtual void SwClientNotify (const SwModify &, const SfxHint &rHint) override
 
- Protected Member Functions inherited from sw::WriterListener
 WriterListener ()
 
virtual ~WriterListener () COVERITY_NOEXCEPT_FALSE
 
virtual void SwClientNotify (const SwModify &, const SfxHint &rHint)=0
 

Detailed Description

Definition at line 173 of file tox.hxx.

Constructor & Destructor Documentation

◆ SwTOXType() [1/2]

SwTOXType::SwTOXType ( SwDoc rDoc,
TOXTypes  eTyp,
OUString  aName 
)

Definition at line 221 of file tox.cxx.

References aName, m_aName, and m_eType.

◆ SwTOXType() [2/2]

SwTOXType::SwTOXType ( const SwTOXType rCopy)

Definition at line 228 of file tox.cxx.

References SwClient::GetRegisteredIn(), m_aName, and m_eType.

Member Function Documentation

◆ CollectTextMarks()

void SwTOXType::CollectTextMarks ( SwTOXMarks rMarks) const
inline

◆ CollectTextTOXMarksForLayout()

void SwTOXType::CollectTextTOXMarksForLayout ( std::vector< std::reference_wrapper< SwTextTOXMark > > &  rMarks,
const SwRootFrame pLayout 
) const
inline

Definition at line 192 of file tox.hxx.

References SvtBroadcaster::Broadcast(), and sw::BroadcasterMixin::GetNotifier().

◆ FindContentFrame()

SwContentFrame * SwTOXType::FindContentFrame ( const SwDoc rDoc,
const SwRootFrame rLayout 
) const
inline

◆ GetDoc()

SwDoc & SwTOXType::GetDoc ( ) const
inline

Definition at line 183 of file tox.hxx.

References m_rDoc.

Referenced by MakeTextAttr().

◆ GetType()

TOXTypes SwTOXType::GetType ( ) const
inline

◆ GetTypeName()

const OUString & SwTOXType::GetTypeName ( ) const
inline

◆ operator=()

SwTOXType & SwTOXType::operator= ( const SwTOXType )
privatedelete

Member Data Documentation

◆ m_aName

OUString SwTOXType::m_aName
private

Definition at line 198 of file tox.hxx.

Referenced by GetTypeName().

◆ m_eType

TOXTypes SwTOXType::m_eType
private

Definition at line 199 of file tox.hxx.

Referenced by GetType().

◆ m_rDoc

SwDoc& SwTOXType::m_rDoc
private

Definition at line 197 of file tox.hxx.

Referenced by GetDoc().


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