Small class to manage the paragraph style. More...
#include <EPUBParagraphStyleManager.h>
 
  
 | Public Member Functions | |
| EPUBParagraphStyleManager () | |
| constructor  More... | |
| virtual | ~EPUBParagraphStyleManager () | 
| destructor  More... | |
| void | defineParagraph (librevenge::RVNGPropertyList const &pList) | 
| define a paragraph style  More... | |
| std::string | getClass (librevenge::RVNGPropertyList const &pList) | 
| returns the class name corresponding to a propertylist  More... | |
| std::string | getStyle (librevenge::RVNGPropertyList const &pList) | 
| returns the style string corresponding to a propertylist  More... | |
| void | send (EPUBCSSContent &out) | 
| send the data to the sink  More... | |
| Protected Member Functions | |
| void | extractProperties (librevenge::RVNGPropertyList const &pList, bool isList, EPUBCSSProperties &cssProps) const | 
| convert a property list into a CSS property map  More... | |
| void | extractBorders (librevenge::RVNGPropertyList const &pList, EPUBCSSProperties &cssProps) const | 
| add data corresponding to the border  More... | |
| Protected Attributes | |
| ContentNameMap_t | m_contentNameMap | 
| a map content -> name  More... | |
| std::map< int, std::string > | m_idNameMap | 
| a map id -> name  More... | |
| Private Types | |
| typedef std::unordered_map< EPUBCSSProperties, std::string, boost::hash< EPUBCSSProperties > > | ContentNameMap_t | 
| Private Member Functions | |
| EPUBParagraphStyleManager (EPUBParagraphStyleManager const &orig) | |
| EPUBParagraphStyleManager | operator= (EPUBParagraphStyleManager const &orig) | 
Small class to manage the paragraph style.
| 
 | private | 
| 
 | inline | 
constructor
| 
 | inlinevirtual | 
destructor
| 
 | private | 
| void libepubgen::EPUBParagraphStyleManager::defineParagraph | ( | librevenge::RVNGPropertyList const & | pList | ) | 
define a paragraph style
| 
 | protected | 
add data corresponding to the border
Referenced by extractProperties().
| 
 | protected | 
convert a property list into a CSS property map
Referenced by getClass(), libepubgen::EPUBListStyleManager::getClass(), getStyle(), and libepubgen::EPUBListStyleManager::openLevel().
| std::string libepubgen::EPUBParagraphStyleManager::getClass | ( | librevenge::RVNGPropertyList const & | pList | ) | 
returns the class name corresponding to a propertylist
Referenced by defineParagraph().
| std::string libepubgen::EPUBParagraphStyleManager::getStyle | ( | librevenge::RVNGPropertyList const & | pList | ) | 
returns the style string corresponding to a propertylist
| 
 | private | 
| void libepubgen::EPUBParagraphStyleManager::send | ( | EPUBCSSContent & | out | ) | 
send the data to the sink
Referenced by libepubgen::EPUBListStyleManager::send(), and libepubgen::EPUBGenerator::writeStylesheet().
| 
 | protected | 
a map content -> name
Referenced by getClass(), libepubgen::EPUBListStyleManager::getClass(), and send().
| 
 | protected | 
a map id -> name
Referenced by defineParagraph(), and getClass().