Go to the documentation of this file.
34 #ifndef MACDRAWPRO_PARSER
35 # define MACDRAWPRO_PARSER
41 #include <librevenge/librevenge.h>
basic class to store an entry in a file This contained :
Definition: MWAWEntry.hxx:47
bool readLibrariesInfo()
tries to read the library name info zone
Definition: MacDrawProParser.cxx:880
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
the different shape
Definition: MacDrawProParser.cxx:116
MWAWEntry m_bitmapEntry
the bitmap entry (data)
Definition: MacDrawProParser.cxx:217
void setFont(int newId)
sets the font id and resets size to the previous size for this font
Definition: MWAWFont.hxx:252
int readObject()
tries to read an object and returns the object id (-1 if error )
Definition: MacDrawProParser.cxx:1245
int m_nextId
the following id (if set)
Definition: MacDrawProParser.cxx:176
std::shared_ptr< MWAWGraphicListener > MWAWGraphicListenerPtr
a smart pointer of MWAWGraphicListener
Definition: libmwaw_internal.hxx:549
void setName(std::string const &nam)
sets the name of the entry
Definition: MWAWEntry.hxx:148
void setPageSpan(const int pageSpan)
set the page span ( default 1)
Definition: MWAWPageSpan.hxx:268
the main class to read a MacDraw II file
Definition: MacDrawProParser.hxx:64
Internal: the subdocument of a MacDrawProParser.
Definition: MacDrawProParser.cxx:369
MWAWBox2f getBdBox() const
returns the basic bdbox
Definition: MWAWGraphicShape.hxx:197
#define MWAW_DEBUG_MSG(M)
Definition: libmwaw_internal.hxx:129
MWAWVec2< float > MWAWVec2f
MWAWVec2 of float.
Definition: libmwaw_internal.hxx:842
int m_textZoneId
the text zone ( for a text box or a note)
Definition: MacDrawProParser.cxx:183
MWAWBox2f rotateBoxFromCenter(MWAWBox2f const &box, float angle)
rotate a bdox and returns the final bdbox, angle is given in degree
Definition: libmwaw_internal.cxx:708
void addDelimiter(long pos, char c)
adds a not breaking delimiter in position pos
Definition: MWAWDebug.cxx:73
@ Basic
Definition: MacDrawProParser.cxx:116
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
void setShadowColor(MWAWColor const &col, float opacity=1)
set the shadow color
Definition: MWAWGraphicStyle.hxx:458
MWAWBox2f m_box
the layer bounding box (if computed)
Definition: MacDrawProParser.cxx:84
MWAWBox2f m_measureBox
Definition: MacDrawProParser.cxx:202
bool m_isSent
a flag used to know if the object is sent to the listener or not
Definition: MacDrawProParser.cxx:221
int m_flags
the main shape flag
Definition: MacDrawProParser.cxx:178
MWAWGraphicShape m_shape
the graphic shape ( for basic geometric form )
Definition: MacDrawProParser.cxx:172
static MWAWGraphicShape pie(MWAWBox2f const &box, MWAWBox2f const &circleBox, MWAWVec2f const &angles)
static constructor to create a pie
Definition: MWAWGraphicShape.hxx:147
bool sendMeasure(MWAWEntry const &entry)
tries to send a line measure to the listener
Definition: MacDrawProParser.cxx:3162
static Arrow plain()
returns a basic plain arrow
Definition: MWAWGraphicStyle.hxx:74
librevenge::RVNGString m_name
the layer name
Definition: MacDrawProParser.cxx:90
std::vector< librevenge::RVNGBinaryData > m_dataList
the picture content: one data by representation
Definition: libmwaw_internal.hxx:512
static MWAWColor white()
return the white color
Definition: libmwaw_internal.hxx:250
bool open(std::string const &filename)
opens/creates a file to store a result
Definition: MWAWDebug.cxx:46
@ BottomBit
Definition: libmwaw_internal.hxx:178
Definition: MacDrawProParser.cxx:114
void setInterline(double value, librevenge::RVNGUnit unit, LineSpacingType type=Fixed)
set the interline
Definition: MWAWParagraph.hxx:129
MWAWBox2f getBdBox() const
return the shape bdbox
Definition: MacDrawProParser.cxx:151
@ Text
Definition: MacDrawProParser.cxx:116
@ Bitmap
Definition: MacDrawProParser.cxx:116
std::vector< MWAWEntry > m_objectDataList
the list of entries which stores the object's data
Definition: MacDrawProParser.cxx:359
void setMarginBottom(const double marginBottom)
set the page bottom margin
Definition: MWAWPageSpan.hxx:208
a structure used to define a picture shape
Definition: MWAWGraphicShape.hxx:46
int m_numShapes
the number of shape
Definition: MacDrawProParser.cxx:78
MWAWBox2i m_bitmapDim
the bitmap dimension (in page)
Definition: MacDrawProParser.cxx:213
the class to store a color
Definition: libmwaw_internal.hxx:192
void appendUnicode(uint32_t val, librevenge::RVNGString &buffer)
adds an unicode character to a string
Definition: libmwaw_internal.cxx:63
small class use to define a embedded object
Definition: libmwaw_internal.hxx:467
Layer()
constructor
Definition: MacDrawProParser.cxx:67
std::set< int > m_lineBreakSet
the list of line break position ( for a text box or a note)
Definition: MacDrawProParser.cxx:189
static MWAWGraphicShape line(MWAWVec2f const &orign, MWAWVec2f const &dest)
static constructor to create a line
Definition: MWAWGraphicShape.cxx:228
int version() const
returns the works version
Definition: MWAWParser.hxx:108
bool readRotationInObjectData(MacDrawProParserInternal::Shape &shape, long endPos, std::string &extra)
tries to read the rotation
Definition: MacDrawProParser.cxx:1686
@ MWAW_K_DRAW
vectorized grphic
Definition: MWAWDocument.hxx:83
class to store the paragraph properties
Definition: MWAWParagraph.hxx:85
void setMarginLeft(const double marginLeft)
set the page left margin
Definition: MWAWPageSpan.hxx:193
void init()
inits all internal variables
Definition: MacDrawProParser.cxx:449
bool m_isStationery
flag to know if the file is a stationery document
Definition: MacDrawProParser.cxx:327
#define MWAW_FALLTHROUGH
Definition: libmwaw_internal.hxx:118
double m_width
the border total width in point
Definition: libmwaw_internal.hxx:387
the AppleŠ printer information : TPrint
Definition: MWAWPrinter.hxx:82
bool updateGeometryShape(MacDrawProParserInternal::Shape &shape, float cornerWidth)
tries to update the basic geometric data
Definition: MacDrawProParser.cxx:1717
void setParsed(bool ok=true) const
sets the flag m_parsed to true or false
Definition: MWAWEntry.hxx:126
void addNote(char const *note)
adds a note in the file, in actual position
Definition: MWAWDebug.cxx:59
@ MWAW_T_MACDRAWPRO
MacDraw II: v1.0-v1.1, MacDraw Pro: v1.
Definition: MWAWDocument.hxx:125
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_box
the bounding box (if computed)
Definition: MacDrawProParser.cxx:108
MWAWBox2f m_bdBox
the shape bdbox
Definition: MWAWGraphicShape.hxx:218
int m_numShapes
the total number of shapes
Definition: MacDrawProParser.cxx:345
bool sendMasterPage()
tries to create a master page if needed
Definition: MacDrawProParser.cxx:2758
libmwaw::DebugFile & ascii()
a DebugFile used to write what we recognize when we parse the document
Definition: MWAWParser.hxx:195
MWAWBox2f m_box
the shape bdbox
Definition: MacDrawProParser.cxx:168
State()
constructor
Definition: MacDrawProParser.cxx:301
static MWAWGraphicShape circle(MWAWBox2f const &box)
static constructor to create a circle
Definition: MWAWGraphicShape.hxx:129
long m_sizeFZones[4]
the size of the zoneF
Definition: MacDrawProParser.cxx:353
int m_numHiddenLayers
the number of hidden layer
Definition: MacDrawProParser.cxx:335
Definition: MacDrawProParser.cxx:94
long m_sizeStyleZones[6]
the size of the header zones
Definition: MacDrawProParser.cxx:347
std::ostream & operator<<(std::ostream &o, Shape const &shape)
Definition: MacDrawProParser.cxx:225
std::string const & asciiName() const
return the ascii file name
Definition: MWAWParser.hxx:232
SubDocument & operator=(SubDocument const &orig)=delete
a basic pattern used in a MWAWGraphicStyle:
Definition: MWAWGraphicStyle.hxx:277
void setFormLength(const double formLength)
set the total page length
Definition: MWAWPageSpan.hxx:178
void setMasterPageName(librevenge::RVNGString const &name)
set the page master name
Definition: MWAWPageSpan.hxx:243
@ Polygon
Definition: MWAWGraphicShape.hxx:49
static MWAWColor barycenter(float alpha, MWAWColor const &colA, float beta, MWAWColor const &colB)
return alpha*colA+beta*colB
Definition: libmwaw_internal.cxx:206
MWAWBox2< T > getUnion(MWAWBox2< T > const &box) const
returns the union between this and box
Definition: libmwaw_internal.hxx:1129
@ Rectangle
Definition: MWAWGraphicShape.hxx:49
SubDocumentType
Definition: libmwaw_internal.hxx:188
bool sendText(int zoneId)
tries to send a text zone to the listener
Definition: MacDrawProParser.cxx:3073
std::shared_ptr< MWAWInputStream > m_input
the input
Definition: MWAWSubDocument.hxx:77
@ AtLeast
Definition: MWAWParagraph.hxx:94
bool readStructuredHeaderZone(MWAWEntry const &entry, std::map< int, long > &idToDeltaPosMap)
tries to read a structured zone header
Definition: MacDrawProParser.cxx:974
void reset()
writes the current file and reset to zero
Definition: MWAWDebug.hxx:93
MWAWEntry m_measureEntry
the measure entry
Definition: MacDrawProParser.cxx:407
@ JustificationCenter
Definition: MWAWParagraph.hxx:90
int m_id
the shape id
Definition: MacDrawProParser.cxx:174
int m_version
the file version
Definition: MacDrawProParser.cxx:325
void setAsciiName(char const *name)
Debugging: change the default ascii file.
Definition: MWAWParser.hxx:227
void skipZone(long beginPos, long endPos)
skips the file zone defined by beginPos-endPos
Definition: MWAWDebug.hxx:113
T y() const
second element
Definition: libmwaw_internal.hxx:673
MWAWRSRCParserPtr & getRSRCParser()
returns the rsrc parser
Definition: MWAWParser.hxx:190
bool dumpFile(librevenge::RVNGBinaryData &data, char const *fileName)
a debug function to store in a datafile in the current directory WARNING: this function erase the fil...
Definition: MWAWDebug.cxx:193
int m_numBytesByRow
the number of bytes by row (for a bitmap)
Definition: MacDrawProParser.cxx:209
float m_lineWidth
the linewidth
Definition: MWAWGraphicStyle.hxx:508
void setFormWidth(const double formWidth)
set the total page width
Definition: MWAWPageSpan.hxx:183
double getFormLength() const
returns the form length
Definition: MWAWParser.hxx:170
T x() const
first element
Definition: libmwaw_internal.hxx:668
bool readBitmap(MacDrawProParserInternal::Shape &shape, MWAWEntry const &entry)
tries to read a bitmap data
Definition: MacDrawProParser.cxx:2358
Shape()
constructor
Definition: MacDrawProParser.cxx:119
std::map< int, int > m_fontMap
a map position to font id ( for a text box or a note)
Definition: MacDrawProParser.cxx:187
unsigned char getBlue() const
returns the green value
Definition: libmwaw_internal.hxx:269
bool readLayerLibraryCorrespondance()
tries to the layer library correspondance zone
Definition: MacDrawProParser.cxx:778
Class to define the position of an object (textbox, picture, ..) in the document.
Definition: MWAWPosition.hxx:48
int m_id
the subdocument id
Definition: MacDrawProParser.cxx:405
std::string const & name() const
name of the entry
Definition: MWAWEntry.hxx:153
a border
Definition: libmwaw_internal.hxx:333
void setBegin(long off)
sets the begin offset
Definition: MWAWEntry.hxx:67
bool m_flip[2]
two bool to indicated we need to flip the shape or not
Definition: MWAWGraphicStyle.hxx:560
bool isBlack() const
return true if the color is black
Definition: libmwaw_internal.hxx:284
@ Unknown
Definition: MacDrawProParser.cxx:116
void setGraphicListener(MWAWGraphicListenerPtr &listener)
sets the graphic listener
Definition: MWAWParser.cxx:125
void flushExtra()
sends the data which have not yet been sent to the listener
Definition: MacDrawProParser.cxx:3201
void setVersion(int vers)
sets the document's version
Definition: MWAWParser.hxx:206
#define M_PI
Definition: libmwaw_internal.hxx:52
std::shared_ptr< MWAWRSRCParser > MWAWRSRCParserPtr
a smart pointer of MWAWRSRCParser
Definition: libmwaw_internal.hxx:561
long length() const
returns the length of the zone
Definition: MWAWEntry.hxx:93
void setBorders(int wh, MWAWBorder const &border)
sets the cell border: wh=libmwaw::LeftBit|...
Definition: MWAWGraphicStyle.cxx:232
MacDrawProParser(MWAWInputStreamPtr const &input, MWAWRSRCParserPtr const &rsrcParser, MWAWHeader *header)
constructor
Definition: MacDrawProParser.cxx:437
@ Path
Definition: MWAWGraphicShape.hxx:49
std::shared_ptr< MacDrawProParserInternal::State > m_state
the state
Definition: MacDrawProParser.hxx:156
MWAWEntry m_measureEntry
Definition: MacDrawProParser.cxx:204
@ PageBreak
Definition: MWAWListener.hxx:58
Type m_type
the type
Definition: MWAWGraphicShape.hxx:216
bool createZones()
finds the different objects zones
Definition: MacDrawProParser.cxx:564
bool readObjectData(MacDrawProParserInternal::Shape &shape, int zId)
tries to read an object data
Definition: MacDrawProParser.cxx:1620
void setStream(MWAWInputStreamPtr const &ip)
resets the input
Definition: MWAWDebug.hxx:81
@ RightBit
Definition: libmwaw_internal.hxx:178
@ MWAW_R_BAD
Definition: MWAWPict.hxx:73
Definition: libmwaw_internal.hxx:144
the main class to read a MacDraw II file
Definition: MacDrawProStyleManager.hxx:60
int m_fileType
the file type
Definition: MacDrawProParser.cxx:166
long begin() const
returns the begin offset
Definition: MWAWEntry.hxx:83
double getFormWidth() const
returns the form width
Definition: MWAWParser.hxx:175
std::vector< Layer > m_layerList
the layer list
Definition: MacDrawProParser.cxx:357
@ Polyline
Definition: MWAWGraphicShape.hxx:49
bool readLayersInfo()
tries to the layer info zone
Definition: MacDrawProParser.cxx:634
void setLength(long l)
sets the zone size
Definition: MWAWEntry.hxx:72
MWAWPageSpan const & getPageSpan() const
returns the actual page dimension
Definition: MWAWParser.hxx:160
long m_N[3]
some unknown number find in the beginning of the header
Definition: MacDrawProParser.cxx:88
bool m_sendAsLibraries
flag to know if we create a page by library or not
Definition: MacDrawProParser.cxx:341
virtual class which defines the ancestor of all graphic zone parser
Definition: MWAWParser.hxx:251
static MWAWColor black()
return the back color
Definition: libmwaw_internal.hxx:245
MWAWBox2< float > MWAWBox2f
MWAWBox2 of float.
Definition: libmwaw_internal.hxx:1193
librevenge::RVNGString m_name
the library name
Definition: MacDrawProParser.cxx:110
bool m_createMasterPage
flag to know if we need or not to create a master
Definition: MacDrawProParser.cxx:339
MWAWBox2i m_bitmapFileDim
the bitmap dimension (in the file)
Definition: MacDrawProParser.cxx:215
@ GroupEnd
Definition: MacDrawProParser.cxx:116
void setId(int newId)
sets the id
Definition: MWAWEntry.hxx:169
int m_numVisibleLayers
the number of visible layer
Definition: MacDrawProParser.cxx:337
SubDocument(SubDocument const &orig)=delete
@ Pie
Definition: MWAWGraphicShape.hxx:49
std::map< int, int > m_libraryToObjectMap
map library to pos
Definition: MacDrawProParser.cxx:86
void setMarginTop(const double marginTop)
set the page top margin
Definition: MWAWPageSpan.hxx:203
bool read(MWAWInputStreamPtr input)
reads the struture in a file
Definition: MWAWPrinter.cxx:235
~SubDocument() final
destructor
Definition: MacDrawProParser.cxx:387
static MWAWGraphicShape arc(MWAWBox2f const &box, MWAWBox2f const &circleBox, MWAWVec2f const &angles)
static constructor to create a arc
Definition: MWAWGraphicShape.hxx:137
void setPageName(librevenge::RVNGString const &name)
set the page name
Definition: MWAWPageSpan.hxx:228
MWAWParserStatePtr getParserState()
returns the parser state
Definition: MWAWParser.hxx:113
bool readHeaderInfo()
tries to the header info zone ( print info + some information about content + prefs ?...
Definition: MacDrawProParser.cxx:2549
static ReadResult check(MWAWInputStreamPtr const &input, int size, MWAWBox2f &box)
checks if the data pointed by input is known
Definition: MWAWPictData.hxx:100
long m_sizeLibraryZones[2]
the size of the library zones(checkme)
Definition: MacDrawProParser.cxx:351
long end() const
returns the end offset
Definition: MWAWEntry.hxx:88
@ Group
Definition: MacDrawProParser.cxx:116
std::shared_ptr< MacDrawProStyleManager > m_styleManager
the style manager state
Definition: MacDrawProParser.hxx:159
bool send(MacDrawProParserInternal::Library const &library)
tries to send a library (not functionnal)
Definition: MacDrawProParser.cxx:2812
int m_firstShape
the first shape
Definition: MacDrawProParser.cxx:80
bool isLine() const
returns true if the object is a line
Definition: MacDrawProParser.cxx:159
MWAWBox2< int > MWAWBox2i
MWAWBox2 of int.
Definition: libmwaw_internal.hxx:1191
@ Line
Definition: MWAWGraphicShape.hxx:49
@ LeftBit
Definition: libmwaw_internal.hxx:178
std::vector< Library > m_libraryList
the library list
Definition: MacDrawProParser.cxx:355
@ ShapeUnknown
Definition: MWAWGraphicShape.hxx:49
void parse(MWAWListenerPtr &listener, libmwaw::SubDocumentType type) final
the parser function
Definition: MacDrawProParser.cxx:413
bool findObjectPositions(bool dataZone)
finds the objet's data/text positions
Definition: MacDrawProParser.cxx:1027
void parse(librevenge::RVNGDrawingInterface *documentInterface) final
virtual function used to parse the input
Definition: MacDrawProParser.cxx:463
std::map< int, int > m_paragraphMap
the paragraphMap ( for a text box or a note) and a Pro file
Definition: MacDrawProParser.cxx:191
MWAWInputStreamPtr & getInput()
returns the actual input
Definition: MWAWParser.hxx:123
bool readPrintInfo()
tries to read the print info zone
Definition: MacDrawProParser.cxx:2696
int m_numPages
the final number of pages
Definition: MacDrawProParser.cxx:329
std::vector< MWAWEntry > m_objectTextList
the list of entries which stores the object's text
Definition: MacDrawProParser.cxx:361
bool sendPage(int page)
tries to send the layer corresponding a page
Definition: MacDrawProParser.cxx:2784
SubDocument(MacDrawProParser &pars, MWAWInputStreamPtr const &input, int zoneId)
constructor given an zone id
Definition: MacDrawProParser.cxx:372
int m_numLibraries
the number of library
Definition: MacDrawProParser.cxx:343
@ Page
Definition: MWAWPosition.hxx:51
MWAWParser * m_parser
the main zone parser
Definition: MWAWSubDocument.hxx:75
@ JustificationFull
Definition: MWAWParagraph.hxx:90
@ JustificationRight
Definition: MWAWParagraph.hxx:91
int m_actualLayer
the actual layer
Definition: MacDrawProParser.cxx:331
@ TopBit
Definition: libmwaw_internal.hxx:178
MWAWGraphicStyle m_style
the graphic style
Definition: MacDrawProParser.cxx:170
bool m_isHidden
true if the layer is hidden
Definition: MacDrawProParser.cxx:82
friend class MacDrawProStyleManager
Definition: MacDrawProParser.hxx:65
@ Measure
Definition: MWAWGraphicShape.hxx:49
void addPos(long pos)
adds a new position in the file
Definition: MWAWDebug.cxx:53
int m_bitmapClutId
the bitmap clut rsrc id
Definition: MacDrawProParser.cxx:219
void setMarginRight(const double marginRight)
set the page right margin
Definition: MWAWPageSpan.hxx:198
bool valid() const
returns true if the zone length is positive
Definition: MWAWEntry.hxx:99
bool readGeometryShapeData(MacDrawProParserInternal::Shape &shape, MWAWEntry const &entry)
tries to read a basic geometric object data ( line, rect, arc,... )
Definition: MacDrawProParser.cxx:2050
int m_id
the library id
Definition: MacDrawProParser.cxx:104
@ Note
Definition: MacDrawProParser.cxx:116
SubDocument(MacDrawProParser &pars, MWAWInputStreamPtr const &input, MWAWEntry const &measureEntry)
constructor given a measure entry
Definition: MacDrawProParser.cxx:379
bool computeLayersAndLibrariesBoundingBox()
computes the layers and libraries bounding box
Definition: MacDrawProParser.cxx:1112
bool checkHeader(MWAWHeader *header, bool strict=false) final
checks if the document header is correct (or not)
Definition: MacDrawProParser.cxx:2465
MWAWVec2< T > size() const
the box size
Definition: libmwaw_internal.hxx:1067
@ Arc
Definition: MWAWGraphicShape.hxx:49
int m_numLayers
the number of layer
Definition: MacDrawProParser.cxx:333
friend std::ostream & operator<<(std::ostream &o, Shape const &shape)
basic operator<<
Definition: MacDrawProParser.cxx:225
int m_numChars
the number of caracters ( for a text box or a note)
Definition: MacDrawProParser.cxx:185
bool readTextPro(MacDrawProParserInternal::Shape &shape, MWAWEntry const &entry)
tries to read a text object data in MacDraw pro file
Definition: MacDrawProParser.cxx:1927
Type m_type
the graphic type
Definition: MacDrawProParser.cxx:164
bool readTextII(MacDrawProParserInternal::Shape &shape, MWAWEntry const &entry)
tries to read a text object data in MacDraw II file
Definition: MacDrawProParser.cxx:1758
@ Circle
Definition: MWAWGraphicShape.hxx:49
Definition: MacDrawProParser.cxx:65
bool isWhite() const
return true if the color is white
Definition: libmwaw_internal.hxx:289
std::shared_ptr< MWAWListener > MWAWListenerPtr
a smart pointer of MWAWListener
Definition: libmwaw_internal.hxx:553
AnchorTo m_anchorTo
anchor position
Definition: MWAWPosition.hxx:270
Definition: MWAWDocument.hxx:57
float m_rotate
the rotation
Definition: MWAWGraphicStyle.hxx:544
std::vector< size_t > m_childList
the child list ( for a group )
Definition: MacDrawProParser.cxx:198
bool m_bitmapIsColor
true if the bitmap is a color bitmap
Definition: MacDrawProParser.cxx:211
void setMargins(double margin, int wh=libmwaw::LeftBit|libmwaw::RightBit|libmwaw::TopBit|libmwaw::BottomBit)
set all the margins
Definition: MWAWPageSpan.hxx:213
Library(int id=-1)
constructor
Definition: MacDrawProParser.cxx:96
bool sendBitmap(MacDrawProParserInternal::Shape const &shape, MWAWPosition const &pos)
tries to send a bitmap to the listener
Definition: MacDrawProParser.cxx:2946
Class to store font.
Definition: MWAWFont.hxx:44
std::vector< Shape > m_shapeList
the shape list
Definition: MacDrawProParser.cxx:363
a simple path component
Definition: MWAWGraphicShape.hxx:53
MWAWVec2f m_shadowOffset
the shadow offset
Definition: MWAWGraphicStyle.hxx:527
void createDocument(librevenge::RVNGDrawingInterface *documentInterface)
creates the listener which will be associated to the document
Definition: MacDrawProParser.cxx:496
static MWAWGraphicShape rectangle(MWAWBox2f const &box, MWAWVec2f const &corners=MWAWVec2f(0, 0))
static constructor to create a rectangle
Definition: MWAWGraphicShape.hxx:120
bool operator!=(MWAWSubDocument const &doc) const final
operator!=
Definition: MacDrawProParser.cxx:390
Internal: the state of a MacDrawProParser.
Definition: MacDrawProParser.cxx:299
MWAWParagraph m_paragraph
the paragraph ( for a text box or a note) and a II file
Definition: MacDrawProParser.cxx:193
MWAWColor m_color
the border color
Definition: libmwaw_internal.hxx:393
MWAWVec2< int > MWAWVec2i
MWAWVec2 of int.
Definition: libmwaw_internal.hxx:838
std::stringstream DebugStream
a basic stream (if debug_with_files is not defined, does nothing)
Definition: MWAWDebug.hxx:61
void resetGraphicListener()
resets the listener
Definition: MWAWParser.cxx:130
Internal: the structures of a MacDrawProParser.
Definition: MacDrawProParser.cxx:63
long m_sizeLayerZones[2]
the size of the layer zones
Definition: MacDrawProParser.cxx:349
A class which defines the page properties.
Definition: MWAWPageSpan.hxx:99
This class contains the code needed to create Graphic document.
Definition: MWAWGraphicListener.hxx:60
MWAWBox2f m_formBox
the internal shape bdbox ( used for arc, circle to store the circle bdbox )
Definition: MWAWGraphicShape.hxx:220
std::vector< int > m_layerList
the list of layer id
Definition: MacDrawProParser.cxx:106
~MacDrawProParser() final
destructor
Definition: MacDrawProParser.cxx:445
Generated on Fri Sep 18 2020 18:14:52 for libmwaw by
doxygen 1.8.20