Go to the documentation of this file.
34 #ifndef RAG_TIME_5_PARSER
35 # define RAG_TIME_5_PARSER
52 struct DocInfoFieldParser;
176 bool readLongListWithSize(
int dataId,
int fSz, std::vector<
long> &list, std::
string const &zoneName="");
178 bool readPositions(
int posId, std::vector<
long> &listPosition);
State()
constructor
Definition: RagTime5Parser.cxx:242
std::vector< int > m_ids
the data ids
Definition: RagTime5ClusterManager.hxx:205
std::shared_ptr< MWAWTextListener > MWAWTextListenerPtr
a smart pointer of MWAWTextListener
Definition: libmwaw_internal.hxx:565
basic class to store an entry in a file This contained :
Definition: MWAWEntry.hxx:46
bool m_isParsed
a flag to know if the zone is parsed
Definition: RagTime5StructManager.hxx:148
std::shared_ptr< MWAWInputStream > MWAWInputStreamPtr
a smart pointer of MWAWInputStream
Definition: libmwaw_internal.hxx:549
std::shared_ptr< RagTime5Pipeline > m_pipelineParser
the pipeline manager
Definition: RagTime5Parser.hxx:237
virtual class which defines the ancestor of all text zone parser
Definition: MWAWParser.hxx:298
friend class RagTime5StyleManager
Definition: RagTime5Parser.hxx:83
void newPage(int number)
adds a new page
Definition: RagTime5Parser.cxx:396
void setInput(MWAWInputStreamPtr const &input)
reset the current input
Definition: RagTime5StructManager.hxx:96
int m_actPage
the actual page
Definition: RagTime5Parser.cxx:274
bool parseData(MWAWInputStreamPtr &input, long endPos, RagTime5Zone &, int n, libmwaw::DebugStream &f) final
try to parse a data
Definition: RagTime5Parser.cxx:190
@ L_ClusterLink
Definition: RagTime5ClusterManager.hxx:107
RagTime5Parser & m_mainParser
the main parser
Definition: RagTime5Parser.cxx:105
bool readString(RagTime5Zone &zone, std::string &string)
try to read a string zone ( zone with id1=21,id2=23:24)
Definition: RagTime5Parser.cxx:808
std::shared_ptr< RagTime5ClusterManager > getClusterManager()
returns the cluster manager
Definition: RagTime5Parser.cxx:326
void setPageSpan(const int pageSpan)
set the page span ( default 1)
Definition: MWAWPageSpan.hxx:266
std::shared_ptr< RagTime5StyleManager > getStyleManager()
returns the style manager
Definition: RagTime5Parser.cxx:336
bool readClusterRootData(RagTime5ClusterManager::ClusterRoot &cluster)
try to read the main cluster
Definition: RagTime5Parser.cxx:930
#define MWAW_DEBUG_MSG(M)
Definition: libmwaw_internal.hxx:129
void addDelimiter(long pos, char c)
adds a not breaking delimiter in position pos
Definition: MWAWDebug.cxx:73
RagTime5ClusterManager::Cluster::Type getPipelineContainerType(int pipelineId) const
try to return the container's type corresponding to an id
Definition: RagTime5Parser.cxx:388
bool checkHeader(MWAWHeader *header, bool strict=false) final
checks if the document header is correct (or not)
Definition: RagTime5Parser.cxx:2361
void setAsciiFileName(std::string const &name)
defines the ascii name
Definition: RagTime5StructManager.hxx:114
bool readUnicodeStringList(RagTime5ClusterManager::Link const &link, std::map< int, librevenge::RVNGString > &idToStringMap)
try to read a list of unicode string zone
Definition: RagTime5Parser.cxx:864
std::vector< Link > m_conditionFormulaLinks
the conditions formula links
Definition: RagTime5ClusterManager.hxx:269
DocInfoFieldParser(RagTime5Parser &parser)
constructor
Definition: RagTime5Parser.cxx:74
long m_defPosition
the position of the definition in the main zones
Definition: RagTime5StructManager.hxx:128
@ C_FormatStyles
Definition: RagTime5ClusterManager.hxx:230
std::shared_ptr< RagTime5ClusterManager::Cluster > readLayoutCluster(RagTime5Zone &zone, int zoneType)
try to read a layout cluster (via the layout manager)
Definition: RagTime5Parser.cxx:351
Internal: the helper to read doc info parse.
Definition: RagTime5Parser.cxx:72
bool readClusterFieldsData(RagTime5ClusterManager::Cluster &cluster)
try to read the field data
Definition: RagTime5Parser.cxx:1277
@ C_Pipeline
Definition: RagTime5ClusterManager.hxx:224
std::vector< int > getIdList() const
returns the not null list dataId list
Definition: RagTime5Parser.cxx:174
virtual bool parseData(MWAWInputStreamPtr &, long, RagTime5Zone &, int, libmwaw::DebugStream &)
parse a data
Definition: RagTime5StructManager.hxx:405
RagTime5ClusterManager & m_clusterManager
the main zone manager
Definition: RagTime5Parser.cxx:227
Link m_listClusterLink[2]
first the main cluster link, second list of field definition link
Definition: RagTime5ClusterManager.hxx:319
@ C_ClusterC
Definition: RagTime5ClusterManager.hxx:232
the main class to read the spreadsheet part of RagTime 56 file
Definition: RagTime5Spreadsheet.hxx:75
std::string m_kinds[2]
the zone types: normal and packing
Definition: RagTime5StructManager.hxx:130
void createDocument(librevenge::RVNGTextInterface *documentInterface)
creates the listener which will be associated to the document
Definition: RagTime5Parser.cxx:444
This class contents the main functions needed to create a Word processing Document.
Definition: MWAWTextListener.hxx:64
@ T_Unstructured
Definition: RagTime5StructManager.hxx:238
the main class to read a RagTime v5 file
Definition: RagTime5Parser.hxx:73
bool open(std::string const &filename)
opens/creates a file to store a result
Definition: MWAWDebug.cxx:46
@ L_UnicodeList
Definition: RagTime5ClusterManager.hxx:109
std::shared_ptr< RagTime5ClusterManager::Cluster > readSpreadsheetCluster(RagTime5Zone &zone, int zoneType)
try to read a spreadsheet cluster (via the spreadsheet manager)
Definition: RagTime5Parser.cxx:366
libmwaw::DebugFile & ascii()
returns the current ascii file
Definition: RagTime5StructManager.hxx:107
bool readListZone(RagTime5ClusterManager::Link const &link)
try to read a list zone
Definition: RagTime5Parser.cxx:1608
bool m_regroupFields
a flag use to decide if we output one debug message by field or not
Definition: RagTime5StructManager.hxx:375
a field of RagTime 5/6 structures
Definition: RagTime5StructManager.hxx:235
int version() const
returns the works version
Definition: MWAWParser.hxx:108
std::string getClusterName(int id)
returns "data"+id+"A" ( followed by the cluster type and name if know)
Definition: RagTime5ClusterManager.cxx:223
int m_listClusterId
the cluster list id
Definition: RagTime5ClusterManager.hxx:315
std::map< int, std::vector< int > > m_pageZonesIdMap
a map: page->main zone id
Definition: RagTime5Parser.cxx:269
@ C_ChartZone
Definition: RagTime5ClusterManager.hxx:228
long m_fileType[2]
the zone type in file
Definition: RagTime5ClusterManager.hxx:211
std::set< int > m_sendZoneSet
a set used to avoid looping when sending zone
Definition: RagTime5Parser.cxx:271
MWAWEntry m_entry
the zone entry
Definition: RagTime5StructManager.hxx:132
virtual std::string getZoneName() const
return the debug name corresponding to a zone
Definition: RagTime5StructManager.hxx:393
the main class to read the text part of RagTime 56 file
Definition: RagTime5Layout.hxx:72
bool readLongListWithSize(int dataId, int fSz, std::vector< long > &list, std::string const &zoneName="")
try to read a int/long zone data
Definition: RagTime5Parser.cxx:873
friend class RagTime5Graph
Definition: RagTime5Parser.hxx:76
std::string getClusterName(int id) const
return the cluster name
Definition: RagTime5Parser.cxx:184
virtual class use to parse the unstructured data
Definition: RagTime5StructManager.hxx:384
std::shared_ptr< RagTime5ClusterManager::Cluster > readPictureCluster(RagTime5Zone &zone, int zoneType)
try to read a picture cluster (via the graphic manager)
Definition: RagTime5Parser.cxx:361
@ L_UnknownClusterC
Definition: RagTime5ClusterManager.hxx:111
DataParser(std::string const &zoneName)
constructor
Definition: RagTime5StructManager.hxx:386
MWAWTextListenerPtr & getTextListener()
returns the text listener
Definition: MWAWParser.hxx:145
bool readFixedSizeZone(RagTime5ClusterManager::Link const &link, std::string const &name)
try to read a fixed size zone
Definition: RagTime5Parser.cxx:1681
bool readUnicodeString(RagTime5Zone &zone, std::string const &what="")
try to read a unicode string zone
Definition: RagTime5Parser.cxx:838
void addNote(char const *note)
adds a note in the file, in actual position
Definition: MWAWDebug.cxx:59
bool unpackZone(RagTime5Zone &zone, MWAWEntry const &entry, std::vector< unsigned char > &data)
try to unpack a zone
Definition: RagTime5Parser.cxx:1985
std::shared_ptr< RagTime5ClusterManager::Cluster > readChartCluster(RagTime5Zone &zone, int zoneType)
try to read a chart cluster (via the spreadsheet manager)
Definition: RagTime5Parser.cxx:341
ClustListParser(RagTime5ClusterManager &clusterManager, int fieldSize, std::string const &zoneName)
constructor
Definition: RagTime5Parser.cxx:159
int m_level
the zone level
Definition: RagTime5StructManager.hxx:124
@ T_FieldList
Definition: RagTime5StructManager.hxx:237
@ C_PictureZone
Definition: RagTime5ClusterManager.hxx:228
Link m_scriptComment
the script comment zone
Definition: RagTime5ClusterManager.hxx:340
bool readClusterLinkList(RagTime5Zone &zone, RagTime5ClusterManager::Link const &link, std::vector< RagTime5StructManager::ZoneLink > &listLinks)
try to read a cluster link zone
Definition: RagTime5Parser.cxx:1200
std::shared_ptr< RagTime5Zone > getDataZone(int dataId) const
returns the zone corresponding to a data id (or 0)
Definition: RagTime5Parser.cxx:376
Internal: the structures of a RagTime5Parser.
Definition: RagTime5Parser.cxx:69
basic parser to read image/main graphic position properties
Definition: RagTime5StructManager.hxx:418
~DocInfoFieldParser() final
destructor
Definition: RagTime5Parser.cxx:108
@ C_ColorPattern
Definition: RagTime5ClusterManager.hxx:224
libmwaw::DebugFile & ascii()
a DebugFile used to write what we recognize when we parse the document
Definition: MWAWParser.hxx:195
basic class used to manage RagTime 5/6 zones
Definition: RagTime5ClusterManager.hxx:58
std::map< int, std::shared_ptr< RagTime5Zone > > m_childIdToZoneMap
the child zones
Definition: RagTime5StructManager.hxx:144
@ C_TextStyles
Definition: RagTime5ClusterManager.hxx:230
bool send(int zoneId, MWAWListenerPtr listener, MWAWPosition const &pos, int partId=0, int part2Id=0)
try to send a cluster zone (mainly unimplemented)
Definition: RagTime5Parser.cxx:2448
basic class used to read/store RagTime 5/6 styles
Definition: RagTime5StyleManager.hxx:60
bool checkClusterList(std::vector< RagTime5StructManager::ZoneLink > const &list)
check a cluster list
Definition: RagTime5Parser.cxx:1093
int m_dataId
the data id (or 0)
Definition: RagTime5StructManager.hxx:332
@ L_LongList
Definition: RagTime5ClusterManager.hxx:109
virtual class use to parse the field data
Definition: RagTime5StructManager.hxx:341
int m_N
the number of data ( or some flag if m_N & 0x8020)
Definition: RagTime5ClusterManager.hxx:207
the main class to read the graphic part of RagTime 56 file
Definition: RagTime5Graph.hxx:79
void reset()
writes the current file and reset to zero
Definition: MWAWDebug.hxx:93
std::shared_ptr< RagTime5StructManager > getStructManager()
returns the structure manager
Definition: RagTime5Parser.cxx:331
MWAWListenerPtr getMainListener()
returns the main listener
Definition: MWAWParser.cxx:120
std::string getZoneName() const
returns the zone name
Definition: RagTime5ClusterManager.hxx:135
void setTextListener(MWAWTextListenerPtr &listener)
sets the text listener
Definition: MWAWParser.cxx:158
long m_fileType
the file type
Definition: RagTime5StructManager.hxx:269
bool readLongList(RagTime5ClusterManager::Link const &link, std::vector< long > &list)
try to read/get the list of long of a L_LongList
Definition: RagTime5Parser.cxx:913
void setAsciiName(char const *name)
Debugging: change the default ascii file.
Definition: MWAWParser.hxx:227
void skipZone(long beginPos, long endPos)
skips the file zone defined by beginPos-endPos
Definition: MWAWDebug.hxx:113
bool readClusterScriptData(RagTime5ClusterManager::ClusterScript &cluster)
try to read the script data
Definition: RagTime5Parser.cxx:1518
bool empty() const
returns true if all link are empty
Definition: RagTime5ClusterManager.hxx:126
long m_longValue[2]
the long value
Definition: RagTime5StructManager.hxx:273
const MWAWPageSpan & getPageSpan() const
returns the actual page dimension
Definition: MWAWParser.hxx:160
int m_headerHeight
the header height if known
Definition: RagTime5Parser.cxx:276
Link m_listUnicodeLink
a link to a list of unknown index+unicode string
Definition: RagTime5ClusterManager.hxx:313
~ClustListParser() final
destructor
Definition: RagTime5Parser.cxx:234
std::shared_ptr< RagTime5Chart > m_chartParser
the chart manager
Definition: RagTime5Parser.hxx:231
virtual bool parseField(Field &field, RagTime5Zone &, int, libmwaw::DebugStream &f)
parse a field
Definition: RagTime5StructManager.hxx:369
Link m_linkUnknown
other link: scripts and field 6
Definition: RagTime5ClusterManager.hxx:322
std::string getKindLastPart(bool main=true) const
returns the main type
Definition: RagTime5StructManager.hxx:80
Class to define the position of an object (textbox, picture, ..) in the document.
Definition: MWAWPosition.hxx:47
@ T_Long
Definition: RagTime5StructManager.hxx:237
@ C_GraphicZone
Definition: RagTime5ClusterManager.hxx:228
bool createZones()
finds the different objects zones
Definition: RagTime5Parser.cxx:479
std::string m_extra
extra data
Definition: RagTime5StructManager.hxx:150
void setBegin(long off)
sets the begin offset
Definition: MWAWEntry.hxx:66
bool m_hiLoEndian
the cluster hiLo endian
Definition: RagTime5ClusterManager.hxx:259
std::map< int, std::shared_ptr< RagTime5Zone > > m_dataIdZoneMap
a map: data id->entry (datafork)
Definition: RagTime5Parser.cxx:267
main zone in a RagTime v5-v6 document
Definition: RagTime5StructManager.hxx:48
const std::string & asciiName() const
return the ascii file name
Definition: MWAWParser.hxx:232
@ C_TextZone
Definition: RagTime5ClusterManager.hxx:228
void setVersion(int vers)
sets the document's version
Definition: MWAWParser.hxx:206
int m_styleClusterIds[8]
the list of style cluster ( graph, units, unitsbis, text, format, unknown, graphcolor,...
Definition: RagTime5ClusterManager.hxx:302
std::shared_ptr< MWAWRSRCParser > MWAWRSRCParserPtr
a smart pointer of MWAWRSRCParser
Definition: libmwaw_internal.hxx:559
long length() const
returns the length of the zone
Definition: MWAWEntry.hxx:92
bool readPositions(int posId, std::vector< long > &listPosition)
try to read a positions zone in data
Definition: RagTime5Parser.cxx:922
std::string getZoneName() const
returns the zone name
Definition: RagTime5StructManager.cxx:1648
std::shared_ptr< RagTime5StructManager > m_structManager
the structure manager
Definition: RagTime5Parser.hxx:246
@ PageBreak
Definition: MWAWListener.hxx:58
@ L_FieldsList
Definition: RagTime5ClusterManager.hxx:110
std::shared_ptr< RagTime5ParserInternal::State > m_state
the state
Definition: RagTime5Parser.hxx:229
void setStream(MWAWInputStreamPtr const &ip)
resets the input
Definition: MWAWDebug.hxx:81
IndexUnicodeParser(RagTime5Parser &, bool readIndex, std::string const &zoneName)
constructor
Definition: RagTime5Parser.cxx:115
int m_numPages
the number of page of the final document
Definition: RagTime5Parser.cxx:274
MWAWInputStreamPtr getInput()
returns the current input
Definition: RagTime5StructManager.hxx:91
static bool readUnicodeString(MWAWInputStreamPtr input, long endPos, librevenge::RVNGString &string)
try to read a unicode string
Definition: RagTime5StructManager.cxx:240
virtual std::string getZoneName() const
return the debug name corresponding to a zone
Definition: RagTime5StructManager.hxx:351
FieldParser(std::string const &zoneName)
constructor
Definition: RagTime5StructManager.hxx:343
Definition: libmwaw_internal.hxx:143
@ C_GraphicStyles
Definition: RagTime5ClusterManager.hxx:230
std::vector< MWAWEntry > m_entriesList
the list of original entries
Definition: RagTime5StructManager.hxx:142
long begin() const
returns the begin offset
Definition: MWAWEntry.hxx:82
void setLength(long l)
sets the zone size
Definition: MWAWEntry.hxx:71
std::shared_ptr< RagTime5StyleManager > m_styleManager
the style manager
Definition: RagTime5Parser.hxx:248
friend class RagTime5Layout
Definition: RagTime5Parser.hxx:77
std::vector< long > m_longList
a list of long used to store decal
Definition: RagTime5ClusterManager.hxx:213
int m_footerHeight
the footer height if known
Definition: RagTime5Parser.cxx:277
@ C_ColorStyles
Definition: RagTime5ClusterManager.hxx:230
std::vector< std::shared_ptr< RagTime5Zone > > m_zonesList
the zone list
Definition: RagTime5Parser.cxx:261
Link m_graphicTypeLink
the graphic type id
Definition: RagTime5ClusterManager.hxx:308
the main class to read the text part of RagTime 56 file
Definition: RagTime5Pipeline.hxx:72
the main class to read the text part of RagTime 56 file
Definition: RagTime5Text.hxx:75
void init()
inits all internal variables
Definition: RagTime5Parser.cxx:305
std::vector< Link > m_linksList
the link list
Definition: RagTime5ClusterManager.hxx:273
Internal: the state of a RagTime5Parser.
Definition: RagTime5Parser.cxx:240
Type
the cluster type
Definition: RagTime5ClusterManager.hxx:223
MWAWParserStatePtr getParserState()
returns the parser state
Definition: MWAWParser.hxx:113
bool readZoneInfo()
try to read the main zone info zone and the main cluster(and child)
Definition: RagTime5Parser.cxx:619
std::shared_ptr< RagTime5ClusterManager::Cluster > readGraphicCluster(RagTime5Zone &zone, int zoneType)
try to read a graphic cluster (via the graphic manager)
Definition: RagTime5Parser.cxx:346
Link m_dataLink
the main data link
Definition: RagTime5ClusterManager.hxx:263
long end() const
returns the end offset
Definition: MWAWEntry.hxx:87
~IndexUnicodeParser() final
destructor
Definition: RagTime5Parser.cxx:152
@ C_Script
Definition: RagTime5ClusterManager.hxx:225
bool m_readIndex
a flag to know if we need to read the index
Definition: RagTime5Parser.cxx:147
std::shared_ptr< RagTime5Text > m_textParser
the text manager
Definition: RagTime5Parser.hxx:241
bool readZoneData(RagTime5Zone &zone)
try to read the zone data
Definition: RagTime5Parser.cxx:700
@ L_List
Definition: RagTime5ClusterManager.hxx:110
the cluster for root
Definition: RagTime5ClusterManager.hxx:284
RagTime5Parser(MWAWInputStreamPtr const &input, MWAWRSRCParserPtr const &rsrcParser, MWAWHeader *header)
constructor
Definition: RagTime5Parser.cxx:286
RagTime5ClusterManager::Cluster::Type getClusterType(int zId) const
returns the cluster type corresponding to zone id or C_Unknown (if the zone is not a cluster or was n...
Definition: RagTime5Parser.cxx:383
Link m_docInfoLink
the doc info link
Definition: RagTime5ClusterManager.hxx:311
bool readScriptComment(RagTime5Zone &zone)
try to read a script comment zone
Definition: RagTime5Parser.cxx:1441
int m_zoneId
the zone id
Definition: RagTime5ClusterManager.hxx:257
std::shared_ptr< RagTime5Spreadsheet > m_spreadsheetParser
the spreadsheet manager
Definition: RagTime5Parser.hxx:239
MWAWInputStreamPtr & getInput()
returns the actual input
Definition: MWAWParser.hxx:123
std::map< int, librevenge::RVNGString > m_idToNameMap
the name
Definition: RagTime5Parser.cxx:224
void addErrorInDebugFile(std::string const &zoneName)
mark a zone as bad
Definition: RagTime5StructManager.cxx:1668
int m_fieldSize
the field size
Definition: RagTime5Parser.cxx:220
friend class RagTime5Text
Definition: RagTime5Parser.hxx:80
@ C_ClusterGProp
Definition: RagTime5ClusterManager.hxx:225
std::shared_ptr< RagTime5Layout > m_layoutParser
the layout manager
Definition: RagTime5Parser.hxx:235
std::shared_ptr< RagTime5ClusterManager > m_clusterManager
the cluster manager
Definition: RagTime5Parser.hxx:244
@ C_SpreadsheetZone
Definition: RagTime5ClusterManager.hxx:228
@ C_Fields
Definition: RagTime5ClusterManager.hxx:224
void addPos(long pos)
adds a new position in the file
Definition: MWAWDebug.cxx:53
bool readStructData(RagTime5Zone &zone, long endPos, int n, int headerSz, RagTime5StructManager::FieldParser &parser, librevenge::RVNGString const &dataName)
try to read a data in a structured zone
Definition: RagTime5Parser.cxx:1841
bool sendZones()
try to send the different zones
Definition: RagTime5Parser.cxx:2432
bool valid() const
returns true if the zone length is positive
Definition: MWAWEntry.hxx:98
basic class used to store RagTime 5/6 structures
Definition: RagTime5StructManager.hxx:170
int m_ids[3]
the zone id
Definition: RagTime5StructManager.hxx:138
@ C_Empty
Definition: RagTime5ClusterManager.hxx:234
Link m_nameLink
the name link
Definition: RagTime5ClusterManager.hxx:265
std::shared_ptr< RagTime5Zone > m_zoneInfo
the zone info zone (ie. the first zone)
Definition: RagTime5Parser.cxx:265
bool parseField(RagTime5StructManager::Field &field, RagTime5Zone &zone, int, libmwaw::DebugStream &f) final
parse a field
Definition: RagTime5Parser.cxx:82
a link to a small zone (or set of zones) in RagTime 5/6 documents
Definition: RagTime5ClusterManager.hxx:105
std::shared_ptr< RagTime5Graph > m_graphParser
the graph manager
Definition: RagTime5Parser.hxx:233
std::map< int, librevenge::RVNGString > m_idToStringMap
the data
Definition: RagTime5Parser.cxx:149
bool parseData(MWAWInputStreamPtr &input, long endPos, RagTime5Zone &, int n, libmwaw::DebugStream &f) final
try to parse a data
Definition: RagTime5Parser.cxx:124
std::vector< RagTime5StructManager::ZoneLink > m_linkList
the list of read cluster
Definition: RagTime5Parser.cxx:222
Internal: the helper to read index + unicode string for a RagTime5Parser.
Definition: RagTime5Parser.cxx:113
~RagTime5Parser() final
destructor
Definition: RagTime5Parser.cxx:301
an interface used to insert comment in a binary file, written in ascii form (if debug_with_files is n...
Definition: MWAWDebug.hxx:65
friend class RagTime5Chart
Definition: RagTime5Parser.hxx:75
ClustListParser & operator=(ClustListParser &orig)
copy operator, not ximplemented
the cluster data
Definition: RagTime5ClusterManager.hxx:221
namespace used to regroup all libwpd functions, enumerations which we have redefined for internal usa...
Definition: libmwaw_internal.cxx:50
Type m_type
the link type
Definition: RagTime5ClusterManager.hxx:201
std::shared_ptr< MWAWListener > MWAWListenerPtr
a smart pointer of MWAWListener
Definition: libmwaw_internal.hxx:551
MWAWEntry m_zonesEntry
the main zone entry
Definition: RagTime5Parser.cxx:259
bool update(RagTime5Zone &zone)
try to update a zone: create a new input if the zone is stored in different positions,...
Definition: RagTime5Parser.cxx:1933
Definition: MWAWDocument.hxx:56
void setMargins(double margin, int wh=libmwaw::LeftBit|libmwaw::RightBit|libmwaw::TopBit|libmwaw::BottomBit)
set all the margins
Definition: MWAWPageSpan.hxx:211
friend class RagTime5Spreadsheet
Definition: RagTime5Parser.hxx:79
virtual bool parseHeaderField(Field &field, RagTime5Zone &, int, libmwaw::DebugStream &f)
parse a header field
Definition: RagTime5StructManager.hxx:363
the cluster script ( 2/a/4002/400a zone)
Definition: RagTime5ClusterManager.hxx:329
@ L_Unknown
Definition: RagTime5ClusterManager.hxx:112
bool readUnknownClusterCData(RagTime5ClusterManager::Cluster &cluster)
try to read the unknown clusterC data
Definition: RagTime5Parser.cxx:1574
bool m_hasLayout
a flag to know if the file has some layout
Definition: RagTime5Parser.cxx:273
@ L_LinkDef
Definition: RagTime5ClusterManager.hxx:108
bool readClusterZone(RagTime5Zone &zone, int type=-1)
try to read a cluster zone
Definition: RagTime5Parser.cxx:1108
long m_subZoneId[2]
the sub id zones
Definition: RagTime5StructManager.hxx:334
@ MWAW_T_RAGTIME
RagTime: -Mac v2.1-v3.2: done, -all v5.0-v6.5: incomplete, only try to retrieve the picture/shape/tex...
Definition: MWAWDocument.hxx:144
@ C_UnitStyles
Definition: RagTime5ClusterManager.hxx:230
bool m_hiLoEndian
true if the endian is hilo
Definition: RagTime5StructManager.hxx:136
bool readDocInfoClusterData(RagTime5Zone &zone, MWAWEntry const &entry)
try to read the main doc info cluster data
Definition: RagTime5Parser.cxx:1288
bool readStructZone(RagTime5ClusterManager::Cluster &cluster, RagTime5StructManager::FieldParser &parser, int headerSz)
try to read a structured zone
Definition: RagTime5Parser.cxx:1745
std::shared_ptr< RagTime5ClusterManager::Cluster > readTextCluster(RagTime5Zone &zone, int zoneType)
try to read a text cluster (via the text manager)
Definition: RagTime5Parser.cxx:371
@ C_Layout
Definition: RagTime5ClusterManager.hxx:224
int m_clusterIds[1]
other cluster id (unknown cluster b, )
Definition: RagTime5ClusterManager.hxx:305
a zone link in RagTime 5/6 structures
Definition: RagTime5StructManager.hxx:296
static bool readDataIdList(MWAWInputStreamPtr input, int n, std::vector< int > &listIds)
try to read n data id
Definition: RagTime5StructManager.cxx:269
std::stringstream DebugStream
a basic stream (if debug_with_files is not defined, does nothing)
Definition: MWAWDebug.hxx:61
std::shared_ptr< RagTime5ClusterManager::Cluster > readPipelineCluster(RagTime5Zone &zone, int zoneType)
try to read a pipeline cluster (via the pipeline manager)
Definition: RagTime5Parser.cxx:356
Type m_type
the field type
Definition: RagTime5StructManager.hxx:267
Link m_fieldClusterLink
the field cluster links (def and pos)
Definition: RagTime5ClusterManager.hxx:267
void flushExtra()
flush unsent zone (debugging function)
Definition: RagTime5Parser.cxx:2477
friend class RagTime5Pipeline
Definition: RagTime5Parser.hxx:78
Internal: the helper to read a clustList.
Definition: RagTime5Parser.cxx:157
A class which defines the page properties.
Definition: MWAWPageSpan.hxx:97
bool readDocumentVersion(RagTime5Zone &zone)
try to read the document version zone
Definition: RagTime5Parser.cxx:2128
bool findDataZones(MWAWEntry const &entry)
try to create the main data zones list
Definition: RagTime5Parser.cxx:2180
void resetTextListener()
resets the listener
Definition: MWAWParser.cxx:163
@ C_Root
Definition: RagTime5ClusterManager.hxx:225
std::string m_name
the link name
Definition: RagTime5ClusterManager.hxx:203
the main class to read the chart part of RagTime 56 file
Definition: RagTime5Chart.hxx:73
void parse(librevenge::RVNGTextInterface *documentInterface) final
virtual function used to parse the input
Definition: RagTime5Parser.cxx:412
@ C_Unknown
Definition: RagTime5ClusterManager.hxx:234
std::vector< Link > m_settingLinks
the settings links
Definition: RagTime5ClusterManager.hxx:271
bool readClusterGProp(RagTime5ClusterManager::Cluster &cluster)
try to read the cluster with contains main graphic object properties
Definition: RagTime5Parser.cxx:1549
int m_fieldSize
the field size
Definition: RagTime5ClusterManager.hxx:209
internal class used to create a RVNGInputStream from a unsigned char's pointer
Definition: MWAWStringStream.hxx:36
friend class RagTime5ClusterManager
Definition: RagTime5Parser.hxx:81
std::map< int, std::string > m_idToTypeMap
a map id to type string
Definition: RagTime5Parser.cxx:263
friend class RagTime5ParserInternal::SubDocument
Definition: RagTime5Parser.hxx:84
Generated on Sat Mar 21 2020 12:28:17 for libmwaw by
doxygen 1.8.17