Small class to manage the paragraph style. More...
#include <RVNGHTMLTextTextStyle.h>
Public Member Functions | |
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 |
Static Protected Member Functions | |
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 |
Protected Attributes | |
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 | |
RVNGHTMLTextParagraphStyleManager (RVNGHTMLTextParagraphStyleManager const &orig) | |
RVNGHTMLTextParagraphStyleManager | operator= (RVNGHTMLTextParagraphStyleManager const &orig) |
Small class to manage the paragraph style.
|
inline |
constructor
Referenced by operator=(), librevenge::RVNGHTMLTextListStyleManager::RVNGHTMLTextListStyleManager(), and RVNGHTMLTextParagraphStyleManager().
|
inlinevirtual |
destructor
|
private |
void librevenge::RVNGHTMLTextParagraphStyleManager::defineParagraph | ( | RVNGPropertyList const & | pList | ) |
define a paragraph style
std::string librevenge::RVNGHTMLTextParagraphStyleManager::getClass | ( | RVNGPropertyList const & | pList | ) |
returns the class name corresponding to a propertylist
|
staticprotected |
convert a property list in a html content string
Referenced by librevenge::RVNGHTMLTextListStyleManager::getClass(), getClass(), librevenge::RVNGHTMLTextSpanStyleManager::getClass(), and librevenge::RVNGHTMLTextListStyleManager::openLevel().
|
private |
|
staticprotected |
add data corresponding to the border
Referenced by getContent().
void librevenge::RVNGHTMLTextParagraphStyleManager::send | ( | std::ostream & | out | ) |
send the data to the stream
Referenced by librevenge::RVNGHTMLTextListStyleManager::send().
|
protected |
a map content -> name
Referenced by librevenge::RVNGHTMLTextListStyleManager::getClass(), getClass(), RVNGHTMLTextParagraphStyleManager(), and send().
|
protected |
a map id -> name
Referenced by defineParagraph(), getClass(), and RVNGHTMLTextParagraphStyleManager().