StarTableInternal::Table Class Reference

class to store a table data in a sdw file More...

Public Member Functions

 Table ()
 the constructor More...
 
void updateColumnsPosition ()
 try use the xdimension to compute the final col positions More...
 
bool read (StarZone &zone, StarObjectText &object)
 try to read the data More...
 
bool send (STOFFListenerPtr listener, StarState &state)
 try to send the data to a listener More...
 

Public Attributes

bool m_headerRepeated
 flag to know if the header is repeated More...
 
int m_numBoxes
 the number of boxes More...
 
int m_chgMode
 the change mode More...
 
STOFFVec2i m_dimension
 the dimension More...
 
float m_minColWidth
 the minimal col width More...
 
shared_ptr< StarFormatManagerInternal::FormatDefm_format
 the table format More...
 
std::vector< shared_ptr< StarFormatManagerInternal::FormatDef > > m_formatList
 map format id to format def More...
 
std::vector< shared_ptr< StarTableInternal::TableLine > > m_lineList
 the list of line More...
 
std::set< float > m_xPositionSet
 the list of x position More...
 
std::vector< float > m_columnWidthList
 the column width More...
 
std::map< int, std::vector< StarTableInternal::TableBox * > > m_rowToBoxMap
 the list of row to box More...
 

Detailed Description

class to store a table data in a sdw file

Constructor & Destructor Documentation

StarTableInternal::Table::Table ( )
inline

the constructor

Member Function Documentation

bool StarTableInternal::Table::read ( StarZone zone,
StarObjectText object 
)

try to read the data

bool StarTableInternal::Table::send ( STOFFListenerPtr  listener,
StarState state 
)

try to send the data to a listener

void StarTableInternal::Table::updateColumnsPosition ( )

try use the xdimension to compute the final col positions

Member Data Documentation

int StarTableInternal::Table::m_chgMode

the change mode

std::vector<float> StarTableInternal::Table::m_columnWidthList

the column width

STOFFVec2i StarTableInternal::Table::m_dimension

the dimension

shared_ptr<StarFormatManagerInternal::FormatDef> StarTableInternal::Table::m_format

the table format

bool StarTableInternal::Table::m_headerRepeated

flag to know if the header is repeated

std::vector<shared_ptr<StarTableInternal::TableLine> > StarTableInternal::Table::m_lineList

the list of line

float StarTableInternal::Table::m_minColWidth

the minimal col width

Referenced by StarTableInternal::TableBox::updatePosition().

int StarTableInternal::Table::m_numBoxes

the number of boxes

std::map<int, std::vector<StarTableInternal::TableBox *> > StarTableInternal::Table::m_rowToBoxMap

the list of row to box

Referenced by StarTableInternal::TableBox::updatePosition().

std::set<float> StarTableInternal::Table::m_xPositionSet

the list of x position

Referenced by StarTableInternal::TableBox::updatePosition().


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

Generated on Fri Feb 24 2017 01:13:34 for libstaroffice by doxygen 1.8.11