34 #ifndef RAG_TIME_5_PARSER 35 # define RAG_TIME_5_PARSER 52 struct DocInfoFieldParser;
85 bool checkHeader(
MWAWHeader *header,
bool strict=
false);
88 void parse(librevenge::RVNGTextInterface *documentInterface);
99 shared_ptr<RagTime5ClusterManager> getClusterManager();
101 shared_ptr<RagTime5StructManager> getStructManager();
104 bool readChartCluster(
RagTime5Zone &zone,
int zoneType);
106 bool readGraphicCluster(
RagTime5Zone &zone,
int zoneType);
108 bool readPictureCluster(
RagTime5Zone &zone,
int zoneType);
110 bool readSpreadsheetCluster(
RagTime5Zone &zone,
int zoneType);
115 void createDocument(librevenge::RVNGTextInterface *documentInterface);
120 void newPage(
int number);
125 bool findDataZones(
MWAWEntry const &entry);
127 shared_ptr<RagTime5Zone> getDataZone(
int dataId)
const;
138 bool readClusterZones();
147 std::vector<int> &list, std::string
const &name=
"");
150 bool readString(
RagTime5Zone &zone, std::string &
string);
154 bool readLongListWithSize(
int dataId,
int fSz, std::vector<long> &list, std::string
const &zoneName=
"");
156 bool readPositions(
int posId, std::vector<long> &listPosition);
186 bool readStructData(
RagTime5Zone &zone,
long endPos,
int n,
int headerSz,
201 bool checkClusterList(std::vector<int>
const &list);
211 shared_ptr<RagTime5ParserInternal::State>
m_state;
shared_ptr< RagTime5Text > m_textParser
the text manager
Definition: RagTime5Parser.hxx:217
shared_ptr< RagTime5Graph > m_graphParser
the graph manager
Definition: RagTime5Parser.hxx:213
void parse(MWAWListenerPtr &listener, libmwaw::SubDocumentType type)
the parser function
Definition: RagTime5Parser.cxx:258
Internal: the helper to read doc info parse.
Definition: RagTime5Parser.cxx:69
the cluster script ( 2/a/4002/400a zone)
Definition: RagTime5ClusterManager.hxx:305
the main class to read the graphic part of RagTime 56 file
Definition: RagTime5Graph.hxx:75
shared_ptr< RagTime5ClusterManager > m_clusterManager
the cluster manager
Definition: RagTime5Parser.hxx:221
virtual class use to parse the field data
Definition: RagTime5StructManager.hxx:268
main zone in a RagTime v5-v6 document
Definition: RagTime5StructManager.hxx:48
the layout cluster ( 4001 zone)
Definition: RagTime5ClusterManager.hxx:252
the cluster for root
Definition: RagTime5ClusterManager.hxx:268
Internal: the structures of a RagTime5Parser.
Definition: RagTime5Parser.cxx:66
Internal: the subdocument of a RagTime5Parser.
Definition: RagTime5Parser.cxx:232
the main class to read the spreadsheet part of RagTime 56 file
Definition: RagTime5Spreadsheet.hxx:73
shared_ptr< MWAWRSRCParser > MWAWRSRCParserPtr
a smart pointer of MWAWRSRCParser
Definition: libmwaw_internal.hxx:449
virtual class use to parse the unstructured data
Definition: RagTime5StructManager.hxx:301
shared_ptr< RagTime5Spreadsheet > m_spreadsheetParser
the spreadsheet manager
Definition: RagTime5Parser.hxx:215
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:284
the main class to read a RagTime v5 file
Definition: RagTime5Parser.hxx:69
the main class to read the text part of RagTime 56 file
Definition: RagTime5Text.hxx:73
shared_ptr< MWAWInputStream > MWAWInputStreamPtr
a smart pointer of MWAWInputStream
Definition: libmwaw_internal.hxx:439
shared_ptr< RagTime5StructManager > m_structManager
the structure manager
Definition: RagTime5Parser.hxx:219
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:158
shared_ptr< RagTime5ParserInternal::State > m_state
the state
Definition: RagTime5Parser.hxx:211
a link to a small zone (or set of zones) in RagTime 5/6 documents
Definition: RagTime5ClusterManager.hxx:100
the cluster data
Definition: RagTime5ClusterManager.hxx:209
bool readStructZone(MWAWParserState &parserState, char const *zoneName, bool hasEntete)
try to read a structured zone with unknown content
Definition: ClarisWksStruct.cxx:129