RagTimeSpreadsheetInternal::Spreadsheet Struct Reference

Internal: a spreadsheet's zone of a RagTimeSpreadsheet. More...

Public Member Functions

 Spreadsheet ()
 constructor More...
 
float getRowHeight (int row) const
 returns the row size in point More...
 
std::vector< float > getColumnsWidth () const
 returns the columns dimension in point: TO DO More...
 
Vec2i getRightBottomPosition () const
 returns the spreadsheet dimension More...
 

Public Attributes

float m_widthDefault
 the default column width More...
 
std::vector< float > m_widthCols
 the column size in points More...
 
float m_heightDefault
 the default row height More...
 
std::vector< float > m_heightRows
 the row height in points More...
 
long m_cellsBegin
 the positions of the cells in the file More...
 
std::vector< Cellm_cellsList
 the list of not empty cells More...
 
std::vector< long > m_rowPositionsList
 the positions of row in the file More...
 
std::string m_name
 the sheet name More...
 
bool m_isSent
 true if the sheet is sent to the listener More...
 

Detailed Description

Internal: a spreadsheet's zone of a RagTimeSpreadsheet.

Constructor & Destructor Documentation

RagTimeSpreadsheetInternal::Spreadsheet::Spreadsheet ( )
inline

constructor

Member Function Documentation

std::vector<float> RagTimeSpreadsheetInternal::Spreadsheet::getColumnsWidth ( ) const
inline

returns the columns dimension in point: TO DO

Referenced by RagTimeSpreadsheet::send().

Vec2i RagTimeSpreadsheetInternal::Spreadsheet::getRightBottomPosition ( ) const
inline

returns the spreadsheet dimension

Referenced by getColumnsWidth().

float RagTimeSpreadsheetInternal::Spreadsheet::getRowHeight ( int  row) const
inline

returns the row size in point

Referenced by RagTimeSpreadsheet::send().

Member Data Documentation

long RagTimeSpreadsheetInternal::Spreadsheet::m_cellsBegin

the positions of the cells in the file

Referenced by RagTimeSpreadsheet::readSpreadsheetExtraV2().

std::vector<Cell> RagTimeSpreadsheetInternal::Spreadsheet::m_cellsList
float RagTimeSpreadsheetInternal::Spreadsheet::m_heightDefault

the default row height

Referenced by getRowHeight().

std::vector<float> RagTimeSpreadsheetInternal::Spreadsheet::m_heightRows

the row height in points

Referenced by getRowHeight(), and RagTimeSpreadsheet::readSpreadsheetExtraV2().

bool RagTimeSpreadsheetInternal::Spreadsheet::m_isSent
mutable

true if the sheet is sent to the listener

Referenced by RagTimeSpreadsheet::flushExtra(), and RagTimeSpreadsheet::send().

std::string RagTimeSpreadsheetInternal::Spreadsheet::m_name

the sheet name

Referenced by RagTimeSpreadsheet::send().

std::vector<long> RagTimeSpreadsheetInternal::Spreadsheet::m_rowPositionsList
std::vector<float> RagTimeSpreadsheetInternal::Spreadsheet::m_widthCols

the column size in points

Referenced by getColumnsWidth(), and RagTimeSpreadsheet::readSpreadsheetExtraV2().

float RagTimeSpreadsheetInternal::Spreadsheet::m_widthDefault

the default column width


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

Generated on Wed Jun 7 2017 22:16:31 for libmwaw by doxygen 1.8.8