Go to the documentation of this file.
38 #ifndef RAGTIME5_PIPELINE
39 # define RAGTIME5_PIPELINE
46 #include <librevenge/librevenge.h>
59 struct ClusterPipeline;
129 shared_ptr<RagTime5PipelineInternal::State>
m_state;
std::vector< int > m_ids
the data ids
Definition: RagTime5ClusterManager.hxx:200
RagTime5Pipeline(RagTime5Pipeline const &orig)
RagTime5ClusterManager::Cluster::Type getContainerType(int pipelineId) const
try to return the container's type corresponding to an id
Definition: RagTime5Pipeline.cxx:128
#define MWAW_DEBUG_MSG(M)
Definition: libmwaw_internal.hxx:127
MWAWVec2< float > MWAWVec2f
MWAWVec2 of float.
Definition: libmwaw_internal.hxx:785
shared_ptr< RagTime5StructManager > m_structManager
the structure manager
Definition: RagTime5Pipeline.hxx:124
the pipeline cluster ( 4001 zone)
Definition: RagTime5Pipeline.cxx:65
shared_ptr< RagTime5ClusterManager::Cluster > getCluster()
return the current cluster
Definition: RagTime5Pipeline.cxx:305
Cluster(Type type)
constructor
Definition: RagTime5ClusterManager.hxx:232
@ C_Pipeline
Definition: RagTime5ClusterManager.hxx:219
Internal: the helper to read a unknown.
Definition: RagTime5Pipeline.cxx:252
virtual ~ClusterPipeline()
destructor
Definition: RagTime5Pipeline.cxx:82
bool parseData(MWAWInputStreamPtr &input, long endPos, RagTime5Zone &, int, libmwaw::DebugStream &f)
try to parse a data
Definition: RagTime5Pipeline.cxx:265
ClustListParser(ClustListParser &orig)
copy constructor, not implemented
shared_ptr< ClusterPipeline > m_cluster
the current cluster
Definition: RagTime5Pipeline.cxx:447
Link m_link
the actual link
Definition: RagTime5ClusterManager.hxx:398
@ T_Unstructured
Definition: RagTime5StructManager.hxx:221
the main class to read a RagTime v5 file
Definition: RagTime5Parser.hxx:74
bool parseData(MWAWInputStreamPtr &input, long endPos, RagTime5Zone &, int, libmwaw::DebugStream &f)
try to parse a data
Definition: RagTime5Pipeline.cxx:196
a field of RagTime 5/6 structures
Definition: RagTime5StructManager.hxx:218
std::map< int, shared_ptr< ClusterPipeline > > m_idPipelineMap
map data id to text zone
Definition: RagTime5Pipeline.cxx:92
RagTime5ClusterManager & m_clusterManager
the main zone manager
Definition: RagTime5Pipeline.cxx:240
std::string getClusterName(int id)
returns "data"+id+"A" ( followed by the cluster type and name if know)
Definition: RagTime5ClusterManager.cxx:215
State()
constructor
Definition: RagTime5Pipeline.cxx:90
virtual class use to parse the cluster data
Definition: RagTime5ClusterManager.hxx:325
long m_fileType[2]
the zone type in file
Definition: RagTime5ClusterManager.hxx:206
int version() const
returns the file version
Definition: RagTime5Pipeline.cxx:110
int m_dataId
the data id
Definition: RagTime5Pipeline.cxx:73
ClustListParser(RagTime5ClusterManager &clusterManager, int fieldSize, std::string const &zoneName)
constructor
Definition: RagTime5Pipeline.cxx:170
shared_ptr< MWAWParserState > MWAWParserStatePtr
a smart pointer of MWAWParserState
Definition: libmwaw_internal.hxx:509
UnknownParser(UnknownParser &orig)
copy constructor, not implemented
virtual class use to parse the unstructured data
Definition: RagTime5StructManager.hxx:347
std::string getClusterName(int id)
returns "data"+id+"A" ( followed by the cluster type and name if know)
Definition: RagTime5ClusterManager.cxx:542
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
@ T_FieldList
Definition: RagTime5StructManager.hxx:220
basic class used to manage RagTime 5/6 zones
Definition: RagTime5ClusterManager.hxx:59
bool send(int zoneId, MWAWListenerPtr listener, MWAWPosition const &pos, int partId=0, int part2Id=0)
try to send a cluster zone (mainly unimplemented)
Definition: RagTime5Parser.cxx:2493
int m_dataId
the data id (or 0)
Definition: RagTime5StructManager.hxx:299
int m_N
the number of data ( or some flag if m_N & 0x8020)
Definition: RagTime5ClusterManager.hxx:202
bool send(int pipelineId, MWAWListenerPtr listener, MWAWPosition const &pos, int partId=0)
try to send the container corresponding to pipelineId (mainly unimplemented)
Definition: RagTime5Pipeline.cxx:115
Internal: the state of a RagTime5Pipeline.
Definition: RagTime5Pipeline.cxx:88
RagTime5Pipeline(RagTime5Parser &parser)
constructor
Definition: RagTime5Pipeline.cxx:100
long m_fileType
the file type
Definition: RagTime5StructManager.hxx:239
RagTime5Parser & m_mainParser
the parser
Definition: RagTime5Pipeline.hxx:121
virtual ~PipelineCParser()
destructor
Definition: RagTime5Pipeline.cxx:450
shared_ptr< RagTime5ClusterManager::Cluster > readPipelineCluster(RagTime5Zone &zone, int zoneType)
try to read a pipeline cluster
Definition: RagTime5Pipeline.cxx:456
int m_fieldSize
the field size
Definition: RagTime5Pipeline.cxx:281
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:396
virtual ~RagTime5Pipeline()
destructor
Definition: RagTime5Pipeline.cxx:106
ClusterPipeline()
constructor
Definition: RagTime5Pipeline.cxx:67
bool parseZone(MWAWInputStreamPtr &input, long fSz, int N, int flag, libmwaw::DebugStream &f)
parse a zone
Definition: RagTime5Pipeline.cxx:337
main zone in a RagTime v5-v6 document
Definition: RagTime5StructManager.hxx:49
ClustListParser & operator=(ClustListParser &orig)
copy operator, not implemented
Internal: the structures of a RagTime5Pipeline.
Definition: RagTime5Pipeline.cxx:63
virtual ~UnknownParser()
destructor
Definition: RagTime5Pipeline.cxx:289
std::string getClusterName(int id) const
return the cluster name
Definition: RagTime5Pipeline.cxx:181
UnknownParser(int fieldSize, std::string const &zoneName)
constructor
Definition: RagTime5Pipeline.cxx:254
try to read a pipeline cluster: 104,204,4104, 4204
Definition: RagTime5Pipeline.cxx:296
std::vector< RagTime5StructManager::ZoneLink > m_linkList
the list of read cluster
Definition: RagTime5Pipeline.cxx:237
the main class to read the text part of RagTime 56 file
Definition: RagTime5Pipeline.hxx:73
Type
the cluster type
Definition: RagTime5ClusterManager.hxx:218
MWAWParserStatePtr m_parserState
the parser state
Definition: RagTime5Pipeline.hxx:126
int m_layoutId
the layout id
Definition: RagTime5Pipeline.cxx:77
shared_ptr< MWAWInputStream > MWAWInputStreamPtr
a smart pointer of MWAWInputStream
Definition: libmwaw_internal.hxx:503
RagTime5ClusterManager::Cluster::Type getClusterType(int zId) const
returns the cluster type corresponding to zone id or C_Unknown (if the zone is not a cluster or was n...
Definition: RagTime5Parser.cxx:407
virtual ~ClustListParser()
destructor
Definition: RagTime5Pipeline.cxx:247
UnknownParser & operator=(UnknownParser &orig)
copy operator, not implemented
bool parseField(RagTime5StructManager::Field const &field, int, libmwaw::DebugStream &f)
parse a field
Definition: RagTime5Pipeline.cxx:315
int m_masterId
the master id
Definition: RagTime5Pipeline.cxx:75
shared_ptr< RagTime5PipelineInternal::State > m_state
the state
Definition: RagTime5Pipeline.hxx:129
PipelineCParser(RagTime5ClusterManager &parser, int type)
constructor
Definition: RagTime5Pipeline.cxx:298
basic class used to store RagTime 5/6 structures
Definition: RagTime5StructManager.hxx:157
int m_ids[3]
the zone id
Definition: RagTime5StructManager.hxx:124
a link to a small zone (or set of zones) in RagTime 5/6 documents
Definition: RagTime5ClusterManager.hxx:105
the cluster data
Definition: RagTime5ClusterManager.hxx:216
std::vector< int > getIdList() const
returns the not null list dataId list
Definition: RagTime5Pipeline.cxx:186
int m_type
the cluster type
Definition: RagTime5ClusterManager.hxx:390
shared_ptr< RagTime5ClusterManager > getClusterManager()
returns the cluster manager
Definition: RagTime5Parser.cxx:350
Internal: the helper to read a clustList.
Definition: RagTime5Pipeline.cxx:168
RagTime5ClusterManager::Link m_data2Link
the second data link(rare)
Definition: RagTime5Pipeline.cxx:79
int m_fieldSize
the field size
Definition: RagTime5Pipeline.cxx:235
long m_subZoneId[2]
the sub id zones
Definition: RagTime5StructManager.hxx:301
void flushExtra()
sends the data which have not yet been sent to the listener
Definition: RagTime5Pipeline.cxx:156
a zone link in RagTime 5/6 structures
Definition: RagTime5StructManager.hxx:266
static bool readDataIdList(MWAWInputStreamPtr input, int n, std::vector< int > &listIds)
try to read n data id
Definition: RagTime5StructManager.cxx:269
std::stringstream DebugStream
a basic stream (if debug_with_files is not defined, does nothing)
Definition: MWAWDebug.hxx:61
shared_ptr< MWAWListener > MWAWListenerPtr
a smart pointer of MWAWListener
Definition: libmwaw_internal.hxx:505
RagTime5Pipeline & operator=(RagTime5Pipeline const &orig)
shared_ptr< ClusterPipeline > getPipelineCluster()
return the pipeline cluster
Definition: RagTime5Pipeline.cxx:310
Type m_type
the field type
Definition: RagTime5StructManager.hxx:237
std::vector< Field > m_fieldList
the list of field
Definition: RagTime5StructManager.hxx:259
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:13 for libmwaw by
doxygen 1.8.18