LibreOffice Module sw (master)  1
Classes | Public Types | Public Member Functions | Private Member Functions | Private Attributes | List of all members
sw::DocumentListItemsManager Class Reference

#include <DocumentListItemsManager.hxx>

Inheritance diagram for sw::DocumentListItemsManager:
[legend]
Collaboration diagram for sw::DocumentListItemsManager:
[legend]

Classes

struct  lessThanNodeNum
 

Public Types

typedef std::set< const SwNodeNum *, lessThanNodeNumtImplSortedNodeNumList
 
- Public Types inherited from IDocumentListItems
typedef std::vector< const SwNodeNum * > tSortedNodeNumList
 

Public Member Functions

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

Private Member Functions

 DocumentListItemsManager (DocumentListItemsManager const &)=delete
 
DocumentListItemsManageroperator= (DocumentListItemsManager const &)=delete
 

Private Attributes

std::unique_ptr< tImplSortedNodeNumListmpListItemsList
 

Additional Inherited Members

- Protected Member Functions inherited from IDocumentListItems
virtual ~IDocumentListItems ()
 

Detailed Description

Definition at line 30 of file DocumentListItemsManager.hxx.

Member Typedef Documentation

Definition at line 57 of file DocumentListItemsManager.hxx.

Constructor & Destructor Documentation

sw::DocumentListItemsManager::DocumentListItemsManager ( )

Definition at line 30 of file DocumentListItemsManager.cxx.

sw::DocumentListItemsManager::~DocumentListItemsManager ( )
overridevirtual

Definition at line 97 of file DocumentListItemsManager.cxx.

sw::DocumentListItemsManager::DocumentListItemsManager ( DocumentListItemsManager const &  )
privatedelete

Member Function Documentation

void sw::DocumentListItemsManager::addListItem ( const SwNodeNum rNodeNum)
overridevirtual

Implements IDocumentListItems.

Definition at line 40 of file DocumentListItemsManager.cxx.

References mpListItemsList.

OUString sw::DocumentListItemsManager::getListItemText ( const SwNodeNum rNodeNum,
SwRootFrame const &  rLayout 
) const
overridevirtual
void sw::DocumentListItemsManager::getNumItems ( IDocumentListItems::tSortedNodeNumList orNodeNumList) const
overridevirtual

get vector of all list items, which are numbered

Implements IDocumentListItems.

Definition at line 82 of file DocumentListItemsManager.cxx.

References mpListItemsList.

bool sw::DocumentListItemsManager::isNumberedInLayout ( SwNodeNum const &  rNodeNum,
SwRootFrame const &  rLayout 
) const
overridevirtual

Implements IDocumentListItems.

Definition at line 75 of file DocumentListItemsManager.cxx.

References SwNodeNum::GetTextNode(), and sw::IsParaPropsNode().

DocumentListItemsManager& sw::DocumentListItemsManager::operator= ( DocumentListItemsManager const &  )
privatedelete
void sw::DocumentListItemsManager::removeListItem ( const SwNodeNum rNodeNum)
overridevirtual

Implements IDocumentListItems.

Definition at line 53 of file DocumentListItemsManager.cxx.

References mpListItemsList.

Member Data Documentation

std::unique_ptr<tImplSortedNodeNumList> sw::DocumentListItemsManager::mpListItemsList
private

Definition at line 64 of file DocumentListItemsManager.hxx.

Referenced by addListItem(), getNumItems(), and removeListItem().


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