the main class to read a StarOffice sdc file More...
#include <StarObjectSpreadsheet.hxx>
Public Member Functions | |
StarObjectSpreadsheet (StarObject const &orig, bool duplicateState) | |
constructor | |
virtual | ~StarObjectSpreadsheet () |
destructor | |
bool | parse () |
try to parse the current object | |
bool | send (STOFFSpreadsheetListenerPtr listener) |
try to send the spreadsheet | |
bool | sendRow (int table, int row, STOFFSpreadsheetListenerPtr listener) |
try to send a spreadsheet row. | |
bool | sendCell (StarObjectSpreadsheetInternal::Cell &cell, StarAttribute *attrib, int table, int numRepeated, STOFFSpreadsheetListenerPtr listener) |
try to send a cell | |
bool | updatePageSpans (std::vector< STOFFPageSpan > &pageSpan, int &numPages) |
try to update the page span | |
Protected Member Functions | |
bool | readCalcDocument (STOFFInputStreamPtr input, std::string const &fileName) |
try to read a spreadsheet zone: StarCalcDocument .sdc | |
bool | readSfxStyleSheets (STOFFInputStreamPtr input, std::string const &fileName) |
try to read a spreadshet style zone: SfxStyleSheets | |
bool | readSCTable (StarZone &zone, StarObjectSpreadsheetInternal::Table &table) |
try to read a SCTable | |
bool | readSCColumn (StarZone &zone, StarObjectSpreadsheetInternal::Table &table, int column, long lastPos) |
try to read a SCColumn | |
bool | readSCData (StarZone &zone, StarObjectSpreadsheetInternal::Table &table, int column) |
try to read a list of data | |
bool | readSCChangeTrack (StarZone &zone, int version, long lastPos) |
try to read a change trak | |
bool | readSCDBData (StarZone &zone, int version, long lastPos) |
try to read a dbData | |
bool | readSCDBPivot (StarZone &zone, int version, long lastPos) |
try to read a dbPivot | |
bool | readSCMatrix (StarZone &zone, int version, long lastPos) |
try to read a matrix | |
bool | readSCQueryParam (StarZone &zone, int version, long lastPos) |
try to read a query param | |
bool | readSCOutlineArray (StarZone &zone) |
try to read a SCOutlineArray | |
Protected Attributes | |
shared_ptr < StarObjectSpreadsheetInternal::State > | m_spreadsheetState |
the state |
the main class to read a StarOffice sdc file
StarObjectSpreadsheet::StarObjectSpreadsheet | ( | StarObject const & | orig, |
bool | duplicateState | ||
) |
constructor
StarObjectSpreadsheet::~StarObjectSpreadsheet | ( | ) | [virtual] |
destructor
bool StarObjectSpreadsheet::parse | ( | ) |
try to parse the current object
Reimplemented from StarObject.
Referenced by StarFileManager::checkUnparsed(), SDXParser::createZones(), and StarFileManager::readOLEDirectory().
bool StarObjectSpreadsheet::readCalcDocument | ( | STOFFInputStreamPtr | input, |
std::string const & | fileName | ||
) | [protected] |
try to read a spreadsheet zone: StarCalcDocument .sdc
Referenced by parse().
bool StarObjectSpreadsheet::readSCChangeTrack | ( | StarZone & | zone, |
int | version, | ||
long | lastPos | ||
) | [protected] |
try to read a change trak
Referenced by readCalcDocument().
bool StarObjectSpreadsheet::readSCColumn | ( | StarZone & | zone, |
StarObjectSpreadsheetInternal::Table & | table, | ||
int | column, | ||
long | lastPos | ||
) | [protected] |
try to read a SCColumn
Referenced by readSCTable().
bool StarObjectSpreadsheet::readSCData | ( | StarZone & | zone, |
StarObjectSpreadsheetInternal::Table & | table, | ||
int | column | ||
) | [protected] |
try to read a list of data
Referenced by readSCColumn().
bool StarObjectSpreadsheet::readSCDBData | ( | StarZone & | zone, |
int | version, | ||
long | lastPos | ||
) | [protected] |
try to read a dbData
Referenced by readCalcDocument().
bool StarObjectSpreadsheet::readSCDBPivot | ( | StarZone & | zone, |
int | version, | ||
long | lastPos | ||
) | [protected] |
try to read a dbPivot
Referenced by readCalcDocument().
bool StarObjectSpreadsheet::readSCMatrix | ( | StarZone & | zone, |
int | version, | ||
long | lastPos | ||
) | [protected] |
try to read a matrix
Referenced by readCalcDocument().
bool StarObjectSpreadsheet::readSCOutlineArray | ( | StarZone & | zone | ) | [protected] |
try to read a SCOutlineArray
Referenced by readSCTable().
bool StarObjectSpreadsheet::readSCQueryParam | ( | StarZone & | zone, |
int | version, | ||
long | lastPos | ||
) | [protected] |
try to read a query param
Referenced by readCalcDocument(), and readSCDBPivot().
bool StarObjectSpreadsheet::readSCTable | ( | StarZone & | zone, |
StarObjectSpreadsheetInternal::Table & | table | ||
) | [protected] |
try to read a SCTable
Referenced by readCalcDocument().
bool StarObjectSpreadsheet::readSfxStyleSheets | ( | STOFFInputStreamPtr | input, |
std::string const & | fileName | ||
) | [protected] |
try to read a spreadshet style zone: SfxStyleSheets
Reimplemented from StarObject.
Referenced by parse().
bool StarObjectSpreadsheet::send | ( | STOFFSpreadsheetListenerPtr | listener | ) |
try to send the spreadsheet
Referenced by StarFileManager::readOLEDirectory().
bool StarObjectSpreadsheet::sendCell | ( | StarObjectSpreadsheetInternal::Cell & | cell, |
StarAttribute * | attrib, | ||
int | table, | ||
int | numRepeated, | ||
STOFFSpreadsheetListenerPtr | listener | ||
) |
try to send a cell
Referenced by sendRow().
bool StarObjectSpreadsheet::sendRow | ( | int | table, |
int | row, | ||
STOFFSpreadsheetListenerPtr | listener | ||
) |
try to send a spreadsheet row.
Referenced by send().
bool StarObjectSpreadsheet::updatePageSpans | ( | std::vector< STOFFPageSpan > & | pageSpan, |
int & | numPages | ||
) |
try to update the page span
Referenced by StarFileManager::readOLEDirectory().
shared_ptr<StarObjectSpreadsheetInternal::State> StarObjectSpreadsheet::m_spreadsheetState [protected] |
the state
Referenced by readCalcDocument(), readSCTable(), send(), sendCell(), sendRow(), and updatePageSpans().