Go to the documentation of this file.
38 #ifndef CLARIS_WKS_GRAPH
39 # define CLARIS_WKS_GRAPH
44 #include <librevenge/librevenge.h>
137 bool readPolygonData(std::shared_ptr<ClarisDrawGraphInternal::Zone> zone);
174 std::shared_ptr<ClarisDrawGraphInternal::State>
m_state;
std::map< int, std::shared_ptr< Bitmap > > m_bitmapMap
a map zoneId -> group
Definition: ClarisDrawGraph.cxx:689
std::vector< std::shared_ptr< Zone > > m_zones
the list of child zones
Definition: ClarisDrawGraph.cxx:646
std::shared_ptr< ClarisDrawGraphInternal::Zone > readGroupDef(MWAWEntry const &entry)
Definition: ClarisDrawGraph.cxx:1188
int getFileType(int zoneId) const
returns the file type corresponding to a zone id
Definition: ClarisDrawParser.cxx:166
basic class to store an entry in a file This contained :
Definition: MWAWEntry.hxx:47
Type
the list of types
Definition: ClarisDrawGraph.cxx:205
int m_subId
the subdocument sub id
Definition: ClarisDrawGraph.cxx:743
virtual ~Zone()
destructor
Definition: ClarisDrawGraph.cxx:300
@ T_Unknown
Definition: ClarisDrawGraph.cxx:205
MWAWVariable< Justification > m_justify
the justification
Definition: MWAWParagraph.hxx:164
bool getUniqueColor(MWAWColor &col) const
check if the pattern has only one color; if so returns true...
Definition: MWAWGraphicStyle.cxx:86
std::shared_ptr< MWAWInputStream > MWAWInputStreamPtr
a smart pointer of MWAWInputStream
Definition: libmwaw_internal.hxx:547
Type getType() const final
return the main type
Definition: ClarisDrawGraph.cxx:567
bool isEmptyGroup(int gId) const
returns true if a group does not exist or is empty
Definition: ClarisDrawGraph.cxx:824
std::map< int, std::shared_ptr< Group > > m_groupMap
a map zoneId -> group
Definition: ClarisDrawGraph.cxx:687
bool hasSurfaceColor() const
returns true if the surface is defined
Definition: MWAWGraphicStyle.hxx:324
~Group() final
destructor
Definition: ClarisDrawGraph.cxx:654
Type getSubType() const final
return the sub type Zone
Definition: ClarisDrawGraph.cxx:501
std::shared_ptr< MWAWGraphicListener > MWAWGraphicListenerPtr
a smart pointer of MWAWGraphicListener
Definition: libmwaw_internal.hxx:545
ZonePict(Zone const &z)
constructor
Definition: ClarisDrawGraph.cxx:356
#define MWAW_DEBUG_MSG(M)
Definition: libmwaw_internal.hxx:129
MWAWVec2f m_controlPoints[2]
the control point: previous, next
Definition: ClarisDrawGraph.cxx:105
ZoneUnknown(Zone const &z)
construtor
Definition: ClarisDrawGraph.cxx:553
MWAWVec2< float > MWAWVec2f
MWAWVec2 of float.
Definition: libmwaw_internal.hxx:838
virtual ~ClarisDrawGraph()
destructor
Definition: ClarisDrawGraph.cxx:791
Zone()
constructor
Definition: ClarisDrawGraph.cxx:210
void setColors(std::vector< MWAWColor > const &cols)
sets the array of indexed colors
Definition: MWAWPictBitmap.hxx:446
void addDelimiter(long pos, char c)
adds a not breaking delimiter in position pos
Definition: MWAWDebug.cxx:73
virtual int getZoneId() const
returns the id of the reference zone
Definition: ClarisDrawGraph.cxx:282
MWAWGraphicListenerPtr & getGraphicListener()
returns the graphic listener
Definition: MWAWParser.hxx:130
void setSurfaceColor(MWAWColor const &col, float opacity=1)
set the surface color
Definition: MWAWGraphicStyle.hxx:318
Internal: the structure used to store a style of a ClarisDrawGraph.
Definition: ClarisDrawGraph.cxx:139
bool readGroupUnknown(ClarisDrawGraphInternal::Group &group, int zoneSz, int id)
Definition: ClarisDrawGraph.cxx:1883
bool readStructZone(MWAWParserState &parserState, char const *zoneName, bool hasEntete)
try to read a structured zone with unknown content
Definition: ClarisWksStruct.cxx:162
void setShadowColor(MWAWColor const &col, float opacity=1)
set the shadow color
Definition: MWAWGraphicStyle.hxx:361
void setRelativePosition(AnchorTo anchor, XPos X=XLeft, YPos Y=YTop)
sets the relative position
Definition: MWAWPosition.hxx:234
ClarisDrawParser * m_mainParser
the main parser;
Definition: ClarisDrawGraph.hxx:177
static MWAWGraphicShape pie(MWAWBox2f const &box, MWAWBox2f const &circleBox, MWAWVec2f const &angles)
static constructor to create a pie
Definition: MWAWGraphicShape.hxx:144
std::vector< PathData > m_path
the list of path component
Definition: MWAWGraphicShape.hxx:225
Internal: the structure used to store a PICT.
Definition: ClarisDrawGraph.cxx:354
void set(int i, int j, int v)
sets a cell contents
Definition: MWAWPictBitmap.hxx:425
~ZoneShape() final
destructor
Definition: ClarisDrawGraph.cxx:349
ChildType m_type
the type
Definition: ClarisWksStruct.hxx:277
void print(std::ostream &o) const final
print the zone
Definition: ClarisDrawGraph.cxx:562
std::vector< std::shared_ptr< Zone > > m_zonesToSend
the list of block to send
Definition: ClarisDrawGraph.cxx:651
static Arrow plain()
returns a basic plain arrow
Definition: MWAWGraphicStyle.hxx:76
ClarisWksStruct::DSET::Child getChild() const final
return a child corresponding to this zone
Definition: ClarisDrawGraph.cxx:382
int order() const
returns background/foward order
Definition: MWAWPosition.hxx:256
~ZoneZone() final
destructor
Definition: ClarisDrawGraph.cxx:546
bool isEmpty() const
returns true if the group is empty
Definition: ClarisDrawGraph.cxx:616
static MWAWColor white()
return the white color
Definition: libmwaw_internal.hxx:250
int m_subId
the zoneSubId: can be page/column/frame linked number
Definition: ClarisDrawGraph.cxx:531
Type m_type
the sub type
Definition: ClarisDrawGraph.cxx:342
@ BottomBit
Definition: libmwaw_internal.hxx:178
bool m_frameLast
true if this is the last frame of a frame zone
Definition: ClarisDrawGraph.cxx:537
int m_id
the identificator
Definition: ClarisWksStruct.hxx:279
@ WBackground
Definition: MWAWPosition.hxx:53
ClarisWksStruct::DSET::Child getChild() const final
return a child corresponding to this zone
Definition: ClarisDrawGraph.cxx:333
a structure used to define a picture shape
Definition: MWAWGraphicShape.hxx:46
@ T_Connector
Definition: ClarisDrawGraph.cxx:207
the class to store a color
Definition: libmwaw_internal.hxx:192
small class use to define a embedded object
Definition: libmwaw_internal.hxx:467
int getNumData() const final
return the number of data in a file
Definition: ClarisDrawGraph.cxx:377
bool operator!=(MWAWSubDocument const &doc) const final
operator!=
Definition: ClarisDrawGraph.cxx:722
static MWAWGraphicShape line(MWAWVec2f const &orign, MWAWVec2f const &dest)
static constructor to create a line
Definition: MWAWGraphicShape.cxx:227
MWAWVec2i m_bitmapSize
the bitmap size
Definition: ClarisDrawGraph.cxx:426
int m_bitmapRowSize
the bitmap row size in the file ( with potential alignment)
Definition: ClarisDrawGraph.cxx:428
~ZonePict() final
destructor
Definition: ClarisDrawGraph.cxx:396
std::shared_ptr< ClarisWksStruct::DSET > readGroupZone(ClarisWksStruct::DSET const &zone, MWAWEntry const &entry, bool isLibHeader=false)
reads the zone Group DSET
Definition: ClarisDrawGraph.cxx:981
structure used to define the child of a DSET structure
Definition: ClarisWksStruct.hxx:225
bool getAverageColor(MWAWColor &col) const
return the average color
Definition: MWAWGraphicStyle.cxx:101
int m_wrappingSep
the wrapping separator
Definition: ClarisDrawGraph.cxx:541
MWAWVec2f m_pos
the main position
Definition: ClarisDrawGraph.cxx:103
class to store the paragraph properties
Definition: MWAWParagraph.hxx:85
Bitmap(ClarisWksStruct::DSET const &dset=ClarisWksStruct::DSET())
constructor
Definition: ClarisDrawGraph.cxx:403
void print(std::ostream &o) const final
print the data
Definition: ClarisDrawGraph.cxx:312
@ WDynamic
Definition: MWAWPosition.hxx:53
ZoneShape(Zone const &z, Type type)
constructor
Definition: ClarisDrawGraph.cxx:306
SubDocument(ClarisDrawGraph &pars, MWAWInputStreamPtr &input, std::string const &measure)
constructor for measure
Definition: ClarisDrawGraph.cxx:711
bool sendTextZone(int number, int subZone=-1)
sends a text zone
Definition: ClarisDrawParser.cxx:175
static MWAWPictData * get(MWAWInputStreamPtr const &input, int size)
checks if the data pointed by input is known
Definition: MWAWPictData.hxx:108
double m_width
the border total width in point
Definition: libmwaw_internal.hxx:387
friend std::ostream & operator<<(std::ostream &o, Style const &st)
operator<<
Definition: ClarisDrawGraph.cxx:164
void resetState()
resets the current state
Definition: ClarisDrawGraph.cxx:799
bool readBitmapData(ClarisDrawGraphInternal::Bitmap &zone)
Definition: ClarisDrawGraph.cxx:2075
Style m_style
the style
Definition: ClarisDrawGraph.cxx:297
bool readGroupData(ClarisDrawGraphInternal::Group &group, long beginGroupPos, bool isLibHeader)
Definition: ClarisDrawGraph.cxx:1384
Type m_type
the sub type
Definition: ClarisDrawGraph.cxx:591
MWAWBox2f m_box
the bdbox
Definition: ClarisDrawGraph.cxx:293
bool sendGroup(int number, MWAWPosition const &pos=MWAWPosition())
sends the zone data to the listener (if it exists )
Definition: ClarisDrawGraph.cxx:2239
int m_flag
the zone main flag
Definition: ClarisDrawGraph.cxx:289
void addNote(char const *note)
adds a note in the file, in actual position
Definition: MWAWDebug.cxx:59
@ T_Oval
Definition: ClarisDrawGraph.cxx:207
int m_surfacePatternType
the surface pattern type
Definition: ClarisDrawGraph.cxx:195
abstract class used to store a subdocument (with a comparison function)
Definition: MWAWSubDocument.hxx:42
a structure used to define a picture style
Definition: MWAWGraphicStyle.hxx:48
MWAWBox2f m_bdBox
the shape bdbox
Definition: MWAWGraphicShape.hxx:215
State()
constructor
Definition: ClarisDrawGraph.cxx:662
Internal: structure to store a link to a zone of a ClarisDrawGraph.
Definition: ClarisDrawGraph.cxx:440
namespace to store the main structure which appears in a ClarisDraw/ClarisWorks file
Definition: ClarisWksStruct.cxx:50
friend std::ostream & operator<<(std::ostream &o, Group const &doc)
operator<<
Definition: ClarisDrawGraph.cxx:621
void set(int i, int j, MWAWColor const &v)
sets a cell contents
Definition: MWAWPictBitmap.hxx:529
friend std::ostream & operator<<(std::ostream &o, Zone const &zone)
operator<<
Definition: ClarisDrawGraph.cxx:220
void setOrder(int ord) const
set background/foward order
Definition: MWAWPosition.hxx:261
@ Unknown
Definition: MWAWPosition.hxx:51
Type getSubType() const final
return the sub type
Definition: ClarisDrawGraph.cxx:323
bool readBitmapColorMap(std::vector< MWAWColor > &cMap)
Definition: ClarisDrawGraph.cxx:2028
bool readTransformations()
read the transformations
Definition: ClarisDrawGraph.cxx:913
int m_page
the page (checkme: or frame linked )
Definition: ClarisDrawGraph.cxx:291
int m_numPages
the number of pages
Definition: ClarisDrawGraph.cxx:679
@ T_Arc
Definition: ClarisDrawGraph.cxx:207
int m_masterId
the master group id ( in a draw file )
Definition: ClarisDrawGraph.cxx:683
int m_ordering
the ordering
Definition: ClarisDrawGraph.cxx:295
a basic pattern used in a MWAWGraphicStyle:
Definition: MWAWGraphicStyle.hxx:180
int getZoneId() const final
returns the id of the reference zone
Definition: ClarisDrawGraph.cxx:511
MWAWVec2f const & size() const
returns the frame size
Definition: MWAWPosition.hxx:132
Type m_type
the sub type
Definition: ClarisDrawGraph.cxx:391
Type getType() const final
return the main type T_Picture
Definition: ClarisDrawGraph.cxx:367
ClarisWksStruct::DSET::Child getChild() const final
return a child corresponding to this zone
Definition: ClarisDrawGraph.cxx:582
@ Polygon
Definition: MWAWGraphicShape.hxx:49
@ T_Zone
Definition: ClarisDrawGraph.cxx:205
Type m_subType
the file type ( zone or zone2 )
Definition: ClarisDrawGraph.cxx:527
ZoneZone(Zone const &z, Type fileType)
constructor
Definition: ClarisDrawGraph.cxx:442
@ Rectangle
Definition: MWAWGraphicShape.hxx:49
SubDocumentType
Definition: libmwaw_internal.hxx:188
~ZoneUnknown() final
destructor
Definition: ClarisDrawGraph.cxx:596
std::shared_ptr< MWAWInputStream > m_input
the input
Definition: MWAWSubDocument.hxx:77
MWAWBox2f m_box
the bdbox
Definition: ClarisWksStruct.hxx:285
int m_frameSubId
the frame sub id (for a linked frame)
Definition: ClarisDrawGraph.cxx:535
int m_id
the zoneId
Definition: ClarisDrawGraph.cxx:529
bool readGroupHeader(ClarisDrawGraphInternal::Group &group)
Definition: ClarisDrawGraph.cxx:1793
@ JustificationCenter
Definition: MWAWParagraph.hxx:90
@ T_Shape
Definition: ClarisDrawGraph.cxx:205
bool m_parsed
a flag to know if the entry is sent or not to the listener
Definition: ClarisWksStruct.hxx:220
@ T_Rect
Definition: ClarisDrawGraph.cxx:207
MWAWColor m_surfaceColor
the surface color
Definition: MWAWGraphicStyle.hxx:421
Internal: structure to store a bitmap of a ClarisDrawGraph.
Definition: ClarisDrawGraph.cxx:401
void removeChild(int cId, bool normalChild) final
remove a child from a list.
Definition: ClarisDrawGraph.cxx:630
void skipZone(long beginPos, long endPos)
skips the file zone defined by beginPos-endPos
Definition: MWAWDebug.hxx:113
MWAWGraphicShape m_shape
the shape
Definition: ClarisDrawGraph.cxx:344
int m_wrapping
the wrap type
Definition: ClarisDrawGraph.cxx:193
float m_lineWidth
the linewidth
Definition: MWAWGraphicStyle.hxx:411
MWAWBox2f getBdBox() const
return the zone bdbox
Definition: ClarisDrawGraph.cxx:246
void setSize(MWAWVec2f const &sz)
sets the frame size
Definition: MWAWPosition.hxx:212
void setEnd(long off)
sets the end offset
Definition: MWAWEntry.hxx:75
int m_frameId
the actuel frame id
Definition: ClarisDrawGraph.cxx:693
int version() const
returns the file version
Definition: ClarisDrawGraph.cxx:794
Class to define the position of an object (textbox, picture, ..) in the document.
Definition: MWAWPosition.hxx:48
a border
Definition: libmwaw_internal.hxx:333
int m_fileType
the type ( 0: text, -1: graphic, ...)
Definition: ClarisWksStruct.hxx:189
bool sendMainGroupChild(int childId, MWAWPosition const &pos=MWAWPosition())
sends the ith child of the root (if it exists )
Definition: ClarisDrawGraph.cxx:2148
void setBegin(long off)
sets the begin offset
Definition: MWAWEntry.hxx:65
std::vector< MWAWVec2f > m_vertices
the list of vertices for lines or polygons
Definition: MWAWGraphicShape.hxx:223
int m_type
the point type
Definition: ClarisDrawGraph.cxx:107
Internal: structure used to store an unknown zone of a ClarisDrawGraph.
Definition: ClarisDrawGraph.cxx:551
@ T_RectOval
Definition: ClarisDrawGraph.cxx:207
~Style() final
destructor
Definition: ClarisDrawGraph.cxx:198
int m_flags[9]
flag
Definition: ClarisDrawGraph.cxx:543
#define M_PI
Definition: libmwaw_internal.hxx:52
ClarisDrawGraph & operator=(ClarisDrawGraph const &orig)=delete
Wrapping m_wrapping
Wrapping.
Definition: MWAWPosition.hxx:275
long length() const
returns the length of the zone
Definition: MWAWEntry.hxx:91
@ Path
Definition: MWAWGraphicShape.hxx:49
Type m_type
the type
Definition: MWAWGraphicShape.hxx:213
bool readHeader(MWAWInputStreamPtr input, bool strict=false)
try to read the header
Definition: ClarisWksStruct.cxx:72
@ RightBit
Definition: libmwaw_internal.hxx:178
bool isLinked() const
check if we need to send the frame is linked to another frmae
Definition: ClarisDrawGraph.cxx:463
bool isEmptyGroup(int gId) const
returns true if a group does not exist or is empty
Definition: ClarisDrawGraph.cxx:673
@ C_Graphic
Definition: ClarisWksStruct.hxx:96
@ T_Pict
Definition: ClarisDrawGraph.cxx:205
void setOrigin(MWAWVec2f const &orig)
sets the frame origin
Definition: MWAWPosition.hxx:207
long begin() const
returns the begin offset
Definition: MWAWEntry.hxx:81
void setLength(long l)
sets the zone size
Definition: MWAWEntry.hxx:70
Arrow m_arrows[2]
the two arrows corresponding to start and end extremity
Definition: MWAWGraphicStyle.hxx:466
int m_page
the page (if known)
Definition: ClarisWksStruct.hxx:192
static MWAWColor black()
return the back color
Definition: libmwaw_internal.hxx:245
MWAWBox2< float > MWAWBox2f
MWAWBox2 of float.
Definition: libmwaw_internal.hxx:1189
main structure which correspond to a document part
Definition: ClarisWksStruct.hxx:87
ClarisWksStruct::DSET::Child getChild() const final
return a child corresponding to this zone
Definition: ClarisDrawGraph.cxx:517
std::set< int > m_groupSet
stack of send group(used avoid infinite loop-
Definition: ClarisDrawGraph.cxx:695
@ T_Poly
Definition: ClarisDrawGraph.cxx:207
void print(std::ostream &o) const final
print the zone
Definition: ClarisDrawGraph.cxx:485
int m_frameId
the frame id (for a linked frame)
Definition: ClarisDrawGraph.cxx:533
@ Pie
Definition: MWAWGraphicShape.hxx:49
SubDocument(ClarisDrawGraph &pars, MWAWInputStreamPtr &input, int zoneId, int subId)
constructor for zone
Definition: ClarisDrawGraph.cxx:704
bool readIntZone(MWAWParserState &parserState, char const *zoneName, bool hasEntete, int intSz, std::vector< int > &res)
try to read a int structured zone where fSz to the int size: 1(int8), 2(int16), 4(int32)
Definition: ClarisWksStruct.cxx:99
virtual int getNumData() const
return the number of data to define this zone in the file
Definition: ClarisDrawGraph.cxx:268
@ Char
Definition: MWAWPosition.hxx:51
virtual void print(std::ostream &) const
print the data contains
Definition: ClarisDrawGraph.cxx:273
friend std::ostream & operator<<(std::ostream &o, CurvePoint const &pt)
operator<<
Definition: ClarisDrawGraph.cxx:78
Type getSubType() const final
return the sub type
Definition: ClarisDrawGraph.cxx:572
DSET()
constructor
Definition: ClarisWksStruct.hxx:99
MWAWColor m_colors[2]
the two indexed colors
Definition: MWAWGraphicStyle.hxx:261
virtual Type getSubType() const
return the subtype
Definition: ClarisDrawGraph.cxx:263
bool sendTextZone(int number, int subZone=-1)
sends a text box content (via the main parser )
Definition: ClarisDrawGraph.cxx:819
~Bitmap() final
destructor
Definition: ClarisDrawGraph.cxx:435
long end() const
returns the end offset
Definition: MWAWEntry.hxx:86
@ DOC_TEXT_BOX
Definition: libmwaw_internal.hxx:188
int numPages() const
returns the number of pages
Definition: ClarisDrawGraph.cxx:804
std::string m_frameName
the frame name
Definition: MWAWGraphicStyle.hxx:461
Internal: the structures of a ClarisDrawGraph.
Definition: ClarisDrawGraph.cxx:68
@ Line
Definition: MWAWGraphicShape.hxx:49
@ LeftBit
Definition: libmwaw_internal.hxx:178
long m_size
the size of the DSET header
Definition: ClarisWksStruct.hxx:69
@ T_Line
Definition: ClarisDrawGraph.cxx:207
MWAWVec2f m_pageDimensions
the page dimension if known (in point)
Definition: ClarisDrawGraph.cxx:681
MWAWVec2< T > center() const
the box center
Definition: libmwaw_internal.hxx:1068
the main class to read a Claris Works file
Definition: ClarisWksParser.hxx:68
a bitmap of int to store indexed bitmap
Definition: MWAWPictBitmap.hxx:357
long m_numData
the number of header
Definition: ClarisWksStruct.hxx:180
the main class to read the graphic part of Claris Works file
Definition: ClarisDrawGraph.hxx:74
std::shared_ptr< ClarisDrawStyleManager > m_styleManager
the style manager
Definition: ClarisDrawGraph.hxx:179
std::string m_frameNextName
the frame next name (if there is a link)
Definition: MWAWGraphicStyle.hxx:463
int m_numBytesPerPixel
the number of bite by pixel
Definition: ClarisDrawGraph.cxx:424
ClarisDrawGraph(ClarisDrawGraph const &orig)=delete
virtual Type getType() const
return the main type
Definition: ClarisDrawGraph.cxx:258
long m_dataSz
the data size
Definition: ClarisWksStruct.hxx:182
Internal: the state of a ClarisDrawGraph.
Definition: ClarisDrawGraph.cxx:660
Internal: small class to store a basic graphic zone of a ClarisDrawGraph.
Definition: ClarisDrawGraph.cxx:304
@ Page
Definition: MWAWPosition.hxx:51
@ C_Zone
Definition: ClarisWksStruct.hxx:96
MWAWEntry m_entries[2]
the picture entry followed by a ps entry or ole entry ( if defined)
Definition: ClarisDrawGraph.cxx:393
bool readShape(MWAWEntry const &entry, ClarisDrawGraphInternal::ZoneShape &zone)
Definition: ClarisDrawGraph.cxx:1583
std::string m_measure
the measure
Definition: ClarisDrawGraph.cxx:745
std::shared_ptr< MWAWParserState > MWAWParserStatePtr
a smart pointer of MWAWParserState
Definition: libmwaw_internal.hxx:553
@ TopBit
Definition: libmwaw_internal.hxx:178
void addPos(long pos)
adds a new position in the file
Definition: MWAWDebug.cxx:53
std::vector< float > m_lineDashWidth
the dash array: a sequence of (fullsize, emptysize)
Definition: MWAWGraphicStyle.hxx:409
long m_dataSize
the data size
Definition: ClarisWksStruct.hxx:73
MWAWVec2f const & origin() const
return the frame origin
Definition: MWAWPosition.hxx:127
bool valid() const
returns true if the zone length is positive
Definition: MWAWEntry.hxx:97
bool isANote() const
return true if the zone is a note
Definition: ClarisDrawGraph.cxx:458
ClarisDrawGraph * m_graphParser
the graph parser
Definition: ClarisDrawGraph.cxx:737
std::shared_ptr< ClarisWksStruct::DSET > readBitmapZone(ClarisWksStruct::DSET const &zone, MWAWEntry const &entry)
reads the zone Bitmap DSET
Definition: ClarisDrawGraph.cxx:1072
bool readPolygonData(std::shared_ptr< ClarisDrawGraphInternal::Zone > zone)
Definition: ClarisDrawGraph.cxx:1944
MWAWVec2< T > size() const
the box size
Definition: libmwaw_internal.hxx:1063
@ Arc
Definition: MWAWGraphicShape.hxx:49
int getNumData() const final
return the number of data
Definition: ClarisDrawGraph.cxx:577
an interface used to insert comment in a binary file, written in ascii form (if debug_with_files is n...
Definition: MWAWDebug.hxx:66
int m_zoneType
the zone type
Definition: ClarisDrawGraph.cxx:287
~SubDocument() final
destructor
Definition: ClarisDrawGraph.cxx:719
a basic structure
Definition: ClarisWksStruct.hxx:53
Group(ClarisWksStruct::DSET const &dset=ClarisWksStruct::DSET())
constructor
Definition: ClarisDrawGraph.cxx:604
bool m_hasMainZone
a flag to know if this zone contains or no the call to zone 1
Definition: ClarisDrawGraph.cxx:649
Type getType() const final
return the main type Zone
Definition: ClarisDrawGraph.cxx:496
@ Circle
Definition: MWAWGraphicShape.hxx:49
SubDocument(SubDocument const &orig)=delete
std::shared_ptr< MWAWListener > MWAWListenerPtr
a smart pointer of MWAWListener
Definition: libmwaw_internal.hxx:549
MWAWVec2f m_pageDimension
the page dimension (if know)
Definition: ClarisWksStruct.hxx:196
the main class to read a ClarisDraw v1 file
Definition: ClarisDrawParser.hxx:64
MWAWParserStatePtr m_parserState
the parser state
Definition: ClarisDrawGraph.hxx:171
@ WNone
Definition: MWAWPosition.hxx:53
AnchorTo m_anchorTo
anchor position
Definition: MWAWPosition.hxx:267
Internal: the subdocument of a ClarisDrawGraph.
Definition: ClarisDrawGraph.cxx:701
MWAWVec2f getPageLeftTop()
returns the page left top point ( in inches)
Definition: ClarisDrawParser.cxx:180
CurvePoint(MWAWVec2f point=MWAWVec2f())
Definition: ClarisDrawGraph.cxx:71
int m_transformationId
the transformation id
Definition: ClarisDrawGraph.cxx:539
ClarisDrawGraph(ClarisDrawParser &parser)
constructor
Definition: ClarisDrawGraph.cxx:783
bool addFrameName(MWAWGraphicStyle &style) const
add the frame name if needed
Definition: ClarisDrawGraph.cxx:468
virtual ClarisWksStruct::DSET::Child getChild() const
return a child corresponding to this zone
Definition: ClarisDrawGraph.cxx:275
void print(std::ostream &o) const final
print the data
Definition: ClarisDrawGraph.cxx:362
a bitmap of MWAWColor to store true color bitmap
Definition: MWAWPictBitmap.hxx:469
Class to store font.
Definition: MWAWFont.hxx:44
Style()
constructor
Definition: ClarisDrawGraph.cxx:141
std::vector< MWAWColor > m_colorMap
the color map
Definition: ClarisDrawGraph.cxx:432
bool sendBitmap(int number, MWAWPosition const &pos=MWAWPosition())
sends the bitmap data to the listener (if it exists )
Definition: ClarisDrawGraph.cxx:2378
a simple path component
Definition: MWAWGraphicShape.hxx:53
bool m_positionsComputed
true if the ClarisDrawGraph::computePositions was called
Definition: ClarisDrawGraph.cxx:691
MWAWVec2f m_shadowOffset
the shadow offset
Definition: MWAWGraphicStyle.hxx:430
int getNumData() const final
return the number of data to define this zone in the file
Definition: ClarisDrawGraph.cxx:506
long m_headerSz
the header size
Definition: ClarisWksStruct.hxx:184
int m_id
the subdocument id
Definition: ClarisDrawGraph.cxx:741
Internal: the structure used to a point of a ClarisDrawGraph.
Definition: ClarisDrawGraph.cxx:70
void updateGroup(bool isLibrary)
update the group: ie. remove empty group child
Definition: ClarisDrawGraph.cxx:832
std::shared_ptr< ClarisDrawGraphInternal::State > m_state
the state
Definition: ClarisDrawGraph.hxx:174
bool sendShape(ClarisDrawGraphInternal::ZoneShape &pict, MWAWPosition pos)
sends a basic graphic zone
Definition: ClarisDrawGraph.cxx:2346
MWAWColor m_color
the border color
Definition: libmwaw_internal.hxx:393
int m_typeId
type number
Definition: ClarisDrawGraph.cxx:593
bool m_autosize
true if autosize is set
Definition: ClarisDrawGraph.cxx:346
MWAWVec2< int > MWAWVec2i
MWAWVec2 of int.
Definition: libmwaw_internal.hxx:834
Type getType() const final
return the main type
Definition: ClarisDrawGraph.cxx:318
std::stringstream DebugStream
a basic stream (if debug_with_files is not defined, does nothing)
Definition: MWAWDebug.hxx:61
std::vector< Transformation > m_transformations
the list of transformation
Definition: ClarisDrawGraph.cxx:685
MWAWPosition::Wrapping getWrapping() const
returns the wrapping
Definition: ClarisDrawGraph.cxx:150
MWAWEntry m_entry
the bitmap entry
Definition: ClarisDrawGraph.cxx:430
bool getSurfaceColor(ClarisDrawGraphInternal::Style const &style, MWAWColor &col) const
return the surface color which corresponds to some ids (if possible)
Definition: ClarisDrawGraph.cxx:905
void parse(MWAWListenerPtr &listener, libmwaw::SubDocumentType type) final
the parser function
Definition: ClarisDrawGraph.cxx:751
void flushExtra()
sends the data which have not yet been sent to the listener
Definition: ClarisDrawGraph.cxx:2487
a structure used to define an arrow
Definition: MWAWGraphicStyle.hxx:58
Internal: class which stores a group of graphics, ...
Definition: ClarisDrawGraph.cxx:602
Type getSubType() const final
return the sub type
Definition: ClarisDrawGraph.cxx:372
int getNumData() const final
return the number of data
Definition: ClarisDrawGraph.cxx:328
SubDocument & operator=(SubDocument const &orig)=delete
Internal: the generic structure used to store a zone of a ClarisDrawGraph.
Definition: ClarisDrawGraph.cxx:203
Generated on Tue Apr 24 2018 22:55:11 for libmwaw by
doxygen 1.8.20