class to store a table data in a sdw file More...
Public Member Functions | |
| Table () | |
| the constructor | |
| void | updateColumnsPosition () |
| try use the xdimension to compute the final col positions | |
| bool | read (StarZone &zone, StarObjectText &object) |
| try to read the data | |
| bool | send (STOFFListenerPtr listener, StarState &state) |
| try to send the data to a listener | |
Public Attributes | |
| bool | m_headerRepeated |
| flag to know if the header is repeated | |
| int | m_numBoxes |
| the number of boxes | |
| int | m_chgMode |
| the change mode | |
| STOFFVec2i | m_dimension |
| the dimension | |
| float | m_minColWidth |
| the minimal col width | |
| std::shared_ptr< StarFormatManagerInternal::FormatDef > | m_format |
| the table format | |
| std::vector< std::shared_ptr< StarFormatManagerInternal::FormatDef > > | m_formatList |
| map format id to format def | |
| std::vector< std::shared_ptr< StarTableInternal::TableLine > > | m_lineList |
| the list of line | |
| std::set< float > | m_xPositionSet |
| the list of x position | |
| std::vector< float > | m_columnWidthList |
| the column width | |
| std::map< int, std::vector< StarTableInternal::TableBox * > > | m_rowToBoxMap |
| the list of row to box | |
class to store a table data in a sdw file
|
inline |
the constructor
| 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
Referenced by send().
| std::vector<float> StarTableInternal::Table::m_columnWidthList |
the column width
Referenced by send(), Table(), and updateColumnsPosition().
| STOFFVec2i StarTableInternal::Table::m_dimension |
| std::shared_ptr<StarFormatManagerInternal::FormatDef> StarTableInternal::Table::m_format |
| std::vector<std::shared_ptr<StarFormatManagerInternal::FormatDef> > StarTableInternal::Table::m_formatList |
map format id to format def
Referenced by StarTableInternal::TableBox::read(), StarTableInternal::TableLine::read(), Table(), StarTableInternal::TableBox::updatePosition(), and StarTableInternal::TableLine::updatePosition().
| bool StarTableInternal::Table::m_headerRepeated |
| std::vector<std::shared_ptr<StarTableInternal::TableLine> > StarTableInternal::Table::m_lineList |
| float StarTableInternal::Table::m_minColWidth |
the minimal col width
Referenced by send(), Table(), updateColumnsPosition(), and StarTableInternal::TableBox::updatePosition().
| std::map<int, std::vector<StarTableInternal::TableBox *> > StarTableInternal::Table::m_rowToBoxMap |
the list of row to box
Referenced by send(), Table(), updateColumnsPosition(), and StarTableInternal::TableBox::updatePosition().
| std::set<float> StarTableInternal::Table::m_xPositionSet |
the list of x position
Referenced by send(), Table(), updateColumnsPosition(), and StarTableInternal::TableBox::updatePosition().