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