librevenge::RVNGHTMLTextListStyleManager Class Reference

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

#include <RVNGHTMLTextTextStyle.h>

Inheritance diagram for librevenge::RVNGHTMLTextListStyleManager:
librevenge::RVNGHTMLTextParagraphStyleManager

Classes

struct  List
 

Public Member Functions

 RVNGHTMLTextListStyleManager ()
 constructor More...
 
 ~RVNGHTMLTextListStyleManager ()
 destructor More...
 
void defineLevel (RVNGPropertyList const &property, bool ordered)
 add a level to the corresponding list More...
 
std::string openLevel (RVNGPropertyList const &pList, bool ordered)
 returns the class name corresponding to a propertylist More...
 
void closeLevel ()
 close a level More...
 
std::string getClass (RVNGPropertyList const &pList)
 returns the classname corresponding to a list element More...
 
void send (std::ostream &out)
 send the data to the stream More...
 
- Public Member Functions inherited from librevenge::RVNGHTMLTextParagraphStyleManager
 RVNGHTMLTextParagraphStyleManager ()
 constructor More...
 
virtual ~RVNGHTMLTextParagraphStyleManager ()
 destructor More...
 
void defineParagraph (RVNGPropertyList const &pList)
 define a paragraph 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 Attributes

std::map< std::string, std::string > m_levelNameMap
 a map content -> list level name More...
 
std::map< int, Listm_idListMap
 a map listId -> list More...
 
std::vector< int > m_actualIdStack
 the actual list id More...
 
- Protected Attributes inherited from librevenge::RVNGHTMLTextParagraphStyleManager
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

 RVNGHTMLTextListStyleManager (RVNGHTMLTextListStyleManager const &orig)
 
RVNGHTMLTextListStyleManager operator= (RVNGHTMLTextListStyleManager const &orig)
 

Additional Inherited Members

- Protected Member Functions inherited from librevenge::RVNGHTMLTextParagraphStyleManager
std::string getContent (RVNGPropertyList const &pList, bool isList) const
 convert a property list in a html content string More...
 
void parseBorders (RVNGPropertyList const &pList, std::ostream &out) const
 add data corresponding to the border More...
 

Detailed Description

Small class to manage the list style.

Constructor & Destructor Documentation

◆ RVNGHTMLTextListStyleManager() [1/2]

librevenge::RVNGHTMLTextListStyleManager::RVNGHTMLTextListStyleManager ( )
inline

constructor

◆ ~RVNGHTMLTextListStyleManager()

librevenge::RVNGHTMLTextListStyleManager::~RVNGHTMLTextListStyleManager ( )
inline

destructor

◆ RVNGHTMLTextListStyleManager() [2/2]

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

Member Function Documentation

◆ closeLevel()

void librevenge::RVNGHTMLTextListStyleManager::closeLevel ( )

◆ defineLevel()

void librevenge::RVNGHTMLTextListStyleManager::defineLevel ( RVNGPropertyList const &  property,
bool  ordered 
)

◆ getClass()

std::string librevenge::RVNGHTMLTextListStyleManager::getClass ( RVNGPropertyList const &  pList)

◆ openLevel()

std::string librevenge::RVNGHTMLTextListStyleManager::openLevel ( RVNGPropertyList const &  pList,
bool  ordered 
)

returns the class name corresponding to a propertylist

Referenced by librevenge::RVNGHTMLTextGenerator::openOrderedListLevel(), and librevenge::RVNGHTMLTextGenerator::openUnorderedListLevel().

◆ operator=()

RVNGHTMLTextListStyleManager librevenge::RVNGHTMLTextListStyleManager::operator= ( RVNGHTMLTextListStyleManager const &  orig)
private

◆ send()

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

send the data to the stream

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

Member Data Documentation

◆ m_actualIdStack

std::vector<int> librevenge::RVNGHTMLTextListStyleManager::m_actualIdStack
protected

the actual list id

Referenced by closeLevel(), and openLevel().

◆ m_idListMap

std::map<int, List> librevenge::RVNGHTMLTextListStyleManager::m_idListMap
protected

a map listId -> list

Referenced by closeLevel(), defineLevel(), and openLevel().

◆ m_levelNameMap

std::map<std::string, std::string> librevenge::RVNGHTMLTextListStyleManager::m_levelNameMap
protected

a map content -> list level name

Referenced by openLevel(), and send().


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

Generated for librevenge by doxygen 1.8.18