Go to the documentation of this file.
38 #ifndef RAGTIME5_CHART
39 # define RAGTIME5_CHART
45 #include <librevenge/librevenge.h>
132 shared_ptr<RagTime5ChartInternal::State>
m_state;
Type m_type
the field type
Definition: RagTime5Chart.cxx:572
bool parseData(MWAWInputStreamPtr &input, long endPos, RagTime5Zone &, int, libmwaw::DebugStream &f)
try to parse a data
Definition: RagTime5Chart.cxx:205
std::vector< int > m_clusterList
the list of read cluster
Definition: RagTime5Chart.cxx:180
std::string getName() const
return the zone type name
Definition: RagTime5Chart.cxx:482
int numPages() const
returns the number of pages
Definition: RagTime5Chart.cxx:404
bool parseData(MWAWInputStreamPtr &input, long endPos, RagTime5Zone &, int, libmwaw::DebugStream &f)
try to parse a data
Definition: RagTime5Chart.cxx:324
@ Values2
Definition: RagTime5Chart.cxx:471
@ DZones3
Definition: RagTime5Chart.cxx:472
the setting zone
Definition: RagTime5Chart.cxx:61
shared_ptr< Chart > m_chart
the chart
Definition: RagTime5Chart.cxx:1943
#define MWAW_DEBUG_MSG(M)
Definition: libmwaw_internal.hxx:127
bool parseHeaderZone(MWAWInputStreamPtr &input, long fSz, int N, int flag, libmwaw::DebugStream &f)
parse the header zone
Definition: RagTime5Chart.cxx:1789
~DoubleParser()
destructor
Definition: RagTime5Chart.cxx:231
MWAWVec2< float > MWAWVec2f
MWAWVec2 of float.
Definition: libmwaw_internal.hxx:785
RagTime5ClusterManager::Link m_listLinkId[3]
three list of long: first zone of type?, second list pos to id?, third list of flag the data zone are...
Definition: RagTime5Chart.cxx:82
@ Value
Definition: RagTime5Chart.cxx:471
bool readUnicodeStringList(RagTime5ClusterManager::Link const &link, std::map< int, librevenge::RVNGString > &idToStringMap)
try to read a list of unicode string zone
Definition: RagTime5Parser.cxx:896
@ DZoneF226
Definition: RagTime5Chart.cxx:473
@ DZone1
Definition: RagTime5Chart.cxx:472
ChartCParser(RagTime5ClusterManager &parser, int type, libmwaw::DebugFile &ascii)
constructor
Definition: RagTime5Chart.cxx:577
Cluster(Type type)
constructor
Definition: RagTime5ClusterManager.hxx:232
the unknown third chart zone
Definition: RagTime5Chart.cxx:74
@ DZoneF12
Definition: RagTime5Chart.cxx:473
Link m_link
the actual link
Definition: RagTime5ClusterManager.hxx:398
@ T_Unstructured
Definition: RagTime5StructManager.hxx:221
@ Series
Definition: RagTime5Chart.cxx:471
the main class to read a RagTime v5 file
Definition: RagTime5Parser.hxx:74
@ Serie
Definition: RagTime5Chart.cxx:471
libmwaw::DebugFile & ascii()
returns the current ascii file
Definition: RagTime5StructManager.hxx:93
bool readListZone(RagTime5ClusterManager::Link const &link)
try to read a list zone
Definition: RagTime5Parser.cxx:1653
a field of RagTime 5/6 structures
Definition: RagTime5StructManager.hxx:218
@ DZone8
Definition: RagTime5Chart.cxx:472
bool readLinkHeader(MWAWInputStreamPtr &input, long fSz, Link &link, long(&values)[4], std::string &message)
try to read a link header
Definition: RagTime5ClusterManager.cxx:547
RagTime5ClusterManager::Link m_listLinkId[3]
three list of long: first zone of type?, second list pos to id?, third list of sub zones the data zon...
Definition: RagTime5Chart.cxx:94
ChartCParser(ChartCParser const &orig)
copy constructor (not implemented)
std::string getClusterName(int id)
returns "data"+id+"A" ( followed by the cluster type and name if know)
Definition: RagTime5ClusterManager.cxx:215
UnknownZone3 m_zone10
the unknown zone10
Definition: RagTime5Chart.cxx:110
RagTime5Parser & m_mainParser
the parser
Definition: RagTime5Chart.hxx:122
void insertZoneToBeParsed(int id, ZoneType const &type, bool canBeDuplicated=false)
insert a new zone to be parsed
Definition: RagTime5Chart.cxx:601
virtual int getNewZoneToParse()
returns to new zone to parse.
Definition: RagTime5Chart.cxx:625
virtual class use to parse the cluster data
Definition: RagTime5ClusterManager.hxx:325
@ C_ChartZone
Definition: RagTime5ClusterManager.hxx:223
long m_fileType[2]
the zone type in file
Definition: RagTime5ClusterManager.hxx:206
Internal: the structures of a RagTime5Chart.
Definition: RagTime5Chart.cxx:59
void flushExtra()
sends the data which have not yet been sent to the listener
Definition: RagTime5Chart.cxx:427
DoubleParser()
constructor
Definition: RagTime5Chart.cxx:199
shared_ptr< MWAWParserState > MWAWParserStatePtr
a smart pointer of MWAWParserState
Definition: libmwaw_internal.hxx:509
virtual class use to parse the unstructured data
Definition: RagTime5StructManager.hxx:347
ChildTZoneParser()
constructor
Definition: RagTime5Chart.cxx:282
bool checkFatherType(int id, ZoneType::Type type) const
try to check the father type
Definition: RagTime5Chart.cxx:614
DataParser(std::string const &zoneName)
constructor
Definition: RagTime5StructManager.hxx:349
bool readFixedSizeZone(RagTime5ClusterManager::Link const &link, std::string const &name)
try to read a fixed size zone
Definition: RagTime5Parser.cxx:1726
void addNote(char const *note)
adds a note in the file, in actual position
Definition: MWAWDebug.cxx:59
ZoneType m_zoneType
the current zone type
Definition: RagTime5Chart.cxx:1951
Internal: the helper to read a ZoneUnknown1's cell ZoneUnknown1.
Definition: RagTime5Chart.cxx:316
ClustListParser(RagTime5ClusterManager &clusterManager, int fieldSize, std::string const &zoneName)
constructor
Definition: RagTime5Chart.cxx:119
Internal: the helper to read child text box value(title+label)
Definition: RagTime5Chart.cxx:280
@ T_FieldList
Definition: RagTime5StructManager.hxx:220
@ DZones10
Definition: RagTime5Chart.cxx:472
Internal: the helper to read a clustList.
Definition: RagTime5Chart.cxx:117
@ UnknZone2
Definition: RagTime5Chart.cxx:474
libmwaw::DebugFile & m_asciiFile
the ascii file
Definition: RagTime5Chart.cxx:1957
SettingZone()
constructor
Definition: RagTime5Chart.cxx:63
ZoneType()
constructor
Definition: RagTime5Chart.cxx:478
basic class used to manage RagTime 5/6 zones
Definition: RagTime5ClusterManager.hxx:59
friend class RagTime5ChartInternal::SubDocument
Definition: RagTime5Chart.hxx:75
basic class used to read/store RagTime 5/6 styles
Definition: RagTime5StyleManager.hxx:61
virtual ~RagTime5Chart()
destructor
Definition: RagTime5Chart.cxx:396
bool checkClusterList(std::vector< RagTime5StructManager::ZoneLink > const &list)
check a cluster list
Definition: RagTime5Parser.cxx:1131
shared_ptr< ClusterChart > m_cluster
the current cluster
Definition: RagTime5Chart.cxx:1941
ZoneUnknown1Parser()
constructor
Definition: RagTime5Chart.cxx:318
int m_id
the field local id
Definition: RagTime5Chart.cxx:574
virtual class use to parse the field data
Definition: RagTime5StructManager.hxx:308
int m_N
the number of data ( or some flag if m_N & 0x8020)
Definition: RagTime5ClusterManager.hxx:202
structure to store chart information in RagTime5ChartInternal
Definition: RagTime5Chart.cxx:98
virtual ~ClustListParser()
destructor
Definition: RagTime5Chart.cxx:192
int m_what
a index to know which field is parsed : 0: main, 1: common data, 2: list, 3: sub zone position,...
Definition: RagTime5Chart.cxx:1945
long m_fileType
the file type
Definition: RagTime5StructManager.hxx:239
bool parseData(MWAWInputStreamPtr &input, long endPos, RagTime5Zone &, int, libmwaw::DebugStream &f)
try to parse a data
Definition: RagTime5Chart.cxx:356
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:945
shared_ptr< RagTime5ClusterManager::Cluster > getCluster()
return the current cluster
Definition: RagTime5Chart.cxx:586
a small structure used to stored a field type
Definition: RagTime5Chart.cxx:468
bool empty() const
returns true if all link are empty
Definition: RagTime5ClusterManager.hxx:121
@ ParentLink
Definition: RagTime5Chart.cxx:471
Type
the different field types
Definition: RagTime5Chart.cxx:470
virtual ~ClusterChart()
destructor
Definition: RagTime5Chart.cxx:459
RagTime5ClusterManager::Link m_listLinkId[3]
three list of long: first zone of type?, second list pos to id?, main data link the 0 and 1 data zone...
Definition: RagTime5Chart.cxx:70
low level: parser of chart cluster
Definition: RagTime5Chart.cxx:466
bool parseZone(MWAWInputStreamPtr &input, long fSz, int N, int flag, libmwaw::DebugStream &f)
parse a zone
Definition: RagTime5Chart.cxx:745
int m_dataId
the actual zone id
Definition: RagTime5ClusterManager.hxx:396
@ T_Long
Definition: RagTime5StructManager.hxx:220
RagTime5ClusterManager::Link m_unknownLink3
unknown link of size 32
Definition: RagTime5Chart.cxx:456
@ Series2
Definition: RagTime5Chart.cxx:471
virtual ~ChildTZoneParser()
destructor
Definition: RagTime5Chart.cxx:311
main zone in a RagTime v5-v6 document
Definition: RagTime5StructManager.hxx:49
shared_ptr< RagTime5ClusterManager::Cluster > readChartCluster(RagTime5Zone &zone, int zoneType)
try to read a chart cluster
Definition: RagTime5Chart.cxx:1971
@ UnknZone1
Definition: RagTime5Chart.cxx:474
std::string m_extra
extra data
Definition: RagTime5StructManager.hxx:263
@ DZone10
Definition: RagTime5Chart.cxx:472
int m_numSeries
the number of series
Definition: RagTime5Chart.cxx:104
Internal: the helper to read a serieType's cell serieType.
Definition: RagTime5Chart.cxx:236
std::map< int, ZoneType > m_fieldIdToZoneTypeMap
the list of id to zone type map
Definition: RagTime5Chart.cxx:1953
int m_numPages
the number of pages
Definition: RagTime5Chart.cxx:382
std::vector< long > m_longList
a list of long used to store decal
Definition: RagTime5ClusterManager.hxx:208
@ Settings
Definition: RagTime5Chart.cxx:471
MWAWBox2< float > MWAWBox2f
MWAWBox2 of float.
Definition: libmwaw_internal.hxx:1134
std::string getClusterName(int id) const
returns a cluster name
Definition: RagTime5Chart.cxx:130
~SerieTypeParser()
destructor
Definition: RagTime5Chart.cxx:275
SettingZone m_settingZone
the setting zone
Definition: RagTime5Chart.cxx:106
@ DZone5
Definition: RagTime5Chart.cxx:472
Internal: the state of a RagTime5Chart.
Definition: RagTime5Chart.cxx:378
RagTime5ClusterManager::Link m_typesLink
list of type link
Definition: RagTime5Chart.cxx:452
State()
constructor
Definition: RagTime5Chart.cxx:380
ZoneType
the different zone type
Definition: FreeHandParser.cxx:65
std::vector< long > m_longList
the list of long value
Definition: RagTime5StructManager.hxx:251
UnknownZone3()
constructor
Definition: RagTime5Chart.cxx:76
std::set< int > m_zoneToParseSet
the list of know zone remaining to be parsed
Definition: RagTime5Chart.cxx:1955
@ Pref
Definition: RagTime5Chart.cxx:471
RagTime5ClusterManager::Link m_parentLink
cluster links list of size 60
Definition: RagTime5Chart.cxx:448
shared_ptr< MWAWInputStream > MWAWInputStreamPtr
a smart pointer of MWAWInputStream
Definition: libmwaw_internal.hxx:503
Link m_dataLink
the main data link
Definition: RagTime5ClusterManager.hxx:248
@ L_List
Definition: RagTime5ClusterManager.hxx:110
shared_ptr< RagTime5StyleManager > m_styleManager
the style manager
Definition: RagTime5Chart.hxx:127
MWAWBox2< int > MWAWBox2i
MWAWBox2 of int.
Definition: libmwaw_internal.hxx:1132
~ZoneUnknown1Parser()
destructor
Definition: RagTime5Chart.cxx:343
bool parseData(MWAWInputStreamPtr &input, long endPos, RagTime5Zone &, int, libmwaw::DebugStream &f)
try to parse a data
Definition: RagTime5Chart.cxx:288
ZoneUnknown3Parser()
constructor
Definition: RagTime5Chart.cxx:350
RagTime5Chart(RagTime5Chart const &orig)
ClusterChart()
constructor
Definition: RagTime5Chart.cxx:441
@ T_LongList
Definition: RagTime5StructManager.hxx:220
RagTime5Chart(RagTime5Parser &parser)
constructor
Definition: RagTime5Chart.cxx:390
~ChartCParser()
destructor
Definition: RagTime5Chart.cxx:1965
UnknownZone10()
constructor
Definition: RagTime5Chart.cxx:88
ChartCParser & operator=(ChartCParser const &orig)
copy operator (not implemented)
void addPos(long pos)
adds a new position in the file
Definition: MWAWDebug.cxx:53
void endZone()
end of a start zone call
Definition: RagTime5Chart.cxx:634
@ Values
Definition: RagTime5Chart.cxx:471
~ZoneUnknown3Parser()
destructor
Definition: RagTime5Chart.cxx:372
Chart()
constructor
Definition: RagTime5Chart.cxx:100
basic class used to store RagTime 5/6 structures
Definition: RagTime5StructManager.hxx:157
@ DZoneF70
Definition: RagTime5Chart.cxx:473
std::vector< RagTime5ClusterManager::Link > m_valuesLink[2]
some content zone: first a double zone, second link to sub text zone data
Definition: RagTime5Chart.cxx:450
a link to a small zone (or set of zones) in RagTime 5/6 documents
Definition: RagTime5ClusterManager.hxx:105
bool parseData(MWAWInputStreamPtr &input, long endPos, RagTime5Zone &, int, libmwaw::DebugStream &f)
try to parse a data
Definition: RagTime5Chart.cxx:244
@ SerieTypes
Definition: RagTime5Chart.cxx:471
@ Unknown
Definition: RagTime5Chart.cxx:475
bool parseData(MWAWInputStreamPtr &input, long endPos, RagTime5Zone &, int, libmwaw::DebugStream &f)
try to parse a data
Definition: RagTime5Chart.cxx:136
int m_fieldSize
the field size
Definition: RagTime5Chart.cxx:183
an interface used to insert comment in a binary file, written in ascii form (if debug_with_files is n...
Definition: MWAWDebug.hxx:66
the cluster data
Definition: RagTime5ClusterManager.hxx:216
RagTime5ClusterManager & m_clusterManager
the main zone manager
Definition: RagTime5Chart.cxx:185
low level: the chart cluster data
Definition: RagTime5Chart.cxx:439
Type m_type
the link type
Definition: RagTime5ClusterManager.hxx:196
bool parseField(RagTime5StructManager::Field const &field, int, libmwaw::DebugStream &f)
parse a field
Definition: RagTime5Chart.cxx:760
int m_type
the cluster type
Definition: RagTime5ClusterManager.hxx:390
@ DZone3
Definition: RagTime5Chart.cxx:472
Internal: the helper to read a double's cell double.
Definition: RagTime5Chart.cxx:197
ClustListParser & operator=(ClustListParser &orig)
copy operator, not implemented
Internal: the helper to read a ZoneUnknown3's cell ZoneUnknown3.
Definition: RagTime5Chart.cxx:348
shared_ptr< RagTime5ClusterManager > getClusterManager()
returns the cluster manager
Definition: RagTime5Parser.cxx:350
std::string m_fieldName
the actual field name
Definition: RagTime5Chart.cxx:1949
MWAWParserStatePtr m_parserState
the parser state
Definition: RagTime5Chart.hxx:129
ClustListParser(ClustListParser &orig)
copy constructor, not implemented
SerieTypeParser()
constructor
Definition: RagTime5Chart.cxx:238
@ Prefs
Definition: RagTime5Chart.cxx:471
bool parseDataZone(MWAWInputStreamPtr &input, long fSz, int N, int flag, libmwaw::DebugStream &f)
parse a data block
Definition: RagTime5Chart.cxx:892
shared_ptr< RagTime5ChartInternal::State > m_state
the state
Definition: RagTime5Chart.hxx:132
bool readStructZone(RagTime5ClusterManager::Cluster &cluster, RagTime5StructManager::FieldParser &parser, int headerSz)
try to read a structured zone
Definition: RagTime5Parser.cxx:1790
shared_ptr< RagTime5StructManager > m_structManager
the structure manager
Definition: RagTime5Chart.hxx:125
RagTime5ClusterManager::Link m_unknownLink1
unknown link of size 6
Definition: RagTime5Chart.cxx:454
shared_ptr< Chart > getChart()
return the chart
Definition: RagTime5Chart.cxx:596
int version() const
returns the file version
Definition: RagTime5Chart.cxx:399
@ Setting
Definition: RagTime5Chart.cxx:471
MWAWVec2< int > MWAWVec2i
MWAWVec2 of int.
Definition: libmwaw_internal.hxx:781
static bool readDataIdList(MWAWInputStreamPtr input, int n, std::vector< int > &listIds)
try to read n data id
Definition: RagTime5StructManager.cxx:269
UnknownZone3 m_zone3
the unknown zone3
Definition: RagTime5Chart.cxx:108
std::stringstream DebugStream
a basic stream (if debug_with_files is not defined, does nothing)
Definition: MWAWDebug.hxx:61
Type m_type
the field type
Definition: RagTime5StructManager.hxx:237
std::vector< Field > m_fieldList
the list of field
Definition: RagTime5StructManager.hxx:259
the unknown ten chart zone
Definition: RagTime5Chart.cxx:86
shared_ptr< ClusterChart > getChartCluster()
return the current cluster
Definition: RagTime5Chart.cxx:591
@ DZone9
Definition: RagTime5Chart.cxx:472
int m_linkId
the link id: 1: value double, 2: value text zone
Definition: RagTime5Chart.cxx:1947
RagTime5Chart & operator=(RagTime5Chart const &orig)
std::string m_name
the link name
Definition: RagTime5ClusterManager.hxx:198
the main class to read the chart part of RagTime 56 file
Definition: RagTime5Chart.hxx:74
ClusterParser(RagTime5ClusterManager &parser, int type, std::string const &zoneName)
constructor
Definition: RagTime5ClusterManager.hxx:327
@ C_Unknown
Definition: RagTime5ClusterManager.hxx:229
int m_fieldSize
the field size
Definition: RagTime5ClusterManager.hxx:204
Generated on Wed Jun 17 2020 06:30:12 for libmwaw by
doxygen 1.8.18