the state of WKS4Spreadsheet More...
Public Member Functions | |
State () | |
constructor | |
int | getNumSheet () const |
returns the number of spreadsheet | |
Spreadsheet & | getSheet (int id) |
returns the ith spreadsheet | |
Spreadsheet & | getActualSheet () |
returns the actual sheet | |
void | pushNewSheet () |
create a new sheet and stack id | |
bool | popSheet () |
try to pop the actual sheet | |
Public Attributes | |
long | m_eof |
the last file position | |
int | m_version |
the file version | |
StyleManager | m_styleManager |
the style manager | |
Protected Attributes | |
std::vector< Spreadsheet > | m_spreadsheetList |
the list of spreadsheet ( first: main spreadsheet, other report spreadsheet ) | |
std::stack< size_t > | m_spreadsheetStack |
the stack of spreadsheet id |
the state of WKS4Spreadsheet
WKS4SpreadsheetInternal::State::State | ( | ) | [inline] |
constructor
Spreadsheet& WKS4SpreadsheetInternal::State::getActualSheet | ( | ) | [inline] |
returns the actual sheet
int WKS4SpreadsheetInternal::State::getNumSheet | ( | ) | const [inline] |
returns the number of spreadsheet
Spreadsheet& WKS4SpreadsheetInternal::State::getSheet | ( | int | id | ) | [inline] |
returns the ith spreadsheet
bool WKS4SpreadsheetInternal::State::popSheet | ( | ) | [inline] |
try to pop the actual sheet
void WKS4SpreadsheetInternal::State::pushNewSheet | ( | ) | [inline] |
create a new sheet and stack id
Referenced by State().
the last file position
std::vector<Spreadsheet> WKS4SpreadsheetInternal::State::m_spreadsheetList [protected] |
the list of spreadsheet ( first: main spreadsheet, other report spreadsheet )
Referenced by getActualSheet(), getNumSheet(), getSheet(), and pushNewSheet().
std::stack<size_t> WKS4SpreadsheetInternal::State::m_spreadsheetStack [protected] |
the stack of spreadsheet id
Referenced by getActualSheet(), popSheet(), and pushNewSheet().
the style manager
the file version