10 #ifndef INCLUDED_EPUBPARAGRAPHSTYLEMANAGER_H
11 #define INCLUDED_EPUBPARAGRAPHSTYLEMANAGER_H
16 #include <boost/unordered_map.hpp>
18 #include <librevenge/librevenge.h>
44 std::string
getClass(librevenge::RVNGPropertyList
const &pList);
void defineParagraph(librevenge::RVNGPropertyList const &pList)
define a paragraph style
Definition: EPUBParagraphStyleManager.cpp:44
Definition: EPUBCSSSink.h:23
boost::unordered_map< EPUBCSSProperties, std::string > ContentNameMap_t
Definition: EPUBParagraphStyleManager.h:30
Small class to manage the paragraph style.
Definition: EPUBParagraphStyleManager.h:28
ContentNameMap_t m_contentNameMap
a map content -> name
Definition: EPUBParagraphStyleManager.h:51
virtual ~EPUBParagraphStyleManager()
destructor
Definition: EPUBParagraphStyleManager.h:38
void extractBorders(librevenge::RVNGPropertyList const &pList, EPUBCSSProperties &cssProps) const
add data corresponding to the border
Definition: EPUBParagraphStyleManager.cpp:138
EPUBParagraphStyleManager operator=(EPUBParagraphStyleManager const &orig)
std::map< std::string, std::string > EPUBCSSProperties
Definition: EPUBCSSProperties.h:21
std::map< int, std::string > m_idNameMap
a map id -> name
Definition: EPUBParagraphStyleManager.h:53
std::string getClass(librevenge::RVNGPropertyList const &pList)
returns the class name corresponding to a propertylist
Definition: EPUBParagraphStyleManager.cpp:25
void extractProperties(librevenge::RVNGPropertyList const &pList, bool isList, EPUBCSSProperties &cssProps) const
convert a property list into a CSS property map
Definition: EPUBParagraphStyleManager.cpp:67
EPUBParagraphStyleManager()
constructor
Definition: EPUBParagraphStyleManager.h:34
void send(EPUBCSSSink &out)
send the data to the sink
Definition: EPUBParagraphStyleManager.cpp:57