StarTableInternal::TableLine Struct Reference

small structure used to store a table line More...

Public Member Functions

 TableLine ()
 constructor More...
 
bool read (Table &table, StarZone &zone, StarObjectText &object, STOFFBox2i &cPos)
 try to read the data More...
 
void updatePosition (Table &table, StarState const &state, float xOrigin, STOFFVec2i const &RBpos=STOFFVec2i(-1,-1))
 update the position to correspond to cover the m_position[0],right/bottom More...
 

Public Attributes

STOFFBox2i m_position
 the position More...
 
int m_formatId
 the format More...
 
int m_numBoxes
 the number of boxes More...
 
std::vector< shared_ptr
< TableBox > > 
m_boxList
 a list of box More...
 
shared_ptr
< StarFormatManagerInternal::FormatDef
m_format
 the format More...
 

Detailed Description

small structure used to store a table line

Constructor & Destructor Documentation

StarTableInternal::TableLine::TableLine ( )
inline

constructor

Member Function Documentation

bool StarTableInternal::TableLine::read ( Table table,
StarZone zone,
StarObjectText object,
STOFFBox2i cPos 
)

try to read the data

void StarTableInternal::TableLine::updatePosition ( Table table,
StarState const &  state,
float  xOrigin,
STOFFVec2i const &  RBpos = STOFFVec2i(-1,-1) 
)

update the position to correspond to cover the m_position[0],right/bottom

Referenced by StarTableInternal::Table::send().

Member Data Documentation

std::vector<shared_ptr<TableBox> > StarTableInternal::TableLine::m_boxList

a list of box

Referenced by read(), and updatePosition().

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

the format

Referenced by read(), and updatePosition().

int StarTableInternal::TableLine::m_formatId

the format

Referenced by read(), and updatePosition().

int StarTableInternal::TableLine::m_numBoxes

the number of boxes

Referenced by read().

STOFFBox2i StarTableInternal::TableLine::m_position

the position

Referenced by read(), StarTableInternal::Table::send(), and updatePosition().


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

Generated on Wed Apr 11 2018 01:10:39 for libstaroffice by doxygen 1.8.5