RagTime5Chart.hxx
Go to the documentation of this file.
1 /* -*- Mode: C++; c-default-style: "k&r"; indent-tabs-mode: nil; tab-width: 2; c-basic-offset: 2 -*- */
2 
3 /* libmwaw
4 * Version: MPL 2.0 / LGPLv2+
5 *
6 * The contents of this file are subject to the Mozilla Public License Version
7 * 2.0 (the "License"); you may not use this file except in compliance with
8 * the License or as specified alternatively below. You may obtain a copy of
9 * the License at http://www.mozilla.org/MPL/
10 *
11 * Software distributed under the License is distributed on an "AS IS" basis,
12 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
13 * for the specific language governing rights and limitations under the
14 * License.
15 *
16 * Major Contributor(s):
17 * Copyright (C) 2002 William Lachance (wrlach@gmail.com)
18 * Copyright (C) 2002,2004 Marc Maurer (uwog@uwog.net)
19 * Copyright (C) 2004-2006 Fridrich Strba (fridrich.strba@bluewin.ch)
20 * Copyright (C) 2006, 2007 Andrew Ziem
21 * Copyright (C) 2011, 2012 Alonso Laurent (alonso@loria.fr)
22 *
23 *
24 * All Rights Reserved.
25 *
26 * For minor contributions see the git repository.
27 *
28 * Alternatively, the contents of this file may be used under the terms of
29 * the GNU Lesser General Public License Version 2 or later (the "LGPLv2+"),
30 * in which case the provisions of the LGPLv2+ are applicable
31 * instead of those above.
32 */
33 
34 /*
35  * Parser to RagTime 5-6 document ( chart part )
36  *
37  */
38 #ifndef RAGTIME5_CHART
39 # define RAGTIME5_CHART
40 
41 #include <string>
42 #include <map>
43 #include <vector>
44 
45 #include <librevenge/librevenge.h>
46 
47 #include "libmwaw_internal.hxx"
48 
49 #include "MWAWDebug.hxx"
50 #include "MWAWInputStream.hxx"
51 #include "MWAWPosition.hxx"
52 
55 
56 namespace RagTime5ChartInternal
57 {
58 struct State;
59 
60 class SubDocument;
61 }
62 
63 class RagTime5Parser;
66 class RagTime5Zone;
67 
74 {
76  friend class RagTime5Parser;
77 
78 public:
80  explicit RagTime5Chart(RagTime5Parser &parser);
82  virtual ~RagTime5Chart();
83 
85  int version() const;
86 
88  int numPages() const;
89 
90 protected:
91 
93  void flushExtra();
94 
95  // interface with main parser
96 
98  shared_ptr<RagTime5ClusterManager::Cluster> readChartCluster(RagTime5Zone &zone, int zoneType);
99 
100  //
101  // Intermediate level
102  //
103 
104  //
105  // basic
106  //
107 
108  //
109  // low level
110  //
111 
112 
113 private:
116 
117 protected:
118  //
119  // data
120  //
123 
125  shared_ptr<RagTime5StructManager> m_structManager;
127  shared_ptr<RagTime5StyleManager> m_styleManager;
130 
132  shared_ptr<RagTime5ChartInternal::State> m_state;
133 };
134 #endif
135 // vim: set filetype=cpp tabstop=2 shiftwidth=2 cindent autoindent smartindent noexpandtab:
RagTime5ChartInternal::ChartCParser::ZoneType::m_type
Type m_type
the field type
Definition: RagTime5Chart.cxx:572
RagTime5ChartInternal::DoubleParser::parseData
bool parseData(MWAWInputStreamPtr &input, long endPos, RagTime5Zone &, int, libmwaw::DebugStream &f)
try to parse a data
Definition: RagTime5Chart.cxx:205
RagTime5ChartInternal::ClustListParser::m_clusterList
std::vector< int > m_clusterList
the list of read cluster
Definition: RagTime5Chart.cxx:180
RagTime5ChartInternal::ChartCParser::ZoneType::getName
std::string getName() const
return the zone type name
Definition: RagTime5Chart.cxx:482
RagTime5Chart::numPages
int numPages() const
returns the number of pages
Definition: RagTime5Chart.cxx:404
RagTime5ChartInternal::ZoneUnknown1Parser::parseData
bool parseData(MWAWInputStreamPtr &input, long endPos, RagTime5Zone &, int, libmwaw::DebugStream &f)
try to parse a data
Definition: RagTime5Chart.cxx:324
RagTime5ChartInternal::ChartCParser::ZoneType::Values2
@ Values2
Definition: RagTime5Chart.cxx:471
RagTime5ChartInternal::ChartCParser::ZoneType::DZones3
@ DZones3
Definition: RagTime5Chart.cxx:472
RagTime5ChartInternal::SettingZone
the setting zone
Definition: RagTime5Chart.cxx:61
RagTime5ChartInternal::ChartCParser::m_chart
shared_ptr< Chart > m_chart
the chart
Definition: RagTime5Chart.cxx:1943
MWAW_DEBUG_MSG
#define MWAW_DEBUG_MSG(M)
Definition: libmwaw_internal.hxx:127
RagTime5ChartInternal::ChartCParser::parseHeaderZone
bool parseHeaderZone(MWAWInputStreamPtr &input, long fSz, int N, int flag, libmwaw::DebugStream &f)
parse the header zone
Definition: RagTime5Chart.cxx:1789
RagTime5ChartInternal::DoubleParser::~DoubleParser
~DoubleParser()
destructor
Definition: RagTime5Chart.cxx:231
MWAWVec2f
MWAWVec2< float > MWAWVec2f
MWAWVec2 of float.
Definition: libmwaw_internal.hxx:785
RagTime5ChartInternal::UnknownZone3::m_listLinkId
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
RagTime5ChartInternal::ChartCParser::ZoneType::Value
@ Value
Definition: RagTime5Chart.cxx:471
RagTime5Parser::readUnicodeStringList
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
RagTime5ChartInternal::ChartCParser::ZoneType::DZoneF226
@ DZoneF226
Definition: RagTime5Chart.cxx:473
RagTime5ChartInternal::ChartCParser::ZoneType::DZone1
@ DZone1
Definition: RagTime5Chart.cxx:472
RagTime5ChartInternal::ChartCParser::ChartCParser
ChartCParser(RagTime5ClusterManager &parser, int type, libmwaw::DebugFile &ascii)
constructor
Definition: RagTime5Chart.cxx:577
RagTime5ClusterManager::Cluster::Cluster
Cluster(Type type)
constructor
Definition: RagTime5ClusterManager.hxx:232
RagTime5ChartInternal::UnknownZone3
the unknown third chart zone
Definition: RagTime5Chart.cxx:74
RagTime5ChartInternal::ChartCParser::ZoneType::DZoneF12
@ DZoneF12
Definition: RagTime5Chart.cxx:473
RagTime5ClusterManager::ClusterParser::m_link
Link m_link
the actual link
Definition: RagTime5ClusterManager.hxx:398
RagTime5StructManager.hxx
RagTime5StructManager::Field::T_Unstructured
@ T_Unstructured
Definition: RagTime5StructManager.hxx:221
RagTime5ChartInternal::ChartCParser::ZoneType::Series
@ Series
Definition: RagTime5Chart.cxx:471
RagTime5Parser
the main class to read a RagTime v5 file
Definition: RagTime5Parser.hxx:74
RagTime5ChartInternal::ChartCParser::ZoneType::Serie
@ Serie
Definition: RagTime5Chart.cxx:471
RagTime5Zone::ascii
libmwaw::DebugFile & ascii()
returns the current ascii file
Definition: RagTime5StructManager.hxx:93
RagTime5Parser::readListZone
bool readListZone(RagTime5ClusterManager::Link const &link)
try to read a list zone
Definition: RagTime5Parser.cxx:1653
RagTime5StructManager::Field
a field of RagTime 5/6 structures
Definition: RagTime5StructManager.hxx:218
RagTime5ChartInternal::ChartCParser::ZoneType::DZone8
@ DZone8
Definition: RagTime5Chart.cxx:472
RagTime5ClusterManager::ClusterParser::readLinkHeader
bool readLinkHeader(MWAWInputStreamPtr &input, long fSz, Link &link, long(&values)[4], std::string &message)
try to read a link header
Definition: RagTime5ClusterManager.cxx:547
RagTime5ChartInternal::UnknownZone10::m_listLinkId
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
RagTime5ChartInternal::ChartCParser::ChartCParser
ChartCParser(ChartCParser const &orig)
copy constructor (not implemented)
RagTime5Chart.hxx
RagTime5ClusterManager::getClusterName
std::string getClusterName(int id)
returns "data"+id+"A" ( followed by the cluster type and name if know)
Definition: RagTime5ClusterManager.cxx:215
RagTime5ChartInternal::Chart::m_zone10
UnknownZone3 m_zone10
the unknown zone10
Definition: RagTime5Chart.cxx:110
RagTime5Chart::m_mainParser
RagTime5Parser & m_mainParser
the parser
Definition: RagTime5Chart.hxx:122
RagTime5ChartInternal::ChartCParser::insertZoneToBeParsed
void insertZoneToBeParsed(int id, ZoneType const &type, bool canBeDuplicated=false)
insert a new zone to be parsed
Definition: RagTime5Chart.cxx:601
RagTime5ChartInternal::ChartCParser::getNewZoneToParse
virtual int getNewZoneToParse()
returns to new zone to parse.
Definition: RagTime5Chart.cxx:625
RagTime5ClusterManager::ClusterParser
virtual class use to parse the cluster data
Definition: RagTime5ClusterManager.hxx:325
RagTime5ClusterManager::Cluster::C_ChartZone
@ C_ChartZone
Definition: RagTime5ClusterManager.hxx:223
RagTime5ChartInternal
Internal: the structures of a RagTime5Chart.
Definition: RagTime5Chart.cxx:59
RagTime5Chart::flushExtra
void flushExtra()
sends the data which have not yet been sent to the listener
Definition: RagTime5Chart.cxx:427
RagTime5ChartInternal::DoubleParser::DoubleParser
DoubleParser()
constructor
Definition: RagTime5Chart.cxx:199
MWAWParserStatePtr
shared_ptr< MWAWParserState > MWAWParserStatePtr
a smart pointer of MWAWParserState
Definition: libmwaw_internal.hxx:509
RagTime5StructManager::DataParser
virtual class use to parse the unstructured data
Definition: RagTime5StructManager.hxx:347
RagTime5ChartInternal::ChildTZoneParser::ChildTZoneParser
ChildTZoneParser()
constructor
Definition: RagTime5Chart.cxx:282
RagTime5ChartInternal::ChartCParser::checkFatherType
bool checkFatherType(int id, ZoneType::Type type) const
try to check the father type
Definition: RagTime5Chart.cxx:614
RagTime5StructManager::DataParser::DataParser
DataParser(std::string const &zoneName)
constructor
Definition: RagTime5StructManager.hxx:349
RagTime5Parser::readFixedSizeZone
bool readFixedSizeZone(RagTime5ClusterManager::Link const &link, std::string const &name)
try to read a fixed size zone
Definition: RagTime5Parser.cxx:1726
libmwaw::DebugFile::addNote
void addNote(char const *note)
adds a note in the file, in actual position
Definition: MWAWDebug.cxx:59
RagTime5ChartInternal::ChartCParser::m_zoneType
ZoneType m_zoneType
the current zone type
Definition: RagTime5Chart.cxx:1951
RagTime5ChartInternal::ZoneUnknown1Parser
Internal: the helper to read a ZoneUnknown1's cell ZoneUnknown1.
Definition: RagTime5Chart.cxx:316
RagTime5ChartInternal::ClustListParser::ClustListParser
ClustListParser(RagTime5ClusterManager &clusterManager, int fieldSize, std::string const &zoneName)
constructor
Definition: RagTime5Chart.cxx:119
RagTime5ChartInternal::ChildTZoneParser
Internal: the helper to read child text box value(title+label)
Definition: RagTime5Chart.cxx:280
RagTime5StructManager::Field::T_FieldList
@ T_FieldList
Definition: RagTime5StructManager.hxx:220
RagTime5ChartInternal::ChartCParser::ZoneType::DZones10
@ DZones10
Definition: RagTime5Chart.cxx:472
RagTime5ChartInternal::ClustListParser
Internal: the helper to read a clustList.
Definition: RagTime5Chart.cxx:117
RagTime5ChartInternal::ChartCParser::ZoneType::UnknZone2
@ UnknZone2
Definition: RagTime5Chart.cxx:474
RagTime5ChartInternal::ChartCParser::m_asciiFile
libmwaw::DebugFile & m_asciiFile
the ascii file
Definition: RagTime5Chart.cxx:1957
RagTime5ChartInternal::SettingZone::SettingZone
SettingZone()
constructor
Definition: RagTime5Chart.cxx:63
RagTime5ChartInternal::ChartCParser::ZoneType::ZoneType
ZoneType()
constructor
Definition: RagTime5Chart.cxx:478
RagTime5ClusterManager
basic class used to manage RagTime 5/6 zones
Definition: RagTime5ClusterManager.hxx:59
RagTime5Chart::SubDocument
friend class RagTime5ChartInternal::SubDocument
Definition: RagTime5Chart.hxx:75
RagTime5StyleManager
basic class used to read/store RagTime 5/6 styles
Definition: RagTime5StyleManager.hxx:61
RagTime5Chart::~RagTime5Chart
virtual ~RagTime5Chart()
destructor
Definition: RagTime5Chart.cxx:396
RagTime5Parser::checkClusterList
bool checkClusterList(std::vector< RagTime5StructManager::ZoneLink > const &list)
check a cluster list
Definition: RagTime5Parser.cxx:1131
MWAWSubDocument.hxx
RagTime5ClusterManager.hxx
RagTime5ChartInternal::ChartCParser::m_cluster
shared_ptr< ClusterChart > m_cluster
the current cluster
Definition: RagTime5Chart.cxx:1941
RagTime5ChartInternal::ZoneUnknown1Parser::ZoneUnknown1Parser
ZoneUnknown1Parser()
constructor
Definition: RagTime5Chart.cxx:318
RagTime5ChartInternal::ChartCParser::ZoneType::m_id
int m_id
the field local id
Definition: RagTime5Chart.cxx:574
RagTime5StructManager::FieldParser
virtual class use to parse the field data
Definition: RagTime5StructManager.hxx:308
RagTime5ChartInternal::Chart
structure to store chart information in RagTime5ChartInternal
Definition: RagTime5Chart.cxx:98
RagTime5ChartInternal::ClustListParser::~ClustListParser
virtual ~ClustListParser()
destructor
Definition: RagTime5Chart.cxx:192
RagTime5ChartInternal::ChartCParser::m_what
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
RagTime5StructManager::Field::m_fileType
long m_fileType
the file type
Definition: RagTime5StructManager.hxx:239
RagTime5ChartInternal::ZoneUnknown3Parser::parseData
bool parseData(MWAWInputStreamPtr &input, long endPos, RagTime5Zone &, int, libmwaw::DebugStream &f)
try to parse a data
Definition: RagTime5Chart.cxx:356
RagTime5Parser::readLongList
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
RagTime5ChartInternal::ChartCParser::getCluster
shared_ptr< RagTime5ClusterManager::Cluster > getCluster()
return the current cluster
Definition: RagTime5Chart.cxx:586
RagTime5ChartInternal::ChartCParser::ZoneType
a small structure used to stored a field type
Definition: RagTime5Chart.cxx:468
RagTime5ChartInternal::ChartCParser::ZoneType::ParentLink
@ ParentLink
Definition: RagTime5Chart.cxx:471
RagTime5ChartInternal::ChartCParser::ZoneType::Type
Type
the different field types
Definition: RagTime5Chart.cxx:470
libmwaw_internal.hxx
RagTime5ChartInternal::ClusterChart::~ClusterChart
virtual ~ClusterChart()
destructor
Definition: RagTime5Chart.cxx:459
MWAWPosition.hxx
RagTime5ChartInternal::SettingZone::m_listLinkId
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
RagTime5ChartInternal::ChartCParser
low level: parser of chart cluster
Definition: RagTime5Chart.cxx:466
RagTime5ChartInternal::ChartCParser::parseZone
bool parseZone(MWAWInputStreamPtr &input, long fSz, int N, int flag, libmwaw::DebugStream &f)
parse a zone
Definition: RagTime5Chart.cxx:745
RagTime5ClusterManager::ClusterParser::m_dataId
int m_dataId
the actual zone id
Definition: RagTime5ClusterManager.hxx:396
RagTime5StructManager::Field::T_Long
@ T_Long
Definition: RagTime5StructManager.hxx:220
RagTime5ChartInternal::ClusterChart::m_unknownLink3
RagTime5ClusterManager::Link m_unknownLink3
unknown link of size 32
Definition: RagTime5Chart.cxx:456
RagTime5ChartInternal::ChartCParser::ZoneType::Series2
@ Series2
Definition: RagTime5Chart.cxx:471
RagTime5ChartInternal::ChildTZoneParser::~ChildTZoneParser
virtual ~ChildTZoneParser()
destructor
Definition: RagTime5Chart.cxx:311
RagTime5Zone
main zone in a RagTime v5-v6 document
Definition: RagTime5StructManager.hxx:49
RagTime5Chart::readChartCluster
shared_ptr< RagTime5ClusterManager::Cluster > readChartCluster(RagTime5Zone &zone, int zoneType)
try to read a chart cluster
Definition: RagTime5Chart.cxx:1971
RagTime5ChartInternal::ChartCParser::ZoneType::UnknZone1
@ UnknZone1
Definition: RagTime5Chart.cxx:474
RagTime5StructManager::Field::m_extra
std::string m_extra
extra data
Definition: RagTime5StructManager.hxx:263
RagTime5ChartInternal::ChartCParser::ZoneType::DZone10
@ DZone10
Definition: RagTime5Chart.cxx:472
RagTime5ChartInternal::Chart::m_numSeries
int m_numSeries
the number of series
Definition: RagTime5Chart.cxx:104
MWAWDebug.hxx
RagTime5ChartInternal::SerieTypeParser
Internal: the helper to read a serieType's cell serieType.
Definition: RagTime5Chart.cxx:236
RagTime5ChartInternal::ChartCParser::m_fieldIdToZoneTypeMap
std::map< int, ZoneType > m_fieldIdToZoneTypeMap
the list of id to zone type map
Definition: RagTime5Chart.cxx:1953
RagTime5ChartInternal::State::m_numPages
int m_numPages
the number of pages
Definition: RagTime5Chart.cxx:382
RagTime5ChartInternal::ChartCParser::ZoneType::Settings
@ Settings
Definition: RagTime5Chart.cxx:471
MWAWBox2f
MWAWBox2< float > MWAWBox2f
MWAWBox2 of float.
Definition: libmwaw_internal.hxx:1134
RagTime5ChartInternal::ClustListParser::getClusterName
std::string getClusterName(int id) const
returns a cluster name
Definition: RagTime5Chart.cxx:130
RagTime5ChartInternal::SerieTypeParser::~SerieTypeParser
~SerieTypeParser()
destructor
Definition: RagTime5Chart.cxx:275
RagTime5ChartInternal::Chart::m_settingZone
SettingZone m_settingZone
the setting zone
Definition: RagTime5Chart.cxx:106
RagTime5ChartInternal::ChartCParser::ZoneType::DZone5
@ DZone5
Definition: RagTime5Chart.cxx:472
RagTime5ChartInternal::State
Internal: the state of a RagTime5Chart.
Definition: RagTime5Chart.cxx:378
RagTime5ChartInternal::ClusterChart::m_typesLink
RagTime5ClusterManager::Link m_typesLink
list of type link
Definition: RagTime5Chart.cxx:452
RagTime5ChartInternal::State::State
State()
constructor
Definition: RagTime5Chart.cxx:380
FreeHandParserInternal::ZoneType
ZoneType
the different zone type
Definition: FreeHandParser.cxx:65
RagTime5StructManager::Field::m_longList
std::vector< long > m_longList
the list of long value
Definition: RagTime5StructManager.hxx:251
RagTime5ChartInternal::UnknownZone3::UnknownZone3
UnknownZone3()
constructor
Definition: RagTime5Chart.cxx:76
RagTime5ChartInternal::ChartCParser::m_zoneToParseSet
std::set< int > m_zoneToParseSet
the list of know zone remaining to be parsed
Definition: RagTime5Chart.cxx:1955
RagTime5ChartInternal::ChartCParser::ZoneType::Pref
@ Pref
Definition: RagTime5Chart.cxx:471
RagTime5ChartInternal::ClusterChart::m_parentLink
RagTime5ClusterManager::Link m_parentLink
cluster links list of size 60
Definition: RagTime5Chart.cxx:448
MWAWInputStreamPtr
shared_ptr< MWAWInputStream > MWAWInputStreamPtr
a smart pointer of MWAWInputStream
Definition: libmwaw_internal.hxx:503
RagTime5ClusterManager::Cluster::m_dataLink
Link m_dataLink
the main data link
Definition: RagTime5ClusterManager.hxx:248
RagTime5Chart::m_styleManager
shared_ptr< RagTime5StyleManager > m_styleManager
the style manager
Definition: RagTime5Chart.hxx:127
MWAWBox2i
MWAWBox2< int > MWAWBox2i
MWAWBox2 of int.
Definition: libmwaw_internal.hxx:1132
RagTime5ChartInternal::ZoneUnknown1Parser::~ZoneUnknown1Parser
~ZoneUnknown1Parser()
destructor
Definition: RagTime5Chart.cxx:343
RagTime5ChartInternal::ChildTZoneParser::parseData
bool parseData(MWAWInputStreamPtr &input, long endPos, RagTime5Zone &, int, libmwaw::DebugStream &f)
try to parse a data
Definition: RagTime5Chart.cxx:288
RagTime5ChartInternal::ZoneUnknown3Parser::ZoneUnknown3Parser
ZoneUnknown3Parser()
constructor
Definition: RagTime5Chart.cxx:350
RagTime5Chart::RagTime5Chart
RagTime5Chart(RagTime5Chart const &orig)
RagTime5ChartInternal::ClusterChart::ClusterChart
ClusterChart()
constructor
Definition: RagTime5Chart.cxx:441
RagTime5StructManager::Field::T_LongList
@ T_LongList
Definition: RagTime5StructManager.hxx:220
RagTime5Chart::RagTime5Chart
RagTime5Chart(RagTime5Parser &parser)
constructor
Definition: RagTime5Chart.cxx:390
RagTime5ChartInternal::ChartCParser::~ChartCParser
~ChartCParser()
destructor
Definition: RagTime5Chart.cxx:1965
RagTime5ChartInternal::UnknownZone10::UnknownZone10
UnknownZone10()
constructor
Definition: RagTime5Chart.cxx:88
RagTime5ChartInternal::ChartCParser::operator=
ChartCParser & operator=(ChartCParser const &orig)
copy operator (not implemented)
libmwaw::DebugFile::addPos
void addPos(long pos)
adds a new position in the file
Definition: MWAWDebug.cxx:53
RagTime5ChartInternal::ChartCParser::endZone
void endZone()
end of a start zone call
Definition: RagTime5Chart.cxx:634
RagTime5ChartInternal::ChartCParser::ZoneType::Values
@ Values
Definition: RagTime5Chart.cxx:471
RagTime5ChartInternal::ZoneUnknown3Parser::~ZoneUnknown3Parser
~ZoneUnknown3Parser()
destructor
Definition: RagTime5Chart.cxx:372
RagTime5ChartInternal::Chart::Chart
Chart()
constructor
Definition: RagTime5Chart.cxx:100
RagTime5StructManager
basic class used to store RagTime 5/6 structures
Definition: RagTime5StructManager.hxx:157
RagTime5ChartInternal::ChartCParser::ZoneType::DZoneF70
@ DZoneF70
Definition: RagTime5Chart.cxx:473
MWAWListener.hxx
RagTime5ChartInternal::ClusterChart::m_valuesLink
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
RagTime5ChartInternal::SerieTypeParser::parseData
bool parseData(MWAWInputStreamPtr &input, long endPos, RagTime5Zone &, int, libmwaw::DebugStream &f)
try to parse a data
Definition: RagTime5Chart.cxx:244
RagTime5ChartInternal::ChartCParser::ZoneType::SerieTypes
@ SerieTypes
Definition: RagTime5Chart.cxx:471
RagTime5ChartInternal::ChartCParser::ZoneType::Unknown
@ Unknown
Definition: RagTime5Chart.cxx:475
RagTime5ChartInternal::ClustListParser::parseData
bool parseData(MWAWInputStreamPtr &input, long endPos, RagTime5Zone &, int, libmwaw::DebugStream &f)
try to parse a data
Definition: RagTime5Chart.cxx:136
RagTime5ChartInternal::ClustListParser::m_fieldSize
int m_fieldSize
the field size
Definition: RagTime5Chart.cxx:183
libmwaw::DebugFile
an interface used to insert comment in a binary file, written in ascii form (if debug_with_files is n...
Definition: MWAWDebug.hxx:66
RagTime5ClusterManager::Cluster
the cluster data
Definition: RagTime5ClusterManager.hxx:216
RagTime5ChartInternal::ClustListParser::m_clusterManager
RagTime5ClusterManager & m_clusterManager
the main zone manager
Definition: RagTime5Chart.cxx:185
RagTime5ChartInternal::ClusterChart
low level: the chart cluster data
Definition: RagTime5Chart.cxx:439
RagTime5ChartInternal::ChartCParser::parseField
bool parseField(RagTime5StructManager::Field const &field, int, libmwaw::DebugStream &f)
parse a field
Definition: RagTime5Chart.cxx:760
RagTime5ClusterManager::ClusterParser::m_type
int m_type
the cluster type
Definition: RagTime5ClusterManager.hxx:390
RagTime5ChartInternal::ChartCParser::ZoneType::DZone3
@ DZone3
Definition: RagTime5Chart.cxx:472
MWAWInputStream.hxx
RagTime5ChartInternal::DoubleParser
Internal: the helper to read a double's cell double.
Definition: RagTime5Chart.cxx:197
RagTime5ChartInternal::ClustListParser::operator=
ClustListParser & operator=(ClustListParser &orig)
copy operator, not implemented
RagTime5ChartInternal::ZoneUnknown3Parser
Internal: the helper to read a ZoneUnknown3's cell ZoneUnknown3.
Definition: RagTime5Chart.cxx:348
RagTime5Parser::getClusterManager
shared_ptr< RagTime5ClusterManager > getClusterManager()
returns the cluster manager
Definition: RagTime5Parser.cxx:350
RagTime5ChartInternal::ChartCParser::m_fieldName
std::string m_fieldName
the actual field name
Definition: RagTime5Chart.cxx:1949
MWAWFont.hxx
RagTime5Chart::m_parserState
MWAWParserStatePtr m_parserState
the parser state
Definition: RagTime5Chart.hxx:129
RagTime5ChartInternal::ClustListParser::ClustListParser
ClustListParser(ClustListParser &orig)
copy constructor, not implemented
MWAWBox2< float >
RagTime5ChartInternal::SerieTypeParser::SerieTypeParser
SerieTypeParser()
constructor
Definition: RagTime5Chart.cxx:238
RagTime5ChartInternal::ChartCParser::ZoneType::Prefs
@ Prefs
Definition: RagTime5Chart.cxx:471
RagTime5ChartInternal::ChartCParser::parseDataZone
bool parseDataZone(MWAWInputStreamPtr &input, long fSz, int N, int flag, libmwaw::DebugStream &f)
parse a data block
Definition: RagTime5Chart.cxx:892
RagTime5Chart::m_state
shared_ptr< RagTime5ChartInternal::State > m_state
the state
Definition: RagTime5Chart.hxx:132
RagTime5Parser::readStructZone
bool readStructZone(RagTime5ClusterManager::Cluster &cluster, RagTime5StructManager::FieldParser &parser, int headerSz)
try to read a structured zone
Definition: RagTime5Parser.cxx:1790
RagTime5Chart::m_structManager
shared_ptr< RagTime5StructManager > m_structManager
the structure manager
Definition: RagTime5Chart.hxx:125
RagTime5ChartInternal::ClusterChart::m_unknownLink1
RagTime5ClusterManager::Link m_unknownLink1
unknown link of size 6
Definition: RagTime5Chart.cxx:454
RagTime5ChartInternal::ChartCParser::getChart
shared_ptr< Chart > getChart()
return the chart
Definition: RagTime5Chart.cxx:596
RagTime5Chart::version
int version() const
returns the file version
Definition: RagTime5Chart.cxx:399
RagTime5ChartInternal::ChartCParser::ZoneType::Setting
@ Setting
Definition: RagTime5Chart.cxx:471
MWAWVec2i
MWAWVec2< int > MWAWVec2i
MWAWVec2 of int.
Definition: libmwaw_internal.hxx:781
RagTime5StructManager::readDataIdList
static bool readDataIdList(MWAWInputStreamPtr input, int n, std::vector< int > &listIds)
try to read n data id
Definition: RagTime5StructManager.cxx:269
RagTime5ChartInternal::Chart::m_zone3
UnknownZone3 m_zone3
the unknown zone3
Definition: RagTime5Chart.cxx:108
libmwaw::DebugStream
std::stringstream DebugStream
a basic stream (if debug_with_files is not defined, does nothing)
Definition: MWAWDebug.hxx:61
RagTime5StructManager::Field::m_type
Type m_type
the field type
Definition: RagTime5StructManager.hxx:237
RagTime5StructManager::Field::m_fieldList
std::vector< Field > m_fieldList
the list of field
Definition: RagTime5StructManager.hxx:259
RagTime5ChartInternal::UnknownZone10
the unknown ten chart zone
Definition: RagTime5Chart.cxx:86
RagTime5ChartInternal::ChartCParser::getChartCluster
shared_ptr< ClusterChart > getChartCluster()
return the current cluster
Definition: RagTime5Chart.cxx:591
RagTime5Parser.hxx
RagTime5ChartInternal::ChartCParser::ZoneType::DZone9
@ DZone9
Definition: RagTime5Chart.cxx:472
RagTime5ChartInternal::ChartCParser::m_linkId
int m_linkId
the link id: 1: value double, 2: value text zone
Definition: RagTime5Chart.cxx:1947
RagTime5Chart::operator=
RagTime5Chart & operator=(RagTime5Chart const &orig)
RagTime5Chart
the main class to read the chart part of RagTime 56 file
Definition: RagTime5Chart.hxx:74
RagTime5ClusterManager::ClusterParser::ClusterParser
ClusterParser(RagTime5ClusterManager &parser, int type, std::string const &zoneName)
constructor
Definition: RagTime5ClusterManager.hxx:327
RagTime5ClusterManager::Cluster::C_Unknown
@ C_Unknown
Definition: RagTime5ClusterManager.hxx:229

Generated on Wed Jun 17 2020 06:30:12 for libmwaw by doxygen 1.8.18