LibreOffice Module sw (master) 1
Public Types | Public Member Functions | Protected Member Functions | List of all members
IDocumentListItems Class Referenceabstract

Provides numbered items of a document. More...

#include <IDocumentListItems.hxx>

Inheritance diagram for IDocumentListItems:
[legend]

Public Types

typedef std::vector< const SwNodeNum * > tSortedNodeNumList
 

Public Member Functions

virtual void addListItem (const SwNodeNum &rNodeNum)=0
 
virtual void removeListItem (const SwNodeNum &rNodeNum)=0
 
virtual OUString getListItemText (const SwNodeNum &rNodeNum, SwRootFrame const &rLayout) const =0
 
virtual bool isNumberedInLayout (SwNodeNum const &rNodeNum, SwRootFrame const &rLayout) const =0
 
virtual void getNumItems (IDocumentListItems::tSortedNodeNumList &orNodeNumList) const =0
 get vector of all list items, which are numbered More...
 

Protected Member Functions

virtual ~IDocumentListItems ()
 

Detailed Description

Provides numbered items of a document.

Definition at line 30 of file IDocumentListItems.hxx.

Member Typedef Documentation

◆ tSortedNodeNumList

typedef std::vector< const SwNodeNum* > IDocumentListItems::tSortedNodeNumList

Definition at line 33 of file IDocumentListItems.hxx.

Constructor & Destructor Documentation

◆ ~IDocumentListItems()

virtual IDocumentListItems::~IDocumentListItems ( )
inlineprotectedvirtual

Definition at line 49 of file IDocumentListItems.hxx.

Member Function Documentation

◆ addListItem()

virtual void IDocumentListItems::addListItem ( const SwNodeNum rNodeNum)
pure virtual

Implemented in sw::DocumentListItemsManager.

Referenced by SwNodeNum::PreAdd().

◆ getListItemText()

virtual OUString IDocumentListItems::getListItemText ( const SwNodeNum rNodeNum,
SwRootFrame const &  rLayout 
) const
pure virtual

◆ getNumItems()

virtual void IDocumentListItems::getNumItems ( IDocumentListItems::tSortedNodeNumList orNodeNumList) const
pure virtual

get vector of all list items, which are numbered

Implemented in sw::DocumentListItemsManager.

Referenced by SwFieldRefPage::FillItemSet(), and SwFieldRefPage::UpdateSubType().

◆ isNumberedInLayout()

virtual bool IDocumentListItems::isNumberedInLayout ( SwNodeNum const &  rNodeNum,
SwRootFrame const &  rLayout 
) const
pure virtual

◆ removeListItem()

virtual void IDocumentListItems::removeListItem ( const SwNodeNum rNodeNum)
pure virtual

Implemented in sw::DocumentListItemsManager.

Referenced by SwNodeNum::PostRemove().


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