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 | |
Protected Member Functions | |
std::string | getContent (RVNGPropertyList const &pList, bool isList) const |
convert a property list in a html content string | |
void | parseBorders (RVNGPropertyList const &pList, std::ostream &out) const |
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.
constructor
virtual librevenge::RVNGHTMLTextParagraphStyleManager::~RVNGHTMLTextParagraphStyleManager | ( | ) | [inline, virtual] |
destructor
librevenge::RVNGHTMLTextParagraphStyleManager::RVNGHTMLTextParagraphStyleManager | ( | RVNGHTMLTextParagraphStyleManager const & | orig | ) | [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
Reimplemented in librevenge::RVNGHTMLTextListStyleManager.
Referenced by librevenge::RVNGHTMLTextGenerator::openParagraph().
std::string librevenge::RVNGHTMLTextParagraphStyleManager::getContent | ( | RVNGPropertyList const & | pList, |
bool | isList | ||
) | const [protected] |
convert a property list in a html content string
Referenced by getClass(), librevenge::RVNGHTMLTextListStyleManager::getClass(), librevenge::RVNGHTMLTextSpanStyleManager::getClass(), and librevenge::RVNGHTMLTextListStyleManager::openLevel().
RVNGHTMLTextParagraphStyleManager librevenge::RVNGHTMLTextParagraphStyleManager::operator= | ( | RVNGHTMLTextParagraphStyleManager const & | orig | ) | [private] |
void librevenge::RVNGHTMLTextParagraphStyleManager::parseBorders | ( | RVNGPropertyList const & | pList, |
std::ostream & | out | ||
) | const [protected] |
add data corresponding to the border
Referenced by getContent().
void librevenge::RVNGHTMLTextParagraphStyleManager::send | ( | std::ostream & | out | ) |
send the data to the stream
Reimplemented in librevenge::RVNGHTMLTextListStyleManager.
Referenced by librevenge::RVNGHTMLTextGenerator::endDocument().
std::map<std::string, std::string> librevenge::RVNGHTMLTextParagraphStyleManager::m_contentNameMap [protected] |
a map content -> name
Referenced by getClass(), librevenge::RVNGHTMLTextListStyleManager::getClass(), librevenge::RVNGHTMLTextSpanStyleManager::getClass(), send(), and librevenge::RVNGHTMLTextSpanStyleManager::send().
std::map<int, std::string> librevenge::RVNGHTMLTextParagraphStyleManager::m_idNameMap [protected] |
a map id -> name
Referenced by defineParagraph(), librevenge::RVNGHTMLTextSpanStyleManager::defineSpan(), getClass(), and librevenge::RVNGHTMLTextSpanStyleManager::getClass().