WKS4SpreadsheetInternal::Spreadsheet Class Reference

the spreadsheet of a WPS4Spreadsheet More...

List of all members.

Public Member Functions

 Spreadsheet ()
 a constructor
CellgetLastCell ()
 returns the last cell
void setColumnWidth (int col, int w=-1)
 set the columns size
void setRowHeight (int row, int h=-1)
 set the rows size
bool empty () const
 returns true if the spreedsheet is empty
Vec2i getRightBottomPosition () const
 returns the last Right Bottom cell position

Static Public Member Functions

static std::vector< float > convertInPoint (std::vector< int > const &list, float defSize)
 convert the m_widthCols, m_heightRows in a vector of of point size

Public Attributes

int m_numCols
 the number of columns
int m_numRows
 the number of rows
std::vector< int > m_widthCols
 the column size in TWIP (?)
std::vector< int > m_heightRows
 the row size in TWIP (?)
std::vector< Cellm_cellsList
 the list of not empty cells
std::vector< int > m_rowPageBreaksList
 the list of row page break

Detailed Description

the spreadsheet of a WPS4Spreadsheet


Constructor & Destructor Documentation


Member Function Documentation

static std::vector<float> WKS4SpreadsheetInternal::Spreadsheet::convertInPoint ( std::vector< int > const &  list,
float  defSize 
) [inline, static]

convert the m_widthCols, m_heightRows in a vector of of point size

Referenced by WKS4Spreadsheet::sendSpreadsheet().

returns true if the spreedsheet is empty

returns the last cell

returns the last Right Bottom cell position

void WKS4SpreadsheetInternal::Spreadsheet::setColumnWidth ( int  col,
int  w = -1 
) [inline]

set the columns size

void WKS4SpreadsheetInternal::Spreadsheet::setRowHeight ( int  row,
int  h = -1 
) [inline]

set the rows size


Member Data Documentation

the row size in TWIP (?)

Referenced by WKS4Spreadsheet::sendSpreadsheet(), and setRowHeight().

the number of columns

Referenced by setColumnWidth().

the number of rows

Referenced by setRowHeight().

the list of row page break

the column size in TWIP (?)

Referenced by WKS4Spreadsheet::sendSpreadsheet(), and setColumnWidth().


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