Go to the documentation of this file.
80 void parse(librevenge::RVNGSpreadsheetInterface *documentInterface)
override;
84 void createDocument(librevenge::RVNGSpreadsheetInterface *documentInterface);
105 std::shared_ptr<SDCParserInternal::State>
m_state;
~SDCParser() final
destructor
Definition: SDCParser.cxx:82
void setSpreadsheetListener(STOFFSpreadsheetListenerPtr &listener)
sets the spreadsheet listener
Definition: STOFFParser.cxx:89
Internal: the structures of a SDCParser.
Definition: SDCParser.cxx:52
the main class to read/.
Definition: StarAttribute.hxx:1080
virtual class which defines the ancestor of all spreadsheet zone parser
Definition: STOFFParser.hxx:226
#define STOFF_DEBUG_MSG(M)
Definition: libstaroffice_internal.hxx:129
the main class to read a StarOffice sdc file
Definition: StarObjectSpreadsheet.hxx:63
void createDocument(librevenge::RVNGSpreadsheetInterface *documentInterface)
creates the listener which will be associated to the document
Definition: SDCParser.cxx:140
A class which defines the page properties.
Definition: STOFFPageSpan.hxx:75
int m_actPage
the actual page
Definition: SDCParser.cxx:65
std::shared_ptr< STOFFSpreadsheetListener > STOFFSpreadsheetListenerPtr
a smart pointer of STOFFSpreadsheetListener
Definition: libstaroffice_internal.hxx:493
static void reset()
Definition: STOFFDebug.hxx:228
bool checkHeader(STOFFHeader *header, bool strict=false) override
checks if the document header is correct (or not)
Definition: SDCParser.cxx:183
int m_numPages
the number of page of the final document
Definition: SDCParser.cxx:65
the main class to read a StarOffice sdc file
Definition: SDCParser.hxx:64
bool createZones()
parses the different OLE, ...
Definition: SDCParser.cxx:116
std::shared_ptr< SDCParserInternal::State > m_state
the state
Definition: SDCParser.hxx:105
std::shared_ptr< STOFFInputStream > STOFFInputStreamPtr
a smart pointer of STOFFInputStream
Definition: libstaroffice_internal.hxx:485
a zone in a StarOffice file
Definition: StarZone.hxx:56
an object corresponding to an OLE directory
Definition: StarObject.hxx:64
This class contents the main functions needed to create a spreadsheet processing Document.
Definition: STOFFSpreadsheetListener.hxx:64
int m_pageSpan
the number of page
Definition: STOFFPageSpan.hxx:104
libstoff::DebugFile & ascii()
a DebugFile used to write what we recognize when we parse the document
Definition: STOFFParser.hxx:143
void resetSpreadsheetListener()
resets the spreadsheet listener
Definition: STOFFParser.cxx:94
const char * m_password
the password
Definition: SDCParser.hxx:101
Definition: libstaroffice_internal.hxx:143
Internal: the state of a SDCParser.
Definition: SDCParser.cxx:56
void setDocumentPassword(char const *passwd)
set the document password
Definition: SDCParser.hxx:72
State()
constructor
Definition: SDCParser.cxx:58
a class used to parse some basic oles Tries to read the different ole parts and stores their contents...
Definition: STOFFOLEParser.hxx:86
static void checkUnparsed(STOFFInputStreamPtr input, std::shared_ptr< STOFFOLEParser > oleParser, char const *password)
low level
Definition: StarFileManager.cxx:435
STOFFParserStatePtr getParserState()
returns the parser state
Definition: STOFFParser.hxx:103
const STOFFPageSpan & getPageSpan() const
returns the actual page dimension
Definition: STOFFParser.hxx:118
STOFFDocument::Kind getDocumentKind() const
returns the document kind
Definition: StarObject.cxx:115
SDCParser(STOFFInputStreamPtr &input, STOFFHeader *header)
constructor
Definition: SDCParser.cxx:74
std::shared_ptr< STOFFOLEParser > m_oleParser
the ole parser
Definition: SDCParser.hxx:103
STOFFInputStreamPtr & getInput()
returns the actual input
Definition: STOFFParser.hxx:113
bool sendSpreadsheet()
try to send the spreadsheet
Definition: SDCParser.cxx:158
SDCParser & operator=(SDCParser const &orig)=delete
STOFFSpreadsheetListenerPtr & getSpreadsheetListener()
returns the spreadsheet listener
Definition: STOFFParser.hxx:133
void parse(librevenge::RVNGSpreadsheetInterface *documentInterface) override
virtual function used to parse the input
Definition: SDCParser.cxx:89
std::shared_ptr< StarObjectSpreadsheet > m_mainSpreadsheet
Definition: SDCParser.cxx:66
spreadsheet: .sdc
Definition: STOFFDocument.hxx:74
Generated on Mon Jan 20 2020 23:02:16 for libstaroffice by
doxygen 1.8.16