Go to the documentation of this file.
38 #ifndef RAGTIME5_CHART
39 # define RAGTIME5_CHART
45 #include <librevenge/librevenge.h>
132 std::shared_ptr<RagTime5ChartInternal::State>
m_state;
Type m_type
the field type
Definition: RagTime5Chart.cxx:595
std::shared_ptr< MWAWInputStream > MWAWInputStreamPtr
a smart pointer of MWAWInputStream
Definition: libmwaw_internal.hxx:549
std::vector< int > m_clusterList
the list of read cluster
Definition: RagTime5Chart.cxx:187
std::string getName() const
return the zone type name
Definition: RagTime5Chart.cxx:505
int numPages() const
returns the number of pages
Definition: RagTime5Chart.cxx:421
@ Values2
Definition: RagTime5Chart.cxx:492
@ DZones3
Definition: RagTime5Chart.cxx:493
the setting zone
Definition: RagTime5Chart.cxx:61
#define MWAW_DEBUG_MSG(M)
Definition: libmwaw_internal.hxx:129
bool parseHeaderZone(MWAWInputStreamPtr &input, long fSz, int N, int flag, libmwaw::DebugStream &f)
parse the header zone
Definition: RagTime5Chart.cxx:1817
MWAWVec2< float > MWAWVec2f
MWAWVec2 of float.
Definition: libmwaw_internal.hxx:840
~ZoneUnknown1Parser() final
destructor
Definition: RagTime5Chart.cxx:354
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
std::shared_ptr< ClusterChart > getChartCluster()
return the current cluster
Definition: RagTime5Chart.cxx:621
ChartCParser(RagTime5ClusterManager &parser, int type, libmwaw::DebugFile &ascii)
constructor
Definition: RagTime5Chart.cxx:600
~ChartCParser() final
destructor
Definition: RagTime5Chart.cxx:1993
Cluster(Type type)
constructor
Definition: RagTime5ClusterManager.hxx:237
bool parseData(MWAWInputStreamPtr &input, long endPos, RagTime5Zone &, int, libmwaw::DebugStream &f) final
try to parse a data
Definition: RagTime5Chart.cxx:335
the unknown third chart zone
Definition: RagTime5Chart.cxx:74
@ T_Unstructured
Definition: RagTime5StructManager.hxx:238
std::shared_ptr< Chart > getChart()
return the chart
Definition: RagTime5Chart.cxx:626
the main class to read a RagTime v5 file
Definition: RagTime5Parser.hxx:73
libmwaw::DebugFile & ascii()
returns the current ascii file
Definition: RagTime5StructManager.hxx:107
std::shared_ptr< RagTime5StructManager > m_structManager
the structure manager
Definition: RagTime5Chart.hxx:125
a field of RagTime 5/6 structures
Definition: RagTime5StructManager.hxx:235
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
std::string getClusterName(int id)
returns "data"+id+"A" ( followed by the cluster type and name if know)
Definition: RagTime5ClusterManager.cxx:223
UnknownZone3 m_zone10
the unknown zone10
Definition: RagTime5Chart.cxx:114
RagTime5Parser & m_mainParser
the parser
Definition: RagTime5Chart.hxx:122
~DoubleParser() final
destructor
Definition: RagTime5Chart.cxx:239
std::shared_ptr< RagTime5ClusterManager::Cluster > readChartCluster(RagTime5Zone &zone, int zoneType)
try to read a chart cluster
Definition: RagTime5Chart.cxx:1999
void insertZoneToBeParsed(int id, ZoneType const &type, bool canBeDuplicated=false)
insert a new zone to be parsed
Definition: RagTime5Chart.cxx:631
virtual class use to parse the cluster data
Definition: RagTime5ClusterManager.hxx:350
@ C_ChartZone
Definition: RagTime5ClusterManager.hxx:228
Internal: the structures of a RagTime5Chart.
Definition: RagTime5Chart.cxx:58
void flushExtra()
sends the data which have not yet been sent to the listener
Definition: RagTime5Chart.cxx:444
DoubleParser()
constructor
Definition: RagTime5Chart.cxx:206
void endZone() final
end of a start zone call
Definition: RagTime5Chart.cxx:664
virtual class use to parse the unstructured data
Definition: RagTime5StructManager.hxx:384
ChildTZoneParser()
constructor
Definition: RagTime5Chart.cxx:291
bool checkFatherType(int id, ZoneType::Type type) const
try to check the father type
Definition: RagTime5Chart.cxx:644
DataParser(std::string const &zoneName)
constructor
Definition: RagTime5StructManager.hxx:386
ZoneType m_zoneType
the current zone type
Definition: RagTime5Chart.cxx:1979
Internal: the helper to read a ZoneUnknown1's cell ZoneUnknown1.
Definition: RagTime5Chart.cxx:326
ClustListParser(RagTime5ClusterManager &clusterManager, int fieldSize, std::string const &zoneName)
constructor
Definition: RagTime5Chart.cxx:123
Internal: the helper to read child text box value(title+label)
Definition: RagTime5Chart.cxx:289
@ T_FieldList
Definition: RagTime5StructManager.hxx:237
std::shared_ptr< ClusterChart > m_cluster
the current cluster
Definition: RagTime5Chart.cxx:1969
Internal: the helper to read a clustList.
Definition: RagTime5Chart.cxx:121
@ UnknZone2
Definition: RagTime5Chart.cxx:495
libmwaw::DebugFile & m_asciiFile
the ascii file
Definition: RagTime5Chart.cxx:1985
SettingZone()
constructor
Definition: RagTime5Chart.cxx:63
ZoneType()
constructor
Definition: RagTime5Chart.cxx:499
basic class used to manage RagTime 5/6 zones
Definition: RagTime5ClusterManager.hxx:58
friend class RagTime5ChartInternal::SubDocument
Definition: RagTime5Chart.hxx:75
basic class used to read/store RagTime 5/6 styles
Definition: RagTime5StyleManager.hxx:60
virtual ~RagTime5Chart()
destructor
Definition: RagTime5Chart.cxx:413
ZoneUnknown1Parser()
constructor
Definition: RagTime5Chart.cxx:328
int m_id
the field local id
Definition: RagTime5Chart.cxx:597
virtual class use to parse the field data
Definition: RagTime5StructManager.hxx:341
structure to store chart information in RagTime5ChartInternal
Definition: RagTime5Chart.cxx:98
bool parseData(MWAWInputStreamPtr &input, long endPos, RagTime5Zone &, int, libmwaw::DebugStream &f) final
try to parse a data
Definition: RagTime5Chart.cxx:213
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:1973
a small structure used to stored a field type
Definition: RagTime5Chart.cxx:489
bool empty() const
returns true if all link are empty
Definition: RagTime5ClusterManager.hxx:126
Type
the different field types
Definition: RagTime5Chart.cxx:491
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
bool parseZone(MWAWInputStreamPtr &input, long fSz, int N, int flag, libmwaw::DebugStream &f) final
parse a zone
Definition: RagTime5Chart.cxx:775
int getNewZoneToParse() final
returns to new zone to parse.
Definition: RagTime5Chart.cxx:655
low level: parser of chart cluster
Definition: RagTime5Chart.cxx:487
@ T_Long
Definition: RagTime5StructManager.hxx:237
RagTime5ClusterManager::Link m_unknownLink3
unknown link of size 32
Definition: RagTime5Chart.cxx:477
main zone in a RagTime v5-v6 document
Definition: RagTime5StructManager.hxx:48
bool parseData(MWAWInputStreamPtr &input, long endPos, RagTime5Zone &, int, libmwaw::DebugStream &f) final
try to parse a data
Definition: RagTime5Chart.cxx:253
int m_numSeries
the number of series
Definition: RagTime5Chart.cxx:108
Internal: the helper to read a serieType's cell serieType.
Definition: RagTime5Chart.cxx:244
std::map< int, ZoneType > m_fieldIdToZoneTypeMap
the list of id to zone type map
Definition: RagTime5Chart.cxx:1981
int m_numPages
the number of pages
Definition: RagTime5Chart.cxx:396
std::vector< long > m_longList
a list of long used to store decal
Definition: RagTime5ClusterManager.hxx:213
MWAWBox2< float > MWAWBox2f
MWAWBox2 of float.
Definition: libmwaw_internal.hxx:1191
std::shared_ptr< RagTime5StyleManager > m_styleManager
the style manager
Definition: RagTime5Chart.hxx:127
std::string getClusterName(int id) const
returns a cluster name
Definition: RagTime5Chart.cxx:137
~ZoneUnknown3Parser() final
destructor
Definition: RagTime5Chart.cxx:383
SettingZone m_settingZone
the setting zone
Definition: RagTime5Chart.cxx:110
bool parseField(RagTime5StructManager::Field const &field, int, libmwaw::DebugStream &f) final
parse a field
Definition: RagTime5Chart.cxx:790
Internal: the state of a RagTime5Chart.
Definition: RagTime5Chart.cxx:389
RagTime5ClusterManager::Link m_typesLink
list of type link
Definition: RagTime5Chart.cxx:473
State()
constructor
Definition: RagTime5Chart.cxx:391
ZoneType
the different zone type
Definition: FreeHandParser.cxx:65
UnknownZone3()
constructor
Definition: RagTime5Chart.cxx:76
std::set< int > m_zoneToParseSet
the list of know zone remaining to be parsed
Definition: RagTime5Chart.cxx:1983
RagTime5ClusterManager::Link m_parentLink
cluster links list of size 60
Definition: RagTime5Chart.cxx:469
Link m_dataLink
the main data link
Definition: RagTime5ClusterManager.hxx:263
@ L_List
Definition: RagTime5ClusterManager.hxx:110
MWAWBox2< int > MWAWBox2i
MWAWBox2 of int.
Definition: libmwaw_internal.hxx:1189
std::shared_ptr< RagTime5ChartInternal::State > m_state
the state
Definition: RagTime5Chart.hxx:132
RagTime5Chart & operator=(RagTime5Chart const &orig)=delete
~ChildTZoneParser() final
destructor
Definition: RagTime5Chart.cxx:321
ZoneUnknown3Parser()
constructor
Definition: RagTime5Chart.cxx:361
ClusterChart()
constructor
Definition: RagTime5Chart.cxx:458
bool parseData(MWAWInputStreamPtr &input, long endPos, RagTime5Zone &, int, libmwaw::DebugStream &f) final
try to parse a data
Definition: RagTime5Chart.cxx:298
~SerieTypeParser() final
destructor
Definition: RagTime5Chart.cxx:284
@ T_LongList
Definition: RagTime5StructManager.hxx:237
RagTime5Chart(RagTime5Parser &parser)
constructor
Definition: RagTime5Chart.cxx:404
std::shared_ptr< MWAWParserState > MWAWParserStatePtr
a smart pointer of MWAWParserState
Definition: libmwaw_internal.hxx:555
UnknownZone10()
constructor
Definition: RagTime5Chart.cxx:88
Chart()
constructor
Definition: RagTime5Chart.cxx:100
basic class used to store RagTime 5/6 structures
Definition: RagTime5StructManager.hxx:170
@ DZoneF70
Definition: RagTime5Chart.cxx:494
std::vector< RagTime5ClusterManager::Link > m_valuesLink[2]
some content zone: first a double zone, second link to sub text zone data
Definition: RagTime5Chart.cxx:471
a link to a small zone (or set of zones) in RagTime 5/6 documents
Definition: RagTime5ClusterManager.hxx:105
~ClustListParser() final
destructor
Definition: RagTime5Chart.cxx:199
int m_fieldSize
the field size
Definition: RagTime5Chart.cxx:190
an interface used to insert comment in a binary file, written in ascii form (if debug_with_files is n...
Definition: MWAWDebug.hxx:65
the cluster data
Definition: RagTime5ClusterManager.hxx:221
RagTime5ClusterManager & m_clusterManager
the main zone manager
Definition: RagTime5Chart.cxx:192
namespace used to regroup all libwpd functions, enumerations which we have redefined for internal usa...
Definition: libmwaw_internal.cxx:50
low level: the chart cluster data
Definition: RagTime5Chart.cxx:456
Type m_type
the cluster type
Definition: RagTime5ClusterManager.hxx:255
@ Unknown
Definition: HanMacWrdJText.cxx:61
Internal: the helper to read a double's cell double.
Definition: RagTime5Chart.cxx:204
ClustListParser & operator=(ClustListParser &orig)
copy operator, not implemented
Internal: the helper to read a ZoneUnknown3's cell ZoneUnknown3.
Definition: RagTime5Chart.cxx:359
std::string m_fieldName
the actual field name
Definition: RagTime5Chart.cxx:1977
MWAWParserStatePtr m_parserState
the parser state
Definition: RagTime5Chart.hxx:129
bool parseData(MWAWInputStreamPtr &input, long endPos, RagTime5Zone &, int, libmwaw::DebugStream &f) final
try to parse a data
Definition: RagTime5Chart.cxx:367
~ClusterChart() final
destructor
Definition: RagTime5Chart.cxx:480
SerieTypeParser()
constructor
Definition: RagTime5Chart.cxx:246
bool parseData(MWAWInputStreamPtr &input, long endPos, RagTime5Zone &, int, libmwaw::DebugStream &f) final
try to parse a data
Definition: RagTime5Chart.cxx:143
bool parseDataZone(MWAWInputStreamPtr &input, long fSz, int N, int flag, libmwaw::DebugStream &f)
parse a data block
Definition: RagTime5Chart.cxx:921
RagTime5ClusterManager::Link m_unknownLink1
unknown link of size 6
Definition: RagTime5Chart.cxx:475
int version() const
returns the file version
Definition: RagTime5Chart.cxx:416
MWAWVec2< int > MWAWVec2i
MWAWVec2 of int.
Definition: libmwaw_internal.hxx:836
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:112
std::stringstream DebugStream
a basic stream (if debug_with_files is not defined, does nothing)
Definition: MWAWDebug.hxx:61
the unknown ten chart zone
Definition: RagTime5Chart.cxx:86
int m_linkId
the link id: 1: value double, 2: value text zone
Definition: RagTime5Chart.cxx:1975
the main class to read the chart part of RagTime 56 file
Definition: RagTime5Chart.hxx:73
std::shared_ptr< Chart > m_chart
the chart
Definition: RagTime5Chart.cxx:1971
@ C_Unknown
Definition: RagTime5ClusterManager.hxx:234
Generated on Sun Sep 12 2021 12:24:59 for libmwaw by
doxygen 1.8.17