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

Knows all the text content controls in the document. More...

#include <textcontentcontrol.hxx>

Public Member Functions

 SwContentControlManager ()
 
void Insert (SwTextContentControl *pTextContentControl)
 
void Erase (SwTextContentControl *pTextContentControl)
 
size_t GetCount () const
 
bool IsEmpty () const
 
SwTextContentControlGet (size_t nIndex)
 
SwTextContentControlUnsortedGet (size_t nIndex)
 
void dumpAsXml (xmlTextWriterPtr pWriter) const
 

Private Attributes

std::vector< SwTextContentControl * > m_aContentControls
 Non-owning reference to text content controls. More...
 

Detailed Description

Knows all the text content controls in the document.

Definition at line 55 of file textcontentcontrol.hxx.

Constructor & Destructor Documentation

◆ SwContentControlManager()

SwContentControlManager::SwContentControlManager ( )

Definition at line 815 of file attrcontentcontrol.cxx.

Member Function Documentation

◆ dumpAsXml()

void SwContentControlManager::dumpAsXml ( xmlTextWriterPtr  pWriter) const

Definition at line 854 of file attrcontentcontrol.cxx.

References m_aContentControls.

◆ Erase()

void SwContentControlManager::Erase ( SwTextContentControl pTextContentControl)

Definition at line 822 of file attrcontentcontrol.cxx.

References m_aContentControls.

Referenced by SwTextContentControl::ChgTextNode().

◆ Get()

SwTextContentControl * SwContentControlManager::Get ( size_t  nIndex)

Definition at line 829 of file attrcontentcontrol.cxx.

References m_aContentControls.

Referenced by SwXContentControls::getByIndex(), and lcl_getContentControl().

◆ GetCount()

size_t SwContentControlManager::GetCount ( ) const
inline

◆ Insert()

void SwContentControlManager::Insert ( SwTextContentControl pTextContentControl)

Definition at line 817 of file attrcontentcontrol.cxx.

References m_aContentControls.

Referenced by SwTextContentControl::SwTextContentControl().

◆ IsEmpty()

bool SwContentControlManager::IsEmpty ( ) const
inline

Definition at line 65 of file textcontentcontrol.hxx.

Referenced by SwXContentControls::hasElements().

◆ UnsortedGet()

SwTextContentControl * SwContentControlManager::UnsortedGet ( size_t  nIndex)

Definition at line 848 of file attrcontentcontrol.cxx.

References m_aContentControls, and nIndex.

Referenced by SwCursorShell::GotoFormControl().

Member Data Documentation

◆ m_aContentControls

std::vector<SwTextContentControl*> SwContentControlManager::m_aContentControls
private

Non-owning reference to text content controls.

Definition at line 58 of file textcontentcontrol.hxx.

Referenced by dumpAsXml(), Erase(), Get(), Insert(), and UnsortedGet().


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