38 #ifndef CLARIS_WKS_DOCUMENT 39 # define CLARIS_WKS_DOCUMENT 86 bool checkHeader(
MWAWHeader *header,
bool strict=
false);
96 double getTextHeight()
const;
100 void updatePageSpanList(std::vector<MWAWPageSpan> &spanList);
102 void updatePageSpanList(std::vector<MWAWPageSpan> &spanList,
MWAWPageSpan &master);
107 shared_ptr<ClarisWksStruct::DSET> getZone(
int zId)
const;
109 void updateChildPositions();
111 void newPage(
int page,
bool softBreak=
false);
113 std::vector<int>
const &getMainZonesList()
const;
115 void forceParsed(
int zoneId);
117 bool canSendZoneAsGraphic(
int number)
const;
121 void sendFootnote(
int zoneId);
131 return m_styleManager;
136 return m_databaseParser;
141 return m_graphParser;
146 return m_presentationParser;
151 return m_spreadsheetParser;
156 return m_tableParser;
167 bool readDocHeader();
171 bool readPrintInfo();
176 bool readEndTable(
long &eof);
182 bool readMARKList(
MWAWEntry const &entry);
184 bool readURL(
long endPos);
186 bool readBookmark(
long endPos);
188 bool readDocumentMark(
long endPos);
190 bool readEndMark(
long endPos);
193 bool readDSUM(
MWAWEntry const &entry,
bool inHeader);
206 shared_ptr<ClarisWksStruct::DSET> readDSET(
bool &complete);
208 void typeMainZones();
212 bool exploreZonesGraph();
214 bool exploreZonesGraphRec(
int zId, std::set<int> ¬DoneList);
216 void cleanZonesGraph();
219 bool readStructCellZone(
char const *zoneName,
bool hasEntete, std::vector<MWAWVec2i> &res);
221 bool readStringList(
char const *zoneName,
bool hasEntete, std::vector<std::string> &res);
226 void checkOrdering(std::vector<int16_t> &vec16, std::vector<int32_t> &vec32)
const;
233 shared_ptr<ClarisWksDocumentInternal::State>
m_state;
262 typedef void (
MWAWParser::* NewPage)(
int page,
bool softBreak);
shared_ptr< MWAWListener > MWAWListenerPtr
a smart pointer of MWAWListener
Definition: libmwaw_internal.hxx:498
the main class to read the text part of Claris Works file
Definition: ClarisWksSpreadsheet.hxx:70
shared_ptr< ClarisWksStyleManager > getStyleManager()
returns the style manager
Definition: ClarisWksDocument.hxx:129
the main class to read a AppleWorks/ClarisWorks spreadsheet file
Definition: ClarisWksSSParser.hxx:67
the main class to read the text part of Claris Works file
Definition: ClarisWksTable.hxx:69
shared_ptr< ClarisWksPresentation > m_presentationParser
the spreadsheet parser
Definition: ClarisWksDocument.hxx:249
shared_ptr< ClarisWksDatabase > m_databaseParser
the database parser
Definition: ClarisWksDocument.hxx:245
shared_ptr< ClarisWksText > m_textParser
the text parser
Definition: ClarisWksDocument.hxx:255
the main class to read the text part of Claris Works file
Definition: ClarisWksDatabase.hxx:71
the main class to read the text part of Claris Works file
Definition: ClarisWksText.hxx:75
A class which defines the page properties.
Definition: MWAWPageSpan.hxx:95
shared_ptr< ClarisWksGraph > getGraphParser()
returns the graph parser
Definition: ClarisWksDocument.hxx:139
shared_ptr< ClarisWksGraph > m_graphParser
the graph parser
Definition: ClarisWksDocument.hxx:247
shared_ptr< MWAWParserState > m_parserState
the parser state
Definition: ClarisWksDocument.hxx:236
NewPage m_newPage
the new page callback
Definition: ClarisWksDocument.hxx:267
shared_ptr< ClarisWksTable > getTableParser()
returns the table parser
Definition: ClarisWksDocument.hxx:154
Internal: the subdocument of a ClarisWksDocument.
Definition: ClarisWksDocument.cxx:116
shared_ptr< ClarisWksSpreadsheet > m_spreadsheetParser
the spreadsheet parser
Definition: ClarisWksDocument.hxx:251
the main class to read the graphic part of Claris Works file
Definition: ClarisWksGraph.hxx:77
a structure to store the style list and the lookup zone
Definition: ClarisWksStyleManager.hxx:60
shared_ptr< ClarisWksTable > m_tableParser
the table parser
Definition: ClarisWksDocument.hxx:253
the main class to read a bitmap AppleWorks/ClarisWorks file
Definition: ClarisWksBMParser.hxx:65
MWAWParser & getMainParser()
returns the main parser
Definition: ClarisWksDocument.hxx:124
shared_ptr< ClarisWksStyleManager > m_styleManager
the style manager
Definition: ClarisWksDocument.hxx:242
main document information used to create a ClarisWorks file
Definition: ClarisWksDocument.hxx:72
MWAWParser * m_parser
the main zone parser
Definition: MWAWSubDocument.hxx:75
MWAWSubDocument & operator=(MWAWSubDocument const &doc)
copy operator
Definition: MWAWSubDocument.cxx:52
shared_ptr< ClarisWksDatabase > getDatabaseParser()
returns the database parser
Definition: ClarisWksDocument.hxx:134
the main class to read a Claris Works file
Definition: ClarisWksParser.hxx:67
shared_ptr< ClarisWksText > getTextParser()
returns the text parser
Definition: ClarisWksDocument.hxx:159
shared_ptr< ClarisWksSpreadsheet > getSpreadsheetParser()
returns the spreadsheet parser
Definition: ClarisWksDocument.hxx:149
Internal: the structures of a ClarisWksDocument.
Definition: ClarisWksDocument.cxx:65
the main class to create presentation Claris Works file
Definition: ClarisWksPRParser.hxx:67
the main class to read the text part of Claris Works file
Definition: ClarisWksPresentation.hxx:70
a class which stores section properties
Definition: MWAWSection.hxx:45
Position
the zone position
Definition: ClarisWksStruct.hxx:62
SendFootnote m_sendFootnote
the send footnote callback
Definition: ClarisWksDocument.hxx:269
shared_ptr< ClarisWksDocumentInternal::State > m_state
the state
Definition: ClarisWksDocument.hxx:233
MWAWParser * m_parser
the main parser
Definition: ClarisWksDocument.hxx:240
virtual class which defines the ancestor of all main zone parser
Definition: MWAWParser.hxx:97
shared_ptr< ClarisWksPresentation > getPresentationParser()
returns the presentation parser
Definition: ClarisWksDocument.hxx:144
Class to define the position of an object (textbox, picture, ..) in the document. ...
Definition: MWAWPosition.hxx:47
basic class to store an entry in a file This contained :
Definition: MWAWEntry.hxx:46