Small class to manage the list style. More...
#include <RVNGHTMLTextTextStyle.h>
Classes | |
struct | List |
Public Member Functions | |
RVNGHTMLTextListStyleManager () | |
constructor | |
~RVNGHTMLTextListStyleManager () | |
destructor | |
void | defineLevel (RVNGPropertyList const &property, bool ordered) |
add a level to the corresponding list | |
std::string | openLevel (RVNGPropertyList const &pList, bool ordered) |
returns the class name corresponding to a propertylist | |
void | closeLevel () |
close a level | |
std::string | getClass (RVNGPropertyList const &pList) |
returns the classname corresponding to a list element | |
void | send (std::ostream &out) |
send the data to the stream | |
Public Member Functions inherited from librevenge::RVNGHTMLTextParagraphStyleManager | |
RVNGHTMLTextParagraphStyleManager () | |
constructor | |
virtual | ~RVNGHTMLTextParagraphStyleManager () |
destructor | |
void | defineParagraph (RVNGPropertyList const &pList) |
define a paragraph style | |
std::string | getClass (RVNGPropertyList const &pList) |
returns the class name corresponding to a propertylist | |
void | send (std::ostream &out) |
send the data to the stream |
Protected Attributes | |
std::map< std::string, std::string > | 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 librevenge::RVNGHTMLTextParagraphStyleManager | |
std::map< std::string, std::string > | m_contentNameMap |
a map content -> name | |
std::map< int, std::string > | m_idNameMap |
a map id -> name |
Private Member Functions | |
RVNGHTMLTextListStyleManager (RVNGHTMLTextListStyleManager const &orig) | |
RVNGHTMLTextListStyleManager | operator= (RVNGHTMLTextListStyleManager const &orig) |
Additional Inherited Members | |
Static Protected Member Functions inherited from librevenge::RVNGHTMLTextParagraphStyleManager | |
static std::string | getContent (RVNGPropertyList const &pList, bool isList) |
convert a property list in a html content string | |
static void | parseBorders (RVNGPropertyList const &pList, std::ostream &out) |
add data corresponding to the border |
Small class to manage the list style.
|
inline |
constructor
Referenced by operator=(), and RVNGHTMLTextListStyleManager().
|
inline |
destructor
|
private |
void librevenge::RVNGHTMLTextListStyleManager::closeLevel | ( | ) |
close a level
void librevenge::RVNGHTMLTextListStyleManager::defineLevel | ( | RVNGPropertyList const & | property, |
bool | ordered ) |
add a level to the corresponding list
Referenced by openLevel().
std::string librevenge::RVNGHTMLTextListStyleManager::getClass | ( | RVNGPropertyList const & | pList | ) |
returns the classname corresponding to a list element
Referenced by librevenge::RVNGHTMLTextParagraphStyleManager::defineParagraph(), and librevenge::RVNGHTMLTextSpanStyleManager::defineSpan().
std::string librevenge::RVNGHTMLTextListStyleManager::openLevel | ( | RVNGPropertyList const & | pList, |
bool | ordered ) |
returns the class name corresponding to a propertylist
|
private |
void librevenge::RVNGHTMLTextListStyleManager::send | ( | std::ostream & | out | ) |
send the data to the stream
|
protected |
the actual list id
Referenced by closeLevel(), openLevel(), and RVNGHTMLTextListStyleManager().
|
protected |
a map listId -> list
Referenced by closeLevel(), defineLevel(), openLevel(), and RVNGHTMLTextListStyleManager().
|
protected |
a map content -> list level name
Referenced by openLevel(), RVNGHTMLTextListStyleManager(), and send().