libepubgen::EPUBListStyleManager Class Reference

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

#include <EPUBListStyleManager.h>

Inheritance diagram for libepubgen::EPUBListStyleManager:
libepubgen::EPUBParagraphStyleManager

List of all members.

Classes

struct  List

Public Member Functions

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

Protected Attributes

List::ContentNameMap_t 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

 EPUBListStyleManager (EPUBListStyleManager const &orig)
EPUBListStyleManager operator= (EPUBListStyleManager const &orig)

Detailed Description

Small class to manage the list style.


Constructor & Destructor Documentation


Member Function Documentation

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

add a level to the corresponding list

Referenced by openLevel().

std::string libepubgen::EPUBListStyleManager::getClass ( librevenge::RVNGPropertyList const &  pList)

returns the classname corresponding to a list element

Reimplemented from libepubgen::EPUBParagraphStyleManager.

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

returns the class name corresponding to a propertylist

EPUBListStyleManager libepubgen::EPUBListStyleManager::operator= ( EPUBListStyleManager const &  orig) [private]

Member Data Documentation

the actual list id

Referenced by closeLevel(), and openLevel().

a map listId -> list

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

a map content -> list level name

Referenced by openLevel(), and send().


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