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, const OUString &rName)
 
 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 ~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 &)
 
- Public Member Functions inherited from sw::WriterListener
bool IsLast () 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
 
- Protected Member Functions inherited from sw::WriterListener
 WriterListener ()
 
virtual ~WriterListener () COVERITY_NOEXCEPT_FALSE
 

Detailed Description

Definition at line 176 of file tox.hxx.

Constructor & Destructor Documentation

SwTOXType::SwTOXType ( SwDoc rDoc,
TOXTypes  eTyp,
const OUString &  rName 
)

Definition at line 212 of file tox.cxx.

References m_aName, and m_eType.

SwTOXType::SwTOXType ( const SwTOXType rCopy)

Definition at line 219 of file tox.cxx.

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

Member Function Documentation

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

Definition at line 195 of file tox.hxx.

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

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

Definition at line 186 of file tox.hxx.

References m_rDoc.

Referenced by MakeTextAttr().

TOXTypes SwTOXType::GetType ( ) const
inline
const OUString & SwTOXType::GetTypeName ( ) const
inline
SwTOXType& SwTOXType::operator= ( const SwTOXType )
privatedelete

Member Data Documentation

OUString SwTOXType::m_aName
private

Definition at line 201 of file tox.hxx.

Referenced by GetTypeName().

TOXTypes SwTOXType::m_eType
private

Definition at line 202 of file tox.hxx.

Referenced by GetType().

SwDoc& SwTOXType::m_rDoc
private

Definition at line 200 of file tox.hxx.

Referenced by GetDoc().


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