librevenge::RVNGHTMLTextTableStyleManager Class Reference

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

#include <RVNGHTMLTextTableStyle.h>

List of all members.

Public Member Functions

 RVNGHTMLTextTableStyleManager ()
 constructor
 ~RVNGHTMLTextTableStyleManager ()
 destructor
void openTable (RVNGPropertyListVector const &colList)
 open a table
void closeTable ()
 close a table
std::string getCellClass (RVNGPropertyList const &pList)
 returns the class name corresponding to a propertylist
std::string getRowClass (RVNGPropertyList const &pList)
 returns the class name corresponding to a propertylist
void send (std::ostream &out)
 send the data to the stream

Private Member Functions

std::string getCellContent (RVNGPropertyList const &pList) const
 convert a property list in a html content string
std::string getRowContent (RVNGPropertyList const &pList) const
 convert a property list in a html content string
bool getColumnsWidth (int i, int numSpanned, double &w) const
 try to return the col width
 RVNGHTMLTextTableStyleManager (RVNGHTMLTextTableStyleManager const &orig)
RVNGHTMLTextTableStyleManager operator= (RVNGHTMLTextTableStyleManager const &orig)

Private Attributes

std::map< std::string,
std::string > 
m_cellContentNameMap
 a map cell content -> name
std::map< std::string,
std::string > 
m_rowContentNameMap
 a map row content -> name
std::vector< std::vector
< double > > 
m_columWitdhsStack
 a stack of column width (in inches )

Detailed Description

Small class to manage the tables style.


Constructor & Destructor Documentation


Member Function Documentation

returns the class name corresponding to a propertylist

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

std::string librevenge::RVNGHTMLTextTableStyleManager::getCellContent ( RVNGPropertyList const &  pList) const [private]

convert a property list in a html content string

Referenced by getCellClass().

bool librevenge::RVNGHTMLTextTableStyleManager::getColumnsWidth ( int  i,
int  numSpanned,
double &  w 
) const [private]

try to return the col width

Referenced by getCellContent().

returns the class name corresponding to a propertylist

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

std::string librevenge::RVNGHTMLTextTableStyleManager::getRowContent ( RVNGPropertyList const &  pList) const [private]

convert a property list in a html content string

Referenced by getRowClass().

RVNGHTMLTextTableStyleManager librevenge::RVNGHTMLTextTableStyleManager::operator= ( RVNGHTMLTextTableStyleManager const &  orig) [private]

send the data to the stream

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


Member Data Documentation

std::map<std::string, std::string> librevenge::RVNGHTMLTextTableStyleManager::m_cellContentNameMap [private]

a map cell content -> name

Referenced by getCellClass(), and send().

std::vector<std::vector<double> > librevenge::RVNGHTMLTextTableStyleManager::m_columWitdhsStack [private]

a stack of column width (in inches )

Referenced by closeTable(), getColumnsWidth(), and openTable().

std::map<std::string, std::string> librevenge::RVNGHTMLTextTableStyleManager::m_rowContentNameMap [private]

a map row content -> name

Referenced by getRowClass(), and send().


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