QuattroSpreadsheetInternal::State Struct Reference

the state of QuattroSpreadsheet More...

List of all members.

Public Member Functions

 State ()
 constructor
int getMaximalSheet (Spreadsheet::Type type=Spreadsheet::T_Spreadsheet) const
 returns the maximal spreadsheet
shared_ptr< SpreadsheetgetSheet (Spreadsheet::Type type, int id)
 returns the ith real spreadsheet
librevenge::RVNGString getSheetName (int id) const
 returns the ith spreadsheet
SpreadsheetgetActualSheet ()
 returns the actual sheet
void pushNewSheet (shared_ptr< Spreadsheet > sheet)
 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
int m_hasLICSCharacters
 int to code if the file has LICS characters:-1 means unknown, 0 means no, 1 means yes
StyleManager m_styleManager
 the style manager
std::vector< shared_ptr
< Spreadsheet > > 
m_spreadsheetList
 the list of spreadsheet ( first: main spreadsheet, other report spreadsheet )
std::stack< shared_ptr
< Spreadsheet > > 
m_spreadsheetStack
 the stack of spreadsheet id

Detailed Description

the state of QuattroSpreadsheet


Constructor & Destructor Documentation

constructor


Member Function Documentation

returns the actual sheet

returns the maximal spreadsheet

shared_ptr<Spreadsheet> QuattroSpreadsheetInternal::State::getSheet ( Spreadsheet::Type  type,
int  id 
) [inline]

returns the ith real spreadsheet

librevenge::RVNGString QuattroSpreadsheetInternal::State::getSheetName ( int  id) const [inline]

returns the ith spreadsheet

try to pop the actual sheet

void QuattroSpreadsheetInternal::State::pushNewSheet ( shared_ptr< Spreadsheet sheet) [inline]

create a new sheet and stack id

Referenced by State().


Member Data Documentation

the last file position

int to code if the file has LICS characters:-1 means unknown, 0 means no, 1 means yes

the list of spreadsheet ( first: main spreadsheet, other report spreadsheet )

Referenced by getMaximalSheet(), getSheet(), and pushNewSheet().

the stack of spreadsheet id

Referenced by getActualSheet(), popSheet(), and pushNewSheet().


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