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 (EPUBCSSContent &out) |
| send the data to the sink | |
Public Member Functions inherited from libepubgen::EPUBParagraphStyleManager | |
| EPUBParagraphStyleManager () | |
| constructor | |
| virtual | ~EPUBParagraphStyleManager () |
| destructor | |
| void | defineParagraph (librevenge::RVNGPropertyList const &pList) |
| define a paragraph style | |
| std::string | getClass (librevenge::RVNGPropertyList const &pList) |
| returns the class name corresponding to a propertylist | |
| std::string | getStyle (librevenge::RVNGPropertyList const &pList) |
| returns the style string corresponding to a propertylist | |
| void | send (EPUBCSSContent &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 | |
Protected Attributes inherited from libepubgen::EPUBParagraphStyleManager | |
| ContentNameMap_t | m_contentNameMap |
| a map content -> name | |
| std::map< int, std::string > | m_idNameMap |
| a map id -> name | |
Private Member Functions | |
| EPUBListStyleManager (EPUBListStyleManager const &orig) | |
| EPUBListStyleManager | operator= (EPUBListStyleManager const &orig) |
Additional Inherited Members | |
Protected Member Functions inherited from libepubgen::EPUBParagraphStyleManager | |
| void | extractProperties (librevenge::RVNGPropertyList const &pList, bool isList, EPUBCSSProperties &cssProps) const |
| convert a property list into a CSS property map | |
| void | extractBorders (librevenge::RVNGPropertyList const &pList, EPUBCSSProperties &cssProps) const |
| add data corresponding to the border | |
Small class to manage the list style.
|
inline |
constructor
|
inlineoverride |
destructor
|
private |
| void libepubgen::EPUBListStyleManager::closeLevel | ( | ) |
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
| std::string libepubgen::EPUBListStyleManager::openLevel | ( | librevenge::RVNGPropertyList const & | pList, |
| bool | ordered ) |
returns the class name corresponding to a propertylist
|
private |
| void libepubgen::EPUBListStyleManager::send | ( | EPUBCSSContent & | out | ) |
send the data to the sink
Referenced by libepubgen::EPUBGenerator::writeStylesheet().
|
protected |
the actual list id
Referenced by closeLevel(), and openLevel().
|
protected |
a map listId -> list
Referenced by closeLevel(), defineLevel(), and openLevel().
|
protected |
a map content -> list level name
Referenced by openLevel(), and send().