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);
89 void createDocument(librevenge::RVNGSpreadsheetInterface *documentInterface);
104 shared_ptr<ClarisWksSSParserInternal::State>
m_state;
basic class to store an entry in a file This contained :
Definition: MWAWEntry.hxx:47
@ MWAW_K_DATABASE
database
Definition: MWAWDocument.hxx:87
virtual class which defines the ancestor of all spreadsheet zone parser
Definition: MWAWParser.hxx:281
MWAWPosition m_position
the subdocument position if defined
Definition: ClarisWksSSParser.cxx:113
a note
Definition: libmwaw_internal.hxx:406
shared_ptr< ClarisWksDocument > m_document
the main document manager
Definition: ClarisWksSSParser.hxx:107
@ MWAW_K_SPREADSHEET
spreadsheet
Definition: MWAWDocument.hxx:86
shared_ptr< MWAWSpreadsheetListener > MWAWSpreadsheetListenerPtr
a smart pointer of MWAWSpreadsheetListener
Definition: libmwaw_internal.hxx:515
#define MWAW_DEBUG_MSG(M)
Definition: libmwaw_internal.hxx:127
virtual ~ClarisWksSSParser()
destructor
Definition: ClarisWksSSParser.cxx:148
bool open(std::string const &filename)
opens/creates a file to store a result
Definition: MWAWDebug.cxx:46
SubDocument(ClarisWksSSParser &pars, MWAWInputStreamPtr input, int zoneId, MWAWPosition const &pos=MWAWPosition())
Definition: ClarisWksSSParser.cxx:85
void resetSpreadsheetListener()
resets the listener
Definition: MWAWParser.cxx:140
main document information used to create a ClarisWorks file
Definition: ClarisWksDocument.hxx:74
Internal: the state of a ClarisWksSSParser.
Definition: ClarisWksSSParser.cxx:71
abstract class used to store a subdocument (with a comparison function)
Definition: MWAWSubDocument.hxx:42
int m_id
the subdocument id
Definition: ClarisWksSSParser.cxx:111
libmwaw::DebugFile & ascii()
a DebugFile used to write what we recognize when we parse the document
Definition: MWAWParser.hxx:195
std::string const & asciiName() const
return the ascii file name
Definition: MWAWParser.hxx:232
shared_ptr< ClarisWksSSParserInternal::State > m_state
the state
Definition: ClarisWksSSParser.hxx:104
MWAWSpreadsheetListenerPtr & getSpreadsheetListener()
returns the spreadsheet listener
Definition: MWAWParser.hxx:140
SubDocumentType
Definition: libmwaw_internal.hxx:178
void reset()
writes the current file and reset to zero
Definition: MWAWDebug.hxx:85
This class contents the main functions needed to create a spreadsheet processing Document.
Definition: MWAWSpreadsheetListener.hxx:66
Internal: the subdocument of a ClarisWksSSParser.
Definition: ClarisWksSSParser.cxx:83
void setAsciiName(char const *name)
Debugging: change the default ascii file.
Definition: MWAWParser.hxx:227
bool checkHeader(MWAWHeader *header, bool strict=false)
checks if the document header is correct (or not)
Definition: ClarisWksSSParser.cxx:175
void parse(librevenge::RVNGSpreadsheetInterface *documentInterface)
virtual function used to parse the input
Definition: ClarisWksSSParser.cxx:187
Class to define the position of an object (textbox, picture, ..) in the document.
Definition: MWAWPosition.hxx:48
Definition: libmwaw_internal.hxx:142
MWAWPageSpan const & getPageSpan() const
returns the actual page dimension
Definition: MWAWParser.hxx:160
int m_numPages
the number of page of the final document
Definition: ClarisWksSSParser.cxx:77
void sendFootnote(int zoneId)
creates a document to send a footnote
Definition: ClarisWksSSParser.cxx:167
virtual bool operator==(MWAWSubDocument const &doc) const
operator!==
Definition: ClarisWksSSParser.cxx:102
MWAWParserStatePtr getParserState()
returns the parser state
Definition: MWAWParser.hxx:113
void setSpreadsheetListener(MWAWSpreadsheetListenerPtr &listener)
sets the spreadsheet listener
Definition: MWAWParser.cxx:135
shared_ptr< MWAWInputStream > MWAWInputStreamPtr
a smart pointer of MWAWInputStream
Definition: libmwaw_internal.hxx:503
virtual bool operator!=(MWAWSubDocument const &doc) const
operator!=
Definition: ClarisWksSSParser.cxx:92
void init()
inits all internal variables
Definition: ClarisWksSSParser.cxx:152
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:226
void(MWAWParser::* SendFootnote)(int zoneId)
callback used to send a footnote
Definition: ClarisWksDocument.hxx:267
State()
constructor
Definition: ClarisWksSSParser.cxx:73
MWAWParser * m_parser
the main zone parser
Definition: MWAWSubDocument.hxx:75
void setStream(MWAWInputStreamPtr ip)
resets the input
Definition: MWAWDebug.hxx:73
shared_ptr< MWAWRSRCParser > MWAWRSRCParserPtr
a smart pointer of MWAWRSRCParser
Definition: libmwaw_internal.hxx:513
Internal: the structures of a ClarisWksSSParser.
Definition: ClarisWksSSParser.cxx:67
ClarisWksSSParser(MWAWInputStreamPtr input, MWAWRSRCParserPtr rsrcParser, MWAWHeader *header)
constructor
Definition: ClarisWksSSParser.cxx:142
the main class to read a AppleWorks/ClarisWorks spreadsheet file
Definition: ClarisWksSSParser.hxx:68
@ FootNote
Definition: libmwaw_internal.hxx:408
virtual ~SubDocument()
destructor
Definition: ClarisWksSSParser.cxx:89
int m_actPage
the actual page
Definition: ClarisWksSSParser.cxx:77
void setMargins(double margin, int wh=libmwaw::LeftBit|libmwaw::RightBit|libmwaw::TopBit|libmwaw::BottomBit)
set all the margins
Definition: MWAWPageSpan.hxx:207
shared_ptr< MWAWSubDocument > MWAWSubDocumentPtr
a smart pointer of MWAWSubDocument
Definition: libmwaw_internal.hxx:517
void parse(MWAWListenerPtr &listener, libmwaw::SubDocumentType type)
the parser function
Definition: ClarisWksSSParser.cxx:116
friend class ClarisWksDocument
Definition: ClarisWksSSParser.hxx:70
shared_ptr< MWAWListener > MWAWListenerPtr
a smart pointer of MWAWListener
Definition: libmwaw_internal.hxx:505
Generated on Wed Jun 17 2020 06:30:09 for libmwaw by
doxygen 1.8.18