Go to the documentation of this file.
34 #ifndef RAG_TIME_5_CLUSTER_MANAGER
35 # define RAG_TIME_5_CLUSTER_MANAGER
137 for (
auto id :
m_ids)
138 if (
id>0)
return false;
156 return "unicodeListLink";
158 return "unknownClusterC";
162 return "fieldsList[unkn]";
168 #if !defined(__clang__)
187 if (z.
empty())
return o;
189 size_t numLinks=z.
m_ids.size();
190 if (numLinks>1) o <<
"[";
191 for (
size_t i=0; i<numLinks; ++i) {
195 o <<
"data" << z.
m_ids[i] <<
"A";
196 if (i+1!=numLinks) o <<
",";
198 if (numLinks>1) o <<
"]";
200 o <<
"[" << std::hex << z.
m_fieldSize << std::dec <<
":" << z.
m_N <<
"]";
240 for (
auto id :
m_ids)
241 if (
id>0)
return false;
445 bool readLinkHeader(
MWAWInputStreamPtr &input,
long fSz,
Link &link,
long(&values)[4], std::string &message);
466 std::shared_ptr<RagTime5ClusterManagerInternal::State>
m_state;
std::vector< int > m_ids
the data ids
Definition: RagTime5ClusterManager.hxx:210
std::shared_ptr< ClusterSound > getSoundCluster()
return the sound cluster
Definition: RagTime5ClusterManager.cxx:1860
basic class to store an entry in a file This contained :
Definition: MWAWEntry.hxx:47
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: RagTime5Document.cxx:1817
RagTime5Document & m_document
the main parser
Definition: RagTime5ClusterManager.hxx:468
void setExpectedType(int id, int type)
set a data id type
Definition: RagTime5ClusterManager.cxx:1866
bool m_isParsed
a flag to know if the zone is parsed
Definition: RagTime5StructManager.hxx:152
std::shared_ptr< MWAWInputStream > MWAWInputStreamPtr
a smart pointer of MWAWInputStream
Definition: libmwaw_internal.hxx:551
std::vector< long > m_posToNames[2]
for unicode list field ids and field id to name
Definition: RagTime5ClusterManager.hxx:251
std::vector< int > m_ids
the data ids
Definition: RagTime5ClusterManager.hxx:245
ClusterSound()
constructor
Definition: RagTime5ClusterManager.cxx:1823
std::shared_ptr< RagTime5ClusterManager::Cluster > readGraphicCluster(RagTime5Zone &zone, int zoneType)
try to read a graphic cluster (via the graphic manager)
Definition: RagTime5Document.cxx:435
@ T_Unicode
Definition: RagTime5StructManager.hxx:245
bool getClusterBasicHeaderInfo(RagTime5Zone &zone, long &N, long &fSz, long &debHeaderPos)
try to return basic information about the header cluster's zone
Definition: RagTime5ClusterManager.cxx:2340
Type
the link type
Definition: RagTime5ClusterManager.hxx:115
Link m_parentLink
the parent link
Definition: RagTime5ClusterManager.hxx:308
@ C_GroupZone
Definition: RagTime5ClusterManager.hxx:270
std::shared_ptr< RagTime5ClusterManager::Cluster > readLayoutCluster(RagTime5Zone &zone, int zoneType)
try to read a layout cluster (via the layout manager)
Definition: RagTime5Document.cxx:440
@ L_ClusterLink
Definition: RagTime5ClusterManager.hxx:115
@ F_unknUnicodeD
Definition: RagTime5ClusterManager.cxx:784
virtual std::string getZoneName() const
return the debug name corresponding to a zone
Definition: RagTime5ClusterManager.hxx:397
int getNewZoneToParse() final
returns to new zone to parse.
Definition: RagTime5ClusterManager.cxx:1872
#define MWAW_DEBUG_MSG(M)
Definition: libmwaw_internal.hxx:129
Link m_functionNameLink
the function name links
Definition: RagTime5ClusterManager.hxx:356
bool parseZone(MWAWInputStreamPtr &input, long fSz, int N, int flag, libmwaw::DebugStream &f) final
try to parse a zone
Definition: RagTime5ClusterManager.cxx:1717
MWAWVec2< float > MWAWVec2f
MWAWVec2 of float.
Definition: libmwaw_internal.hxx:842
NameLink m_listClusterName
the cluster list id name zone link
Definition: RagTime5ClusterManager.hxx:365
void addDelimiter(long pos, char c)
adds a not breaking delimiter in position pos
Definition: MWAWDebug.cxx:73
bool parseHeaderZone(MWAWInputStreamPtr &input, long fSz, int N, int flag, libmwaw::DebugStream &f)
parse the header zone
Definition: RagTime5ClusterManager.cxx:1344
@ C_Sound
Definition: RagTime5ClusterManager.hxx:265
~RagTime5ClusterManager()
destructor
Definition: RagTime5ClusterManager.cxx:172
@ C_FormatStyles
Definition: RagTime5ClusterManager.hxx:272
bool sendClusterMainList()
try to send the root cluster zone
Definition: RagTime5ClusterManager.cxx:531
bool parseField(RagTime5StructManager::Field const &field, int, libmwaw::DebugStream &f) final
parse a field
Definition: RagTime5ClusterManager.cxx:904
Cluster(Type type)
constructor
Definition: RagTime5ClusterManager.hxx:279
virtual bool parseField(RagTime5StructManager::Field const &, int, libmwaw::DebugStream &)
parse a the data of a zone, n_dataId:m
Definition: RagTime5ClusterManager.hxx:424
@ C_Pipeline
Definition: RagTime5ClusterManager.hxx:264
std::string m_name
the cluster name
Definition: RagTime5ClusterManager.hxx:455
virtual void startZone()
start a new zone
Definition: RagTime5ClusterManager.hxx:411
@ C_ClusterC
Definition: RagTime5ClusterManager.hxx:274
std::shared_ptr< Cluster > readRootCluster(RagTime5Zone &zone)
try to read the root cluster zone
Definition: RagTime5ClusterManager.cxx:2531
low level: parser of group cluster : zone 4010
Definition: RagTime5ClusterManager.cxx:1701
bool isANameHeader(long N) const
return true if N correspond to a file/script name
Definition: RagTime5ClusterManager.hxx:439
Link m_link
the actual link
Definition: RagTime5ClusterManager.hxx:459
std::string m_fieldName
the actual field name
Definition: RagTime5ClusterManager.cxx:2026
bool parseField(RagTime5StructManager::Field const &field, int, libmwaw::DebugStream &f) final
parse a field
Definition: RagTime5ClusterManager.cxx:1660
@ T_Unstructured
Definition: RagTime5StructManager.hxx:245
int getClusterType(RagTime5Zone &zone, int fileType)
returns the local zone type
Definition: RagTime5ClusterManager.cxx:2361
std::map< int, std::shared_ptr< RagTime5ClusterManager::Cluster > > m_idToClusterMap
map id to cluster map
Definition: RagTime5ClusterManager.cxx:156
std::stack< int > m_idStack
the id stack
Definition: RagTime5ClusterManager.cxx:1508
@ L_UnicodeList
Definition: RagTime5ClusterManager.hxx:116
bool parseZone(MWAWInputStreamPtr &input, long fSz, int N, int flag, libmwaw::DebugStream &f) final
parse a zone
Definition: RagTime5ClusterManager.cxx:1881
libmwaw::DebugFile & ascii()
returns the current ascii file
Definition: RagTime5StructManager.hxx:109
std::string getClusterDebugName(int id)
returns "data"+id+"A" ( followed by the cluster type and name if know)
Definition: RagTime5ClusterManager.cxx:555
std::shared_ptr< ClusterSound > m_cluster
the current cluster
Definition: RagTime5ClusterManager.cxx:2024
bool parseField(RagTime5StructManager::Field const &field, int, libmwaw::DebugStream &f) final
parse a field
Definition: RagTime5ClusterManager.cxx:2201
a field of RagTime 5/6 structures
Definition: RagTime5StructManager.hxx:242
RagTime5ClusterManager operator=(RagTime5ClusterManager const &orig)=delete
void endZone() final
end of a start zone call
Definition: RagTime5ClusterManager.cxx:1796
bool readLinkHeader(MWAWInputStreamPtr &input, long fSz, Link &link, long(&values)[4], std::string &message)
try to read a link header
Definition: RagTime5ClusterManager.cxx:560
bool m_isSent
true if the cluster was send
Definition: RagTime5ClusterManager.hxx:322
std::map< int, int > m_expectedIdToType
the expected id
Definition: RagTime5ClusterManager.cxx:1506
bool readLongList(RagTime5ClusterManager::Link const &link, std::vector< long > &list)
try to read/get the list of long of a L_LongList
Definition: RagTime5Document.cxx:914
int m_listClusterId
the cluster list id
Definition: RagTime5ClusterManager.hxx:363
bool readUnknownClusterC(Link const &link)
try to read some unknown cluster
Definition: RagTime5ClusterManager.cxx:344
virtual class use to parse the cluster data
Definition: RagTime5ClusterManager.hxx:381
@ C_ChartZone
Definition: RagTime5ClusterManager.hxx:268
the sound cluster ( 2/a/4002/400a zone)
Definition: RagTime5ClusterManager.cxx:1821
librevenge::RVNGString m_fileName
the filename if known
Definition: RagTime5ClusterManager.hxx:373
MWAWEntry m_entry
the zone entry
Definition: RagTime5StructManager.hxx:134
virtual bool parseZone(MWAWInputStreamPtr &, long, int, int, libmwaw::DebugStream &)
parse a zone
Definition: RagTime5ClusterManager.hxx:415
Link m_listClusterLink[3]
first the main cluster link, second list of field definition link, third in header
Definition: RagTime5ClusterManager.hxx:367
std::map< int, ClusterInformation > m_idToClusterInfoMap
map id to cluster information map
Definition: RagTime5ClusterManager.cxx:154
@ L_UnknownClusterC
Definition: RagTime5ClusterManager.hxx:118
low level: parser of sound cluster : zone 2,a,4002,400a
Definition: RagTime5ClusterManager.cxx:1838
Internal: the structures of a RagTime5ClusterManager.
Definition: RagTime5ClusterManager.cxx:50
ClusterParser(ClusterParser const &orig)=delete
std::shared_ptr< RagTime5ClusterManager::Cluster > readChartCluster(RagTime5Zone &zone, int zoneType)
try to read a chart cluster (via the spreadsheet manager)
Definition: RagTime5Document.cxx:430
void addNote(char const *note)
adds a note in the file, in actual position
Definition: MWAWDebug.cxx:59
friend struct ClusterParser
Definition: RagTime5ClusterManager.hxx:66
std::map< int, int > m_expectedIdToType
the expected id
Definition: RagTime5ClusterManager.cxx:2029
int m_N
the number of data
Definition: RagTime5ClusterManager.hxx:247
@ T_FieldList
Definition: RagTime5StructManager.hxx:244
@ C_PictureZone
Definition: RagTime5ClusterManager.hxx:268
Link(Type type=L_Unknown)
constructor
Definition: RagTime5ClusterManager.hxx:122
UnknownCParser(RagTime5ClusterManager &parser, int type)
constructor
Definition: RagTime5ClusterManager.cxx:2314
basic parser to read image/main graphic position properties
Definition: RagTime5StructManager.hxx:427
@ C_ColorPattern
Definition: RagTime5ClusterManager.hxx:264
int getClusterFileType(RagTime5Zone &zone)
try to find a cluster zone type ( heuristic when the cluster type is unknown )
Definition: RagTime5ClusterManager.cxx:2443
basic class used to manage RagTime 5/6 zones
Definition: RagTime5ClusterManager.hxx:59
bool parseZone(MWAWInputStreamPtr &input, long fSz, int N, int flag, libmwaw::DebugStream &f) final
try to parse a zone
Definition: RagTime5ClusterManager.cxx:2057
bool parseField(RagTime5StructManager::Field const &field, int, libmwaw::DebugStream &f) final
parse a field
Definition: RagTime5ClusterManager.cxx:751
std::map< int, std::shared_ptr< RagTime5Zone > > m_childIdToZoneMap
the child zones
Definition: RagTime5StructManager.hxx:146
@ C_TextStyles
Definition: RagTime5ClusterManager.hxx:272
std::shared_ptr< RagTime5ClusterManager::Cluster > getCluster() final
return the current cluster
Definition: RagTime5ClusterManager.cxx:816
std::shared_ptr< RagTime5ClusterManager::Cluster > readTextCluster(RagTime5Zone &zone, int zoneType)
try to read a text cluster (via the text manager)
Definition: RagTime5Document.cxx:460
@ L_LongList
Definition: RagTime5ClusterManager.hxx:116
int m_N
the number of data ( or some flag if m_N & 0x8020)
Definition: RagTime5ClusterManager.hxx:212
a link to a name zone in RagTime 5/6 documents
Definition: RagTime5ClusterManager.hxx:222
the main class to read a RagTime v5 file
Definition: RagTime5Document.hxx:77
bool readFieldHeader(RagTime5Zone &zone, long endPos, std::string const &headerName, long &endDataPos, long expectedLVal=-99999)
try to read a field header, if ok set the endDataPos positions
Definition: RagTime5ClusterManager.cxx:201
low level: parser of style cluster : zone 480
Definition: RagTime5ClusterManager.cxx:2041
std::string getZoneName() const
returns the zone name
Definition: RagTime5ClusterManager.hxx:142
std::stack< int > m_idStack
the id stack
Definition: RagTime5ClusterManager.cxx:2031
std::shared_ptr< RagTime5ClusterManager::Cluster > readPipelineCluster(RagTime5Zone &zone, int zoneType)
try to read a pipeline cluster (via the pipeline manager)
Definition: RagTime5Document.cxx:445
std::shared_ptr< RagTime5ClusterManagerInternal::State > m_state
the state
Definition: RagTime5ClusterManager.hxx:466
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
Link m_listUnicodeLink
a link to a list of unknown index+unicode string
Definition: RagTime5ClusterManager.hxx:361
void setEnd(long off)
sets the end offset
Definition: MWAWEntry.hxx:77
bool readClusterMainList(ClusterRoot &root, std::vector< int > &list, std::vector< int > const &clusterIdList)
try to read the cluster root list (in general Data14)
Definition: RagTime5ClusterManager.cxx:258
std::shared_ptr< RagTime5ClusterManager::Cluster > readButtonCluster(RagTime5Zone &zone, int zoneType)
try to read a button cluster (via the graphic manager)
Definition: RagTime5Document.cxx:425
Link m_linkUnknown
other link: scripts and field 6
Definition: RagTime5ClusterManager.hxx:370
SoundCParser(RagTime5ClusterManager &parser, int type)
constructor
Definition: RagTime5ClusterManager.cxx:1841
RootCParser(RagTime5ClusterManager &parser)
constructor
Definition: RagTime5ClusterManager.cxx:787
StyleCParser(RagTime5ClusterManager &parser, int type)
constructor
Definition: RagTime5ClusterManager.cxx:2043
Class to define the position of an object (textbox, picture, ..) in the document.
Definition: MWAWPosition.hxx:48
int m_dataId
the actual zone id
Definition: RagTime5ClusterManager.hxx:457
void endZone() final
end of a start zone call
Definition: RagTime5ClusterManager.cxx:821
@ T_Long
Definition: RagTime5StructManager.hxx:244
@ C_GraphicZone
Definition: RagTime5ClusterManager.hxx:268
@ T_ZoneId
Definition: RagTime5StructManager.hxx:245
void setBegin(long off)
sets the begin offset
Definition: MWAWEntry.hxx:67
ColPatCParser(RagTime5ClusterManager &parser)
constructor
Definition: RagTime5ClusterManager.cxx:634
static std::string printType(unsigned long fileType)
debug: print a file type
Definition: RagTime5ClusterManager.hxx:107
bool m_hiLoEndian
the cluster hiLo endian
Definition: RagTime5ClusterManager.hxx:302
virtual ~Cluster()
destructor
Definition: RagTime5ClusterManager.cxx:176
main zone in a RagTime v5-v6 document
Definition: RagTime5StructManager.hxx:51
Link m_formulaLink
the formula cluster links (def and pos)
Definition: RagTime5ClusterManager.hxx:314
@ C_TextZone
Definition: RagTime5ClusterManager.hxx:268
int m_styleClusterIds[8]
the list of style cluster ( graph, units, unitsbis, text, format, unknown, graphcolor,...
Definition: RagTime5ClusterManager.hxx:348
long length() const
returns the length of the zone
Definition: MWAWEntry.hxx:93
low level: parser of unknown cluster
Definition: RagTime5ClusterManager.cxx:2312
@ L_FieldsList
Definition: RagTime5ClusterManager.hxx:117
MWAWInputStreamPtr getInput()
returns the current input
Definition: RagTime5StructManager.hxx:94
Link m_posToNamesLinks[2]
the corresponding link (for big list)
Definition: RagTime5ClusterManager.hxx:253
@ C_GraphicStyles
Definition: RagTime5ClusterManager.hxx:272
long begin() const
returns the begin offset
Definition: MWAWEntry.hxx:83
std::vector< long > m_longList
a list of long used to store decal
Definition: RagTime5ClusterManager.hxx:218
bool readCluster(RagTime5Zone &zone, std::shared_ptr< Cluster > &cluster, int type=-1)
try to read a cluster zone
State()
constructor
Definition: RagTime5ClusterManager.cxx:147
std::string m_fieldName
the actual field name
Definition: RagTime5ClusterManager.cxx:1813
bool parseDataZone(MWAWInputStreamPtr &input, long fSz, int N, int flag, libmwaw::DebugStream &f)
parse a data block
Definition: RagTime5ClusterManager.cxx:1015
bool parseZone(MWAWInputStreamPtr &input, long fSz, int N, int flag, libmwaw::DebugStream &f) final
parse a zone
Definition: RagTime5ClusterManager.cxx:647
@ C_ButtonZone
Definition: RagTime5ClusterManager.hxx:268
@ C_ColorStyles
Definition: RagTime5ClusterManager.hxx:272
void setId(int newId)
sets the id
Definition: MWAWEntry.hxx:169
@ C_FormulaPos
Definition: RagTime5ClusterManager.hxx:264
Link m_childLink
the child link
Definition: RagTime5ClusterManager.hxx:306
std::vector< int > m_rootIdList
the root id list
Definition: RagTime5ClusterManager.cxx:158
std::shared_ptr< RagTime5Zone > getDataZone(int dataId) const
returns the zone corresponding to a data id (or 0)
Definition: RagTime5Document.cxx:465
void endZone() final
end of a start zone call
Definition: RagTime5ClusterManager.cxx:2008
NameLink m_nameLink
the name link
Definition: RagTime5ClusterManager.hxx:312
friend std::ostream & operator<<(std::ostream &o, Link const &z)
operator<<
Definition: RagTime5ClusterManager.hxx:185
ClusterRoot()
constructor
Definition: RagTime5ClusterManager.hxx:331
Link m_graphicTypeLink
the graphic type id
Definition: RagTime5ClusterManager.hxx:358
@ Char
Definition: MWAWPosition.hxx:51
std::vector< Link > m_linksList
the link list
Definition: RagTime5ClusterManager.hxx:318
Type
the cluster type
Definition: RagTime5ClusterManager.hxx:263
low level: parser of color pattern cluster : zone 0x8042
Definition: RagTime5ClusterManager.cxx:632
std::string m_name
the zone name ( mainly used for debugging)
Definition: RagTime5StructManager.hxx:136
virtual std::string getZoneName(int n, int m=-1) const
return the debug name corresponding to a cluster
Definition: RagTime5ClusterManager.hxx:402
Link m_dataLink
the main data link
Definition: RagTime5ClusterManager.hxx:310
std::shared_ptr< RagTime5ClusterManager::Cluster > m_cluster
the current cluster
Definition: RagTime5ClusterManager.cxx:2331
long end() const
returns the end offset
Definition: MWAWEntry.hxx:88
RootChildCParser(RagTime5ClusterManager &parser, int type)
constructor
Definition: RagTime5ClusterManager.cxx:1520
virtual int getNewZoneToParse()
returns to new zone to parse.
Definition: RagTime5ClusterManager.hxx:430
bool readClusterLinkList(RagTime5Zone &zone, RagTime5ClusterManager::Link const &link, std::vector< RagTime5StructManager::ZoneLink > &listLinks)
try to read a cluster link zone
Definition: RagTime5Document.cxx:1217
RagTime5ClusterManager(RagTime5ClusterManager const &orig)=delete
@ L_List
Definition: RagTime5ClusterManager.hxx:117
librevenge::RVNGString m_name
the cluster name (if know)
Definition: RagTime5ClusterManager.hxx:304
the cluster for root
Definition: RagTime5ClusterManager.hxx:329
void setClusterName(int id, librevenge::RVNGString const &name)
define a cluster name (used to associate graph name)
Definition: RagTime5ClusterManager.cxx:240
Link m_docInfoLink
the doc info link
Definition: RagTime5ClusterManager.hxx:354
bool empty() const
returns true if all link are empty
Definition: RagTime5ClusterManager.hxx:238
RagTime5ClusterManager & m_parser
the main parser
Definition: RagTime5ClusterManager.hxx:449
int m_zoneId
the zone id
Definition: RagTime5ClusterManager.hxx:300
ClusterParser & operator=(ClusterParser const &orig)=delete
std::shared_ptr< RagTime5ClusterManager::Cluster > m_cluster
the current cluster
Definition: RagTime5ClusterManager.cxx:1691
@ C_ClusterGProp
Definition: RagTime5ClusterManager.hxx:265
virtual std::shared_ptr< Cluster > getCluster()=0
return the current cluster
@ T_LongList
Definition: RagTime5StructManager.hxx:244
bool readCluster(RagTime5Zone &zone, ClusterParser &parser, bool warnForUnparsed=true)
try to read a cluster zone
Definition: RagTime5ClusterManager.cxx:365
@ C_SpreadsheetZone
Definition: RagTime5ClusterManager.hxx:268
std::shared_ptr< RagTime5ClusterManager::Cluster > m_cluster
the current cluster
Definition: RagTime5ClusterManager.cxx:2300
NameLink(Link const &lnk)
constructor from list
Definition: RagTime5ClusterManager.hxx:231
virtual ~ClusterParser()
destructor
Definition: RagTime5ClusterManager.cxx:180
void addPos(long pos)
adds a new position in the file
Definition: MWAWDebug.cxx:53
std::string getClusterDebugName(int id)
returns "data"+id+"A" ( followed by the cluster type and name if know)
Definition: RagTime5ClusterManager.cxx:230
unsigned long m_fileType[2]
the zone type in file
Definition: RagTime5ClusterManager.hxx:216
bool valid() const
returns true if the zone length is positive
Definition: MWAWEntry.hxx:99
virtual void endZone()
end of a start zone call
Definition: RagTime5ClusterManager.hxx:420
std::string m_fieldName
the actual field name
Definition: RagTime5ClusterManager.cxx:1503
basic class used to store RagTime 5/6 structures
Definition: RagTime5StructManager.hxx:175
bool parseHeaderZone(MWAWInputStreamPtr &input, long fSz, int N, int flag, libmwaw::DebugStream &f)
parse the header zone
Definition: RagTime5ClusterManager.cxx:1967
try to read a basic root child cluster: either fielddef or fieldpos or a first internal child of the ...
Definition: RagTime5ClusterManager.cxx:1518
int m_ids[3]
the zone id
Definition: RagTime5StructManager.hxx:140
@ C_Empty
Definition: RagTime5ClusterManager.hxx:276
static bool readCompressedLong(MWAWInputStreamPtr &input, long endPos, long &val)
try to read a compressed long
Definition: RagTime5StructManager.cxx:78
void endZone() final
end of a start zone call
Definition: RagTime5ClusterManager.cxx:1680
std::shared_ptr< RagTime5ClusterManager::Cluster > readSpreadsheetCluster(RagTime5Zone &zone, int zoneType)
try to read a spreadsheet cluster (via the spreadsheet manager)
Definition: RagTime5Document.cxx:455
a link to a small zone (or set of zones) in RagTime 5/6 documents
Definition: RagTime5ClusterManager.hxx:113
~ClusterRoot() final
destructor
Definition: RagTime5ClusterManager.cxx:184
bool parseZone(MWAWInputStreamPtr &input, long fSz, int N, int flag, libmwaw::DebugStream &f) final
parse a zone
Definition: RagTime5ClusterManager.cxx:1567
bool readClusterGObjProperties(RagTime5Zone &zone)
try to read a level 2 child of a cluster (picture resizing, ...)
Definition: RagTime5ClusterManager.cxx:2493
@ C_FormulaDef
Definition: RagTime5ClusterManager.hxx:264
an interface used to insert comment in a binary file, written in ascii form (if debug_with_files is n...
Definition: MWAWDebug.hxx:66
NameLink()
default constructor
Definition: RagTime5ClusterManager.hxx:224
the cluster data
Definition: RagTime5ClusterManager.hxx:261
bool m_hiLoEndian
zone endian
Definition: RagTime5ClusterManager.hxx:453
libmwaw::DebugFile & ascii()
a DebugFile used to write what we recognize when we parse the document
Definition: RagTime5Document.hxx:132
std::string m_fieldName
the actual field name
Definition: RagTime5ClusterManager.cxx:2302
Type m_type
the link type
Definition: RagTime5ClusterManager.hxx:206
Type m_type
the cluster type
Definition: RagTime5ClusterManager.hxx:298
int m_type
the cluster type
Definition: RagTime5ClusterManager.hxx:451
std::shared_ptr< RagTime5StructManager > m_structManager
the structure manager
Definition: RagTime5ClusterManager.hxx:470
int m_what
a index to know which field is parsed : 0: main, 1: filename, 2: list, 3: graph type,...
Definition: RagTime5ClusterManager.cxx:1499
std::shared_ptr< MWAWListener > MWAWListenerPtr
a smart pointer of MWAWListener
Definition: libmwaw_internal.hxx:553
AnchorTo m_anchorTo
anchor position
Definition: MWAWPosition.hxx:270
Definition: MWAWDocument.hxx:57
std::shared_ptr< RagTime5ClusterManager::Cluster > m_cluster
the current cluster
Definition: RagTime5ClusterManager.cxx:772
int getNewZoneToParse() final
returns to new zone to parse.
Definition: RagTime5ClusterManager.cxx:807
@ L_Unknown
Definition: RagTime5ClusterManager.hxx:119
std::shared_ptr< RagTime5ClusterManager::Cluster > readPictureCluster(RagTime5Zone &zone, int zoneType)
try to read a picture cluster (via the graphic manager)
Definition: RagTime5Document.cxx:450
GroupCParser(RagTime5ClusterManager &parser, int type)
constructor
Definition: RagTime5ClusterManager.cxx:1703
bool parseField(RagTime5StructManager::Field const &field, int, libmwaw::DebugStream &f) final
parse a field
Definition: RagTime5ClusterManager.cxx:1763
bool readUnicodeStringList(RagTime5ClusterManager::NameLink const &link, std::map< int, librevenge::RVNGString > &idToStringMap)
try to read a list of unicode string zone
Definition: RagTime5Document.cxx:843
bool readClusterZone(RagTime5Zone &zone, int type=-1)
try to read a cluster zone
Definition: RagTime5Document.cxx:1132
std::vector< long > m_decalList
a list of long used to store decal
Definition: RagTime5ClusterManager.hxx:249
int m_linkId
the link id : 0: zone[names], 1: field5=doc[info]?, 2: field6, 3: settings, 4: function names,...
Definition: RagTime5ClusterManager.cxx:1501
RagTime5ClusterManager(RagTime5Document &doc)
constructor
Definition: RagTime5ClusterManager.cxx:165
@ C_UnitStyles
Definition: RagTime5ClusterManager.hxx:272
bool send(int zoneId, MWAWListenerPtr listener, MWAWPosition const &pos, int partId=0, int cellId=0, double totalWidth=-1)
try to send a cluster zone (mainly unimplemented)
Definition: RagTime5Document.cxx:2609
std::shared_ptr< RagTime5ClusterManager::Cluster > m_cluster
the current cluster
Definition: RagTime5ClusterManager.cxx:1811
bool m_hiLoEndian
true if the endian is hilo
Definition: RagTime5StructManager.hxx:138
bool parseField(RagTime5StructManager::Field const &field, int, libmwaw::DebugStream &f) final
parse a field
Definition: RagTime5ClusterManager.cxx:1934
@ C_Layout
Definition: RagTime5ClusterManager.hxx:264
int m_clusterIds[1]
other cluster id (unknown cluster b, )
Definition: RagTime5ClusterManager.hxx:351
static bool readDataIdList(MWAWInputStreamPtr input, int n, std::vector< int > &listIds)
try to read n data id
Definition: RagTime5StructManager.cxx:332
std::stringstream DebugStream
a basic stream (if debug_with_files is not defined, does nothing)
Definition: MWAWDebug.hxx:61
bool parseZone(MWAWInputStreamPtr &input, long fSz, int N, int flag, libmwaw::DebugStream &f) final
parse the header zone
Definition: RagTime5ClusterManager.cxx:877
void endZone() final
end of a start zone call
Definition: RagTime5ClusterManager.cxx:2285
std::shared_ptr< RagTime5ClusterManager::ClusterRoot > m_cluster
the current cluster
Definition: RagTime5ClusterManager.cxx:1497
@ C_Root
Definition: RagTime5ClusterManager.hxx:265
std::string m_name
the link name
Definition: RagTime5ClusterManager.hxx:208
ClusterParser(RagTime5ClusterManager &parser, int type, std::string const &zoneName)
constructor
Definition: RagTime5ClusterManager.hxx:383
@ C_Unknown
Definition: RagTime5ClusterManager.hxx:276
std::vector< Link > m_settingLinks
the settings links
Definition: RagTime5ClusterManager.hxx:316
int m_fieldSize
the field size
Definition: RagTime5ClusterManager.hxx:214
try to read a root cluster: 4001
Definition: RagTime5ClusterManager.cxx:782
Internal: the state of a RagTime5ClusterManager.
Definition: RagTime5ClusterManager.cxx:145
std::vector< int > m_clusterIdsList
the cluster ids
Definition: RagTime5ClusterManager.hxx:320
Generated on Fri Sep 18 2020 18:14:52 for libmwaw by
doxygen 1.8.20