Small class to manage the list style. More...
#include <EPUBListStyleManager.h>
Classes | |
| struct | List |
Public Member Functions | |
| EPUBListStyleManager () | |
| constructor | |
| ~EPUBListStyleManager () override | |
| destructor | |
| void | defineLevel (librevenge::RVNGPropertyList const &property, bool ordered) |
| add a level to the corresponding list | |
| std::string | openLevel (librevenge::RVNGPropertyList const &pList, bool ordered) |
| returns the class name corresponding to a propertylist | |
| void | closeLevel () |
| close a level | |
| std::string | getClass (librevenge::RVNGPropertyList const &pList) |
| returns the classname corresponding to a list element | |
| void | send (EPUBCSSSink &out) |
| send the data to the sink | |
Protected Attributes | |
| List::ContentNameMap_t | m_levelNameMap |
| a map content -> list level name | |
| std::map< int, List > | m_idListMap |
| a map listId -> list | |
| std::vector< int > | m_actualIdStack |
| the actual list id | |
Private Member Functions | |
| EPUBListStyleManager (EPUBListStyleManager const &orig) | |
| EPUBListStyleManager | operator= (EPUBListStyleManager const &orig) |
Small class to manage the list style.
constructor
| libepubgen::EPUBListStyleManager::~EPUBListStyleManager | ( | ) | [inline, override] |
destructor
| libepubgen::EPUBListStyleManager::EPUBListStyleManager | ( | EPUBListStyleManager const & | orig | ) | [private] |
close a level
| void libepubgen::EPUBListStyleManager::defineLevel | ( | librevenge::RVNGPropertyList const & | property, |
| bool | ordered | ||
| ) |
add a level to the corresponding list
Referenced by openLevel().
| std::string libepubgen::EPUBListStyleManager::getClass | ( | librevenge::RVNGPropertyList const & | pList | ) |
returns the classname corresponding to a list element
Reimplemented from libepubgen::EPUBParagraphStyleManager.
| std::string libepubgen::EPUBListStyleManager::openLevel | ( | librevenge::RVNGPropertyList const & | pList, |
| bool | ordered | ||
| ) |
returns the class name corresponding to a propertylist
| EPUBListStyleManager libepubgen::EPUBListStyleManager::operator= | ( | EPUBListStyleManager const & | orig | ) | [private] |
| void libepubgen::EPUBListStyleManager::send | ( | EPUBCSSSink & | out | ) |
send the data to the sink
Reimplemented from libepubgen::EPUBParagraphStyleManager.
Referenced by libepubgen::EPUBGenerator::writeStylesheet().
std::vector<int> libepubgen::EPUBListStyleManager::m_actualIdStack [protected] |
the actual list id
Referenced by closeLevel(), and openLevel().
std::map<int, List> libepubgen::EPUBListStyleManager::m_idListMap [protected] |
a map listId -> list
Referenced by closeLevel(), defineLevel(), and openLevel().
a map content -> list level name
Referenced by openLevel(), and send().