a manager which manages the lists, keeps the different kind of lists, to assure the unicity of each list More...
#include <MWAWList.hxx>
Public Member Functions | |
| MWAWListManager (MWAWFontManagerPtr const &fontManager) | |
| the constructor More... | |
| ~MWAWListManager () | |
| the destructor More... | |
| bool | needToSend (int index, std::vector< int > &idMarkerList) const |
| check if a list need to be send/resend to the interface More... | |
| std::shared_ptr< MWAWList > | getList (int index) const |
| returns a list with given index ( if found ) More... | |
| std::shared_ptr< MWAWList > | getNewList (std::shared_ptr< MWAWList > actList, int levl, MWAWListLevel const &level) |
| returns a new list corresponding to a list where we have a new level More... | |
Protected Attributes | |
| MWAWFontManagerPtr | m_fontManager |
| the font manager More... | |
| std::vector< MWAWList > | m_listList |
| the list of created list More... | |
| std::vector< int > | m_sendIdMarkerList |
| the list of send list to interface More... | |
a manager which manages the lists, keeps the different kind of lists, to assure the unicity of each list
|
explicit |
the constructor
| MWAWListManager::~MWAWListManager | ( | ) |
the destructor
| std::shared_ptr< MWAWList > MWAWListManager::getList | ( | int | index | ) | const |
returns a list with given index ( if found )
Referenced by MoreTextInternal::Paragraph::updateToFinalState().
| std::shared_ptr< MWAWList > MWAWListManager::getNewList | ( | std::shared_ptr< MWAWList > | actList, |
| int | levl, | ||
| MWAWListLevel const & | level | ||
| ) |
returns a new list corresponding to a list where we have a new level
Referenced by MindWrtParserInternal::ZoneInfo::updateListId(), and MoreTextInternal::Paragraph::updateToFinalState().
| bool MWAWListManager::needToSend | ( | int | index, |
| std::vector< int > & | idMarkerList | ||
| ) | const |
check if a list need to be send/resend to the interface
|
protected |
the font manager
|
protected |
the list of created list
Referenced by getList(), getNewList(), and needToSend().
|
mutableprotected |
the list of send list to interface