Go to the documentation of this file.
38 #ifndef RAGTIME5_CHART
39 # define RAGTIME5_CHART
45 #include <librevenge/librevenge.h>
138 std::shared_ptr<RagTime5ChartInternal::State>
m_state;
Type m_type
the field type
Definition: RagTime5Chart.cxx:596
@ F_UnknZone2
Definition: RagTime5Chart.cxx:491
std::shared_ptr< MWAWInputStream > MWAWInputStreamPtr
a smart pointer of MWAWInputStream
Definition: libmwaw_internal.hxx:551
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:503
int numPages() const
returns the number of pages
Definition: RagTime5Chart.cxx:421
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:1882
MWAWVec2< float > MWAWVec2f
MWAWVec2 of float.
Definition: libmwaw_internal.hxx:842
~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
static std::string printType(unsigned long fileType)
debug: print a file type
Definition: RagTime5Chart.hxx:113
std::shared_ptr< ClusterChart > getChartCluster()
return the current cluster
Definition: RagTime5Chart.cxx:622
ChartCParser(RagTime5ClusterManager &parser, int type, libmwaw::DebugFile &ascii)
constructor
Definition: RagTime5Chart.cxx:601
RagTime5Chart(RagTime5Chart const &orig)=delete
~ChartCParser() final
destructor
Definition: RagTime5Chart.cxx:2058
Cluster(Type type)
constructor
Definition: RagTime5ClusterManager.hxx:279
bool parseData(MWAWInputStreamPtr &input, long endPos, RagTime5Zone &, int, libmwaw::DebugStream &f) final
try to parse a data
Definition: RagTime5Chart.cxx:335
std::string getClusterDebugName(int id) const
returns a cluster name
Definition: RagTime5Chart.cxx:137
the unknown third chart zone
Definition: RagTime5Chart.cxx:74
@ T_Unstructured
Definition: RagTime5StructManager.hxx:245
@ F_ChartList
Definition: RagTime5Chart.cxx:490
std::shared_ptr< Chart > getChart()
return the chart
Definition: RagTime5Chart.cxx:627
RagTime5Chart(RagTime5Document &doc)
constructor
Definition: RagTime5Chart.cxx:404
libmwaw::DebugFile & ascii()
returns the current ascii file
Definition: RagTime5StructManager.hxx:109
std::shared_ptr< RagTime5StructManager > m_structManager
the structure manager
Definition: RagTime5Chart.hxx:131
RagTime5Document & m_document
the document
Definition: RagTime5Chart.hxx:128
a field of RagTime 5/6 structures
Definition: RagTime5StructManager.hxx:242
@ F_DZoneF70
Definition: RagTime5Chart.cxx:489
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
UnknownZone3 m_zone10
the unknown zone10
Definition: RagTime5Chart.cxx:114
~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:2064
void insertZoneToBeParsed(int id, ZoneType const &type, bool canBeDuplicated=false)
insert a new zone to be parsed
Definition: RagTime5Chart.cxx:632
virtual class use to parse the cluster data
Definition: RagTime5ClusterManager.hxx:381
@ C_ChartZone
Definition: RagTime5ClusterManager.hxx:268
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:444
bool checkFatherType(int id, Type type) const
try to check the father type
Definition: RagTime5Chart.cxx:645
DoubleParser()
constructor
Definition: RagTime5Chart.cxx:206
void endZone() final
end of a start zone call
Definition: RagTime5Chart.cxx:665
virtual class use to parse the unstructured data
Definition: RagTime5StructManager.hxx:396
ChildTZoneParser()
constructor
Definition: RagTime5Chart.cxx:291
DataParser(std::string const &zoneName)
constructor
Definition: RagTime5StructManager.cxx:61
ZoneType m_zoneType
the current zone type
Definition: RagTime5Chart.cxx:2044
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:244
@ F_DZones3
Definition: RagTime5Chart.cxx:488
std::shared_ptr< ClusterChart > m_cluster
the current cluster
Definition: RagTime5Chart.cxx:2034
Internal: the helper to read a clustList.
Definition: RagTime5Chart.cxx:121
libmwaw::DebugFile & m_asciiFile
the ascii file
Definition: RagTime5Chart.cxx:2050
SettingZone()
constructor
Definition: RagTime5Chart.cxx:63
ZoneType()
constructor
Definition: RagTime5Chart.cxx:497
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:413
ZoneUnknown1Parser()
constructor
Definition: RagTime5Chart.cxx:328
int m_id
the field local id
Definition: RagTime5Chart.cxx:598
virtual class use to parse the field data
Definition: RagTime5StructManager.hxx:353
the main class to read a RagTime v5 file
Definition: RagTime5Document.hxx:77
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:2038
a small structure used to stored a field type
Definition: RagTime5Chart.cxx:495
bool empty() const
returns true if all link are empty
Definition: RagTime5ClusterManager.hxx:133
static std::string printType(unsigned long fileType)
debug: print a file type
Definition: RagTime5StructManager.cxx:94
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:777
int getNewZoneToParse() final
returns to new zone to parse.
Definition: RagTime5Chart.cxx:656
low level: parser of chart cluster
Definition: RagTime5Chart.cxx:484
@ T_Long
Definition: RagTime5StructManager.hxx:244
RagTime5ClusterManager::Link m_unknownLink3
unknown link of size 32
Definition: RagTime5Chart.cxx:474
ChartCParser(ChartCParser const &orig)=delete
copy constructor (not implemented)
main zone in a RagTime v5-v6 document
Definition: RagTime5StructManager.hxx:51
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:2046
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:218
MWAWBox2< float > MWAWBox2f
MWAWBox2 of float.
Definition: libmwaw_internal.hxx:1193
std::shared_ptr< RagTime5StyleManager > m_styleManager
the style manager
Definition: RagTime5Chart.hxx:133
~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:792
Internal: the state of a RagTime5Chart.
Definition: RagTime5Chart.cxx:389
RagTime5ClusterManager::Link m_typesLink
list of type link
Definition: RagTime5Chart.cxx:470
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:2048
ChartCParser & operator=(ChartCParser const &orig)=delete
copy operator (not implemented)
@ L_List
Definition: RagTime5ClusterManager.hxx:117
MWAWBox2< int > MWAWBox2i
MWAWBox2 of int.
Definition: libmwaw_internal.hxx:1191
std::shared_ptr< RagTime5ChartInternal::State > m_state
the state
Definition: RagTime5Chart.hxx:138
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:244
std::shared_ptr< MWAWParserState > MWAWParserStatePtr
a smart pointer of MWAWParserState
Definition: libmwaw_internal.hxx:557
UnknownZone10()
constructor
Definition: RagTime5Chart.cxx:88
std::string getClusterDebugName(int id)
returns "data"+id+"A" ( followed by the cluster type and name if know)
Definition: RagTime5ClusterManager.cxx:230
Chart()
constructor
Definition: RagTime5Chart.cxx:100
basic class used to store RagTime 5/6 structures
Definition: RagTime5StructManager.hxx:175
std::vector< RagTime5ClusterManager::Link > m_valuesLink[2]
some content zone: first a double zone, second link to sub text zone data
Definition: RagTime5Chart.cxx:468
a link to a small zone (or set of zones) in RagTime 5/6 documents
Definition: RagTime5ClusterManager.hxx:113
~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:66
the cluster data
Definition: RagTime5ClusterManager.hxx:261
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:51
low level: the chart cluster data
Definition: RagTime5Chart.cxx:456
Type m_type
the cluster type
Definition: RagTime5ClusterManager.hxx:298
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:2042
MWAWParserStatePtr m_parserState
the parser state
Definition: RagTime5Chart.hxx:135
bool parseData(MWAWInputStreamPtr &input, long endPos, RagTime5Zone &, int, libmwaw::DebugStream &f) final
try to parse a data
Definition: RagTime5Chart.cxx:367
ClustListParser(ClustListParser &orig)
copy constructor, not implemented
~ClusterChart() final
destructor
Definition: RagTime5Chart.cxx:477
SerieTypeParser()
constructor
Definition: RagTime5Chart.cxx:246
Type
the different field types
Definition: RagTime5Chart.cxx:486
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:926
RagTime5ClusterManager::Link m_unknownLink1
unknown link of size 6
Definition: RagTime5Chart.cxx:472
int version() const
returns the file version
Definition: RagTime5Chart.cxx:416
MWAWVec2< int > MWAWVec2i
MWAWVec2 of int.
Definition: libmwaw_internal.hxx:838
static bool readDataIdList(MWAWInputStreamPtr input, int n, std::vector< int > &listIds)
try to read n data id
Definition: RagTime5StructManager.cxx:332
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
@ F_Values2
Definition: RagTime5Chart.cxx:487
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:2040
the main class to read the chart part of RagTime 56 file
Definition: RagTime5Chart.hxx:74
std::shared_ptr< Chart > m_chart
the chart
Definition: RagTime5Chart.cxx:2036
Generated on Fri Sep 18 2020 18:14:52 for libmwaw by
doxygen 1.8.20