Small class to manage the span style. More...
#include <RVNGHTMLTextTextStyle.h>
Public Member Functions | |
RVNGHTMLTextSpanStyleManager () | |
constructor | |
~RVNGHTMLTextSpanStyleManager () | |
destructor | |
void | defineSpan (RVNGPropertyList const &pList) |
define a span 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) |
convert a property list in a html content string | |
static void | parseTextPosition (char const *value, std::ostream &out) |
add data corresponding to a text position in out | |
static void | parseDecorations (RVNGPropertyList const &pList, std::ostream &out) |
add data corresponding to the line decoration |
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 | |
RVNGHTMLTextSpanStyleManager (RVNGHTMLTextSpanStyleManager const &orig) | |
RVNGHTMLTextSpanStyleManager | operator= (RVNGHTMLTextSpanStyleManager const &orig) |
Small class to manage the span style.
|
inline |
constructor
Referenced by operator=(), and RVNGHTMLTextSpanStyleManager().
|
inline |
destructor
|
private |
void librevenge::RVNGHTMLTextSpanStyleManager::defineSpan | ( | RVNGPropertyList const & | pList | ) |
define a span style
std::string librevenge::RVNGHTMLTextSpanStyleManager::getClass | ( | RVNGPropertyList const & | pList | ) |
returns the class name corresponding to a propertylist
|
staticprotected |
convert a property list in a html content string
|
private |
|
staticprotected |
add data corresponding to the line decoration
Referenced by getContent().
|
staticprotected |
add data corresponding to a text position in out
Referenced by getContent().
void librevenge::RVNGHTMLTextSpanStyleManager::send | ( | std::ostream & | out | ) |
send the data to the stream
|
protected |
a map content -> name
Referenced by getClass(), RVNGHTMLTextSpanStyleManager(), and send().
|
protected |
a map id -> name
Referenced by defineSpan(), getClass(), and RVNGHTMLTextSpanStyleManager().