Go to the documentation of this file.
38 #ifndef RAGTIME5_GRAPH
39 # define RAGTIME5_GRAPH
45 #include <librevenge/librevenge.h>
58 struct ClusterGraphic;
59 struct ClusterPicture;
192 shared_ptr<RagTime5GraphInternal::State>
m_state;
std::vector< int > m_ids
the data ids
Definition: RagTime5ClusterManager.hxx:200
virtual ~IntListParser()
destructor
Definition: RagTime5Graph.cxx:188
basic class to store an entry in a file This contained :
Definition: MWAWEntry.hxx:47
std::vector< int > m_dataList
the list of read int
Definition: RagTime5Graph.cxx:180
bool m_isParsed
a flag to know if the zone is parsed
Definition: RagTime5StructManager.hxx:134
std::vector< int > m_rootIdList
the root id list
Definition: RagTime5Graph.cxx:364
std::string m_fieldName
the actual field name
Definition: RagTime5Graph.cxx:2277
int m_graphicId
the graphic id
Definition: RagTime5Graph.cxx:255
int m_id
the shape id
Definition: RagTime5Graph.cxx:235
void endZone()
end of a start zone call
Definition: RagTime5Graph.cxx:1935
bool parseHeaderZone(MWAWInputStreamPtr &input, long fSz, int N, int flag, libmwaw::DebugStream &f)
parse the header zone
Definition: RagTime5Graph.cxx:2168
bool parseZone(MWAWInputStreamPtr &input, long fSz, int N, int flag, libmwaw::DebugStream &f)
parse a zone
Definition: RagTime5Graph.cxx:1961
@ L_ClusterLink
Definition: RagTime5ClusterManager.hxx:107
std::string m_extra
extra data
Definition: RagTime5Graph.cxx:259
bool parseField(RagTime5StructManager::Field const &field, int, libmwaw::DebugStream &f)
parse a field
Definition: RagTime5Graph.cxx:1975
virtual ~FloatParser()
destructor
Definition: RagTime5Graph.cxx:213
GraphicCParser(GraphicCParser const &orig)
copy constructor (not implemented)
@ S_Spline
Definition: RagTime5Graph.cxx:220
MWAWBox2f getBdBox() const
returns the basic bdbox
Definition: MWAWGraphicShape.hxx:172
#define MWAW_DEBUG_MSG(M)
Definition: libmwaw_internal.hxx:127
MWAWVec2< float > MWAWVec2f
MWAWVec2 of float.
Definition: libmwaw_internal.hxx:785
RagTime5ClusterManager::Link m_clusterLink
cluster links list of size 28
Definition: RagTime5Graph.cxx:384
void addDelimiter(long pos, char c)
adds a not breaking delimiter in position pos
Definition: MWAWDebug.cxx:73
RagTime5ClusterManager::Cluster::Type getPipelineContainerType(int pipelineId) const
try to return the container's type corresponding to an id
Definition: RagTime5Parser.cxx:412
virtual bool operator==(MWAWSubDocument const &doc) const
operator!==
Definition: RagTime5Graph.cxx:481
Internal: the helper to read a int16 float.
Definition: RagTime5Graph.cxx:193
ClustListParser(RagTime5ClusterManager &clusterManager, std::string const &zoneName)
constructor
Definition: RagTime5Graph.cxx:67
PictCParser & operator=(PictCParser const &orig)
copy operator (not implemented)
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
MWAWVec2i m_dimension
the picture dimension
Definition: RagTime5Graph.cxx:388
bool parseData(MWAWInputStreamPtr &input, long endPos, RagTime5Zone &, int, libmwaw::DebugStream &f)
try to parse a data
Definition: RagTime5Graph.cxx:159
shared_ptr< RagTime5StructManager > m_structManager
the structure manager
Definition: RagTime5Graph.hxx:185
long m_defPosition
the position of the definition in the main zones
Definition: RagTime5StructManager.hxx:114
Cluster(Type type)
constructor
Definition: RagTime5ClusterManager.hxx:232
@ C_Pipeline
Definition: RagTime5ClusterManager.hxx:219
void parse(MWAWListenerPtr &listener, libmwaw::SubDocumentType type)
the parser function
Definition: RagTime5Graph.cxx:498
static MWAWGraphicShape pie(MWAWBox2f const &box, MWAWBox2f const &circleBox, MWAWVec2f const &angles)
static constructor to create a pie
Definition: MWAWGraphicShape.hxx:130
ClusterGraphic()
constructor
Definition: RagTime5Graph.cxx:344
virtual ~SubDocument()
destructor
Definition: RagTime5Graph.cxx:476
GraphicCParser & operator=(GraphicCParser const &orig)
copy operator (not implemented)
Shape()
constructor
Definition: RagTime5Graph.cxx:222
std::vector< RagTime5ClusterManager::Link > m_dimensionLinks
the list of dimension's link
Definition: RagTime5Graph.cxx:357
PictCParser(PictCParser const &orig)
copy constructor (not implemented)
static Arrow plain()
returns a basic plain arrow
Definition: MWAWGraphicStyle.hxx:69
Link m_link
the actual link
Definition: RagTime5ClusterManager.hxx:398
std::string m_kinds[2]
the zone types: normal and packing
Definition: RagTime5StructManager.hxx:116
@ S_Rect
Definition: RagTime5Graph.cxx:220
bool parseData(MWAWInputStreamPtr &input, long endPos, RagTime5Zone &, int, libmwaw::DebugStream &f)
try to parse a data
Definition: RagTime5Graph.cxx:201
@ T_Unstructured
Definition: RagTime5StructManager.hxx:221
@ P_ScreenRep
Definition: RagTime5Graph.cxx:399
the main class to read a RagTime v5 file
Definition: RagTime5Parser.hxx:74
@ P_Pict
Definition: RagTime5Graph.cxx:399
static MWAWColor white()
return the white color
Definition: libmwaw_internal.hxx:231
@ L_UnicodeList
Definition: RagTime5ClusterManager.hxx:109
libmwaw::DebugFile & ascii()
returns the current ascii file
Definition: RagTime5StructManager.hxx:93
shared_ptr< RagTime5ClusterManager::Cluster > getCluster()
return the current cluster
Definition: RagTime5Graph.cxx:2301
bool readListZone(RagTime5ClusterManager::Link const &link)
try to read a list zone
Definition: RagTime5Parser.cxx:1653
@ S_Circle
Definition: RagTime5Graph.cxx:220
a structure used to define a picture shape
Definition: MWAWGraphicShape.hxx:46
the class to store a color
Definition: libmwaw_internal.hxx:182
small class use to define a embedded object
Definition: libmwaw_internal.hxx:425
a field of RagTime 5/6 structures
Definition: RagTime5StructManager.hxx:218
Shape::Type getShapeType(int id) const
try to return a set type
Definition: RagTime5Graph.cxx:430
bool readLinkHeader(MWAWInputStreamPtr &input, long fSz, Link &link, long(&values)[4], std::string &message)
try to read a link header
Definition: RagTime5ClusterManager.cxx:547
static MWAWGraphicShape line(MWAWVec2f const &orign, MWAWVec2f const &dest)
static constructor to create a line
Definition: MWAWGraphicShape.cxx:227
bool m_isSent
true if the cluster was send
Definition: RagTime5ClusterManager.hxx:262
@ P_Tiff
Definition: RagTime5Graph.cxx:399
void setUnit(librevenge::RVNGUnit newUnit)
sets the dimension unit
Definition: MWAWPosition.hxx:209
std::string getClusterName(int id)
returns "data"+id+"A" ( followed by the cluster type and name if know)
Definition: RagTime5ClusterManager.cxx:215
Internal: the shape of a RagTime5Graph.
Definition: RagTime5Graph.cxx:218
std::map< int, shared_ptr< ClusterGraphic > > m_idGraphicMap
map data id to graphic zone
Definition: RagTime5Graph.cxx:423
int m_partId
the link part id
Definition: RagTime5Graph.cxx:241
int m_linkId
the link id: 0: unicode, 1: condition, 2: clustLink, 3: clustLink[list], 4: clustLink[8],...
Definition: RagTime5Graph.cxx:2840
FloatParser(std::string const &zoneName)
constructor
Definition: RagTime5Graph.cxx:195
virtual class use to parse the cluster data
Definition: RagTime5ClusterManager.hxx:325
std::map< int, shared_ptr< RagTime5Zone > > m_childIdToZoneMap
the child zones
Definition: RagTime5StructManager.hxx:130
long m_fileType[2]
the zone type in file
Definition: RagTime5ClusterManager.hxx:206
@ S_Arc
Definition: RagTime5Graph.cxx:220
MWAWEntry m_entry
the zone entry
Definition: RagTime5StructManager.hxx:118
@ WDynamic
Definition: MWAWPosition.hxx:53
shared_ptr< ClusterGraphic > getGraphicCluster()
return the current graphic cluster
Definition: RagTime5Graph.cxx:2306
SubDocument(RagTime5Graph &parser, MWAWInputStreamPtr input, int zoneId, int partId)
Definition: RagTime5Graph.cxx:472
PictCParser(RagTime5ClusterManager &parser, int type)
constructor
Definition: RagTime5Graph.cxx:1918
void flushExtra()
sends the data which have not yet been sent to the listener
Definition: RagTime5Graph.cxx:1706
shared_ptr< MWAWParserState > MWAWParserStatePtr
a smart pointer of MWAWParserState
Definition: libmwaw_internal.hxx:509
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
Internal: the structures of a RagTime5Graph.
Definition: RagTime5Graph.cxx:63
shared_ptr< RagTime5ClusterManager::Cluster > getCluster()
return the current cluster
Definition: RagTime5Graph.cxx:1925
bool readFixedSizeZone(RagTime5ClusterManager::Link const &link, std::string const &name)
try to read a fixed size zone
Definition: RagTime5Parser.cxx:1726
MWAWBox2f getBdBox() const
return the shape bdbox
Definition: RagTime5Graph.cxx:227
Internal: the subdocument of a RagTime5Graph.
Definition: RagTime5Graph.cxx:469
void addNote(char const *note)
adds a note in the file, in actual position
Definition: MWAWDebug.cxx:59
RagTime5Graph & operator=(RagTime5Graph const &orig)
abstract class used to store a subdocument (with a comparison function)
Definition: MWAWSubDocument.hxx:42
shared_ptr< ClusterPicture > getPictureCluster()
return the current cluster
Definition: RagTime5Graph.cxx:1930
a structure used to define a picture style
Definition: MWAWGraphicStyle.hxx:48
@ T_FieldList
Definition: RagTime5StructManager.hxx:220
bool hasLine() const
returns true if the border is defined
Definition: MWAWGraphicStyle.hxx:277
std::vector< unsigned char > m_data
the pattern data: a sequence of data: p[0..7,0],p[8..15,0]...p[0..7,1],p[8..15,1],...
Definition: MWAWGraphicStyle.hxx:247
@ C_PictureZone
Definition: RagTime5ClusterManager.hxx:223
bool parseHeaderZone(MWAWInputStreamPtr &input, long fSz, int N, int flag, libmwaw::DebugStream &f)
parse the header zone
Definition: RagTime5Graph.cxx:2725
bool readPictureRep(RagTime5Zone &zone)
try to read a picture rep
Definition: RagTime5Graph.cxx:1346
std::vector< RagTime5StructManager::ZoneLink > m_linkList
list of link to other zone
Definition: RagTime5Graph.cxx:366
int getSubZoneId(int i) const
returns the sub zone id
Definition: RagTime5StructManager.hxx:273
void setOrder(int ord) const
set background/foward order
Definition: MWAWPosition.hxx:248
bool readClusterLinkList(RagTime5Zone &zone, RagTime5ClusterManager::Link const &link, std::vector< RagTime5StructManager::ZoneLink > &listLinks)
try to read a cluster link zone
Definition: RagTime5Parser.cxx:1239
low level: parser of graph cluster
Definition: RagTime5Graph.cxx:2292
libmwaw::DebugFile & ascii()
a DebugFile used to write what we recognize when we parse the document
Definition: MWAWParser.hxx:195
std::vector< int > m_childIdList
the child list (for group)
Definition: RagTime5Graph.cxx:249
basic class used to manage RagTime 5/6 zones
Definition: RagTime5ClusterManager.hxx:59
MWAWGraphicShape m_shape
the graphic shape
Definition: RagTime5Graph.cxx:247
static MWAWGraphicShape circle(MWAWBox2f const &box)
static constructor to create a circle
Definition: MWAWGraphicShape.hxx:112
shared_ptr< RagTime5ClusterManager::Cluster > readPictureCluster(RagTime5Zone &zone, int zoneType)
try to read a picture zone
Definition: RagTime5Graph.cxx:2859
int m_numPages
the number of pages
Definition: RagTime5Graph.cxx:404
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
basic class used to read/store RagTime 5/6 styles
Definition: RagTime5StyleManager.hxx:61
std::map< int, shared_ptr< ClusterPicture > > m_idPictClusterMap
map data id to picture zone
Definition: RagTime5Graph.cxx:425
@ S_TextBox
Definition: RagTime5Graph.cxx:220
int m_unknownZoneId
the graphic unknown zone id
Definition: RagTime5Graph.cxx:353
bool checkClusterList(std::vector< RagTime5StructManager::ZoneLink > const &list)
check a cluster list
Definition: RagTime5Parser.cxx:1131
@ S_Line
Definition: RagTime5Graph.cxx:220
a basic pattern used in a MWAWGraphicStyle:
Definition: MWAWGraphicStyle.hxx:171
IntListParser & operator=(IntListParser &orig)
copy operator, not implemented
ClustListParser(ClustListParser &orig)
copy constructor, not implemented
int m_dataId
the data id (or 0)
Definition: RagTime5StructManager.hxx:299
@ L_LongList
Definition: RagTime5ClusterManager.hxx:109
RagTime5Graph(RagTime5Parser &parser)
constructor
Definition: RagTime5Graph.cxx:525
virtual class use to parse the field data
Definition: RagTime5StructManager.hxx:308
@ Polygon
Definition: MWAWGraphicShape.hxx:49
int m_N
the number of data ( or some flag if m_N & 0x8020)
Definition: RagTime5ClusterManager.hxx:202
MWAWBox2< T > getUnion(MWAWBox2< T > const &box) const
returns the union between this and box
Definition: libmwaw_internal.hxx:1070
int m_what
a index to know which field is parsed : 0: main, 1: list, 2: unkn zone58
Definition: RagTime5Graph.cxx:2273
the main class to read the graphic part of RagTime 56 file
Definition: RagTime5Graph.hxx:80
int version() const
returns the file version
Definition: RagTime5Graph.cxx:534
SubDocumentType
Definition: libmwaw_internal.hxx:178
@ S_Unknown
Definition: RagTime5Graph.cxx:220
bool parseField(RagTime5StructManager::Field const &field, int, libmwaw::DebugStream &f)
parse a field
Definition: RagTime5Graph.cxx:2367
virtual ~GraphicCParser()
destructor
Definition: RagTime5Graph.cxx:2850
virtual ~RagTime5Graph()
destructor
Definition: RagTime5Graph.cxx:531
bool readGraphicShape(RagTime5GraphInternal::ClusterGraphic &cluster, RagTime5Zone &dataZone, long endPos, int n, librevenge::RVNGString const &dataName)
try to read a graphic
Definition: RagTime5Graph.cxx:843
State()
constructor
Definition: RagTime5Graph.cxx:402
static MWAWGraphicStyle emptyStyle()
returns an empty style.
Definition: MWAWGraphicStyle.hxx:268
friend std::ostream & operator<<(std::ostream &o, Shape const &shape)
operator<<
Definition: RagTime5Graph.cxx:262
bool parseDataZone(MWAWInputStreamPtr &input, long fSz, int N, int flag, libmwaw::DebugStream &f)
parse a data block
Definition: RagTime5Graph.cxx:2482
long m_fileType
the file type
Definition: RagTime5StructManager.hxx:239
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
void skipZone(long beginPos, long endPos)
skips the file zone defined by beginPos-endPos
Definition: MWAWDebug.hxx:105
Type
the different shape
Definition: RagTime5Graph.cxx:220
bool empty() const
returns true if all link are empty
Definition: RagTime5ClusterManager.hxx:121
long m_longValue[2]
the long value
Definition: RagTime5StructManager.hxx:243
bool readPictureList(RagTime5Zone &zone)
try to read a picture list
Definition: RagTime5Graph.cxx:1288
bool dumpFile(librevenge::RVNGBinaryData &data, char const *fileName)
a debug function to store in a datafile in the current directory WARNING: this function erase the fil...
Definition: MWAWDebug.cxx:197
ClusterPicture()
constructor
Definition: RagTime5Graph.cxx:376
int m_what
a index to know which field is parsed : 0: graphdata, 1: list, 2: clustLink, graph transform,...
Definition: RagTime5Graph.cxx:2838
float m_lineWidth
the linewidth
Definition: MWAWGraphicStyle.hxx:375
int numPages() const
returns the number of pages
Definition: RagTime5Graph.cxx:539
void setSize(MWAWVec2f const &sz)
sets the frame size
Definition: MWAWPosition.hxx:199
std::vector< int > m_shapeTypeIdVector
the vector of shape type id
Definition: RagTime5Graph.cxx:421
std::map< int, shared_ptr< MWAWEmbeddedObject > > m_idPictureMap
map data id to picture
Definition: RagTime5Graph.cxx:427
@ P_Epsf
Definition: RagTime5Graph.cxx:399
void endZone()
end of a start zone call
Definition: RagTime5Graph.cxx:2311
uint32_t m_flags
the shape flag
Definition: RagTime5Graph.cxx:251
int m_subId
the zone sub id
Definition: RagTime5Graph.cxx:495
bool readPictureData(RagTime5Zone &zone)
try to read a picture data zone: ie. the zone which contains jpeg, tiff, ...
Definition: RagTime5Graph.cxx:1446
std::string getKindLastPart(bool main=true) const
returns the main type
Definition: RagTime5StructManager.hxx:66
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
@ T_Long
Definition: RagTime5StructManager.hxx:220
@ C_GraphicZone
Definition: RagTime5ClusterManager.hxx:223
void setBegin(long off)
sets the begin offset
Definition: MWAWEntry.hxx:56
bool m_hiLoEndian
the cluster hiLo endian
Definition: RagTime5ClusterManager.hxx:244
int m_linkId
the link to a zone id
Definition: RagTime5Graph.cxx:239
main zone in a RagTime v5-v6 document
Definition: RagTime5StructManager.hxx:49
@ C_TextZone
Definition: RagTime5ClusterManager.hxx:223
int m_textboxZoneId
the main textbox zone id(if defined)
Definition: RagTime5Graph.cxx:351
MWAWVec2i m_dim
the dimension width x height
Definition: MWAWGraphicStyle.hxx:242
shared_ptr< RagTime5ClusterManager::Cluster > readGraphicCluster(RagTime5Zone &zone, int zoneType)
try to read a graphic zone
Definition: RagTime5Graph.cxx:2915
Wrapping m_wrapping
Wrapping.
Definition: MWAWPosition.hxx:262
std::map< int, shared_ptr< Shape > > m_idToShapeMap
the shape list
Definition: RagTime5Graph.cxx:362
bool send(int zoneId, MWAWListenerPtr listener, MWAWPosition const &pos)
try to send the cluster zone
Definition: RagTime5Graph.cxx:546
long length() const
returns the length of the zone
Definition: MWAWEntry.hxx:82
@ Path
Definition: MWAWGraphicShape.hxx:49
bool readPositions(int posId, std::vector< long > &listPosition)
try to read a positions zone in data
Definition: RagTime5Parser.cxx:954
Internal: the helper to read an integer list.
Definition: RagTime5Graph.cxx:147
std::string getClusterName(int id) const
returns a name with can be used for debugging
Definition: RagTime5Graph.cxx:74
std::string m_extra
extra data
Definition: RagTime5StructManager.hxx:263
MWAWBox2f m_dimension
the dimension
Definition: RagTime5Graph.cxx:245
bool parseZone(MWAWInputStreamPtr &input, long fSz, int N, int flag, libmwaw::DebugStream &f)
parse a zone
Definition: RagTime5Graph.cxx:2353
MWAWInputStreamPtr getInput()
returns the current input
Definition: RagTime5StructManager.hxx:77
@ P_PNG
Definition: RagTime5Graph.cxx:399
@ P_Unknown
Definition: RagTime5Graph.cxx:399
virtual ~PictCParser()
destructor
Definition: RagTime5Graph.cxx:2285
void setOrigin(MWAWVec2f const &orig)
sets the frame origin
Definition: MWAWPosition.hxx:194
@ P_WMF
Definition: RagTime5Graph.cxx:399
long begin() const
returns the begin offset
Definition: MWAWEntry.hxx:72
void setLength(long l)
sets the zone size
Definition: MWAWEntry.hxx:61
PictureType
enum used to defined list of classical pict
Definition: RagTime5Graph.cxx:399
Arrow m_arrows[2]
the two arrows corresponding to start and end extremity
Definition: MWAWGraphicStyle.hxx:430
std::vector< long > m_longList
a list of long used to store decal
Definition: RagTime5ClusterManager.hxx:208
bool readGraphicShapes(RagTime5GraphInternal::ClusterGraphic &cluster)
try to read the graphic shapes of a cluster
Definition: RagTime5Graph.cxx:746
static MWAWColor black()
return the back color
Definition: libmwaw_internal.hxx:226
MWAWBox2< float > MWAWBox2f
MWAWBox2 of float.
Definition: libmwaw_internal.hxx:1134
GraphicCParser(RagTime5ClusterManager &parser, int type)
constructor
Definition: RagTime5Graph.cxx:2294
bool readGraphicUnknown(int typeId)
try to read a graphic unknown zone in data
Definition: RagTime5Graph.cxx:1172
shared_ptr< RagTime5StyleManager > m_styleManager
the style manager
Definition: RagTime5Graph.hxx:187
@ S_RegularPoly
Definition: RagTime5Graph.cxx:220
shared_ptr< RagTime5Zone > getDataZone(int dataId) const
returns the zone corresponding to a data id (or 0)
Definition: RagTime5Parser.cxx:400
the shape cluster
Definition: RagTime5Graph.cxx:342
std::string m_fieldName
the actual field name
Definition: RagTime5Graph.cxx:2842
Type m_type
the shape type
Definition: RagTime5Graph.cxx:243
@ Char
Definition: MWAWPosition.hxx:51
std::vector< Link > m_linksList
the link list
Definition: RagTime5ClusterManager.hxx:258
the picture cluster
Definition: RagTime5Graph.cxx:374
static MWAWGraphicShape arc(MWAWBox2f const &box, MWAWBox2f const &circleBox, MWAWVec2f const &angles)
static constructor to create a arc
Definition: MWAWGraphicShape.hxx:120
Type
the cluster type
Definition: RagTime5ClusterManager.hxx:218
MWAWColor m_colors[2]
the two indexed colors
Definition: MWAWGraphicStyle.hxx:245
std::vector< long > m_longList
the list of long value
Definition: RagTime5StructManager.hxx:251
float m_width
the arrow width in point
Definition: MWAWGraphicStyle.hxx:128
std::string m_name
the zone name ( mainly used for debugging)
Definition: RagTime5StructManager.hxx:120
bool isMainInput() const
returns true if the input correspond to the basic file
Definition: RagTime5StructManager.hxx:88
virtual ~ClusterPicture()
destructor
Definition: RagTime5Graph.cxx:391
shared_ptr< MWAWInputStream > MWAWInputStreamPtr
a smart pointer of MWAWInputStream
Definition: libmwaw_internal.hxx:503
RagTime5Parser & m_mainParser
the parser
Definition: RagTime5Graph.hxx:182
bool readPictureContainer(RagTime5Zone &zone)
try to read a picture data zone
Definition: RagTime5Graph.cxx:1372
Link m_dataLink
the main data link
Definition: RagTime5ClusterManager.hxx:248
long end() const
returns the end offset
Definition: MWAWEntry.hxx:77
@ L_List
Definition: RagTime5ClusterManager.hxx:110
IntListParser(int fieldSz, std::string const &zoneName)
constructor
Definition: RagTime5Graph.cxx:149
@ S_Pie
Definition: RagTime5Graph.cxx:220
RagTime5Graph & m_parser
the main parser
Definition: RagTime5Graph.cxx:491
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
RagTime5ClusterManager::Link m_auxilliarLink
the first auxilliar data
Definition: RagTime5Graph.cxx:382
int m_zoneId
the zone id
Definition: RagTime5ClusterManager.hxx:242
RagTime5ClusterManager::Link m_clusterLinks[3]
two cluster links: list of pipeline: fixedSize=12, second list with field size 10),...
Definition: RagTime5Graph.cxx:359
int m_transformId
the transformation id
Definition: RagTime5Graph.cxx:257
bool parseDataZone(MWAWInputStreamPtr &input, long fSz, int N, int flag, libmwaw::DebugStream &f)
parse a data block, find fSz=36, 36|36|28|28|32
Definition: RagTime5Graph.cxx:2054
MWAWParserStatePtr m_parserState
the parser state
Definition: RagTime5Graph.hxx:189
bool parseData(MWAWInputStreamPtr &input, long endPos, RagTime5Zone &, int, libmwaw::DebugStream &f)
try to parse a data
Definition: RagTime5Graph.cxx:80
low level: parser of picture cluster
Definition: RagTime5Graph.cxx:1916
shared_ptr< ClusterGraphic > m_cluster
the current cluster
Definition: RagTime5Graph.cxx:2836
int m_parentId
the shape parent id
Definition: RagTime5Graph.cxx:237
@ T_LongList
Definition: RagTime5StructManager.hxx:220
bool readGraphicTypes(RagTime5ClusterManager::Link const &link)
try to read a main graphic types
Definition: RagTime5Graph.cxx:572
@ C_SpreadsheetZone
Definition: RagTime5ClusterManager.hxx:223
int m_borderId
the border id
Definition: RagTime5Graph.cxx:253
void addPos(long pos)
adds a new position in the file
Definition: MWAWDebug.cxx:53
shared_ptr< RagTime5GraphInternal::State > m_state
the state
Definition: RagTime5Graph.hxx:192
int m_id
the zone id
Definition: RagTime5Graph.cxx:493
@ S_Polygon
Definition: RagTime5Graph.cxx:220
bool valid() const
returns true if the zone length is positive
Definition: MWAWEntry.hxx:88
basic class used to store RagTime 5/6 structures
Definition: RagTime5StructManager.hxx:157
IntListParser(IntListParser &orig)
copy constructor, not implemented
RagTime5Graph(RagTime5Graph const &orig)
int m_ids[3]
the zone id
Definition: RagTime5StructManager.hxx:124
Link m_nameLink
the name link
Definition: RagTime5ClusterManager.hxx:250
a link to a small zone (or set of zones) in RagTime 5/6 documents
Definition: RagTime5ClusterManager.hxx:105
MWAWVec2< T > size() const
the box size
Definition: libmwaw_internal.hxx:1008
bool readPictureMatch(RagTime5Zone &zone, bool color)
try to read a picture match zone
Definition: RagTime5Graph.cxx:1630
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:216
std::vector< RagTime5ClusterManager::Link > m_transformationLinks
the list of transformation's link
Definition: RagTime5Graph.cxx:355
virtual bool operator!=(MWAWSubDocument const &doc) const
operator!=
Definition: RagTime5Graph.cxx:510
virtual ~ClusterGraphic()
destructor
Definition: RagTime5Graph.cxx:369
Type m_type
the link type
Definition: RagTime5ClusterManager.hxx:196
int m_type
the cluster type
Definition: RagTime5ClusterManager.hxx:390
Internal: the helper to read a clustList.
Definition: RagTime5Graph.cxx:65
std::ostream & operator<<(std::ostream &o, Shape const &shape)
Definition: RagTime5Graph.cxx:262
void checkGraphicCluster(RagTime5GraphInternal::ClusterGraphic &cluster)
check the graphic cluster data: check if there is no loop, ...
Definition: RagTime5Graph.cxx:2999
shared_ptr< RagTime5ClusterManager > getClusterManager()
returns the cluster manager
Definition: RagTime5Parser.cxx:350
~ClustListParser()
destructor
Definition: RagTime5Graph.cxx:142
AnchorTo m_anchorTo
anchor position
Definition: MWAWPosition.hxx:254
@ S_Group
Definition: RagTime5Graph.cxx:220
ClustListParser & operator=(ClustListParser &orig)
copy operator, not implemented
RagTime5ClusterManager & m_clusterManager
the main zone manager
Definition: RagTime5Graph.cxx:135
a simple path component
Definition: MWAWGraphicShape.hxx:53
std::vector< int > m_clusterList
the list of read cluster
Definition: RagTime5Graph.cxx:132
@ WParallel
Definition: MWAWPosition.hxx:53
long m_subZoneId[2]
the sub id zones
Definition: RagTime5StructManager.hxx:301
static MWAWGraphicShape rectangle(MWAWBox2f const &box, MWAWVec2f const &corners=MWAWVec2f(0, 0))
static constructor to create a rectangle
Definition: MWAWGraphicShape.hxx:103
int m_fieldSize
the field size
Definition: RagTime5Graph.cxx:178
bool readColorPatternZone(RagTime5ClusterManager::Cluster &cluster)
try to read a zone of color and pattern
Definition: RagTime5Graph.cxx:662
Internal: the state of a RagTime5Graph.
Definition: RagTime5Graph.cxx:397
bool m_hiLoEndian
true if the endian is hilo
Definition: RagTime5StructManager.hxx:122
bool readStructZone(RagTime5ClusterManager::Cluster &cluster, RagTime5StructManager::FieldParser &parser, int headerSz)
try to read a structured zone
Definition: RagTime5Parser.cxx:1790
shared_ptr< ClusterPicture > m_cluster
the current cluster
Definition: RagTime5Graph.cxx:2271
bool sendTextZone(MWAWListenerPtr listener, int zId, int pId)
ask to send a text zone
Definition: RagTime5Graph.cxx:558
@ S_RectOval
Definition: RagTime5Graph.cxx:220
MWAWVec2< int > MWAWVec2i
MWAWVec2 of int.
Definition: libmwaw_internal.hxx:781
a zone link in RagTime 5/6 structures
Definition: RagTime5StructManager.hxx:266
static PictureType getPictureType(std::string const &type)
returns the picture type corresponding to a name
Definition: RagTime5Graph.cxx:408
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
Type m_type
the field type
Definition: RagTime5StructManager.hxx:237
std::vector< Field > m_fieldList
the list of field
Definition: RagTime5StructManager.hxx:259
bool readGraphicTransformations(RagTime5ClusterManager::Link const &link)
try to read a graphic transformations zone
Definition: RagTime5Graph.cxx:1227
shared_ptr< MWAWInputStream > m_input
the input
Definition: MWAWSubDocument.hxx:77
int m_containerId
the picture container id
Definition: RagTime5Graph.cxx:386
std::string m_name
the link name
Definition: RagTime5ClusterManager.hxx:198
ClusterParser(RagTime5ClusterManager &parser, int type, std::string const &zoneName)
constructor
Definition: RagTime5ClusterManager.hxx:327
int m_linkId
the link id: 0: fieldSz=8 ?, data2: dataId+?
Definition: RagTime5Graph.cxx:2275
@ C_Unknown
Definition: RagTime5ClusterManager.hxx:229
int m_fieldSize
the field size
Definition: RagTime5ClusterManager.hxx:204
@ P_Jpeg
Definition: RagTime5Graph.cxx:399
a structure used to define an arrow
Definition: MWAWGraphicStyle.hxx:58
Generated on Wed Jun 17 2020 06:30:13 for libmwaw by
doxygen 1.8.18