the spreadsheet of a WPS4Spreadsheet More...
Public Member Functions | |
Spreadsheet () | |
a constructor | |
Cell * | getLastCell () |
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< Cell > | m_cellsList |
the list of not empty cells | |
std::vector< int > | m_rowPageBreaksList |
the list of row page break |
the spreadsheet of a WPS4Spreadsheet
WKS4SpreadsheetInternal::Spreadsheet::Spreadsheet | ( | ) | [inline] |
a constructor
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().
bool WKS4SpreadsheetInternal::Spreadsheet::empty | ( | ) | const [inline] |
returns true if the spreedsheet is empty
Cell* WKS4SpreadsheetInternal::Spreadsheet::getLastCell | ( | ) | [inline] |
returns the last cell
Vec2i WKS4SpreadsheetInternal::Spreadsheet::getRightBottomPosition | ( | ) | const [inline] |
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
std::vector<Cell> WKS4SpreadsheetInternal::Spreadsheet::m_cellsList |
the list of not empty cells
Referenced by empty(), getLastCell(), getRightBottomPosition(), and WKS4Spreadsheet::sendSpreadsheet().
std::vector<int> WKS4SpreadsheetInternal::Spreadsheet::m_heightRows |
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().
std::vector<int> WKS4SpreadsheetInternal::Spreadsheet::m_rowPageBreaksList |
the list of row page break
std::vector<int> WKS4SpreadsheetInternal::Spreadsheet::m_widthCols |
the column size in TWIP (?)
Referenced by WKS4Spreadsheet::sendSpreadsheet(), and setColumnWidth().