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 std::shared_ptr<RagTime5GraphInternal::State>
m_state;
std::map< int, std::shared_ptr< ClusterGraphic > > m_idGraphicMap
map data id to graphic zone
Definition: RagTime5Graph.cxx:460
std::vector< int > m_ids
the data ids
Definition: RagTime5ClusterManager.hxx:205
basic class to store an entry in a file This contained :
Definition: MWAWEntry.hxx:46
std::map< int, std::shared_ptr< Shape > > m_idToShapeMap
the shape list
Definition: RagTime5Graph.cxx:387
std::vector< int > m_dataList
the list of read int
Definition: RagTime5Graph.cxx:185
bool m_isParsed
a flag to know if the zone is parsed
Definition: RagTime5StructManager.hxx:148
std::shared_ptr< MWAWInputStream > MWAWInputStreamPtr
a smart pointer of MWAWInputStream
Definition: libmwaw_internal.hxx:549
std::vector< int > m_rootIdList
the root id list
Definition: RagTime5Graph.cxx:389
std::string m_fieldName
the actual field name
Definition: RagTime5Graph.cxx:2311
int m_graphicId
the graphic id
Definition: RagTime5Graph.cxx:273
int m_id
the shape id
Definition: RagTime5Graph.cxx:253
~SubDocument() final
destructor
Definition: RagTime5Graph.cxx:518
bool parseHeaderZone(MWAWInputStreamPtr &input, long fSz, int N, int flag, libmwaw::DebugStream &f)
parse the header zone
Definition: RagTime5Graph.cxx:2202
@ L_ClusterLink
Definition: RagTime5ClusterManager.hxx:107
std::string m_extra
extra data
Definition: RagTime5Graph.cxx:277
std::shared_ptr< RagTime5ClusterManager > getClusterManager()
returns the cluster manager
Definition: RagTime5Parser.cxx:326
@ S_Spline
Definition: RagTime5Graph.cxx:226
MWAWBox2f getBdBox() const
returns the basic bdbox
Definition: MWAWGraphicShape.hxx:196
#define MWAW_DEBUG_MSG(M)
Definition: libmwaw_internal.hxx:129
MWAWVec2< float > MWAWVec2f
MWAWVec2 of float.
Definition: libmwaw_internal.hxx:840
void addDelimiter(long pos, char c)
adds a not breaking delimiter in position pos
Definition: MWAWDebug.cxx:73
void endZone() final
end of a start zone call
Definition: RagTime5Graph.cxx:2349
RagTime5ClusterManager::Cluster::Type getPipelineContainerType(int pipelineId) const
try to return the container's type corresponding to an id
Definition: RagTime5Parser.cxx:388
Internal: the helper to read a int16 float.
Definition: RagTime5Graph.cxx:198
ClustListParser(RagTime5ClusterManager &clusterManager, std::string const &zoneName)
constructor
Definition: RagTime5Graph.cxx:67
~FloatParser() final
destructor
Definition: RagTime5Graph.cxx:219
bool readUnicodeStringList(RagTime5ClusterManager::Link const &link, std::map< int, librevenge::RVNGString > &idToStringMap)
try to read a list of unicode string zone
Definition: RagTime5Parser.cxx:864
~IntListParser() final
destructor
Definition: RagTime5Graph.cxx:193
void parse(MWAWListenerPtr &listener, libmwaw::SubDocumentType type) final
the parser function
Definition: RagTime5Graph.cxx:535
long m_defPosition
the position of the definition in the main zones
Definition: RagTime5StructManager.hxx:128
std::shared_ptr< ClusterGraphic > m_cluster
the current cluster
Definition: RagTime5Graph.cxx:2871
Cluster(Type type)
constructor
Definition: RagTime5ClusterManager.hxx:237
@ C_Pipeline
Definition: RagTime5ClusterManager.hxx:224
static MWAWGraphicShape pie(MWAWBox2f const &box, MWAWBox2f const &circleBox, MWAWVec2f const &angles)
static constructor to create a pie
Definition: MWAWGraphicShape.hxx:146
ClusterGraphic()
constructor
Definition: RagTime5Graph.cxx:362
~ClusterGraphic() final
destructor
Definition: RagTime5Graph.cxx:394
Shape()
constructor
Definition: RagTime5Graph.cxx:228
std::vector< RagTime5ClusterManager::Link > m_dimensionLinks
the list of dimension's link
Definition: RagTime5Graph.cxx:382
static Arrow plain()
returns a basic plain arrow
Definition: MWAWGraphicStyle.hxx:76
Link m_link
the actual link
Definition: RagTime5ClusterManager.hxx:428
std::string m_kinds[2]
the zone types: normal and packing
Definition: RagTime5StructManager.hxx:130
@ S_Rect
Definition: RagTime5Graph.cxx:226
std::shared_ptr< ClusterGraphic > getGraphicCluster()
return the current graphic cluster
Definition: RagTime5Graph.cxx:2344
@ T_Unstructured
Definition: RagTime5StructManager.hxx:238
@ P_ScreenRep
Definition: RagTime5Graph.cxx:429
bool parseData(MWAWInputStreamPtr &input, long endPos, RagTime5Zone &, int, libmwaw::DebugStream &f) final
try to parse a data
Definition: RagTime5Graph.cxx:82
the main class to read a RagTime v5 file
Definition: RagTime5Parser.hxx:73
std::shared_ptr< RagTime5ClusterManager::Cluster > readPictureCluster(RagTime5Zone &zone, int zoneType)
try to read a picture zone
Definition: RagTime5Graph.cxx:2894
@ P_Pict
Definition: RagTime5Graph.cxx:429
static MWAWColor white()
return the white color
Definition: libmwaw_internal.hxx:250
@ L_UnicodeList
Definition: RagTime5ClusterManager.hxx:109
libmwaw::DebugFile & ascii()
returns the current ascii file
Definition: RagTime5StructManager.hxx:107
bool readListZone(RagTime5ClusterManager::Link const &link)
try to read a list zone
Definition: RagTime5Parser.cxx:1608
std::map< int, std::shared_ptr< ClusterPicture > > m_idPictClusterMap
map data id to picture zone
Definition: RagTime5Graph.cxx:462
std::shared_ptr< RagTime5StyleManager > m_styleManager
the style manager
Definition: RagTime5Graph.hxx:187
@ S_Circle
Definition: RagTime5Graph.cxx:226
a structure used to define a picture shape
Definition: MWAWGraphicShape.hxx:45
the class to store a color
Definition: libmwaw_internal.hxx:192
small class use to define a embedded object
Definition: libmwaw_internal.hxx:467
a field of RagTime 5/6 structures
Definition: RagTime5StructManager.hxx:235
Shape::Type getShapeType(int id) const
try to return a set type
Definition: RagTime5Graph.cxx:467
bool readLinkHeader(MWAWInputStreamPtr &input, long fSz, Link &link, long(&values)[4], std::string &message)
try to read a link header
Definition: RagTime5ClusterManager.cxx:552
static MWAWGraphicShape line(MWAWVec2f const &orign, MWAWVec2f const &dest)
static constructor to create a line
Definition: MWAWGraphicShape.cxx:228
bool m_isSent
true if the cluster was send
Definition: RagTime5ClusterManager.hxx:277
@ P_Tiff
Definition: RagTime5Graph.cxx:429
void setUnit(librevenge::RVNGUnit newUnit)
sets the dimension unit
Definition: MWAWPosition.hxx:224
std::string getClusterName(int id)
returns "data"+id+"A" ( followed by the cluster type and name if know)
Definition: RagTime5ClusterManager.cxx:223
Internal: the shape of a RagTime5Graph.
Definition: RagTime5Graph.cxx:224
int m_partId
the link part id
Definition: RagTime5Graph.cxx:259
int m_linkId
the link id: 0: unicode, 1: condition, 2: clustLink, 3: clustLink[list], 4: clustLink[8],...
Definition: RagTime5Graph.cxx:2875
FloatParser(std::string const &zoneName)
constructor
Definition: RagTime5Graph.cxx:200
bool parseData(MWAWInputStreamPtr &input, long endPos, RagTime5Zone &, int, libmwaw::DebugStream &f) final
try to parse a data
Definition: RagTime5Graph.cxx:164
~PictCParser() final
destructor
Definition: RagTime5Graph.cxx:2319
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
@ S_Arc
Definition: RagTime5Graph.cxx:226
MWAWEntry m_entry
the zone entry
Definition: RagTime5StructManager.hxx:132
@ WDynamic
Definition: MWAWPosition.hxx:53
std::shared_ptr< RagTime5ClusterManager::Cluster > getCluster() final
return the current cluster
Definition: RagTime5Graph.cxx:1960
PictCParser(RagTime5ClusterManager &parser, int type)
constructor
Definition: RagTime5Graph.cxx:1949
void flushExtra()
sends the data which have not yet been sent to the listener
Definition: RagTime5Graph.cxx:1741
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
Internal: the structures of a RagTime5Graph.
Definition: RagTime5Graph.cxx:62
bool readFixedSizeZone(RagTime5ClusterManager::Link const &link, std::string const &name)
try to read a fixed size zone
Definition: RagTime5Parser.cxx:1681
MWAWBox2f getBdBox() const
return the shape bdbox
Definition: RagTime5Graph.cxx:245
Internal: the subdocument of a RagTime5Graph.
Definition: RagTime5Graph.cxx:505
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:41
a structure used to define a picture style
Definition: MWAWGraphicStyle.hxx:47
@ T_FieldList
Definition: RagTime5StructManager.hxx:237
bool hasLine() const
returns true if the border is defined
Definition: MWAWGraphicStyle.hxx:317
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:265
@ C_PictureZone
Definition: RagTime5ClusterManager.hxx:228
bool parseHeaderZone(MWAWInputStreamPtr &input, long fSz, int N, int flag, libmwaw::DebugStream &f)
parse the header zone
Definition: RagTime5Graph.cxx:2760
bool readPictureRep(RagTime5Zone &zone)
try to read a picture rep
Definition: RagTime5Graph.cxx:1385
std::vector< RagTime5StructManager::ZoneLink > m_linkList
list of link to other zone
Definition: RagTime5Graph.cxx:391
void setOrder(int ord) const
set background/foward order
Definition: MWAWPosition.hxx:263
bool readClusterLinkList(RagTime5Zone &zone, RagTime5ClusterManager::Link const &link, std::vector< RagTime5StructManager::ZoneLink > &listLinks)
try to read a cluster link zone
Definition: RagTime5Parser.cxx:1200
std::shared_ptr< RagTime5Zone > getDataZone(int dataId) const
returns the zone corresponding to a data id (or 0)
Definition: RagTime5Parser.cxx:376
low level: parser of graph cluster
Definition: RagTime5Graph.cxx:2326
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:267
basic class used to manage RagTime 5/6 zones
Definition: RagTime5ClusterManager.hxx:58
std::map< int, std::shared_ptr< RagTime5Zone > > m_childIdToZoneMap
the child zones
Definition: RagTime5StructManager.hxx:144
MWAWGraphicShape m_shape
the graphic shape
Definition: RagTime5Graph.cxx:265
static MWAWGraphicShape circle(MWAWBox2f const &box)
static constructor to create a circle
Definition: MWAWGraphicShape.hxx:128
int m_numPages
the number of pages
Definition: RagTime5Graph.cxx:441
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
basic class used to read/store RagTime 5/6 styles
Definition: RagTime5StyleManager.hxx:60
std::shared_ptr< ClusterPicture > m_cluster
the current cluster
Definition: RagTime5Graph.cxx:2305
@ S_TextBox
Definition: RagTime5Graph.cxx:226
int m_unknownZoneId
the graphic unknown zone id
Definition: RagTime5Graph.cxx:378
bool checkClusterList(std::vector< RagTime5StructManager::ZoneLink > const &list)
check a cluster list
Definition: RagTime5Parser.cxx:1093
@ S_Line
Definition: RagTime5Graph.cxx:226
a basic pattern used in a MWAWGraphicStyle:
Definition: MWAWGraphicStyle.hxx:180
std::shared_ptr< RagTime5GraphInternal::State > m_state
the state
Definition: RagTime5Graph.hxx:192
std::shared_ptr< RagTime5StructManager > m_structManager
the structure manager
Definition: RagTime5Graph.hxx:185
@ L_LongList
Definition: RagTime5ClusterManager.hxx:109
RagTime5Graph(RagTime5Parser &parser)
constructor
Definition: RagTime5Graph.cxx:563
virtual class use to parse the field data
Definition: RagTime5StructManager.hxx:341
@ Polygon
Definition: MWAWGraphicShape.hxx:49
int m_N
the number of data ( or some flag if m_N & 0x8020)
Definition: RagTime5ClusterManager.hxx:207
MWAWBox2< T > getUnion(MWAWBox2< T > const &box) const
returns the union between this and box
Definition: libmwaw_internal.hxx:1127
int m_what
a index to know which field is parsed : 0: main, 1: list, 2: unkn zone58
Definition: RagTime5Graph.cxx:2307
the main class to read the graphic part of RagTime 56 file
Definition: RagTime5Graph.hxx:79
int version() const
returns the file version
Definition: RagTime5Graph.cxx:576
SubDocumentType
Definition: libmwaw_internal.hxx:188
@ S_Unknown
Definition: RagTime5Graph.cxx:226
virtual ~RagTime5Graph()
destructor
Definition: RagTime5Graph.cxx:572
bool readGraphicShape(RagTime5GraphInternal::ClusterGraphic &cluster, RagTime5Zone &dataZone, long endPos, int n, librevenge::RVNGString const &dataName)
try to read a graphic
Definition: RagTime5Graph.cxx:882
State()
constructor
Definition: RagTime5Graph.cxx:432
std::map< int, std::shared_ptr< MWAWEmbeddedObject > > m_idPictureMap
map data id to picture
Definition: RagTime5Graph.cxx:464
static MWAWGraphicStyle emptyStyle()
returns an empty style.
Definition: MWAWGraphicStyle.hxx:308
friend std::ostream & operator<<(std::ostream &o, Shape const &shape)
operator<<
Definition: RagTime5Graph.cxx:280
bool parseDataZone(MWAWInputStreamPtr &input, long fSz, int N, int flag, libmwaw::DebugStream &f)
parse a data block
Definition: RagTime5Graph.cxx:2517
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:913
void skipZone(long beginPos, long endPos)
skips the file zone defined by beginPos-endPos
Definition: MWAWDebug.hxx:113
Type
the different shape
Definition: RagTime5Graph.cxx:226
bool empty() const
returns true if all link are empty
Definition: RagTime5ClusterManager.hxx:126
bool readPictureList(RagTime5Zone &zone)
try to read a picture list
Definition: RagTime5Graph.cxx:1327
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:193
ClusterPicture()
constructor
Definition: RagTime5Graph.cxx:401
int m_what
a index to know which field is parsed : 0: graphdata, 1: list, 2: clustLink, graph transform,...
Definition: RagTime5Graph.cxx:2873
float m_lineWidth
the linewidth
Definition: MWAWGraphicStyle.hxx:415
int numPages() const
returns the number of pages
Definition: RagTime5Graph.cxx:581
void setSize(MWAWVec2f const &sz)
sets the frame size
Definition: MWAWPosition.hxx:214
std::vector< int > m_shapeTypeIdVector
the vector of shape type id
Definition: RagTime5Graph.cxx:458
@ P_Unknown
Definition: ClarisDrawText.cxx:60
@ P_Epsf
Definition: RagTime5Graph.cxx:429
uint32_t m_flags
the shape flag
Definition: RagTime5Graph.cxx:269
int m_subId
the zone sub id
Definition: RagTime5Graph.cxx:532
bool readPictureData(RagTime5Zone &zone)
try to read a picture data zone: ie. the zone which contains jpeg, tiff, ...
Definition: RagTime5Graph.cxx:1483
std::string getKindLastPart(bool main=true) const
returns the main type
Definition: RagTime5StructManager.hxx:80
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
@ T_Long
Definition: RagTime5StructManager.hxx:237
@ C_GraphicZone
Definition: RagTime5ClusterManager.hxx:228
void setBegin(long off)
sets the begin offset
Definition: MWAWEntry.hxx:66
bool m_hiLoEndian
the cluster hiLo endian
Definition: RagTime5ClusterManager.hxx:259
int m_linkId
the link to a zone id
Definition: RagTime5Graph.cxx:257
main zone in a RagTime v5-v6 document
Definition: RagTime5StructManager.hxx:48
@ C_TextZone
Definition: RagTime5ClusterManager.hxx:228
int m_textboxZoneId
the main textbox zone id(if defined)
Definition: RagTime5Graph.cxx:376
MWAWVec2i m_dim
the dimension width x height
Definition: MWAWGraphicStyle.hxx:260
Wrapping m_wrapping
Wrapping.
Definition: MWAWPosition.hxx:277
bool send(int zoneId, MWAWListenerPtr listener, MWAWPosition const &pos)
try to send the cluster zone
Definition: RagTime5Graph.cxx:588
long length() const
returns the length of the zone
Definition: MWAWEntry.hxx:92
~ClustListParser() final
destructor
Definition: RagTime5Graph.cxx:144
@ Path
Definition: MWAWGraphicShape.hxx:49
bool readPositions(int posId, std::vector< long > &listPosition)
try to read a positions zone in data
Definition: RagTime5Parser.cxx:922
Internal: the helper to read an integer list.
Definition: RagTime5Graph.cxx:149
std::string getClusterName(int id) const
returns a name with can be used for debugging
Definition: RagTime5Graph.cxx:76
MWAWBox2f m_dimension
the dimension
Definition: RagTime5Graph.cxx:263
MWAWInputStreamPtr getInput()
returns the current input
Definition: RagTime5StructManager.hxx:91
@ P_PNG
Definition: RagTime5Graph.cxx:429
@ P_Unknown
Definition: RagTime5Graph.cxx:429
void setOrigin(MWAWVec2f const &orig)
sets the frame origin
Definition: MWAWPosition.hxx:209
@ P_WMF
Definition: RagTime5Graph.cxx:429
PictCParser & operator=(PictCParser const &orig)=delete
copy operator (not implemented)
long begin() const
returns the begin offset
Definition: MWAWEntry.hxx:82
void setLength(long l)
sets the zone size
Definition: MWAWEntry.hxx:71
PictureType
enum used to defined list of classical pict
Definition: RagTime5Graph.cxx:429
bool parseZone(MWAWInputStreamPtr &input, long fSz, int N, int flag, libmwaw::DebugStream &f) final
parse a zone
Definition: RagTime5Graph.cxx:1996
Arrow m_arrows[2]
the two arrows corresponding to start and end extremity
Definition: MWAWGraphicStyle.hxx:470
std::vector< long > m_longList
a list of long used to store decal
Definition: RagTime5ClusterManager.hxx:213
bool readGraphicShapes(RagTime5GraphInternal::ClusterGraphic &cluster)
try to read the graphic shapes of a cluster
Definition: RagTime5Graph.cxx:785
static MWAWColor black()
return the back color
Definition: libmwaw_internal.hxx:245
MWAWBox2< float > MWAWBox2f
MWAWBox2 of float.
Definition: libmwaw_internal.hxx:1191
GraphicCParser(RagTime5ClusterManager &parser, int type)
constructor
Definition: RagTime5Graph.cxx:2328
bool readGraphicUnknown(int typeId)
try to read a graphic unknown zone in data
Definition: RagTime5Graph.cxx:1211
@ S_RegularPoly
Definition: RagTime5Graph.cxx:226
the shape cluster
Definition: RagTime5Graph.cxx:360
std::string m_fieldName
the actual field name
Definition: RagTime5Graph.cxx:2877
Type m_type
the shape type
Definition: RagTime5Graph.cxx:261
bool parseField(RagTime5StructManager::Field const &field, int, libmwaw::DebugStream &f) final
parse a field
Definition: RagTime5Graph.cxx:2010
@ Char
Definition: MWAWPosition.hxx:51
std::vector< Link > m_linksList
the link list
Definition: RagTime5ClusterManager.hxx:273
the picture cluster
Definition: RagTime5Graph.cxx:399
static MWAWGraphicShape arc(MWAWBox2f const &box, MWAWBox2f const &circleBox, MWAWVec2f const &angles)
static constructor to create a arc
Definition: MWAWGraphicShape.hxx:136
RagTime5Graph & m_ragtimeParser
the main parser
Definition: RagTime5Graph.cxx:528
bool parseField(RagTime5StructManager::Field const &field, int, libmwaw::DebugStream &f) final
parse a field
Definition: RagTime5Graph.cxx:2405
MWAWColor m_colors[2]
the two indexed colors
Definition: MWAWGraphicStyle.hxx:263
bool parseData(MWAWInputStreamPtr &input, long endPos, RagTime5Zone &, int, libmwaw::DebugStream &f) final
try to parse a data
Definition: RagTime5Graph.cxx:207
std::string m_name
the zone name ( mainly used for debugging)
Definition: RagTime5StructManager.hxx:134
bool isMainInput() const
returns true if the input correspond to the basic file
Definition: RagTime5StructManager.hxx:102
RagTime5Parser & m_mainParser
the parser
Definition: RagTime5Graph.hxx:182
bool readPictureContainer(RagTime5Zone &zone)
try to read a picture data zone
Definition: RagTime5Graph.cxx:1410
Link m_dataLink
the main data link
Definition: RagTime5ClusterManager.hxx:263
long end() const
returns the end offset
Definition: MWAWEntry.hxx:87
bool parseZone(MWAWInputStreamPtr &input, long fSz, int N, int flag, libmwaw::DebugStream &f) final
parse a zone
Definition: RagTime5Graph.cxx:2391
@ L_List
Definition: RagTime5ClusterManager.hxx:110
IntListParser(int fieldSz, std::string const &zoneName)
constructor
Definition: RagTime5Graph.cxx:151
@ S_Pie
Definition: RagTime5Graph.cxx:226
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
SubDocument(RagTime5Graph &parser, MWAWInputStreamPtr const &input, int zoneId, int partId)
Definition: RagTime5Graph.cxx:509
int m_zoneId
the zone id
Definition: RagTime5ClusterManager.hxx:257
RagTime5ClusterManager::Link m_clusterLinks[3]
two cluster links: list of pipeline: fixedSize=12, second list with field size 10),...
Definition: RagTime5Graph.cxx:384
int m_transformId
the transformation id
Definition: RagTime5Graph.cxx:275
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:2088
MWAWParserStatePtr m_parserState
the parser state
Definition: RagTime5Graph.hxx:189
low level: parser of picture cluster
Definition: RagTime5Graph.cxx:1947
std::shared_ptr< RagTime5ClusterManager::Cluster > readGraphicCluster(RagTime5Zone &zone, int zoneType)
try to read a graphic zone
Definition: RagTime5Graph.cxx:2949
std::shared_ptr< RagTime5ClusterManager::Cluster > getCluster() final
return the current cluster
Definition: RagTime5Graph.cxx:2339
int m_parentId
the shape parent id
Definition: RagTime5Graph.cxx:255
@ T_LongList
Definition: RagTime5StructManager.hxx:237
std::shared_ptr< MWAWParserState > MWAWParserStatePtr
a smart pointer of MWAWParserState
Definition: libmwaw_internal.hxx:555
bool readGraphicTypes(RagTime5ClusterManager::Link const &link)
try to read a main graphic types
Definition: RagTime5Graph.cxx:614
@ C_SpreadsheetZone
Definition: RagTime5ClusterManager.hxx:228
GraphicCParser & operator=(GraphicCParser const &orig)=delete
copy operator (not implemented)
int m_borderId
the border id
Definition: RagTime5Graph.cxx:271
void addPos(long pos)
adds a new position in the file
Definition: MWAWDebug.cxx:53
int m_id
the zone id
Definition: RagTime5Graph.cxx:530
@ S_Polygon
Definition: RagTime5Graph.cxx:226
bool valid() const
returns true if the zone length is positive
Definition: MWAWEntry.hxx:98
basic class used to store RagTime 5/6 structures
Definition: RagTime5StructManager.hxx:170
int m_ids[3]
the zone id
Definition: RagTime5StructManager.hxx:138
Link m_nameLink
the name link
Definition: RagTime5ClusterManager.hxx:265
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:1065
bool readPictureMatch(RagTime5Zone &zone, bool color)
try to read a picture match zone
Definition: RagTime5Graph.cxx:1667
an interface used to insert comment in a binary file, written in ascii form (if debug_with_files is n...
Definition: MWAWDebug.hxx:65
the cluster data
Definition: RagTime5ClusterManager.hxx:221
std::vector< RagTime5ClusterManager::Link > m_transformationLinks
the list of transformation's link
Definition: RagTime5Graph.cxx:380
IntListParser & operator=(IntListParser &orig)=delete
copy operator, not implemented
namespace used to regroup all libwpd functions, enumerations which we have redefined for internal usa...
Definition: libmwaw_internal.cxx:50
std::shared_ptr< ClusterPicture > getPictureCluster()
return the current cluster
Definition: RagTime5Graph.cxx:1965
~GraphicCParser() final
destructor
Definition: RagTime5Graph.cxx:2885
bool operator!=(MWAWSubDocument const &doc) const final
operator!=
Definition: RagTime5Graph.cxx:547
Type m_type
the link type
Definition: RagTime5ClusterManager.hxx:201
int m_type
the cluster type
Definition: RagTime5ClusterManager.hxx:420
Internal: the helper to read a clustList.
Definition: RagTime5Graph.cxx:65
std::ostream & operator<<(std::ostream &o, Shape const &shape)
Definition: RagTime5Graph.cxx:280
void checkGraphicCluster(RagTime5GraphInternal::ClusterGraphic &cluster)
check the graphic cluster data: check if there is no loop, ...
Definition: RagTime5Graph.cxx:3032
std::shared_ptr< MWAWListener > MWAWListenerPtr
a smart pointer of MWAWListener
Definition: libmwaw_internal.hxx:551
AnchorTo m_anchorTo
anchor position
Definition: MWAWPosition.hxx:269
@ S_Group
Definition: RagTime5Graph.cxx:226
ClustListParser & operator=(ClustListParser &orig)
copy operator, not implemented
RagTime5ClusterManager & m_clusterManager
the main zone manager
Definition: RagTime5Graph.cxx:137
a simple path component
Definition: MWAWGraphicShape.hxx:53
std::vector< int > m_clusterList
the list of read cluster
Definition: RagTime5Graph.cxx:134
@ WParallel
Definition: MWAWPosition.hxx:53
void endZone() final
end of a start zone call
Definition: RagTime5Graph.cxx:1970
static MWAWGraphicShape rectangle(MWAWBox2f const &box, MWAWVec2f const &corners=MWAWVec2f(0, 0))
static constructor to create a rectangle
Definition: MWAWGraphicShape.hxx:119
int m_fieldSize
the field size
Definition: RagTime5Graph.cxx:183
bool readColorPatternZone(RagTime5ClusterManager::Cluster &cluster)
try to read a zone of color and pattern
Definition: RagTime5Graph.cxx:704
Internal: the state of a RagTime5Graph.
Definition: RagTime5Graph.cxx:427
bool m_hiLoEndian
true if the endian is hilo
Definition: RagTime5StructManager.hxx:136
bool readStructZone(RagTime5ClusterManager::Cluster &cluster, RagTime5StructManager::FieldParser &parser, int headerSz)
try to read a structured zone
Definition: RagTime5Parser.cxx:1745
bool sendTextZone(MWAWListenerPtr listener, int zId, int pId)
ask to send a text zone
Definition: RagTime5Graph.cxx:600
@ S_RectOval
Definition: RagTime5Graph.cxx:226
MWAWVec2< int > MWAWVec2i
MWAWVec2 of int.
Definition: libmwaw_internal.hxx:836
static PictureType getPictureType(std::string const &type)
returns the picture type corresponding to a name
Definition: RagTime5Graph.cxx:445
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
bool readGraphicTransformations(RagTime5ClusterManager::Link const &link)
try to read a graphic transformations zone
Definition: RagTime5Graph.cxx:1266
int m_containerId
the picture container id
Definition: RagTime5Graph.cxx:416
std::string m_name
the link name
Definition: RagTime5ClusterManager.hxx:203
ClusterParser(RagTime5ClusterManager &parser, int type, std::string const &zoneName)
constructor
Definition: RagTime5ClusterManager.hxx:352
int m_linkId
the link id: 0: fieldSz=8 ?, data2: dataId+?
Definition: RagTime5Graph.cxx:2309
@ C_Unknown
Definition: RagTime5ClusterManager.hxx:234
int m_fieldSize
the field size
Definition: RagTime5ClusterManager.hxx:209
@ P_Jpeg
Definition: RagTime5Graph.cxx:429
Generated on Mon Apr 25 2022 14:03:04 for libmwaw by
doxygen 1.8.17