23#ifndef RVNGHTMLTEXT_TEXTSTYLE_H
24#define RVNGHTMLTEXT_TEXTSTYLE_H
52 void send(std::ostream &out);
97 std::string
str()
const;
123 void send(std::ostream &out);
153 void send(std::ostream &out);
RVNGHTMLTextListStyleManager operator=(RVNGHTMLTextListStyleManager const &orig)
RVNGHTMLTextListStyleManager()
constructor
Definition RVNGHTMLTextTextStyle.h:105
void send(std::ostream &out)
send the data to the stream
Definition RVNGHTMLTextTextStyle.cpp:92
std::string openLevel(RVNGPropertyList const &pList, bool ordered)
returns the class name corresponding to a propertylist
Definition RVNGHTMLTextTextStyle.cpp:130
~RVNGHTMLTextListStyleManager()
destructor
Definition RVNGHTMLTextTextStyle.h:110
std::string getClass(RVNGPropertyList const &pList)
returns the classname corresponding to a list element
Definition RVNGHTMLTextTextStyle.cpp:103
void defineLevel(RVNGPropertyList const &property, bool ordered)
add a level to the corresponding list
Definition RVNGHTMLTextTextStyle.cpp:115
std::vector< int > m_actualIdStack
the actual list id
Definition RVNGHTMLTextTextStyle.h:130
std::map< int, List > m_idListMap
a map listId -> list
Definition RVNGHTMLTextTextStyle.h:128
RVNGHTMLTextListStyleManager(RVNGHTMLTextListStyleManager const &orig)
std::map< std::string, std::string > m_levelNameMap
a map content -> list level name
Definition RVNGHTMLTextTextStyle.h:126
void closeLevel()
close a level
Definition RVNGHTMLTextTextStyle.cpp:155
static void parseBorders(RVNGPropertyList const &pList, std::ostream &out)
add data corresponding to the border
Definition RVNGHTMLTextTextStyle.cpp:282
void defineParagraph(RVNGPropertyList const &pList)
define a paragraph style
Definition RVNGHTMLTextTextStyle.cpp:191
void send(std::ostream &out)
send the data to the stream
Definition RVNGHTMLTextTextStyle.cpp:204
RVNGHTMLTextParagraphStyleManager operator=(RVNGHTMLTextParagraphStyleManager const &orig)
virtual ~RVNGHTMLTextParagraphStyleManager()
destructor
Definition RVNGHTMLTextTextStyle.h:44
RVNGHTMLTextParagraphStyleManager()
constructor
Definition RVNGHTMLTextTextStyle.h:40
std::string getClass(RVNGPropertyList const &pList)
returns the class name corresponding to a propertylist
Definition RVNGHTMLTextTextStyle.cpp:173
static std::string getContent(RVNGPropertyList const &pList, bool isList)
convert a property list in a html content string
Definition RVNGHTMLTextTextStyle.cpp:214
std::map< std::string, std::string > m_contentNameMap
a map content -> name
Definition RVNGHTMLTextTextStyle.h:57
RVNGHTMLTextParagraphStyleManager(RVNGHTMLTextParagraphStyleManager const &orig)
std::map< int, std::string > m_idNameMap
a map id -> name
Definition RVNGHTMLTextTextStyle.h:59
std::string getClass(RVNGPropertyList const &pList)
returns the class name corresponding to a propertylist
Definition RVNGHTMLTextTextStyle.cpp:303
~RVNGHTMLTextSpanStyleManager()
destructor
Definition RVNGHTMLTextTextStyle.h:145
RVNGHTMLTextSpanStyleManager(RVNGHTMLTextSpanStyleManager const &orig)
static std::string getContent(RVNGPropertyList const &pList)
convert a property list in a html content string
Definition RVNGHTMLTextTextStyle.cpp:345
void defineSpan(RVNGPropertyList const &pList)
define a span style
Definition RVNGHTMLTextTextStyle.cpp:322
std::map< std::string, std::string > m_contentNameMap
a map content -> name
Definition RVNGHTMLTextTextStyle.h:162
RVNGHTMLTextSpanStyleManager operator=(RVNGHTMLTextSpanStyleManager const &orig)
static void parseDecorations(RVNGPropertyList const &pList, std::ostream &out)
add data corresponding to the line decoration
Definition RVNGHTMLTextTextStyle.cpp:415
std::map< int, std::string > m_idNameMap
a map id -> name
Definition RVNGHTMLTextTextStyle.h:164
RVNGHTMLTextSpanStyleManager()
constructor
Definition RVNGHTMLTextTextStyle.h:141
static void parseTextPosition(char const *value, std::ostream &out)
add data corresponding to a text position in out
Definition RVNGHTMLTextTextStyle.cpp:430
void send(std::ostream &out)
send the data to the stream
Definition RVNGHTMLTextTextStyle.cpp:335
Definition RVNGPropertyList.h:39
Definition RVNGBinaryData.cpp:40
int m_level
the actual list level
Definition RVNGHTMLTextTextStyle.h:102
~List()
destructor
Definition RVNGHTMLTextTextStyle.h:78
void closeLevel() const
open a new level
Definition RVNGHTMLTextTextStyle.h:89
std::vector< std::string > m_contentsList
the properties
Definition RVNGHTMLTextTextStyle.h:100
std::string str() const
return the content string
Definition RVNGHTMLTextTextStyle.cpp:82
List()
constructor
Definition RVNGHTMLTextTextStyle.h:74
void openLevel() const
open a new level
Definition RVNGHTMLTextTextStyle.h:84
void setLevel(int lvl, RVNGPropertyList const &property, bool ordered)
set the property correspond to a level
Definition RVNGHTMLTextTextStyle.cpp:40