ClarisDrawGraph.hxx
Go to the documentation of this file.
1 /* -*- Mode: C++; c-default-style: "k&r"; indent-tabs-mode: nil; tab-width: 2; c-basic-offset: 2 -*- */
2 
3 /* libmwaw
4 * Version: MPL 2.0 / LGPLv2+
5 *
6 * The contents of this file are subject to the Mozilla Public License Version
7 * 2.0 (the "License"); you may not use this file except in compliance with
8 * the License or as specified alternatively below. You may obtain a copy of
9 * the License at http://www.mozilla.org/MPL/
10 *
11 * Software distributed under the License is distributed on an "AS IS" basis,
12 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
13 * for the specific language governing rights and limitations under the
14 * License.
15 *
16 * Major Contributor(s):
17 * Copyright (C) 2002 William Lachance (wrlach@gmail.com)
18 * Copyright (C) 2002,2004 Marc Maurer (uwog@uwog.net)
19 * Copyright (C) 2004-2006 Fridrich Strba (fridrich.strba@bluewin.ch)
20 * Copyright (C) 2006, 2007 Andrew Ziem
21 * Copyright (C) 2011, 2012 Alonso Laurent (alonso@loria.fr)
22 *
23 *
24 * All Rights Reserved.
25 *
26 * For minor contributions see the git repository.
27 *
28 * Alternatively, the contents of this file may be used under the terms of
29 * the GNU Lesser General Public License Version 2 or later (the "LGPLv2+"),
30 * in which case the provisions of the LGPLv2+ are applicable
31 * instead of those above.
32 */
33 
34 /*
35  * Parser to Claris Draw document ( graphic part )
36  *
37  */
38 #ifndef CLARIS_DRAW_GRAPH
39 # define CLARIS_DRAW_GRAPH
40 
41 #include <string>
42 #include <vector>
43 
44 #include <librevenge/librevenge.h>
45 
46 #include "libmwaw_internal.hxx"
47 
48 #include "MWAWDebug.hxx"
49 #include "MWAWInputStream.hxx"
50 #include "MWAWPosition.hxx"
51 
52 #include "ClarisWksStruct.hxx"
53 
55 {
56 struct Group;
57 struct State;
58 struct Style;
59 struct Zone;
60 struct ZoneShape;
61 struct Bitmap;
62 
63 class SubDocument;
64 }
65 
66 class ClarisDrawParser;
67 
74 {
76  friend class ClarisDrawParser;
77  friend class ClarisWksParser;
78 
79 public:
81  explicit ClarisDrawGraph(ClarisDrawParser &parser);
83  virtual ~ClarisDrawGraph();
84 
86  int version() const;
88  void resetState();
90  int numPages() const;
91 
93  std::shared_ptr<ClarisWksStruct::DSET> readGroupZone
94  (ClarisWksStruct::DSET const &zone, MWAWEntry const &entry, bool isLibHeader=false);
96  std::shared_ptr<ClarisWksStruct::DSET> readBitmapZone(ClarisWksStruct::DSET const &zone, MWAWEntry const &entry);
98  bool readTransformations();
100  void updateGroup(bool isLibrary);
102  bool isEmptyGroup(int gId) const;
103 
105  bool getSurfaceColor(ClarisDrawGraphInternal::Style const &style, MWAWColor &col) const;
106 protected:
108  bool sendBitmap(int number, MWAWPosition const &pos=MWAWPosition());
110  bool sendGroup(int number, MWAWPosition const &pos=MWAWPosition());
112  bool sendMainGroupChild(int childId, MWAWPosition const &pos=MWAWPosition());
114  void flushExtra();
115 
116  // interface with main parser
117 
119  bool sendTextZone(int number, int subZone=-1);
120 
121  //
122  // Intermediate level
123  //
124 
125  /* read a simple group */
126  std::shared_ptr<ClarisDrawGraphInternal::Zone> readGroupDef(MWAWEntry const &entry);
127  /* read the group data.
128 
129  \note \a beginGroupPos is only used to help debugging */
130  bool readGroupData(ClarisDrawGraphInternal::Group &group, long beginGroupPos, bool isLibHeader);
131 
132  /* read a simple graphic zone */
133  bool readShape(MWAWEntry const &entry,
135 
136  /* try to read the polygon data */
137  bool readPolygonData(std::shared_ptr<ClarisDrawGraphInternal::Zone> zone);
138 
140  /* try to read a bitmap zone */
141  bool readBitmapColorMap(std::vector<MWAWColor> &cMap);
142 
143  /* try to read the bitmap */
145 
146  //
147  // low level
148  //
149 
150  /* read the first zone of a group type */
152 
153  /* read some unknown data in first zone */
154  bool readGroupUnknown(ClarisDrawGraphInternal::Group &group, int zoneSz, int id);
155 
158 
161 
162 private:
163  ClarisDrawGraph(ClarisDrawGraph const &orig) = delete;
164  ClarisDrawGraph &operator=(ClarisDrawGraph const &orig) = delete;
165 
166 protected:
167  //
168  // data
169  //
172 
174  std::shared_ptr<ClarisDrawGraphInternal::State> m_state;
175 
179  std::shared_ptr<ClarisDrawStyleManager> m_styleManager;
180 };
181 #endif
182 // vim: set filetype=cpp tabstop=2 shiftwidth=2 cindent autoindent smartindent noexpandtab:
ClarisDrawGraphInternal::State::m_bitmapMap
std::map< int, std::shared_ptr< Bitmap > > m_bitmapMap
a map zoneId -> group
Definition: ClarisDrawGraph.cxx:691
ClarisDrawGraphInternal::Group::m_zones
std::vector< std::shared_ptr< Zone > > m_zones
the list of child zones
Definition: ClarisDrawGraph.cxx:648
ClarisDrawGraph::readGroupDef
std::shared_ptr< ClarisDrawGraphInternal::Zone > readGroupDef(MWAWEntry const &entry)
Definition: ClarisDrawGraph.cxx:1190
ClarisDrawParser::getFileType
int getFileType(int zoneId) const
returns the file type corresponding to a zone id
Definition: ClarisDrawParser.cxx:166
MWAWEntry
basic class to store an entry in a file This contained :
Definition: MWAWEntry.hxx:47
ClarisDrawGraphInternal::Zone::Type
Type
the list of types
Definition: ClarisDrawGraph.cxx:206
ClarisDrawGraphInternal::SubDocument::m_subId
int m_subId
the subdocument sub id
Definition: ClarisDrawGraph.cxx:745
ClarisDrawGraphInternal::Zone::~Zone
virtual ~Zone()
destructor
Definition: ClarisDrawGraph.cxx:302
ClarisDrawGraphInternal::Zone::T_Unknown
@ T_Unknown
Definition: ClarisDrawGraph.cxx:206
MWAWParagraph::m_justify
MWAWVariable< Justification > m_justify
the justification
Definition: MWAWParagraph.hxx:167
MWAWGraphicStyle::Pattern::getUniqueColor
bool getUniqueColor(MWAWColor &col) const
check if the pattern has only one color; if so returns true...
Definition: MWAWGraphicStyle.cxx:86
MWAWInputStreamPtr
std::shared_ptr< MWAWInputStream > MWAWInputStreamPtr
a smart pointer of MWAWInputStream
Definition: libmwaw_internal.hxx:551
ClarisDrawGraphInternal::ZoneUnknown::getType
Type getType() const final
return the main type
Definition: ClarisDrawGraph.cxx:569
ClarisDrawGraph::isEmptyGroup
bool isEmptyGroup(int gId) const
returns true if a group does not exist or is empty
Definition: ClarisDrawGraph.cxx:826
ClarisDrawGraphInternal::State::m_groupMap
std::map< int, std::shared_ptr< Group > > m_groupMap
a map zoneId -> group
Definition: ClarisDrawGraph.cxx:689
MWAWGraphicStyle::hasSurfaceColor
bool hasSurfaceColor() const
returns true if the surface is defined
Definition: MWAWGraphicStyle.hxx:421
ClarisDrawGraphInternal::Group::~Group
~Group() final
destructor
Definition: ClarisDrawGraph.cxx:656
ClarisDrawGraphInternal::ZoneZone::getSubType
Type getSubType() const final
return the sub type Zone
Definition: ClarisDrawGraph.cxx:503
MWAWGraphicListenerPtr
std::shared_ptr< MWAWGraphicListener > MWAWGraphicListenerPtr
a smart pointer of MWAWGraphicListener
Definition: libmwaw_internal.hxx:549
ClarisDrawGraphInternal::ZonePict::ZonePict
ZonePict(Zone const &z)
constructor
Definition: ClarisDrawGraph.cxx:358
MWAW_DEBUG_MSG
#define MWAW_DEBUG_MSG(M)
Definition: libmwaw_internal.hxx:129
ClarisDrawGraphInternal::CurvePoint::m_controlPoints
MWAWVec2f m_controlPoints[2]
the control point: previous, next
Definition: ClarisDrawGraph.cxx:105
ClarisDrawGraphInternal::ZoneUnknown::ZoneUnknown
ZoneUnknown(Zone const &z)
construtor
Definition: ClarisDrawGraph.cxx:555
MWAWVec2f
MWAWVec2< float > MWAWVec2f
MWAWVec2 of float.
Definition: libmwaw_internal.hxx:842
ClarisDrawGraph::~ClarisDrawGraph
virtual ~ClarisDrawGraph()
destructor
Definition: ClarisDrawGraph.cxx:793
ClarisDrawGraphInternal::Zone::Zone
Zone()
constructor
Definition: ClarisDrawGraph.cxx:211
ClarisWksStruct.hxx
MWAWPictBitmapIndexed::setColors
void setColors(std::vector< MWAWColor > const &cols)
sets the array of indexed colors
Definition: MWAWPictBitmap.hxx:446
libmwaw::DebugFile::addDelimiter
void addDelimiter(long pos, char c)
adds a not breaking delimiter in position pos
Definition: MWAWDebug.cxx:73
ClarisDrawGraphInternal::Zone::getZoneId
virtual int getZoneId() const
returns the id of the reference zone
Definition: ClarisDrawGraph.cxx:284
MWAWParser::getGraphicListener
MWAWGraphicListenerPtr & getGraphicListener()
returns the graphic listener
Definition: MWAWParser.hxx:130
MWAWGraphicStyle::setSurfaceColor
void setSurfaceColor(MWAWColor const &col, float opacity=1)
set the surface color
Definition: MWAWGraphicStyle.hxx:415
ClarisDrawGraphInternal::Style
Internal: the structure used to store a style of a ClarisDrawGraph.
Definition: ClarisDrawGraph.cxx:139
ClarisDrawGraph::readGroupUnknown
bool readGroupUnknown(ClarisDrawGraphInternal::Group &group, int zoneSz, int id)
Definition: ClarisDrawGraph.cxx:1885
ClarisWksStruct::readStructZone
bool readStructZone(MWAWParserState &parserState, char const *zoneName, bool hasEntete)
try to read a structured zone with unknown content
Definition: ClarisWksStruct.cxx:162
MWAWGraphicStyle::setShadowColor
void setShadowColor(MWAWColor const &col, float opacity=1)
set the shadow color
Definition: MWAWGraphicStyle.hxx:458
MWAWPosition::setRelativePosition
void setRelativePosition(AnchorTo anchor, XPos X=XLeft, YPos Y=YTop)
sets the relative position
Definition: MWAWPosition.hxx:237
ClarisDrawGraph::m_mainParser
ClarisDrawParser * m_mainParser
the main parser;
Definition: ClarisDrawGraph.hxx:177
MWAWGraphicShape::pie
static MWAWGraphicShape pie(MWAWBox2f const &box, MWAWBox2f const &circleBox, MWAWVec2f const &angles)
static constructor to create a pie
Definition: MWAWGraphicShape.hxx:147
MWAWGraphicShape::m_path
std::vector< PathData > m_path
the list of path component
Definition: MWAWGraphicShape.hxx:228
ClarisDrawGraphInternal::ZonePict
Internal: the structure used to store a PICT.
Definition: ClarisDrawGraph.cxx:356
MWAWPictBitmapIndexed::set
void set(int i, int j, int v)
sets a cell contents
Definition: MWAWPictBitmap.hxx:425
ClarisDrawGraphInternal::ZoneShape::~ZoneShape
~ZoneShape() final
destructor
Definition: ClarisDrawGraph.cxx:351
ClarisWksStruct::DSET::Child::m_type
ChildType m_type
the type
Definition: ClarisWksStruct.hxx:277
ClarisDrawGraphInternal::ZoneUnknown::print
void print(std::ostream &o) const final
print the zone
Definition: ClarisDrawGraph.cxx:564
ClarisDrawGraphInternal::Group::m_zonesToSend
std::vector< std::shared_ptr< Zone > > m_zonesToSend
the list of block to send
Definition: ClarisDrawGraph.cxx:653
MWAWGraphicStyle::Arrow::plain
static Arrow plain()
returns a basic plain arrow
Definition: MWAWGraphicStyle.hxx:74
ClarisDrawParser.hxx
ClarisDrawGraphInternal::ZonePict::getChild
ClarisWksStruct::DSET::Child getChild() const final
return a child corresponding to this zone
Definition: ClarisDrawGraph.cxx:384
ClarisDrawGraphInternal::Transformation::operator<<
friend std::ostream & operator<<(std::ostream &o, Transformation const &trans)
Definition: ClarisDrawGraph.cxx:119
MWAWPosition::order
int order() const
returns background/foward order
Definition: MWAWPosition.hxx:259
ClarisDrawGraphInternal::ZoneZone::~ZoneZone
~ZoneZone() final
destructor
Definition: ClarisDrawGraph.cxx:548
ClarisDrawGraphInternal::Group::isEmpty
bool isEmpty() const
returns true if the group is empty
Definition: ClarisDrawGraph.cxx:618
MWAWColor::white
static MWAWColor white()
return the white color
Definition: libmwaw_internal.hxx:250
ClarisDrawGraphInternal::ZoneZone::m_subId
int m_subId
the zoneSubId: can be page/column/frame linked number
Definition: ClarisDrawGraph.cxx:533
ClarisDrawGraphInternal::ZoneShape::m_type
Type m_type
the sub type
Definition: ClarisDrawGraph.cxx:344
libmwaw::BottomBit
@ BottomBit
Definition: libmwaw_internal.hxx:178
ClarisDrawGraphInternal::ZoneZone::m_frameLast
bool m_frameLast
true if this is the last frame of a frame zone
Definition: ClarisDrawGraph.cxx:539
ClarisDrawGraphInternal::Transformation::m_originalSize
MWAWVec2f m_originalSize
the original size
Definition: ClarisDrawGraph.cxx:134
ClarisWksStruct::DSET::Child::m_id
int m_id
the identificator
Definition: ClarisWksStruct.hxx:279
MWAWPosition::WBackground
@ WBackground
Definition: MWAWPosition.hxx:53
ClarisDrawGraphInternal::ZoneShape::getChild
ClarisWksStruct::DSET::Child getChild() const final
return a child corresponding to this zone
Definition: ClarisDrawGraph.cxx:335
MWAWGraphicShape
a structure used to define a picture shape
Definition: MWAWGraphicShape.hxx:46
ClarisDrawGraphInternal::Zone::T_Connector
@ T_Connector
Definition: ClarisDrawGraph.cxx:208
MWAWColor
the class to store a color
Definition: libmwaw_internal.hxx:192
MWAWEmbeddedObject
small class use to define a embedded object
Definition: libmwaw_internal.hxx:467
ClarisDrawGraphInternal::ZonePict::getNumData
int getNumData() const final
return the number of data in a file
Definition: ClarisDrawGraph.cxx:379
ClarisDrawGraphInternal::SubDocument::operator!=
bool operator!=(MWAWSubDocument const &doc) const final
operator!=
Definition: ClarisDrawGraph.cxx:724
MWAWGraphicShape::line
static MWAWGraphicShape line(MWAWVec2f const &orign, MWAWVec2f const &dest)
static constructor to create a line
Definition: MWAWGraphicShape.cxx:228
ClarisDrawGraphInternal::Bitmap::m_bitmapSize
MWAWVec2i m_bitmapSize
the bitmap size
Definition: ClarisDrawGraph.cxx:428
ClarisDrawGraphInternal::Bitmap::m_bitmapRowSize
int m_bitmapRowSize
the bitmap row size in the file ( with potential alignment)
Definition: ClarisDrawGraph.cxx:430
ClarisDrawGraphInternal::ZonePict::~ZonePict
~ZonePict() final
destructor
Definition: ClarisDrawGraph.cxx:398
ClarisDrawGraph::readGroupZone
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
ClarisWksStruct::DSET::Child
structure used to define the child of a DSET structure
Definition: ClarisWksStruct.hxx:225
MWAWGraphicStyle::Pattern::getAverageColor
bool getAverageColor(MWAWColor &col) const
return the average color
Definition: MWAWGraphicStyle.cxx:101
ClarisDrawGraphInternal::ZoneZone::m_wrappingSep
int m_wrappingSep
the wrapping separator
Definition: ClarisDrawGraph.cxx:543
ClarisDrawGraphInternal::CurvePoint::m_pos
MWAWVec2f m_pos
the main position
Definition: ClarisDrawGraph.cxx:103
MWAWParagraph
class to store the paragraph properties
Definition: MWAWParagraph.hxx:85
ClarisDrawGraphInternal::Bitmap::Bitmap
Bitmap(ClarisWksStruct::DSET const &dset=ClarisWksStruct::DSET())
constructor
Definition: ClarisDrawGraph.cxx:405
ClarisDrawGraphInternal::ZoneShape::print
void print(std::ostream &o) const final
print the data
Definition: ClarisDrawGraph.cxx:314
MWAWPosition::WDynamic
@ WDynamic
Definition: MWAWPosition.hxx:53
ClarisDrawGraphInternal::ZoneShape::ZoneShape
ZoneShape(Zone const &z, Type type)
constructor
Definition: ClarisDrawGraph.cxx:308
ClarisDrawGraphInternal::Transformation
Internal: the structure used to store a transformation ClarisDrawGraph.
Definition: ClarisDrawGraph.cxx:111
ClarisDrawGraphInternal::SubDocument::SubDocument
SubDocument(ClarisDrawGraph &pars, MWAWInputStreamPtr &input, std::string const &measure)
constructor for measure
Definition: ClarisDrawGraph.cxx:713
ClarisDrawParser::sendTextZone
bool sendTextZone(int number, int subZone=-1)
sends a text zone
Definition: ClarisDrawParser.cxx:175
MWAWPictData::get
static MWAWPictData * get(MWAWInputStreamPtr const &input, int size)
checks if the data pointed by input is known
Definition: MWAWPictData.hxx:108
MWAWBorder::m_width
double m_width
the border total width in point
Definition: libmwaw_internal.hxx:387
ClarisDrawGraphInternal::Style::operator<<
friend std::ostream & operator<<(std::ostream &o, Style const &st)
operator<<
Definition: ClarisDrawGraph.cxx:165
ClarisDrawGraph::resetState
void resetState()
resets the current state
Definition: ClarisDrawGraph.cxx:801
ClarisDrawGraphInternal::Zone::Zone
Zone(Zone const &)=default
ClarisDrawGraph::readBitmapData
bool readBitmapData(ClarisDrawGraphInternal::Bitmap &zone)
Definition: ClarisDrawGraph.cxx:2077
ClarisDrawGraphInternal::Zone::m_style
Style m_style
the style
Definition: ClarisDrawGraph.cxx:299
ClarisDrawGraph::readGroupData
bool readGroupData(ClarisDrawGraphInternal::Group &group, long beginGroupPos, bool isLibHeader)
Definition: ClarisDrawGraph.cxx:1386
ClarisDrawGraphInternal::ZoneUnknown::m_type
Type m_type
the sub type
Definition: ClarisDrawGraph.cxx:593
ClarisDrawGraphInternal::Zone::m_box
MWAWBox2f m_box
the bdbox
Definition: ClarisDrawGraph.cxx:295
ClarisDrawGraph::sendGroup
bool sendGroup(int number, MWAWPosition const &pos=MWAWPosition())
sends the zone data to the listener (if it exists )
Definition: ClarisDrawGraph.cxx:2241
ClarisDrawGraphInternal::Zone::m_flag
int m_flag
the zone main flag
Definition: ClarisDrawGraph.cxx:291
libmwaw::DebugFile::addNote
void addNote(char const *note)
adds a note in the file, in actual position
Definition: MWAWDebug.cxx:59
ClarisDrawGraphInternal::Zone::T_Oval
@ T_Oval
Definition: ClarisDrawGraph.cxx:208
ClarisDrawGraphInternal::Style::m_surfacePatternType
int m_surfacePatternType
the surface pattern type
Definition: ClarisDrawGraph.cxx:196
MWAWSubDocument
abstract class used to store a subdocument (with a comparison function)
Definition: MWAWSubDocument.hxx:42
MWAWGraphicStyle
a structure used to define a picture style
Definition: MWAWGraphicStyle.hxx:48
MWAWGraphicShape::m_bdBox
MWAWBox2f m_bdBox
the shape bdbox
Definition: MWAWGraphicShape.hxx:218
ClarisDrawGraphInternal::State::State
State()
constructor
Definition: ClarisDrawGraph.cxx:664
ClarisDrawGraphInternal::ZoneZone
Internal: structure to store a link to a zone of a ClarisDrawGraph.
Definition: ClarisDrawGraph.cxx:442
ClarisWksStruct
namespace to store the main structure which appears in a ClarisDraw/ClarisWorks file
Definition: ClarisWksStruct.cxx:50
ClarisDrawGraphInternal::Group::operator<<
friend std::ostream & operator<<(std::ostream &o, Group const &doc)
operator<<
Definition: ClarisDrawGraph.cxx:623
MWAWPictBitmapColor::set
void set(int i, int j, MWAWColor const &v)
sets a cell contents
Definition: MWAWPictBitmap.hxx:529
ClarisDrawGraphInternal::Zone::operator<<
friend std::ostream & operator<<(std::ostream &o, Zone const &zone)
operator<<
Definition: ClarisDrawGraph.cxx:222
MWAWPosition::setOrder
void setOrder(int ord) const
set background/foward order
Definition: MWAWPosition.hxx:264
MWAWPosition::Unknown
@ Unknown
Definition: MWAWPosition.hxx:51
ClarisDrawGraphInternal::ZoneShape::getSubType
Type getSubType() const final
return the sub type
Definition: ClarisDrawGraph.cxx:325
ClarisDrawGraph::readBitmapColorMap
bool readBitmapColorMap(std::vector< MWAWColor > &cMap)
Definition: ClarisDrawGraph.cxx:2030
ClarisDrawGraph::readTransformations
bool readTransformations()
read the transformations
Definition: ClarisDrawGraph.cxx:915
ClarisDrawGraphInternal::Zone::m_page
int m_page
the page (checkme: or frame linked )
Definition: ClarisDrawGraph.cxx:293
ClarisDrawGraphInternal::State::m_numPages
int m_numPages
the number of pages
Definition: ClarisDrawGraph.cxx:681
ClarisDrawGraphInternal::Transformation::m_rotate
float m_rotate
the rotation
Definition: ClarisDrawGraph.cxx:132
ClarisDrawGraphInternal::Zone::T_Arc
@ T_Arc
Definition: ClarisDrawGraph.cxx:208
ClarisDrawGraphInternal::State::m_masterId
int m_masterId
the master group id ( in a draw file )
Definition: ClarisDrawGraph.cxx:685
ClarisDrawGraphInternal::Zone::m_ordering
int m_ordering
the ordering
Definition: ClarisDrawGraph.cxx:297
MWAWGraphicStyle::Pattern
a basic pattern used in a MWAWGraphicStyle:
Definition: MWAWGraphicStyle.hxx:277
MWAWSubDocument.hxx
ClarisDrawGraphInternal::ZoneZone::getZoneId
int getZoneId() const final
returns the id of the reference zone
Definition: ClarisDrawGraph.cxx:513
ClarisDrawGraph.hxx
MWAWPosition::size
MWAWVec2f const & size() const
returns the frame size
Definition: MWAWPosition.hxx:135
ClarisDrawGraphInternal::ZonePict::m_type
Type m_type
the sub type
Definition: ClarisDrawGraph.cxx:393
ClarisDrawGraphInternal::ZonePict::getType
Type getType() const final
return the main type T_Picture
Definition: ClarisDrawGraph.cxx:369
ClarisDrawGraphInternal::ZoneUnknown::getChild
ClarisWksStruct::DSET::Child getChild() const final
return a child corresponding to this zone
Definition: ClarisDrawGraph.cxx:584
MWAWGraphicShape::Polygon
@ Polygon
Definition: MWAWGraphicShape.hxx:49
ClarisDrawGraphInternal::Zone::T_Zone
@ T_Zone
Definition: ClarisDrawGraph.cxx:206
ClarisDrawGraphInternal::ZoneZone::m_subType
Type m_subType
the file type ( zone or zone2 )
Definition: ClarisDrawGraph.cxx:529
ClarisDrawGraphInternal::ZoneZone::ZoneZone
ZoneZone(Zone const &z, Type fileType)
constructor
Definition: ClarisDrawGraph.cxx:444
MWAWGraphicShape::Rectangle
@ Rectangle
Definition: MWAWGraphicShape.hxx:49
ClarisDrawGraphInternal::Transformation::m_values
float m_values[2]
other values
Definition: ClarisDrawGraph.cxx:136
libmwaw::SubDocumentType
SubDocumentType
Definition: libmwaw_internal.hxx:188
ClarisDrawGraphInternal::ZoneUnknown::~ZoneUnknown
~ZoneUnknown() final
destructor
Definition: ClarisDrawGraph.cxx:598
MWAWSubDocument::m_input
std::shared_ptr< MWAWInputStream > m_input
the input
Definition: MWAWSubDocument.hxx:77
ClarisWksStruct::DSET::Child::m_box
MWAWBox2f m_box
the bdbox
Definition: ClarisWksStruct.hxx:285
ClarisDrawStyleManager.hxx
ClarisDrawGraphInternal::ZoneZone::m_frameSubId
int m_frameSubId
the frame sub id (for a linked frame)
Definition: ClarisDrawGraph.cxx:537
ClarisDrawGraphInternal::ZoneZone::m_id
int m_id
the zoneId
Definition: ClarisDrawGraph.cxx:531
ClarisDrawGraph::readGroupHeader
bool readGroupHeader(ClarisDrawGraphInternal::Group &group)
Definition: ClarisDrawGraph.cxx:1795
MWAWParagraph::JustificationCenter
@ JustificationCenter
Definition: MWAWParagraph.hxx:90
ClarisDrawGraphInternal::Zone::T_Shape
@ T_Shape
Definition: ClarisDrawGraph.cxx:206
ClarisWksStruct::DSET::m_parsed
bool m_parsed
a flag to know if the entry is sent or not to the listener
Definition: ClarisWksStruct.hxx:220
ClarisDrawGraphInternal::Zone::T_Rect
@ T_Rect
Definition: ClarisDrawGraph.cxx:208
MWAWGraphicStyle::m_surfaceColor
MWAWColor m_surfaceColor
the surface color
Definition: MWAWGraphicStyle.hxx:518
ClarisDrawGraphInternal::Bitmap
Internal: structure to store a bitmap of a ClarisDrawGraph.
Definition: ClarisDrawGraph.cxx:403
MWAWParagraph.hxx
ClarisDrawGraphInternal::Group::removeChild
void removeChild(int cId, bool normalChild) final
remove a child from a list.
Definition: ClarisDrawGraph.cxx:632
libmwaw::DebugFile::skipZone
void skipZone(long beginPos, long endPos)
skips the file zone defined by beginPos-endPos
Definition: MWAWDebug.hxx:113
ClarisDrawGraphInternal::ZoneShape::m_shape
MWAWGraphicShape m_shape
the shape
Definition: ClarisDrawGraph.cxx:346
ClarisDrawGraphInternal::Style::m_wrapping
int m_wrapping
the wrap type
Definition: ClarisDrawGraph.cxx:194
ClarisDrawGraphInternal::Transformation::Transformation
Transformation()
constructor
Definition: ClarisDrawGraph.cxx:113
libmwaw_internal.hxx
MWAWGraphicStyle::m_lineWidth
float m_lineWidth
the linewidth
Definition: MWAWGraphicStyle.hxx:508
ClarisDrawGraphInternal::Zone::getBdBox
MWAWBox2f getBdBox() const
return the zone bdbox
Definition: ClarisDrawGraph.cxx:248
MWAWPosition.hxx
MWAWPosition::setSize
void setSize(MWAWVec2f const &sz)
sets the frame size
Definition: MWAWPosition.hxx:215
MWAWEntry::setEnd
void setEnd(long off)
sets the end offset
Definition: MWAWEntry.hxx:77
ClarisDrawGraphInternal::State::m_frameId
int m_frameId
the actuel frame id
Definition: ClarisDrawGraph.cxx:695
ClarisDrawGraph::version
int version() const
returns the file version
Definition: ClarisDrawGraph.cxx:796
MWAWPosition
Class to define the position of an object (textbox, picture, ..) in the document.
Definition: MWAWPosition.hxx:48
MWAWBorder
a border
Definition: libmwaw_internal.hxx:333
ClarisWksStruct::DSET::m_fileType
int m_fileType
the type ( 0: text, -1: graphic, ...)
Definition: ClarisWksStruct.hxx:189
ClarisDrawGraph::sendMainGroupChild
bool sendMainGroupChild(int childId, MWAWPosition const &pos=MWAWPosition())
sends the ith child of the root (if it exists )
Definition: ClarisDrawGraph.cxx:2150
MWAWEntry::setBegin
void setBegin(long off)
sets the begin offset
Definition: MWAWEntry.hxx:67
MWAWGraphicShape::m_vertices
std::vector< MWAWVec2f > m_vertices
the list of vertices for lines or polygons
Definition: MWAWGraphicShape.hxx:226
ClarisDrawGraphInternal::CurvePoint::m_type
int m_type
the point type
Definition: ClarisDrawGraph.cxx:107
ClarisDrawGraphInternal::ZoneUnknown
Internal: structure used to store an unknown zone of a ClarisDrawGraph.
Definition: ClarisDrawGraph.cxx:553
ClarisDrawGraphInternal::Zone::T_RectOval
@ T_RectOval
Definition: ClarisDrawGraph.cxx:208
ClarisDrawGraphInternal::Style::~Style
~Style() final
destructor
Definition: ClarisDrawGraph.cxx:199
ClarisDrawGraphInternal::ZoneZone::m_flags
int m_flags[9]
flag
Definition: ClarisDrawGraph.cxx:545
M_PI
#define M_PI
Definition: libmwaw_internal.hxx:52
ClarisDrawGraph::operator=
ClarisDrawGraph & operator=(ClarisDrawGraph const &orig)=delete
MWAWPosition::m_wrapping
Wrapping m_wrapping
Wrapping.
Definition: MWAWPosition.hxx:278
MWAWEntry::length
long length() const
returns the length of the zone
Definition: MWAWEntry.hxx:93
MWAWGraphicShape::Path
@ Path
Definition: MWAWGraphicShape.hxx:49
MWAWGraphicShape::m_type
Type m_type
the type
Definition: MWAWGraphicShape.hxx:216
ClarisWksStruct::Struct::readHeader
bool readHeader(MWAWInputStreamPtr input, bool strict=false)
try to read the header
Definition: ClarisWksStruct.cxx:72
libmwaw::RightBit
@ RightBit
Definition: libmwaw_internal.hxx:178
ClarisDrawGraphInternal::ZoneZone::isLinked
bool isLinked() const
check if we need to send the frame is linked to another frmae
Definition: ClarisDrawGraph.cxx:465
ClarisDrawGraphInternal::State::isEmptyGroup
bool isEmptyGroup(int gId) const
returns true if a group does not exist or is empty
Definition: ClarisDrawGraph.cxx:675
MWAWVec2< float >
ClarisWksStruct::DSET::C_Graphic
@ C_Graphic
Definition: ClarisWksStruct.hxx:96
ClarisDrawGraphInternal::Zone::T_Pict
@ T_Pict
Definition: ClarisDrawGraph.cxx:206
MWAWGraphicListener.hxx
MWAWPictMac.hxx
MWAWGraphicShape.hxx
MWAWDebug.hxx
MWAWPosition::setOrigin
void setOrigin(MWAWVec2f const &orig)
sets the frame origin
Definition: MWAWPosition.hxx:210
MWAWEntry::begin
long begin() const
returns the begin offset
Definition: MWAWEntry.hxx:83
MWAWEntry::setLength
void setLength(long l)
sets the zone size
Definition: MWAWEntry.hxx:72
MWAWGraphicStyle::m_arrows
Arrow m_arrows[2]
the two arrows corresponding to start and end extremity
Definition: MWAWGraphicStyle.hxx:553
ClarisWksStruct::DSET::m_page
int m_page
the page (if known)
Definition: ClarisWksStruct.hxx:192
MWAWColor::black
static MWAWColor black()
return the back color
Definition: libmwaw_internal.hxx:245
MWAWBox2f
MWAWBox2< float > MWAWBox2f
MWAWBox2 of float.
Definition: libmwaw_internal.hxx:1193
ClarisWksStruct::DSET
main structure which correspond to a document part
Definition: ClarisWksStruct.hxx:87
ClarisDrawGraphInternal::ZoneZone::getChild
ClarisWksStruct::DSET::Child getChild() const final
return a child corresponding to this zone
Definition: ClarisDrawGraph.cxx:519
ClarisDrawGraphInternal::State::m_groupSet
std::set< int > m_groupSet
stack of send group(used avoid infinite loop-
Definition: ClarisDrawGraph.cxx:697
ClarisDrawGraphInternal::Zone::T_Poly
@ T_Poly
Definition: ClarisDrawGraph.cxx:208
ClarisDrawGraphInternal::ZoneZone::print
void print(std::ostream &o) const final
print the zone
Definition: ClarisDrawGraph.cxx:487
ClarisDrawGraphInternal::ZoneZone::m_frameId
int m_frameId
the frame id (for a linked frame)
Definition: ClarisDrawGraph.cxx:535
MWAWGraphicShape::Pie
@ Pie
Definition: MWAWGraphicShape.hxx:49
ClarisDrawGraphInternal::SubDocument::SubDocument
SubDocument(ClarisDrawGraph &pars, MWAWInputStreamPtr &input, int zoneId, int subId)
constructor for zone
Definition: ClarisDrawGraph.cxx:706
ClarisWksStruct::readIntZone
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
ClarisDrawGraphInternal::Zone::getNumData
virtual int getNumData() const
return the number of data to define this zone in the file
Definition: ClarisDrawGraph.cxx:270
MWAWPosition::Char
@ Char
Definition: MWAWPosition.hxx:51
ClarisDrawGraphInternal::Zone::print
virtual void print(std::ostream &) const
print the data contains
Definition: ClarisDrawGraph.cxx:275
ClarisDrawGraphInternal::CurvePoint::operator<<
friend std::ostream & operator<<(std::ostream &o, CurvePoint const &pt)
operator<<
Definition: ClarisDrawGraph.cxx:78
ClarisDrawGraphInternal::ZoneUnknown::getSubType
Type getSubType() const final
return the sub type
Definition: ClarisDrawGraph.cxx:574
ClarisWksStruct::DSET::DSET
DSET()
constructor
Definition: ClarisWksStruct.hxx:99
MWAWGraphicStyle::Pattern::m_colors
MWAWColor m_colors[2]
the two indexed colors
Definition: MWAWGraphicStyle.hxx:361
ClarisDrawGraphInternal::Zone::getSubType
virtual Type getSubType() const
return the subtype
Definition: ClarisDrawGraph.cxx:265
ClarisDrawGraph::sendTextZone
bool sendTextZone(int number, int subZone=-1)
sends a text box content (via the main parser )
Definition: ClarisDrawGraph.cxx:821
ClarisDrawGraphInternal::Bitmap::~Bitmap
~Bitmap() final
destructor
Definition: ClarisDrawGraph.cxx:437
MWAWEntry::end
long end() const
returns the end offset
Definition: MWAWEntry.hxx:88
libmwaw::DOC_TEXT_BOX
@ DOC_TEXT_BOX
Definition: libmwaw_internal.hxx:188
ClarisDrawGraph::numPages
int numPages() const
returns the number of pages
Definition: ClarisDrawGraph.cxx:806
MWAWGraphicStyle::m_frameName
std::string m_frameName
the frame name
Definition: MWAWGraphicStyle.hxx:548
ClarisDrawGraphInternal
Internal: the structures of a ClarisDrawGraph.
Definition: ClarisDrawGraph.cxx:68
MWAWGraphicShape::Line
@ Line
Definition: MWAWGraphicShape.hxx:49
libmwaw::LeftBit
@ LeftBit
Definition: libmwaw_internal.hxx:178
ClarisWksStruct::Struct::m_size
long m_size
the size of the DSET header
Definition: ClarisWksStruct.hxx:69
ClarisDrawGraphInternal::Zone::T_Line
@ T_Line
Definition: ClarisDrawGraph.cxx:208
ClarisDrawGraphInternal::State::m_pageDimensions
MWAWVec2f m_pageDimensions
the page dimension if known (in point)
Definition: ClarisDrawGraph.cxx:683
MWAWBox2::center
MWAWVec2< T > center() const
the box center
Definition: libmwaw_internal.hxx:1072
MWAWGraphicStyle.hxx
ClarisWksParser
the main class to read a Claris Works file
Definition: ClarisWksParser.hxx:68
MWAWPictBitmapIndexed
a bitmap of int to store indexed bitmap
Definition: MWAWPictBitmap.hxx:357
ClarisWksStruct::DSET::m_numData
long m_numData
the number of header
Definition: ClarisWksStruct.hxx:180
ClarisDrawGraph
the main class to read the graphic part of ClarisDraw file
Definition: ClarisDrawGraph.hxx:74
ClarisDrawGraph::m_styleManager
std::shared_ptr< ClarisDrawStyleManager > m_styleManager
the style manager
Definition: ClarisDrawGraph.hxx:179
MWAWGraphicStyle::m_frameNextName
std::string m_frameNextName
the frame next name (if there is a link)
Definition: MWAWGraphicStyle.hxx:550
ClarisDrawGraphInternal::Bitmap::m_numBytesPerPixel
int m_numBytesPerPixel
the number of bite by pixel
Definition: ClarisDrawGraph.cxx:426
ClarisDrawGraph::ClarisDrawGraph
ClarisDrawGraph(ClarisDrawGraph const &orig)=delete
ClarisDrawGraphInternal::Zone::getType
virtual Type getType() const
return the main type
Definition: ClarisDrawGraph.cxx:260
ClarisWksStruct::DSET::m_dataSz
long m_dataSz
the data size
Definition: ClarisWksStruct.hxx:182
ClarisDrawGraphInternal::State
Internal: the state of a ClarisDrawGraph.
Definition: ClarisDrawGraph.cxx:662
ClarisDrawGraphInternal::ZoneShape
Internal: small class to store a basic graphic zone of a ClarisDrawGraph.
Definition: ClarisDrawGraph.cxx:306
MWAWPosition::Page
@ Page
Definition: MWAWPosition.hxx:51
ClarisWksStruct::DSET::C_Zone
@ C_Zone
Definition: ClarisWksStruct.hxx:96
ClarisDrawGraphInternal::ZonePict::m_entries
MWAWEntry m_entries[2]
the picture entry followed by a ps entry or ole entry ( if defined)
Definition: ClarisDrawGraph.cxx:395
ClarisDrawGraph::readShape
bool readShape(MWAWEntry const &entry, ClarisDrawGraphInternal::ZoneShape &zone)
Definition: ClarisDrawGraph.cxx:1585
ClarisDrawGraphInternal::SubDocument::m_measure
std::string m_measure
the measure
Definition: ClarisDrawGraph.cxx:747
MWAWParserStatePtr
std::shared_ptr< MWAWParserState > MWAWParserStatePtr
a smart pointer of MWAWParserState
Definition: libmwaw_internal.hxx:557
libmwaw::TopBit
@ TopBit
Definition: libmwaw_internal.hxx:178
libmwaw::DebugFile::addPos
void addPos(long pos)
adds a new position in the file
Definition: MWAWDebug.cxx:53
MWAWGraphicStyle::m_lineDashWidth
std::vector< float > m_lineDashWidth
the dash array: a sequence of (fullsize, emptysize)
Definition: MWAWGraphicStyle.hxx:506
ClarisWksStruct::Struct::m_dataSize
long m_dataSize
the data size
Definition: ClarisWksStruct.hxx:73
MWAWPosition::origin
MWAWVec2f const & origin() const
return the frame origin
Definition: MWAWPosition.hxx:130
MWAWEntry::valid
bool valid() const
returns true if the zone length is positive
Definition: MWAWEntry.hxx:99
ClarisDrawGraphInternal::ZoneZone::isANote
bool isANote() const
return true if the zone is a note
Definition: ClarisDrawGraph.cxx:460
ClarisDrawGraphInternal::SubDocument::m_graphParser
ClarisDrawGraph * m_graphParser
the graph parser
Definition: ClarisDrawGraph.cxx:739
ClarisDrawGraph::readBitmapZone
std::shared_ptr< ClarisWksStruct::DSET > readBitmapZone(ClarisWksStruct::DSET const &zone, MWAWEntry const &entry)
reads the zone Bitmap DSET
Definition: ClarisDrawGraph.cxx:1074
MWAWListener.hxx
ClarisDrawGraph::readPolygonData
bool readPolygonData(std::shared_ptr< ClarisDrawGraphInternal::Zone > zone)
Definition: ClarisDrawGraph.cxx:1946
MWAWBox2::size
MWAWVec2< T > size() const
the box size
Definition: libmwaw_internal.hxx:1067
MWAWGraphicShape::Arc
@ Arc
Definition: MWAWGraphicShape.hxx:49
ClarisDrawGraphInternal::ZoneUnknown::getNumData
int getNumData() const final
return the number of data
Definition: ClarisDrawGraph.cxx:579
libmwaw::DebugFile
an interface used to insert comment in a binary file, written in ascii form (if debug_with_files is n...
Definition: MWAWDebug.hxx:66
ClarisDrawGraphInternal::Zone::m_zoneType
int m_zoneType
the zone type
Definition: ClarisDrawGraph.cxx:289
ClarisDrawGraphInternal::Style::Style
Style(Style const &)=default
ClarisDrawGraphInternal::SubDocument::~SubDocument
~SubDocument() final
destructor
Definition: ClarisDrawGraph.cxx:721
ClarisWksStruct::Struct
a basic structure
Definition: ClarisWksStruct.hxx:53
ClarisDrawGraphInternal::Group::Group
Group(ClarisWksStruct::DSET const &dset=ClarisWksStruct::DSET())
constructor
Definition: ClarisDrawGraph.cxx:606
ClarisDrawGraphInternal::Group::m_hasMainZone
bool m_hasMainZone
a flag to know if this zone contains or no the call to zone 1
Definition: ClarisDrawGraph.cxx:651
MWAWInputStream.hxx
ClarisDrawGraphInternal::ZoneZone::getType
Type getType() const final
return the main type Zone
Definition: ClarisDrawGraph.cxx:498
MWAWGraphicShape::Circle
@ Circle
Definition: MWAWGraphicShape.hxx:49
ClarisDrawGraphInternal::SubDocument::SubDocument
SubDocument(SubDocument const &orig)=delete
MWAWListenerPtr
std::shared_ptr< MWAWListener > MWAWListenerPtr
a smart pointer of MWAWListener
Definition: libmwaw_internal.hxx:553
ClarisWksStruct::DSET::m_pageDimension
MWAWVec2f m_pageDimension
the page dimension (if know)
Definition: ClarisWksStruct.hxx:196
ClarisDrawParser
the main class to read a ClarisDraw v1 file
Definition: ClarisDrawParser.hxx:64
ClarisDrawGraph::m_parserState
MWAWParserStatePtr m_parserState
the parser state
Definition: ClarisDrawGraph.hxx:171
MWAWPosition::WNone
@ WNone
Definition: MWAWPosition.hxx:53
MWAWFont.hxx
MWAWPosition::m_anchorTo
AnchorTo m_anchorTo
anchor position
Definition: MWAWPosition.hxx:270
ClarisDrawGraphInternal::SubDocument
Internal: the subdocument of a ClarisDrawGraph.
Definition: ClarisDrawGraph.cxx:703
ClarisDrawParser::getPageLeftTop
MWAWVec2f getPageLeftTop()
returns the page left top point ( in inches)
Definition: ClarisDrawParser.cxx:180
MWAWPictBitmap.hxx
ClarisDrawGraphInternal::CurvePoint::CurvePoint
CurvePoint(MWAWVec2f point=MWAWVec2f())
Definition: ClarisDrawGraph.cxx:71
ClarisDrawGraphInternal::ZoneZone::m_transformationId
int m_transformationId
the transformation id
Definition: ClarisDrawGraph.cxx:541
ClarisDrawGraph::ClarisDrawGraph
ClarisDrawGraph(ClarisDrawParser &parser)
constructor
Definition: ClarisDrawGraph.cxx:785
ClarisDrawGraphInternal::ZoneZone::addFrameName
bool addFrameName(MWAWGraphicStyle &style) const
add the frame name if needed
Definition: ClarisDrawGraph.cxx:470
MWAWBox2< float >
ClarisDrawGraphInternal::Zone::getChild
virtual ClarisWksStruct::DSET::Child getChild() const
return a child corresponding to this zone
Definition: ClarisDrawGraph.cxx:277
ClarisDrawGraphInternal::ZonePict::print
void print(std::ostream &o) const final
print the data
Definition: ClarisDrawGraph.cxx:364
MWAWPictBitmapColor
a bitmap of MWAWColor to store true color bitmap
Definition: MWAWPictBitmap.hxx:469
MWAWFont
Class to store font.
Definition: MWAWFont.hxx:44
ClarisDrawGraphInternal::Style::Style
Style()
constructor
Definition: ClarisDrawGraph.cxx:141
ClarisDrawGraphInternal::Bitmap::m_colorMap
std::vector< MWAWColor > m_colorMap
the color map
Definition: ClarisDrawGraph.cxx:434
ClarisDrawGraph::sendBitmap
bool sendBitmap(int number, MWAWPosition const &pos=MWAWPosition())
sends the bitmap data to the listener (if it exists )
Definition: ClarisDrawGraph.cxx:2380
MWAWGraphicShape::PathData
a simple path component
Definition: MWAWGraphicShape.hxx:53
ClarisDrawGraphInternal::State::m_positionsComputed
bool m_positionsComputed
true if the ClarisDrawGraph::computePositions was called
Definition: ClarisDrawGraph.cxx:693
MWAWGraphicStyle::m_shadowOffset
MWAWVec2f m_shadowOffset
the shadow offset
Definition: MWAWGraphicStyle.hxx:527
ClarisDrawGraphInternal::ZoneZone::getNumData
int getNumData() const final
return the number of data to define this zone in the file
Definition: ClarisDrawGraph.cxx:508
ClarisWksStruct::DSET::m_headerSz
long m_headerSz
the header size
Definition: ClarisWksStruct.hxx:184
ClarisDrawGraphInternal::SubDocument::m_id
int m_id
the subdocument id
Definition: ClarisDrawGraph.cxx:743
ClarisDrawGraphInternal::CurvePoint
Internal: the structure used to a point of a ClarisDrawGraph.
Definition: ClarisDrawGraph.cxx:70
ClarisDrawGraph::updateGroup
void updateGroup(bool isLibrary)
update the group: ie. remove empty group child
Definition: ClarisDrawGraph.cxx:834
ClarisDrawGraph::m_state
std::shared_ptr< ClarisDrawGraphInternal::State > m_state
the state
Definition: ClarisDrawGraph.hxx:174
ClarisDrawGraph::sendShape
bool sendShape(ClarisDrawGraphInternal::ZoneShape &pict, MWAWPosition pos)
sends a basic graphic zone
Definition: ClarisDrawGraph.cxx:2348
MWAWBorder::m_color
MWAWColor m_color
the border color
Definition: libmwaw_internal.hxx:393
ClarisDrawGraphInternal::ZoneUnknown::m_typeId
int m_typeId
type number
Definition: ClarisDrawGraph.cxx:595
ClarisDrawGraphInternal::ZoneShape::m_autosize
bool m_autosize
true if autosize is set
Definition: ClarisDrawGraph.cxx:348
MWAWVec2i
MWAWVec2< int > MWAWVec2i
MWAWVec2 of int.
Definition: libmwaw_internal.hxx:838
ClarisDrawGraphInternal::ZoneShape::getType
Type getType() const final
return the main type
Definition: ClarisDrawGraph.cxx:320
libmwaw::DebugStream
std::stringstream DebugStream
a basic stream (if debug_with_files is not defined, does nothing)
Definition: MWAWDebug.hxx:61
MWAWParser.hxx
ClarisDrawGraphInternal::State::m_transformations
std::vector< Transformation > m_transformations
the list of transformation
Definition: ClarisDrawGraph.cxx:687
ClarisDrawGraphInternal::Style::getWrapping
MWAWPosition::Wrapping getWrapping() const
returns the wrapping
Definition: ClarisDrawGraph.cxx:151
ClarisDrawGraphInternal::Bitmap::m_entry
MWAWEntry m_entry
the bitmap entry
Definition: ClarisDrawGraph.cxx:432
ClarisDrawGraph::getSurfaceColor
bool getSurfaceColor(ClarisDrawGraphInternal::Style const &style, MWAWColor &col) const
return the surface color which corresponds to some ids (if possible)
Definition: ClarisDrawGraph.cxx:907
ClarisDrawGraphInternal::SubDocument::parse
void parse(MWAWListenerPtr &listener, libmwaw::SubDocumentType type) final
the parser function
Definition: ClarisDrawGraph.cxx:753
ClarisDrawGraph::flushExtra
void flushExtra()
sends the data which have not yet been sent to the listener
Definition: ClarisDrawGraph.cxx:2489
MWAWGraphicStyle::Arrow
a structure used to define an arrow
Definition: MWAWGraphicStyle.hxx:56
ClarisDrawGraphInternal::Group
Internal: class which stores a group of graphics, ...
Definition: ClarisDrawGraph.cxx:604
ClarisDrawGraphInternal::ZonePict::getSubType
Type getSubType() const final
return the sub type
Definition: ClarisDrawGraph.cxx:374
ClarisDrawGraphInternal::ZoneShape::getNumData
int getNumData() const final
return the number of data
Definition: ClarisDrawGraph.cxx:330
ClarisDrawGraphInternal::SubDocument::operator=
SubDocument & operator=(SubDocument const &orig)=delete
ClarisDrawGraphInternal::Zone
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