Go to the documentation of this file.
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(RVNGHTMLTextListStyleManager const &orig)
std::string getClass(RVNGPropertyList const &pList)
returns the class name corresponding to a propertylist
Definition: RVNGHTMLTextTextStyle.cpp:303
~RVNGHTMLTextListStyleManager()
destructor
Definition: RVNGHTMLTextTextStyle.h:110
void parseDecorations(RVNGPropertyList const &pList, std::ostream &out) const
add data corresponding to the line decoration
Definition: RVNGHTMLTextTextStyle.cpp:415
void send(std::ostream &out)
send the data to the stream
Definition: RVNGHTMLTextTextStyle.cpp:92
~List()
destructor
Definition: RVNGHTMLTextTextStyle.h:78
std::string getClass(RVNGPropertyList const &pList)
returns the classname corresponding to a list element
Definition: RVNGHTMLTextTextStyle.cpp:103
Definition: RVNGHTMLTextTextStyle.h:72
Small class to manage the span style.
Definition: RVNGHTMLTextTextStyle.h:138
std::string openLevel(RVNGPropertyList const &pList, bool ordered)
returns the class name corresponding to a propertylist
Definition: RVNGHTMLTextTextStyle.cpp:130
#define RVNG_DEBUG_MSG(M)
Definition: librevenge_internal.h:33
void remove(const char *name)
Definition: RVNGPropertyList.cpp:333
void send(std::ostream &out)
send the data to the stream
Definition: RVNGHTMLTextTextStyle.cpp:204
std::string getContent(RVNGPropertyList const &pList, bool isList) const
convert a property list in a html content string
Definition: RVNGHTMLTextTextStyle.cpp:214
~RVNGHTMLTextSpanStyleManager()
destructor
Definition: RVNGHTMLTextTextStyle.h:145
RVNGHTMLTextParagraphStyleManager()
constructor
Definition: RVNGHTMLTextTextStyle.h:40
RVNGHTMLTextListStyleManager()
constructor
Definition: RVNGHTMLTextTextStyle.h:105
virtual ~RVNGHTMLTextParagraphStyleManager()
destructor
Definition: RVNGHTMLTextTextStyle.h:44
std::vector< int > m_actualIdStack
the actual list id
Definition: RVNGHTMLTextTextStyle.h:130
std::map< std::string, std::string > m_contentNameMap
a map content -> name
Definition: RVNGHTMLTextTextStyle.h:57
void parseBorders(RVNGPropertyList const &pList, std::ostream &out) const
add data corresponding to the border
Definition: RVNGHTMLTextTextStyle.cpp:282
std::string getContent(RVNGPropertyList const &pList) const
convert a property list in a html content string
Definition: RVNGHTMLTextTextStyle.cpp:345
Small class to manage the paragraph style.
Definition: RVNGHTMLTextTextStyle.h:37
Definition: RVNGPropertyList.h:39
void closeLevel()
close a level
Definition: RVNGHTMLTextTextStyle.cpp:155
void closeLevel() const
open a new level
Definition: RVNGHTMLTextTextStyle.h:89
std::map< std::string, std::string > m_levelNameMap
a map content -> list level name
Definition: RVNGHTMLTextTextStyle.h:126
void parseTextPosition(char const *value, std::ostream &out) const
add data corresponding to a text position in out
Definition: RVNGHTMLTextTextStyle.cpp:430
UTF-8 string.
Definition: RVNGString.h:34
@ RVNG_POINT
Definition: RVNGProperty.h:30
Small class to manage the list style.
Definition: RVNGHTMLTextTextStyle.h:69
RVNGHTMLTextListStyleManager operator=(RVNGHTMLTextListStyleManager const &orig)
RVNGUnit
Definition: RVNGProperty.h:30
std::map< std::string, std::string > m_contentNameMap
a map content -> name
Definition: RVNGHTMLTextTextStyle.h:162
@ RVNG_INCH
Definition: RVNGProperty.h:30
std::string getClass(RVNGPropertyList const &pList)
returns the class name corresponding to a propertylist
Definition: RVNGHTMLTextTextStyle.cpp:173
void defineLevel(RVNGPropertyList const &property, bool ordered)
add a level to the corresponding list
Definition: RVNGHTMLTextTextStyle.cpp:115
void send(std::ostream &out)
send the data to the stream
Definition: RVNGHTMLTextTextStyle.cpp:335
std::map< int, std::string > m_idNameMap
a map id -> name
Definition: RVNGHTMLTextTextStyle.h:59
RVNGHTMLTextParagraphStyleManager(RVNGHTMLTextParagraphStyleManager const &orig)
int m_level
the actual list level
Definition: RVNGHTMLTextTextStyle.h:102
RVNGHTMLTextSpanStyleManager()
constructor
Definition: RVNGHTMLTextTextStyle.h:141
List()
constructor
Definition: RVNGHTMLTextTextStyle.h:74
void defineSpan(RVNGPropertyList const &pList)
define a span style
Definition: RVNGHTMLTextTextStyle.cpp:322
void setLevel(int lvl, RVNGPropertyList const &property, bool ordered)
set the property correspond to a level
Definition: RVNGHTMLTextTextStyle.cpp:40
void defineParagraph(RVNGPropertyList const &pList)
define a paragraph style
Definition: RVNGHTMLTextTextStyle.cpp:191
RVNGHTMLTextSpanStyleManager operator=(RVNGHTMLTextSpanStyleManager const &orig)
void openLevel() const
open a new level
Definition: RVNGHTMLTextTextStyle.h:84
Definition: RVNGBinaryData.cpp:39
std::string str() const
return the content string
Definition: RVNGHTMLTextTextStyle.cpp:82
@ RVNG_TWIP
Definition: RVNGProperty.h:30
RVNGHTMLTextParagraphStyleManager operator=(RVNGHTMLTextParagraphStyleManager const &orig)
std::map< int, List > m_idListMap
a map listId -> list
Definition: RVNGHTMLTextTextStyle.h:128
std::vector< std::string > m_contentsList
the properties
Definition: RVNGHTMLTextTextStyle.h:100
std::map< int, std::string > m_idNameMap
a map id -> name
Definition: RVNGHTMLTextTextStyle.h:164
RVNGHTMLTextSpanStyleManager(RVNGHTMLTextSpanStyleManager const &orig)
Generated for librevenge by
doxygen 1.8.18