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 31 of file IDocumentListItems.hxx.

Member Typedef Documentation

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

Definition at line 34 of file IDocumentListItems.hxx.

Constructor & Destructor Documentation

virtual IDocumentListItems::~IDocumentListItems ( )
inlineprotectedvirtual

Definition at line 50 of file IDocumentListItems.hxx.

Member Function Documentation

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

Implemented in sw::DocumentListItemsManager.

Referenced by SwNodeNum::PreAdd().

virtual OUString IDocumentListItems::getListItemText ( const SwNodeNum rNodeNum,
SwRootFrame const &  rLayout 
) const
pure virtual
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().

virtual bool IDocumentListItems::isNumberedInLayout ( SwNodeNum const &  rNodeNum,
SwRootFrame const &  rLayout 
) const
pure virtual
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: