Go to the documentation of this file.
38 #ifndef RAGTIME5_PIPELINE
39 # define RAGTIME5_PIPELINE
46 #include <librevenge/librevenge.h>
59 struct ClusterPipeline;
129 std::shared_ptr<RagTime5PipelineInternal::State>
m_state;
std::vector< int > m_ids
the data ids
Definition: RagTime5ClusterManager.hxx:205
std::shared_ptr< RagTime5ClusterManager::Cluster > getCluster() final
return the current cluster
Definition: RagTime5Pipeline.cxx:320
std::shared_ptr< MWAWInputStream > MWAWInputStreamPtr
a smart pointer of MWAWInputStream
Definition: libmwaw_internal.hxx:549
RagTime5ClusterManager::Cluster::Type getContainerType(int pipelineId) const
try to return the container's type corresponding to an id
Definition: RagTime5Pipeline.cxx:138
std::shared_ptr< RagTime5ClusterManager > getClusterManager()
returns the cluster manager
Definition: RagTime5Parser.cxx:326
#define MWAW_DEBUG_MSG(M)
Definition: libmwaw_internal.hxx:129
MWAWVec2< float > MWAWVec2f
MWAWVec2 of float.
Definition: libmwaw_internal.hxx:840
the pipeline cluster ( 4001 zone)
Definition: RagTime5Pipeline.cxx:65
Cluster(Type type)
constructor
Definition: RagTime5ClusterManager.hxx:237
@ C_Pipeline
Definition: RagTime5ClusterManager.hxx:224
Internal: the helper to read a unknown.
Definition: RagTime5Pipeline.cxx:265
Link m_link
the actual link
Definition: RagTime5ClusterManager.hxx:428
@ T_Unstructured
Definition: RagTime5StructManager.hxx:238
the main class to read a RagTime v5 file
Definition: RagTime5Parser.hxx:73
~ClusterPipeline() final
destructor
Definition: RagTime5Pipeline.cxx:87
bool parseData(MWAWInputStreamPtr &input, long endPos, RagTime5Zone &, int, libmwaw::DebugStream &f) final
try to parse a data
Definition: RagTime5Pipeline.cxx:209
a field of RagTime 5/6 structures
Definition: RagTime5StructManager.hxx:235
RagTime5ClusterManager & m_clusterManager
the main zone manager
Definition: RagTime5Pipeline.cxx:253
std::string getClusterName(int id)
returns "data"+id+"A" ( followed by the cluster type and name if know)
Definition: RagTime5ClusterManager.cxx:223
State()
constructor
Definition: RagTime5Pipeline.cxx:95
virtual class use to parse the cluster data
Definition: RagTime5ClusterManager.hxx:350
long m_fileType[2]
the zone type in file
Definition: RagTime5ClusterManager.hxx:211
int version() const
returns the file version
Definition: RagTime5Pipeline.cxx:120
int m_dataId
the data id
Definition: RagTime5Pipeline.cxx:78
std::shared_ptr< RagTime5StructManager > m_structManager
the structure manager
Definition: RagTime5Pipeline.hxx:124
std::shared_ptr< ClusterPipeline > m_cluster
the current cluster
Definition: RagTime5Pipeline.cxx:461
ClustListParser(RagTime5ClusterManager &clusterManager, int fieldSize, std::string const &zoneName)
constructor
Definition: RagTime5Pipeline.cxx:180
virtual class use to parse the unstructured data
Definition: RagTime5StructManager.hxx:384
std::string getClusterName(int id)
returns "data"+id+"A" ( followed by the cluster type and name if know)
Definition: RagTime5ClusterManager.cxx:547
DataParser(std::string const &zoneName)
constructor
Definition: RagTime5StructManager.hxx:386
bool readFixedSizeZone(RagTime5ClusterManager::Link const &link, std::string const &name)
try to read a fixed size zone
Definition: RagTime5Parser.cxx:1681
@ T_FieldList
Definition: RagTime5StructManager.hxx:237
basic class used to manage RagTime 5/6 zones
Definition: RagTime5ClusterManager.hxx:58
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:2448
~ClustListParser() final
destructor
Definition: RagTime5Pipeline.cxx:260
RagTime5Pipeline & operator=(RagTime5Pipeline const &orig)=delete
int m_dataId
the data id (or 0)
Definition: RagTime5StructManager.hxx:332
int m_N
the number of data ( or some flag if m_N & 0x8020)
Definition: RagTime5ClusterManager.hxx:207
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:125
Internal: the state of a RagTime5Pipeline.
Definition: RagTime5Pipeline.cxx:93
RagTime5Pipeline(RagTime5Parser &parser)
constructor
Definition: RagTime5Pipeline.cxx:108
RagTime5Parser & m_mainParser
the parser
Definition: RagTime5Pipeline.hxx:121
std::shared_ptr< ClusterPipeline > getPipelineCluster()
return the pipeline cluster
Definition: RagTime5Pipeline.cxx:325
int m_fieldSize
the field size
Definition: RagTime5Pipeline.cxx:295
Class to define the position of an object (textbox, picture, ..) in the document.
Definition: MWAWPosition.hxx:47
int m_dataId
the actual zone id
Definition: RagTime5ClusterManager.hxx:426
virtual ~RagTime5Pipeline()
destructor
Definition: RagTime5Pipeline.cxx:116
ClusterPipeline()
constructor
Definition: RagTime5Pipeline.cxx:67
main zone in a RagTime v5-v6 document
Definition: RagTime5StructManager.hxx:48
bool parseZone(MWAWInputStreamPtr &input, long fSz, int N, int flag, libmwaw::DebugStream &f) final
parse a zone
Definition: RagTime5Pipeline.cxx:351
Internal: the structures of a RagTime5Pipeline.
Definition: RagTime5Pipeline.cxx:62
std::string getClusterName(int id) const
return the cluster name
Definition: RagTime5Pipeline.cxx:194
UnknownParser(int fieldSize, std::string const &zoneName)
constructor
Definition: RagTime5Pipeline.cxx:267
try to read a pipeline cluster: 104,204,4104, 4204
Definition: RagTime5Pipeline.cxx:310
std::vector< RagTime5StructManager::ZoneLink > m_linkList
the list of read cluster
Definition: RagTime5Pipeline.cxx:250
the main class to read the text part of RagTime 56 file
Definition: RagTime5Pipeline.hxx:72
bool parseData(MWAWInputStreamPtr &input, long endPos, RagTime5Zone &, int, libmwaw::DebugStream &f) final
try to parse a data
Definition: RagTime5Pipeline.cxx:279
Type
the cluster type
Definition: RagTime5ClusterManager.hxx:223
MWAWParserStatePtr m_parserState
the parser state
Definition: RagTime5Pipeline.hxx:126
int m_layoutId
the layout id
Definition: RagTime5Pipeline.cxx:82
UnknownParser & operator=(UnknownParser &orig)=delete
copy operator, not implemented
std::shared_ptr< RagTime5ClusterManager::Cluster > readPipelineCluster(RagTime5Zone &zone, int zoneType)
try to read a pipeline cluster
Definition: RagTime5Pipeline.cxx:470
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:383
int m_masterId
the master id
Definition: RagTime5Pipeline.cxx:80
std::shared_ptr< MWAWParserState > MWAWParserStatePtr
a smart pointer of MWAWParserState
Definition: libmwaw_internal.hxx:555
std::map< int, std::shared_ptr< ClusterPipeline > > m_idPipelineMap
map data id to text zone
Definition: RagTime5Pipeline.cxx:100
PipelineCParser(RagTime5ClusterManager &parser, int type)
constructor
Definition: RagTime5Pipeline.cxx:312
basic class used to store RagTime 5/6 structures
Definition: RagTime5StructManager.hxx:170
int m_ids[3]
the zone id
Definition: RagTime5StructManager.hxx:138
std::shared_ptr< RagTime5PipelineInternal::State > m_state
the state
Definition: RagTime5Pipeline.hxx:129
~PipelineCParser() final
destructor
Definition: RagTime5Pipeline.cxx:464
ClustListParser & operator=(ClustListParser &orig)=delete
copy operator, not implemented
the cluster data
Definition: RagTime5ClusterManager.hxx:221
std::vector< int > getIdList() const
returns the not null list dataId list
Definition: RagTime5Pipeline.cxx:199
namespace used to regroup all libwpd functions, enumerations which we have redefined for internal usa...
Definition: libmwaw_internal.cxx:50
int m_type
the cluster type
Definition: RagTime5ClusterManager.hxx:420
std::shared_ptr< MWAWListener > MWAWListenerPtr
a smart pointer of MWAWListener
Definition: libmwaw_internal.hxx:551
Internal: the helper to read a clustList.
Definition: RagTime5Pipeline.cxx:178
RagTime5ClusterManager::Link m_data2Link
the second data link(rare)
Definition: RagTime5Pipeline.cxx:84
int m_fieldSize
the field size
Definition: RagTime5Pipeline.cxx:248
long m_subZoneId[2]
the sub id zones
Definition: RagTime5StructManager.hxx:334
bool parseField(RagTime5StructManager::Field const &field, int, libmwaw::DebugStream &f) final
parse a field
Definition: RagTime5Pipeline.cxx:330
void flushExtra()
sends the data which have not yet been sent to the listener
Definition: RagTime5Pipeline.cxx:166
a zone link in RagTime 5/6 structures
Definition: RagTime5StructManager.hxx:296
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
ClusterParser(RagTime5ClusterManager &parser, int type, std::string const &zoneName)
constructor
Definition: RagTime5ClusterManager.hxx:352
@ C_Unknown
Definition: RagTime5ClusterManager.hxx:234
int m_fieldSize
the field size
Definition: RagTime5ClusterManager.hxx:209
~UnknownParser() final
destructor
Definition: RagTime5Pipeline.cxx:303
Generated on Mon Apr 25 2022 14:03:04 for libmwaw by
doxygen 1.8.17