librevenge::RVNGHTMLTextSpanStyleManager Class Reference

Small class to manage the span style. More...

#include <RVNGHTMLTextTextStyle.h>

Public Member Functions

 RVNGHTMLTextSpanStyleManager ()
 constructor More...
 
 ~RVNGHTMLTextSpanStyleManager ()
 destructor More...
 
void defineSpan (RVNGPropertyList const &pList)
 define a span 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) const
 convert a property list in a html content string More...
 
void parseTextPosition (char const *value, std::ostream &out) const
 add data corresponding to a text position in out More...
 
void parseDecorations (RVNGPropertyList const &pList, std::ostream &out) const
 add data corresponding to the line decoration 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

 RVNGHTMLTextSpanStyleManager (RVNGHTMLTextSpanStyleManager const &orig)
 
RVNGHTMLTextSpanStyleManager operator= (RVNGHTMLTextSpanStyleManager const &orig)
 

Detailed Description

Small class to manage the span style.

Constructor & Destructor Documentation

librevenge::RVNGHTMLTextSpanStyleManager::RVNGHTMLTextSpanStyleManager ( )
inline

constructor

librevenge::RVNGHTMLTextSpanStyleManager::~RVNGHTMLTextSpanStyleManager ( )
inline

destructor

librevenge::RVNGHTMLTextSpanStyleManager::RVNGHTMLTextSpanStyleManager ( RVNGHTMLTextSpanStyleManager const &  orig)
private

Member Function Documentation

void librevenge::RVNGHTMLTextSpanStyleManager::defineSpan ( RVNGPropertyList const &  pList)
std::string librevenge::RVNGHTMLTextSpanStyleManager::getClass ( RVNGPropertyList const &  pList)

returns the class name corresponding to a propertylist

Referenced by librevenge::RVNGHTMLTextGenerator::openSpan().

std::string librevenge::RVNGHTMLTextSpanStyleManager::getContent ( RVNGPropertyList const &  pList) const
protected

convert a property list in a html content string

RVNGHTMLTextSpanStyleManager librevenge::RVNGHTMLTextSpanStyleManager::operator= ( RVNGHTMLTextSpanStyleManager const &  orig)
private
void librevenge::RVNGHTMLTextSpanStyleManager::parseDecorations ( RVNGPropertyList const &  pList,
std::ostream &  out 
) const
protected

add data corresponding to the line decoration

void librevenge::RVNGHTMLTextSpanStyleManager::parseTextPosition ( char const *  value,
std::ostream &  out 
) const
protected

add data corresponding to a text position in out

void librevenge::RVNGHTMLTextSpanStyleManager::send ( std::ostream &  out)

send the data to the stream

Referenced by librevenge::RVNGHTMLTextGenerator::endDocument().

Member Data Documentation

std::map<std::string, std::string> librevenge::RVNGHTMLTextSpanStyleManager::m_contentNameMap
protected

a map content -> name

std::map<int, std::string> librevenge::RVNGHTMLTextSpanStyleManager::m_idNameMap
protected

a map id -> name


The documentation for this class was generated from the following files:

Generated for librevenge by doxygen 1.8.7