38 #ifndef CLARIS_WKS_DOCUMENT 39 # define CLARIS_WKS_DOCUMENT 87 bool checkHeader(
MWAWHeader *header,
bool strict=
false);
97 librevenge::RVNGPropertyList
const &getDocumentMetaData()
const;
99 double getTextHeight()
const;
103 void updatePageSpanList(std::vector<MWAWPageSpan> &spanList);
105 void updatePageSpanList(std::vector<MWAWPageSpan> &spanList,
MWAWPageSpan &master);
110 std::shared_ptr<ClarisWksStruct::DSET> getZone(
int zId)
const;
112 void updateChildPositions();
114 void newPage(
int page,
bool softBreak=
false);
116 std::vector<int>
const &getMainZonesList()
const;
118 void forceParsed(
int zoneId);
120 bool canSendZoneAsGraphic(
int number)
const;
126 void sendFootnote(
int zoneId);
136 return m_styleManager;
141 return m_databaseParser;
146 return m_graphParser;
151 return m_presentationParser;
156 return m_spreadsheetParser;
161 return m_tableParser;
172 bool readDocHeader();
176 bool readPrintInfo();
181 bool readEndTable(
long &eof);
187 bool readMARKList(
MWAWEntry const &entry);
189 bool readURL(
long endPos);
191 bool readBookmark(
long endPos);
193 bool readDocumentMark(
long endPos);
195 bool readEndMark(
long endPos);
198 bool readDSUM(
MWAWEntry const &entry,
bool inHeader);
211 std::shared_ptr<ClarisWksStruct::DSET> readDSET(
bool &complete);
213 void typeMainZones();
217 bool exploreZonesGraph();
219 bool exploreZonesGraphRec(
int zId, std::set<int> ¬DoneList);
221 void cleanZonesGraph();
224 bool readStructCellZone(
char const *zoneName,
bool hasEntete, std::vector<MWAWVec2i> &res);
226 bool readStringList(
char const *zoneName,
bool hasEntete, std::vector<std::string> &res);
228 bool readDataLinkList();
233 void checkOrdering(std::vector<int16_t> &vec16, std::vector<int32_t> &vec32)
const;
239 std::shared_ptr<ClarisWksDocumentInternal::State>
m_state;
268 typedef void (
MWAWParser::* NewPage)(
int page,
bool softBreak);
the main class to read the text part of Claris Works file
Definition: ClarisWksSpreadsheet.hxx:70
std::shared_ptr< ClarisWksGraph > getGraphParser()
returns the graph parser
Definition: ClarisWksDocument.hxx:144
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
std::shared_ptr< ClarisWksPresentation > m_presentationParser
the spreadsheet 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
std::shared_ptr< ClarisWksTable > m_tableParser
the table parser
Definition: ClarisWksDocument.hxx:259
A class which defines the page properties.
Definition: MWAWPageSpan.hxx:98
std::shared_ptr< MWAWListener > MWAWListenerPtr
a smart pointer of MWAWListener
Definition: libmwaw_internal.hxx:553
std::shared_ptr< ClarisWksDocumentInternal::State > m_state
the state
Definition: ClarisWksDocument.hxx:239
std::shared_ptr< ClarisWksStyleManager > m_styleManager
the style manager
Definition: ClarisWksDocument.hxx:248
std::shared_ptr< MWAWParserState > m_parserState
the parser state
Definition: ClarisWksDocument.hxx:242
NewPage m_newPage
the new page callback
Definition: ClarisWksDocument.hxx:273
std::shared_ptr< ClarisWksDatabase > m_databaseParser
the database parser
Definition: ClarisWksDocument.hxx:251
Internal: the subdocument of a ClarisWksDocument.
Definition: ClarisWksDocument.cxx:140
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
the main class to read a bitmap AppleWorks/ClarisWorks file
Definition: ClarisWksBMParser.hxx:65
MWAWParser & getMainParser()
returns the main parser
Definition: ClarisWksDocument.hxx:129
std::shared_ptr< ClarisWksStyleManager > getStyleManager()
returns the style manager
Definition: ClarisWksDocument.hxx:134
main document information used to create a ClarisWorks file
Definition: ClarisWksDocument.hxx:73
std::shared_ptr< ClarisWksText > m_textParser
the text parser
Definition: ClarisWksDocument.hxx:261
MWAWParser * m_parser
the main zone parser
Definition: MWAWSubDocument.hxx:75
the main class to read a Claris Works file
Definition: ClarisWksParser.hxx:67
Internal: the structures of a ClarisWksDocument.
Definition: ClarisWksDocument.cxx:67
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
std::shared_ptr< ClarisWksSpreadsheet > getSpreadsheetParser()
returns the spreadsheet parser
Definition: ClarisWksDocument.hxx:154
Position
the zone position
Definition: ClarisWksStruct.hxx:91
std::shared_ptr< ClarisWksSpreadsheet > m_spreadsheetParser
the spreadsheet parser
Definition: ClarisWksDocument.hxx:257
std::shared_ptr< ClarisWksDatabase > getDatabaseParser()
returns the database parser
Definition: ClarisWksDocument.hxx:139
std::shared_ptr< ClarisWksText > getTextParser()
returns the text parser
Definition: ClarisWksDocument.hxx:164
SendFootnote m_sendFootnote
the send footnote callback
Definition: ClarisWksDocument.hxx:275
MWAWParser * m_parser
the main parser
Definition: ClarisWksDocument.hxx:246
std::shared_ptr< ClarisWksPresentation > getPresentationParser()
returns the presentation parser
Definition: ClarisWksDocument.hxx:149
std::shared_ptr< ClarisWksTable > getTableParser()
returns the table parser
Definition: ClarisWksDocument.hxx:159
virtual class which defines the ancestor of all main zone parser
Definition: MWAWParser.hxx:99
Class to define the position of an object (textbox, picture, ..) in the document. ...
Definition: MWAWPosition.hxx:47
std::shared_ptr< ClarisWksGraph > m_graphParser
the graph parser
Definition: ClarisWksDocument.hxx:253
basic class to store an entry in a file This contained :
Definition: MWAWEntry.hxx:46
MWAWSubDocument & operator=(MWAWSubDocument const &doc)=default
copy operator