Go to the documentation of this file.
38 #ifndef CLARIS_WKS_SS_PARSER
39 # define CLARIS_WKS_SS_PARSER
45 #include <librevenge/librevenge.h>
82 void parse(
librevenge::RVNGSpreadsheetInterface *documentInterface) final;
basic class to store an entry in a file This contained :
Definition: MWAWEntry.hxx:46
SubDocument(ClarisWksSSParser &pars, MWAWInputStreamPtr const &input, int zoneId, MWAWPosition const &pos=MWAWPosition())
Definition: ClarisWksSSParser.cxx:87
database
Definition: MWAWDocument.hxx:87
std::shared_ptr< MWAWInputStream > MWAWInputStreamPtr
a smart pointer of MWAWInputStream
Definition: libmwaw_internal.hxx:549
virtual class which defines the ancestor of all spreadsheet zone parser
Definition: MWAWParser.hxx:282
MWAWPosition m_position
the subdocument position if defined
Definition: ClarisWksSSParser.cxx:112
a note
Definition: libmwaw_internal.hxx:445
spreadsheet
Definition: MWAWDocument.hxx:86
#define MWAW_DEBUG_MSG(M)
Definition: libmwaw_internal.hxx:129
~SubDocument() final
destructor
Definition: ClarisWksSSParser.cxx:93
bool open(std::string const &filename)
opens/creates a file to store a result
Definition: MWAWDebug.cxx:46
std::shared_ptr< MWAWSubDocument > MWAWSubDocumentPtr
a smart pointer of MWAWSubDocument
Definition: libmwaw_internal.hxx:563
void resetSpreadsheetListener()
resets the listener
Definition: MWAWParser.cxx:152
main document information used to create a ClarisWorks file
Definition: ClarisWksDocument.hxx:73
bool checkHeader(MWAWHeader *header, bool strict=false) final
checks if the document header is correct (or not)
Definition: ClarisWksSSParser.cxx:176
Internal: the state of a ClarisWksSSParser.
Definition: ClarisWksSSParser.cxx:71
abstract class used to store a subdocument (with a comparison function)
Definition: MWAWSubDocument.hxx:41
int m_id
the subdocument id
Definition: ClarisWksSSParser.cxx:110
libmwaw::DebugFile & ascii()
a DebugFile used to write what we recognize when we parse the document
Definition: MWAWParser.hxx:195
MWAWSpreadsheetListenerPtr & getSpreadsheetListener()
returns the spreadsheet listener
Definition: MWAWParser.hxx:140
SubDocumentType
Definition: libmwaw_internal.hxx:188
void reset()
writes the current file and reset to zero
Definition: MWAWDebug.hxx:93
ClarisWksSSParser(MWAWInputStreamPtr const &input, MWAWRSRCParserPtr const &rsrcParser, MWAWHeader *header)
constructor
Definition: ClarisWksSSParser.cxx:141
std::shared_ptr< MWAWSpreadsheetListener > MWAWSpreadsheetListenerPtr
a smart pointer of MWAWSpreadsheetListener
Definition: libmwaw_internal.hxx:561
This class contents the main functions needed to create a spreadsheet processing Document.
Definition: MWAWSpreadsheetListener.hxx:65
Internal: the subdocument of a ClarisWksSSParser.
Definition: ClarisWksSSParser.cxx:84
void setAsciiName(char const *name)
Debugging: change the default ascii file.
Definition: MWAWParser.hxx:227
const MWAWPageSpan & getPageSpan() const
returns the actual page dimension
Definition: MWAWParser.hxx:160
Class to define the position of an object (textbox, picture, ..) in the document.
Definition: MWAWPosition.hxx:47
const std::string & asciiName() const
return the ascii file name
Definition: MWAWParser.hxx:232
std::shared_ptr< MWAWRSRCParser > MWAWRSRCParserPtr
a smart pointer of MWAWRSRCParser
Definition: libmwaw_internal.hxx:559
std::shared_ptr< ClarisWksDocument > m_document
the main document manager
Definition: ClarisWksSSParser.hxx:107
void setStream(MWAWInputStreamPtr const &ip)
resets the input
Definition: MWAWDebug.hxx:81
Definition: libmwaw_internal.hxx:143
std::shared_ptr< ClarisWksSSParserInternal::State > m_state
the state
Definition: ClarisWksSSParser.hxx:104
int m_numPages
the number of page of the final document
Definition: ClarisWksSSParser.cxx:79
void sendFootnote(int zoneId)
creates a document to send a footnote
Definition: ClarisWksSSParser.cxx:168
void parse(MWAWListenerPtr &listener, libmwaw::SubDocumentType type) final
the parser function
Definition: ClarisWksSSParser.cxx:115
MWAWParserStatePtr getParserState()
returns the parser state
Definition: MWAWParser.hxx:113
void setSpreadsheetListener(MWAWSpreadsheetListenerPtr &listener)
sets the spreadsheet listener
Definition: MWAWParser.cxx:147
void parse(librevenge::RVNGSpreadsheetInterface *documentInterface) final
virtual function used to parse the input
Definition: ClarisWksSSParser.cxx:188
void init()
inits all internal variables
Definition: ClarisWksSSParser.cxx:153
MWAWInputStreamPtr & getInput()
returns the actual input
Definition: MWAWParser.hxx:123
void createDocument(librevenge::RVNGSpreadsheetInterface *documentInterface)
creates the listener which will be associated to the document
Definition: ClarisWksSSParser.cxx:227
State()
constructor
Definition: ClarisWksSSParser.cxx:73
MWAWParser * m_parser
the main zone parser
Definition: MWAWSubDocument.hxx:75
Internal: the structures of a ClarisWksSSParser.
Definition: ClarisWksSSParser.cxx:66
the main class to read a AppleWorks/ClarisWorks spreadsheet file
Definition: ClarisWksSSParser.hxx:67
Definition: libmwaw_internal.hxx:447
std::shared_ptr< MWAWListener > MWAWListenerPtr
a smart pointer of MWAWListener
Definition: libmwaw_internal.hxx:551
Definition: MWAWDocument.hxx:56
int m_actPage
the actual page
Definition: ClarisWksSSParser.cxx:79
void setMargins(double margin, int wh=libmwaw::LeftBit|libmwaw::RightBit|libmwaw::TopBit|libmwaw::BottomBit)
set all the margins
Definition: MWAWPageSpan.hxx:211
bool operator!=(MWAWSubDocument const &doc) const final
operator!=
Definition: ClarisWksSSParser.cxx:96
friend class ClarisWksDocument
Definition: ClarisWksSSParser.hxx:70
~ClarisWksSSParser() final
destructor
Definition: ClarisWksSSParser.cxx:149
Generated on Wed Jul 24 2024 03:55:48 for libmwaw by
doxygen 1.8.16