34 #ifndef RAG_TIME_5_PARSER 35 # define RAG_TIME_5_PARSER 52 struct DocInfoFieldParser;
93 bool checkHeader(
MWAWHeader *header,
bool strict=
false);
96 void parse(librevenge::RVNGTextInterface *documentInterface);
107 shared_ptr<RagTime5Zone> getDataZone(
int dataId)
const;
114 shared_ptr<RagTime5ClusterManager> getClusterManager();
116 shared_ptr<RagTime5StructManager> getStructManager();
118 shared_ptr<RagTime5StyleManager> getStyleManager();
121 shared_ptr<RagTime5ClusterManager::Cluster> readChartCluster(
RagTime5Zone &zone,
int zoneType);
123 shared_ptr<RagTime5ClusterManager::Cluster> readGraphicCluster(
RagTime5Zone &zone,
int zoneType);
125 shared_ptr<RagTime5ClusterManager::Cluster> readLayoutCluster(
RagTime5Zone &zone,
int zoneType);
127 shared_ptr<RagTime5ClusterManager::Cluster> readPipelineCluster(
RagTime5Zone &zone,
int zoneType);
129 shared_ptr<RagTime5ClusterManager::Cluster> readPictureCluster(
RagTime5Zone &zone,
int zoneType);
131 shared_ptr<RagTime5ClusterManager::Cluster> readSpreadsheetCluster(
RagTime5Zone &zone,
int zoneType);
133 shared_ptr<RagTime5ClusterManager::Cluster> readTextCluster(
RagTime5Zone &zone,
int zoneType);
136 void createDocument(librevenge::RVNGTextInterface *documentInterface);
143 void newPage(
int number);
148 bool findDataZones(
MWAWEntry const &entry);
165 std::vector<RagTime5StructManager::ZoneLink> &listLinks);
169 std::vector<RagTime5StructManager::ZoneLink> &list, std::string
const &name=
"");
172 bool readString(
RagTime5Zone &zone, std::string &
string);
174 bool readUnicodeString(
RagTime5Zone &zone, std::string
const &what=
"");
176 bool readLongListWithSize(
int dataId,
int fSz, std::vector<long> &list, std::string
const &zoneName=
"");
178 bool readPositions(
int posId, std::vector<long> &listPosition);
204 bool readStructData(
RagTime5Zone &zone,
long endPos,
int n,
int headerSz,
217 bool checkClusterList(std::vector<RagTime5StructManager::ZoneLink>
const &list);
219 bool checkClusterList(std::vector<int>
const &list);
229 shared_ptr<RagTime5ParserInternal::State>
m_state;
shared_ptr< RagTime5Text > m_textParser
the text manager
Definition: RagTime5Parser.hxx:241
shared_ptr< MWAWListener > MWAWListenerPtr
a smart pointer of MWAWListener
Definition: libmwaw_internal.hxx:519
shared_ptr< RagTime5Graph > m_graphParser
the graph manager
Definition: RagTime5Parser.hxx:233
void parse(MWAWListenerPtr &listener, libmwaw::SubDocumentType type)
the parser function
Definition: RagTime5Parser.cxx:291
Internal: the helper to read doc info parse.
Definition: RagTime5Parser.cxx:73
the main class to read the text part of RagTime 56 file
Definition: RagTime5Pipeline.hxx:72
the cluster script ( 2/a/4002/400a zone)
Definition: RagTime5ClusterManager.hxx:307
the main class to read the graphic part of RagTime 56 file
Definition: RagTime5Graph.hxx:79
basic class used to read/store RagTime 5/6 styles
Definition: RagTime5StyleManager.hxx:60
shared_ptr< RagTime5ClusterManager > m_clusterManager
the cluster manager
Definition: RagTime5Parser.hxx:244
virtual class use to parse the field data
Definition: RagTime5StructManager.hxx:308
main zone in a RagTime v5-v6 document
Definition: RagTime5StructManager.hxx:48
the cluster for root
Definition: RagTime5ClusterManager.hxx:269
Internal: the structures of a RagTime5Parser.
Definition: RagTime5Parser.cxx:70
Internal: the subdocument of a RagTime5Parser.
Definition: RagTime5Parser.cxx:265
the main class to read the spreadsheet part of RagTime 56 file
Definition: RagTime5Spreadsheet.hxx:75
shared_ptr< MWAWRSRCParser > MWAWRSRCParserPtr
a smart pointer of MWAWRSRCParser
Definition: libmwaw_internal.hxx:527
virtual class use to parse the unstructured data
Definition: RagTime5StructManager.hxx:347
shared_ptr< RagTime5Spreadsheet > m_spreadsheetParser
the spreadsheet manager
Definition: RagTime5Parser.hxx:239
basic class used to manage RagTime 5/6 zones
Definition: RagTime5ClusterManager.hxx:58
virtual class which defines the ancestor of all text zone parser
Definition: MWAWParser.hxx:295
the main class to read a RagTime v5 file
Definition: RagTime5Parser.hxx:73
the main class to read the text part of RagTime 56 file
Definition: RagTime5Text.hxx:75
shared_ptr< MWAWInputStream > MWAWInputStreamPtr
a smart pointer of MWAWInputStream
Definition: libmwaw_internal.hxx:517
the main class to read the chart part of RagTime 56 file
Definition: RagTime5Chart.hxx:73
shared_ptr< RagTime5Layout > m_layoutParser
the layout manager
Definition: RagTime5Parser.hxx:235
shared_ptr< RagTime5StyleManager > m_styleManager
the style manager
Definition: RagTime5Parser.hxx:248
shared_ptr< RagTime5Chart > m_chartParser
the chart manager
Definition: RagTime5Parser.hxx:231
the main class to read the text part of RagTime 56 file
Definition: RagTime5Layout.hxx:72
Type
the cluster type
Definition: RagTime5ClusterManager.hxx:218
shared_ptr< RagTime5StructManager > m_structManager
the structure manager
Definition: RagTime5Parser.hxx:246
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
basic class used to store RagTime 5/6 structures
Definition: RagTime5StructManager.hxx:156
shared_ptr< RagTime5Pipeline > m_pipelineParser
the pipeline manager
Definition: RagTime5Parser.hxx:237
shared_ptr< RagTime5ParserInternal::State > m_state
the state
Definition: RagTime5Parser.hxx:229
a link to a small zone (or set of zones) in RagTime 5/6 documents
Definition: RagTime5ClusterManager.hxx:105
the cluster data
Definition: RagTime5ClusterManager.hxx:216
bool readStructZone(MWAWParserState &parserState, char const *zoneName, bool hasEntete)
try to read a structured zone with unknown content
Definition: ClarisWksStruct.cxx:129