librevenge::RVNGHTMLTextListStyleManager Class Reference

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

#include <RVNGHTMLTextTextStyle.h>

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

List of all members.

Classes

struct  List

Public Member Functions

 RVNGHTMLTextListStyleManager ()
 constructor
 ~RVNGHTMLTextListStyleManager ()
 destructor
void defineLevel (RVNGPropertyList const &property, bool ordered)
 add a level to the corresponding list
std::string openLevel (RVNGPropertyList const &pList, bool ordered)
 returns the class name corresponding to a propertylist
void closeLevel ()
 close a level
std::string getClass (RVNGPropertyList const &pList)
 returns the classname corresponding to a list element
void send (std::ostream &out)
 send the data to the stream

Protected Attributes

std::map< std::string,
std::string > 
m_levelNameMap
 a map content -> list level name
std::map< int, Listm_idListMap
 a map listId -> list
std::vector< int > m_actualIdStack
 the actual list id

Private Member Functions

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

Detailed Description

Small class to manage the list style.


Constructor & Destructor Documentation


Member Function Documentation

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().

RVNGHTMLTextListStyleManager librevenge::RVNGHTMLTextListStyleManager::operator= ( RVNGHTMLTextListStyleManager const &  orig) [private]
void librevenge::RVNGHTMLTextListStyleManager::send ( std::ostream &  out)

send the data to the stream

Reimplemented from librevenge::RVNGHTMLTextParagraphStyleManager.

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


Member Data Documentation

the actual list id

Referenced by closeLevel(), and openLevel().

a map listId -> list

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

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: