Small class to manage the list style. More...
#include <EPUBListStyleManager.h>
Classes | |
struct | List |
Public Member Functions | |
EPUBListStyleManager () | |
constructor More... | |
~EPUBListStyleManager () override | |
destructor More... | |
void | defineLevel (librevenge::RVNGPropertyList const &property, bool ordered) |
add a level to the corresponding list More... | |
std::string | openLevel (librevenge::RVNGPropertyList const &pList, bool ordered) |
returns the class name corresponding to a propertylist More... | |
void | closeLevel () |
close a level More... | |
std::string | getClass (librevenge::RVNGPropertyList const &pList) |
returns the classname corresponding to a list element More... | |
void | send (EPUBCSSContent &out) |
send the data to the sink More... | |
![]() | |
EPUBParagraphStyleManager () | |
constructor More... | |
virtual | ~EPUBParagraphStyleManager () |
destructor More... | |
void | defineParagraph (librevenge::RVNGPropertyList const &pList) |
define a paragraph style More... | |
std::string | getClass (librevenge::RVNGPropertyList const &pList) |
returns the class name corresponding to a propertylist More... | |
std::string | getStyle (librevenge::RVNGPropertyList const &pList) |
returns the style string corresponding to a propertylist More... | |
void | send (EPUBCSSContent &out) |
send the data to the sink More... | |
Protected Attributes | |
List::ContentNameMap_t | m_levelNameMap |
a map content -> list level name More... | |
std::map< int, List > | m_idListMap |
a map listId -> list More... | |
std::vector< int > | m_actualIdStack |
the actual list id More... | |
![]() | |
ContentNameMap_t | m_contentNameMap |
a map content -> name More... | |
std::map< int, std::string > | m_idNameMap |
a map id -> name More... | |
Private Member Functions | |
EPUBListStyleManager (EPUBListStyleManager const &orig) | |
EPUBListStyleManager | operator= (EPUBListStyleManager const &orig) |
Additional Inherited Members | |
![]() | |
void | extractProperties (librevenge::RVNGPropertyList const &pList, bool isList, EPUBCSSProperties &cssProps) const |
convert a property list into a CSS property map More... | |
void | extractBorders (librevenge::RVNGPropertyList const &pList, EPUBCSSProperties &cssProps) const |
add data corresponding to the border More... | |
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().