Go to the documentation of this file.
38 #ifndef CLARIS_DRAW_GRAPH
39 # define CLARIS_DRAW_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:691
std::vector< std::shared_ptr< Zone > > m_zones
the list of child zones
Definition: ClarisDrawGraph.cxx:648
std::shared_ptr< ClarisDrawGraphInternal::Zone > readGroupDef(MWAWEntry const &entry)
Definition: ClarisDrawGraph.cxx:1190
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:206
int m_subId
the subdocument sub id
Definition: ClarisDrawGraph.cxx:745
virtual ~Zone()
destructor
Definition: ClarisDrawGraph.cxx:302
@ T_Unknown
Definition: ClarisDrawGraph.cxx:206
MWAWVariable< Justification > m_justify
the justification
Definition: MWAWParagraph.hxx:167
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:551
Type getType() const final
return the main type
Definition: ClarisDrawGraph.cxx:569
bool isEmptyGroup(int gId) const
returns true if a group does not exist or is empty
Definition: ClarisDrawGraph.cxx:826
std::map< int, std::shared_ptr< Group > > m_groupMap
a map zoneId -> group
Definition: ClarisDrawGraph.cxx:689
bool hasSurfaceColor() const
returns true if the surface is defined
Definition: MWAWGraphicStyle.hxx:421
~Group() final
destructor
Definition: ClarisDrawGraph.cxx:656
Type getSubType() const final
return the sub type Zone
Definition: ClarisDrawGraph.cxx:503
std::shared_ptr< MWAWGraphicListener > MWAWGraphicListenerPtr
a smart pointer of MWAWGraphicListener
Definition: libmwaw_internal.hxx:549
ZonePict(Zone const &z)
constructor
Definition: ClarisDrawGraph.cxx:358
#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:555
MWAWVec2< float > MWAWVec2f
MWAWVec2 of float.
Definition: libmwaw_internal.hxx:842
virtual ~ClarisDrawGraph()
destructor
Definition: ClarisDrawGraph.cxx:793
Zone()
constructor
Definition: ClarisDrawGraph.cxx:211
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:284
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:415
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:1885
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:458
void setRelativePosition(AnchorTo anchor, XPos X=XLeft, YPos Y=YTop)
sets the relative position
Definition: MWAWPosition.hxx:237
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:147
std::vector< PathData > m_path
the list of path component
Definition: MWAWGraphicShape.hxx:228
Internal: the structure used to store a PICT.
Definition: ClarisDrawGraph.cxx:356
void set(int i, int j, int v)
sets a cell contents
Definition: MWAWPictBitmap.hxx:425
~ZoneShape() final
destructor
Definition: ClarisDrawGraph.cxx:351
ChildType m_type
the type
Definition: ClarisWksStruct.hxx:277
void print(std::ostream &o) const final
print the zone
Definition: ClarisDrawGraph.cxx:564
std::vector< std::shared_ptr< Zone > > m_zonesToSend
the list of block to send
Definition: ClarisDrawGraph.cxx:653
static Arrow plain()
returns a basic plain arrow
Definition: MWAWGraphicStyle.hxx:74
ClarisWksStruct::DSET::Child getChild() const final
return a child corresponding to this zone
Definition: ClarisDrawGraph.cxx:384
int order() const
returns background/foward order
Definition: MWAWPosition.hxx:259
~ZoneZone() final
destructor
Definition: ClarisDrawGraph.cxx:548
bool isEmpty() const
returns true if the group is empty
Definition: ClarisDrawGraph.cxx:618
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:533
Type m_type
the sub type
Definition: ClarisDrawGraph.cxx:344
@ BottomBit
Definition: libmwaw_internal.hxx:178
bool m_frameLast
true if this is the last frame of a frame zone
Definition: ClarisDrawGraph.cxx:539
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:335
a structure used to define a picture shape
Definition: MWAWGraphicShape.hxx:46
@ T_Connector
Definition: ClarisDrawGraph.cxx:208
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:379
bool operator!=(MWAWSubDocument const &doc) const final
operator!=
Definition: ClarisDrawGraph.cxx:724
static MWAWGraphicShape line(MWAWVec2f const &orign, MWAWVec2f const &dest)
static constructor to create a line
Definition: MWAWGraphicShape.cxx:228
MWAWVec2i m_bitmapSize
the bitmap size
Definition: ClarisDrawGraph.cxx:428
int m_bitmapRowSize
the bitmap row size in the file ( with potential alignment)
Definition: ClarisDrawGraph.cxx:430
~ZonePict() final
destructor
Definition: ClarisDrawGraph.cxx:398
std::shared_ptr< ClarisWksStruct::DSET > readGroupZone(ClarisWksStruct::DSET const &zone, MWAWEntry const &entry, bool isLibHeader=false)
reads the zone Group DSET
Definition: ClarisDrawGraph.cxx:983
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:543
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:405
void print(std::ostream &o) const final
print the data
Definition: ClarisDrawGraph.cxx:314
@ WDynamic
Definition: MWAWPosition.hxx:53
ZoneShape(Zone const &z, Type type)
constructor
Definition: ClarisDrawGraph.cxx:308
SubDocument(ClarisDrawGraph &pars, MWAWInputStreamPtr &input, std::string const &measure)
constructor for measure
Definition: ClarisDrawGraph.cxx:713
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:165
void resetState()
resets the current state
Definition: ClarisDrawGraph.cxx:801
Zone(Zone const &)=default
bool readBitmapData(ClarisDrawGraphInternal::Bitmap &zone)
Definition: ClarisDrawGraph.cxx:2077
Style m_style
the style
Definition: ClarisDrawGraph.cxx:299
bool readGroupData(ClarisDrawGraphInternal::Group &group, long beginGroupPos, bool isLibHeader)
Definition: ClarisDrawGraph.cxx:1386
Type m_type
the sub type
Definition: ClarisDrawGraph.cxx:593
MWAWBox2f m_box
the bdbox
Definition: ClarisDrawGraph.cxx:295
bool sendGroup(int number, MWAWPosition const &pos=MWAWPosition())
sends the zone data to the listener (if it exists )
Definition: ClarisDrawGraph.cxx:2241
int m_flag
the zone main flag
Definition: ClarisDrawGraph.cxx:291
void addNote(char const *note)
adds a note in the file, in actual position
Definition: MWAWDebug.cxx:59
@ T_Oval
Definition: ClarisDrawGraph.cxx:208
int m_surfacePatternType
the surface pattern type
Definition: ClarisDrawGraph.cxx:196
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:218
State()
constructor
Definition: ClarisDrawGraph.cxx:664
Internal: structure to store a link to a zone of a ClarisDrawGraph.
Definition: ClarisDrawGraph.cxx:442
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:623
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:222
void setOrder(int ord) const
set background/foward order
Definition: MWAWPosition.hxx:264
@ Unknown
Definition: MWAWPosition.hxx:51
Type getSubType() const final
return the sub type
Definition: ClarisDrawGraph.cxx:325
bool readBitmapColorMap(std::vector< MWAWColor > &cMap)
Definition: ClarisDrawGraph.cxx:2030
bool readTransformations()
read the transformations
Definition: ClarisDrawGraph.cxx:915
int m_page
the page (checkme: or frame linked )
Definition: ClarisDrawGraph.cxx:293
int m_numPages
the number of pages
Definition: ClarisDrawGraph.cxx:681
@ T_Arc
Definition: ClarisDrawGraph.cxx:208
int m_masterId
the master group id ( in a draw file )
Definition: ClarisDrawGraph.cxx:685
int m_ordering
the ordering
Definition: ClarisDrawGraph.cxx:297
a basic pattern used in a MWAWGraphicStyle:
Definition: MWAWGraphicStyle.hxx:277
int getZoneId() const final
returns the id of the reference zone
Definition: ClarisDrawGraph.cxx:513
MWAWVec2f const & size() const
returns the frame size
Definition: MWAWPosition.hxx:135
Type m_type
the sub type
Definition: ClarisDrawGraph.cxx:393
Type getType() const final
return the main type T_Picture
Definition: ClarisDrawGraph.cxx:369
ClarisWksStruct::DSET::Child getChild() const final
return a child corresponding to this zone
Definition: ClarisDrawGraph.cxx:584
@ Polygon
Definition: MWAWGraphicShape.hxx:49
@ T_Zone
Definition: ClarisDrawGraph.cxx:206
Type m_subType
the file type ( zone or zone2 )
Definition: ClarisDrawGraph.cxx:529
ZoneZone(Zone const &z, Type fileType)
constructor
Definition: ClarisDrawGraph.cxx:444
@ Rectangle
Definition: MWAWGraphicShape.hxx:49
SubDocumentType
Definition: libmwaw_internal.hxx:188
~ZoneUnknown() final
destructor
Definition: ClarisDrawGraph.cxx:598
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:537
int m_id
the zoneId
Definition: ClarisDrawGraph.cxx:531
bool readGroupHeader(ClarisDrawGraphInternal::Group &group)
Definition: ClarisDrawGraph.cxx:1795
@ JustificationCenter
Definition: MWAWParagraph.hxx:90
@ T_Shape
Definition: ClarisDrawGraph.cxx:206
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:208
MWAWColor m_surfaceColor
the surface color
Definition: MWAWGraphicStyle.hxx:518
Internal: structure to store a bitmap of a ClarisDrawGraph.
Definition: ClarisDrawGraph.cxx:403
void removeChild(int cId, bool normalChild) final
remove a child from a list.
Definition: ClarisDrawGraph.cxx:632
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:346
int m_wrapping
the wrap type
Definition: ClarisDrawGraph.cxx:194
float m_lineWidth
the linewidth
Definition: MWAWGraphicStyle.hxx:508
MWAWBox2f getBdBox() const
return the zone bdbox
Definition: ClarisDrawGraph.cxx:248
void setSize(MWAWVec2f const &sz)
sets the frame size
Definition: MWAWPosition.hxx:215
void setEnd(long off)
sets the end offset
Definition: MWAWEntry.hxx:77
int m_frameId
the actuel frame id
Definition: ClarisDrawGraph.cxx:695
int version() const
returns the file version
Definition: ClarisDrawGraph.cxx:796
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:2150
void setBegin(long off)
sets the begin offset
Definition: MWAWEntry.hxx:67
std::vector< MWAWVec2f > m_vertices
the list of vertices for lines or polygons
Definition: MWAWGraphicShape.hxx:226
int m_type
the point type
Definition: ClarisDrawGraph.cxx:107
Internal: structure used to store an unknown zone of a ClarisDrawGraph.
Definition: ClarisDrawGraph.cxx:553
@ T_RectOval
Definition: ClarisDrawGraph.cxx:208
~Style() final
destructor
Definition: ClarisDrawGraph.cxx:199
int m_flags[9]
flag
Definition: ClarisDrawGraph.cxx:545
#define M_PI
Definition: libmwaw_internal.hxx:52
ClarisDrawGraph & operator=(ClarisDrawGraph const &orig)=delete
Wrapping m_wrapping
Wrapping.
Definition: MWAWPosition.hxx:278
long length() const
returns the length of the zone
Definition: MWAWEntry.hxx:93
@ Path
Definition: MWAWGraphicShape.hxx:49
Type m_type
the type
Definition: MWAWGraphicShape.hxx:216
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:465
bool isEmptyGroup(int gId) const
returns true if a group does not exist or is empty
Definition: ClarisDrawGraph.cxx:675
@ C_Graphic
Definition: ClarisWksStruct.hxx:96
@ T_Pict
Definition: ClarisDrawGraph.cxx:206
void setOrigin(MWAWVec2f const &orig)
sets the frame origin
Definition: MWAWPosition.hxx:210
long begin() const
returns the begin offset
Definition: MWAWEntry.hxx:83
void setLength(long l)
sets the zone size
Definition: MWAWEntry.hxx:72
Arrow m_arrows[2]
the two arrows corresponding to start and end extremity
Definition: MWAWGraphicStyle.hxx:553
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:1193
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:519
std::set< int > m_groupSet
stack of send group(used avoid infinite loop-
Definition: ClarisDrawGraph.cxx:697
@ T_Poly
Definition: ClarisDrawGraph.cxx:208
void print(std::ostream &o) const final
print the zone
Definition: ClarisDrawGraph.cxx:487
int m_frameId
the frame id (for a linked frame)
Definition: ClarisDrawGraph.cxx:535
@ Pie
Definition: MWAWGraphicShape.hxx:49
SubDocument(ClarisDrawGraph &pars, MWAWInputStreamPtr &input, int zoneId, int subId)
constructor for zone
Definition: ClarisDrawGraph.cxx:706
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:270
@ Char
Definition: MWAWPosition.hxx:51
virtual void print(std::ostream &) const
print the data contains
Definition: ClarisDrawGraph.cxx:275
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:574
DSET()
constructor
Definition: ClarisWksStruct.hxx:99
MWAWColor m_colors[2]
the two indexed colors
Definition: MWAWGraphicStyle.hxx:361
virtual Type getSubType() const
return the subtype
Definition: ClarisDrawGraph.cxx:265
bool sendTextZone(int number, int subZone=-1)
sends a text box content (via the main parser )
Definition: ClarisDrawGraph.cxx:821
~Bitmap() final
destructor
Definition: ClarisDrawGraph.cxx:437
long end() const
returns the end offset
Definition: MWAWEntry.hxx:88
@ DOC_TEXT_BOX
Definition: libmwaw_internal.hxx:188
int numPages() const
returns the number of pages
Definition: ClarisDrawGraph.cxx:806
std::string m_frameName
the frame name
Definition: MWAWGraphicStyle.hxx:548
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:208
MWAWVec2f m_pageDimensions
the page dimension if known (in point)
Definition: ClarisDrawGraph.cxx:683
MWAWVec2< T > center() const
the box center
Definition: libmwaw_internal.hxx:1072
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 ClarisDraw 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:550
int m_numBytesPerPixel
the number of bite by pixel
Definition: ClarisDrawGraph.cxx:426
ClarisDrawGraph(ClarisDrawGraph const &orig)=delete
virtual Type getType() const
return the main type
Definition: ClarisDrawGraph.cxx:260
long m_dataSz
the data size
Definition: ClarisWksStruct.hxx:182
Internal: the state of a ClarisDrawGraph.
Definition: ClarisDrawGraph.cxx:662
Internal: small class to store a basic graphic zone of a ClarisDrawGraph.
Definition: ClarisDrawGraph.cxx:306
@ 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:395
bool readShape(MWAWEntry const &entry, ClarisDrawGraphInternal::ZoneShape &zone)
Definition: ClarisDrawGraph.cxx:1585
std::string m_measure
the measure
Definition: ClarisDrawGraph.cxx:747
std::shared_ptr< MWAWParserState > MWAWParserStatePtr
a smart pointer of MWAWParserState
Definition: libmwaw_internal.hxx:557
@ 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:506
long m_dataSize
the data size
Definition: ClarisWksStruct.hxx:73
MWAWVec2f const & origin() const
return the frame origin
Definition: MWAWPosition.hxx:130
bool valid() const
returns true if the zone length is positive
Definition: MWAWEntry.hxx:99
bool isANote() const
return true if the zone is a note
Definition: ClarisDrawGraph.cxx:460
ClarisDrawGraph * m_graphParser
the graph parser
Definition: ClarisDrawGraph.cxx:739
std::shared_ptr< ClarisWksStruct::DSET > readBitmapZone(ClarisWksStruct::DSET const &zone, MWAWEntry const &entry)
reads the zone Bitmap DSET
Definition: ClarisDrawGraph.cxx:1074
bool readPolygonData(std::shared_ptr< ClarisDrawGraphInternal::Zone > zone)
Definition: ClarisDrawGraph.cxx:1946
MWAWVec2< T > size() const
the box size
Definition: libmwaw_internal.hxx:1067
@ Arc
Definition: MWAWGraphicShape.hxx:49
int getNumData() const final
return the number of data
Definition: ClarisDrawGraph.cxx:579
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:289
Style(Style const &)=default
~SubDocument() final
destructor
Definition: ClarisDrawGraph.cxx:721
a basic structure
Definition: ClarisWksStruct.hxx:53
Group(ClarisWksStruct::DSET const &dset=ClarisWksStruct::DSET())
constructor
Definition: ClarisDrawGraph.cxx:606
bool m_hasMainZone
a flag to know if this zone contains or no the call to zone 1
Definition: ClarisDrawGraph.cxx:651
Type getType() const final
return the main type Zone
Definition: ClarisDrawGraph.cxx:498
@ Circle
Definition: MWAWGraphicShape.hxx:49
SubDocument(SubDocument const &orig)=delete
std::shared_ptr< MWAWListener > MWAWListenerPtr
a smart pointer of MWAWListener
Definition: libmwaw_internal.hxx:553
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:270
Internal: the subdocument of a ClarisDrawGraph.
Definition: ClarisDrawGraph.cxx:703
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:541
ClarisDrawGraph(ClarisDrawParser &parser)
constructor
Definition: ClarisDrawGraph.cxx:785
bool addFrameName(MWAWGraphicStyle &style) const
add the frame name if needed
Definition: ClarisDrawGraph.cxx:470
virtual ClarisWksStruct::DSET::Child getChild() const
return a child corresponding to this zone
Definition: ClarisDrawGraph.cxx:277
void print(std::ostream &o) const final
print the data
Definition: ClarisDrawGraph.cxx:364
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:434
bool sendBitmap(int number, MWAWPosition const &pos=MWAWPosition())
sends the bitmap data to the listener (if it exists )
Definition: ClarisDrawGraph.cxx:2380
a simple path component
Definition: MWAWGraphicShape.hxx:53
bool m_positionsComputed
true if the ClarisDrawGraph::computePositions was called
Definition: ClarisDrawGraph.cxx:693
MWAWVec2f m_shadowOffset
the shadow offset
Definition: MWAWGraphicStyle.hxx:527
int getNumData() const final
return the number of data to define this zone in the file
Definition: ClarisDrawGraph.cxx:508
long m_headerSz
the header size
Definition: ClarisWksStruct.hxx:184
int m_id
the subdocument id
Definition: ClarisDrawGraph.cxx:743
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:834
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:2348
MWAWColor m_color
the border color
Definition: libmwaw_internal.hxx:393
int m_typeId
type number
Definition: ClarisDrawGraph.cxx:595
bool m_autosize
true if autosize is set
Definition: ClarisDrawGraph.cxx:348
MWAWVec2< int > MWAWVec2i
MWAWVec2 of int.
Definition: libmwaw_internal.hxx:838
Type getType() const final
return the main type
Definition: ClarisDrawGraph.cxx:320
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:687
MWAWPosition::Wrapping getWrapping() const
returns the wrapping
Definition: ClarisDrawGraph.cxx:151
MWAWEntry m_entry
the bitmap entry
Definition: ClarisDrawGraph.cxx:432
bool getSurfaceColor(ClarisDrawGraphInternal::Style const &style, MWAWColor &col) const
return the surface color which corresponds to some ids (if possible)
Definition: ClarisDrawGraph.cxx:907
void parse(MWAWListenerPtr &listener, libmwaw::SubDocumentType type) final
the parser function
Definition: ClarisDrawGraph.cxx:753
void flushExtra()
sends the data which have not yet been sent to the listener
Definition: ClarisDrawGraph.cxx:2489
a structure used to define an arrow
Definition: MWAWGraphicStyle.hxx:56
Internal: class which stores a group of graphics, ...
Definition: ClarisDrawGraph.cxx:604
Type getSubType() const final
return the sub type
Definition: ClarisDrawGraph.cxx:374
int getNumData() const final
return the number of data
Definition: ClarisDrawGraph.cxx:330
SubDocument & operator=(SubDocument const &orig)=delete
Internal: the generic structure used to store a zone of a ClarisDrawGraph.
Definition: ClarisDrawGraph.cxx:204
Generated on Fri Sep 18 2020 18:14:52 for libmwaw by
doxygen 1.8.20