Go to the documentation of this file.
34 #ifndef MACDRAWPRO_PARSER
35 # define MACDRAWPRO_PARSER
41 #include <librevenge/librevenge.h>
77 void parse(librevenge::RVNGDrawingInterface *documentInterface);
84 void createDocument(librevenge::RVNGDrawingInterface *documentInterface);
156 shared_ptr<MacDrawProParserInternal::State>
m_state;
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:825
MWAWVariable< Justification > m_justify
the justification
Definition: MWAWParagraph.hxx:161
bool getUniqueColor(MWAWColor &col) const
check if the pattern has only one color; if so returns true...
Definition: MWAWGraphicStyle.cxx:86
SubDocument(MacDrawProParser &pars, MWAWInputStreamPtr input, MWAWEntry const &measureEntry)
constructor given a measure entry
Definition: MacDrawProParser.cxx:327
Type
the different shape
Definition: MacDrawProParser.cxx:106
MWAWEntry m_bitmapEntry
the bitmap entry (data)
Definition: MacDrawProParser.cxx:186
void setFont(int newId)
sets the font id and resets size to the previous size for this font
Definition: MWAWFont.hxx:231
int readObject()
tries to read an object and returns the object id (-1 if error )
Definition: MacDrawProParser.cxx:1190
int m_nextId
the following id (if set)
Definition: MacDrawProParser.cxx:145
void setName(std::string const &nam)
sets the name of the entry
Definition: MWAWEntry.hxx:137
void setPageSpan(const int pageSpan)
set the page span ( default 1)
Definition: MWAWPageSpan.hxx:262
the main class to read a MacDraw II file
Definition: MacDrawProParser.hxx:64
Internal: the subdocument of a MacDrawProParser.
Definition: MacDrawProParser.cxx:322
shared_ptr< MacDrawProParserInternal::State > m_state
the state
Definition: MacDrawProParser.hxx:156
MWAWBox2f getBdBox() const
returns the basic bdbox
Definition: MWAWGraphicShape.hxx:172
#define MWAW_DEBUG_MSG(M)
Definition: libmwaw_internal.hxx:127
MWAWVec2< float > MWAWVec2f
MWAWVec2 of float.
Definition: libmwaw_internal.hxx:785
int m_textZoneId
the text zone ( for a text box or a note)
Definition: MacDrawProParser.cxx:152
void setColors(std::vector< MWAWColor > const &cols)
sets the array of indexed colors
Definition: MWAWPictBitmap.hxx:432
MWAWBox2f rotateBoxFromCenter(MWAWBox2f const &box, float angle)
rotate a bdox and returns the final bdbox, angle is given in degree
Definition: libmwaw_internal.cxx:697
void addDelimiter(long pos, char c)
adds a not breaking delimiter in position pos
Definition: MWAWDebug.cxx:73
@ Basic
Definition: MacDrawProParser.cxx:106
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:282
void parse(librevenge::RVNGDrawingInterface *documentInterface)
virtual function used to parse the input
Definition: MacDrawProParser.cxx:409
MacDrawProParser(MWAWInputStreamPtr input, MWAWRSRCParserPtr rsrcParser, MWAWHeader *header)
constructor
Definition: MacDrawProParser.cxx:385
void setShadowColor(MWAWColor const &col, float opacity=1)
set the shadow color
Definition: MWAWGraphicStyle.hxx:325
MWAWBox2f m_box
the layer bounding box (if computed)
Definition: MacDrawProParser.cxx:78
MWAWBox2f m_measureBox
Definition: MacDrawProParser.cxx:171
bool m_isSent
a flag used to know if the object is sent to the listener or not
Definition: MacDrawProParser.cxx:190
int m_flags
the main shape flag
Definition: MacDrawProParser.cxx:147
bool isParsed() const
a flag to know if the entry was parsed or not
Definition: MWAWEntry.hxx:110
MWAWGraphicShape m_shape
the graphic shape ( for basic geometric form )
Definition: MacDrawProParser.cxx:141
static MWAWGraphicShape pie(MWAWBox2f const &box, MWAWBox2f const &circleBox, MWAWVec2f const &angles)
static constructor to create a pie
Definition: MWAWGraphicShape.hxx:130
bool sendMeasure(MWAWEntry const &entry)
tries to send a line measure to the listener
Definition: MacDrawProParser.cxx:3112
static Arrow plain()
returns a basic plain arrow
Definition: MWAWGraphicStyle.hxx:69
librevenge::RVNGString m_name
the layer name
Definition: MacDrawProParser.cxx:84
std::vector< librevenge::RVNGBinaryData > m_dataList
the picture content: one data by representation
Definition: libmwaw_internal.hxx:465
static MWAWColor white()
return the white color
Definition: libmwaw_internal.hxx:231
bool open(std::string const &filename)
opens/creates a file to store a result
Definition: MWAWDebug.cxx:46
@ BottomBit
Definition: libmwaw_internal.hxx:168
Definition: MacDrawProParser.cxx:104
void setInterline(double value, librevenge::RVNGUnit unit, LineSpacingType type=Fixed)
set the interline
Definition: MWAWParagraph.hxx:123
MWAWBox2f getBdBox() const
return the shape bdbox
Definition: MacDrawProParser.cxx:120
@ Text
Definition: MacDrawProParser.cxx:106
@ Bitmap
Definition: MacDrawProParser.cxx:106
std::vector< MWAWEntry > m_objectDataList
the list of entries which stores the object's data
Definition: MacDrawProParser.cxx:312
void setMarginBottom(const double marginBottom)
set the page bottom margin
Definition: MWAWPageSpan.hxx:202
a structure used to define a picture shape
Definition: MWAWGraphicShape.hxx:46
int m_numShapes
the number of shape
Definition: MacDrawProParser.cxx:72
MWAWBox2i m_bitmapDim
the bitmap dimension (in page)
Definition: MacDrawProParser.cxx:182
the class to store a color
Definition: libmwaw_internal.hxx:182
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:425
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:158
static MWAWGraphicShape line(MWAWVec2f const &orign, MWAWVec2f const &dest)
static constructor to create a line
Definition: MWAWGraphicShape.cxx:227
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:1631
@ MWAW_K_DRAW
vectorized grphic
Definition: MWAWDocument.hxx:83
class to store the paragraph properties
Definition: MWAWParagraph.hxx:82
void setMarginLeft(const double marginLeft)
set the page left margin
Definition: MWAWPageSpan.hxx:187
void init()
inits all internal variables
Definition: MacDrawProParser.cxx:395
bool m_isStationery
flag to know if the file is a stationery document
Definition: MacDrawProParser.cxx:280
double m_width
the border total width in point
Definition: libmwaw_internal.hxx:357
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:1662
void setParsed(bool ok=true) const
sets the flag m_parsed to true or false
Definition: MWAWEntry.hxx:115
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:98
MWAWBox2f m_bdBox
the shape bdbox
Definition: MWAWGraphicShape.hxx:193
int m_numShapes
the total number of shapes
Definition: MacDrawProParser.cxx:298
bool sendMasterPage()
tries to create a master page if needed
Definition: MacDrawProParser.cxx:2705
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:137
virtual ~MacDrawProParser()
destructor
Definition: MacDrawProParser.cxx:391
State()
constructor
Definition: MacDrawProParser.cxx:267
static MWAWGraphicShape circle(MWAWBox2f const &box)
static constructor to create a circle
Definition: MWAWGraphicShape.hxx:112
long m_sizeFZones[4]
the size of the zoneF
Definition: MacDrawProParser.cxx:306
int m_numHiddenLayers
the number of hidden layer
Definition: MacDrawProParser.cxx:288
Definition: MacDrawProParser.cxx:88
long m_sizeStyleZones[6]
the size of the header zones
Definition: MacDrawProParser.cxx:300
void setRow(int j, MWAWColor const *val)
sets all cell contents of a row
Definition: MWAWPictBitmap.hxx:515
std::ostream & operator<<(std::ostream &o, Shape const &shape)
Definition: MacDrawProParser.cxx:194
std::string const & asciiName() const
return the ascii file name
Definition: MWAWParser.hxx:232
a basic pattern used in a MWAWGraphicStyle:
Definition: MWAWGraphicStyle.hxx:171
void setFormLength(const double formLength)
set the total page length
Definition: MWAWPageSpan.hxx:172
void setMasterPageName(librevenge::RVNGString const &name)
set the page master name
Definition: MWAWPageSpan.hxx:237
SubDocument(SubDocument const &orig)
@ 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:205
MWAWBox2< T > getUnion(MWAWBox2< T > const &box) const
returns the union between this and box
Definition: libmwaw_internal.hxx:1070
SubDocument & operator=(SubDocument const &orig)
@ Rectangle
Definition: MWAWGraphicShape.hxx:49
static ReadResult check(MWAWInputStreamPtr input, int size, MWAWBox2f &box)
checks if the data pointed by input is known
Definition: MWAWPictData.hxx:100
SubDocumentType
Definition: libmwaw_internal.hxx:178
bool sendText(int zoneId)
tries to send a text zone to the listener
Definition: MacDrawProParser.cxx:3023
@ AtLeast
Definition: MWAWParagraph.hxx:91
bool readStructuredHeaderZone(MWAWEntry const &entry, std::map< int, long > &idToDeltaPosMap)
tries to read a structured zone header
Definition: MacDrawProParser.cxx:919
void reset()
writes the current file and reset to zero
Definition: MWAWDebug.hxx:85
MWAWEntry m_measureEntry
the measure entry
Definition: MacDrawProParser.cxx:355
@ JustificationCenter
Definition: MWAWParagraph.hxx:87
int m_id
the shape id
Definition: MacDrawProParser.cxx:143
int m_version
the file version
Definition: MacDrawProParser.cxx:278
shared_ptr< MacDrawProStyleManager > m_styleManager
the style manager state
Definition: MacDrawProParser.hxx:159
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:105
T y() const
second element
Definition: libmwaw_internal.hxx:620
MWAWRSRCParserPtr & getRSRCParser()
returns the rsrc parser
Definition: MWAWParser.hxx:190
shared_ptr< MWAWGraphicListener > MWAWGraphicListenerPtr
a smart pointer of MWAWGraphicListener
Definition: libmwaw_internal.hxx:501
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:197
int m_numBytesByRow
the number of bytes by row (for a bitmap)
Definition: MacDrawProParser.cxx:178
float m_lineWidth
the linewidth
Definition: MWAWGraphicStyle.hxx:375
void setFormWidth(const double formWidth)
set the total page width
Definition: MWAWPageSpan.hxx:177
double getFormLength() const
returns the form length
Definition: MWAWParser.hxx:170
T x() const
first element
Definition: libmwaw_internal.hxx:615
bool readBitmap(MacDrawProParserInternal::Shape &shape, MWAWEntry const &entry)
tries to read a bitmap data
Definition: MacDrawProParser.cxx:2303
Shape()
constructor
Definition: MacDrawProParser.cxx:109
std::map< int, int > m_fontMap
a map position to font id ( for a text box or a note)
Definition: MacDrawProParser.cxx:156
unsigned char getBlue() const
returns the green value
Definition: libmwaw_internal.hxx:250
bool readLayerLibraryCorrespondance()
tries to the layer library correspondance zone
Definition: MacDrawProParser.cxx:723
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:353
std::string const & name() const
name of the entry
Definition: MWAWEntry.hxx:142
a border
Definition: libmwaw_internal.hxx:314
void setBegin(long off)
sets the begin offset
Definition: MWAWEntry.hxx:56
bool m_flip[2]
two bool to indicated we need to flip the shape or not
Definition: MWAWGraphicStyle.hxx:437
bool isBlack() const
return true if the color is black
Definition: libmwaw_internal.hxx:265
@ Unknown
Definition: MacDrawProParser.cxx:106
void parse(MWAWListenerPtr &listener, libmwaw::SubDocumentType type)
the parser function
Definition: MacDrawProParser.cxx:361
void setGraphicListener(MWAWGraphicListenerPtr &listener)
sets the graphic listener
Definition: MWAWParser.cxx:113
void flushExtra()
sends the data which have not yet been sent to the listener
Definition: MacDrawProParser.cxx:3151
void setVersion(int vers)
sets the document's version
Definition: MWAWParser.hxx:206
#define M_PI
Definition: libmwaw_internal.hxx:49
long length() const
returns the length of the zone
Definition: MWAWEntry.hxx:82
void setBorders(int wh, MWAWBorder const &border)
sets the cell border: wh=libmwaw::LeftBit|...
Definition: MWAWGraphicStyle.cxx:172
@ Path
Definition: MWAWGraphicShape.hxx:49
MWAWEntry m_measureEntry
Definition: MacDrawProParser.cxx:173
@ PageBreak
Definition: MWAWListener.hxx:58
Type m_type
the type
Definition: MWAWGraphicShape.hxx:191
bool createZones()
finds the different objects zones
Definition: MacDrawProParser.cxx:513
bool readObjectData(MacDrawProParserInternal::Shape &shape, int zId)
tries to read an object data
Definition: MacDrawProParser.cxx:1565
@ RightBit
Definition: libmwaw_internal.hxx:168
@ MWAW_R_BAD
Definition: MWAWPict.hxx:73
void setMax(MWAWVec2< T > const &y)
resets the maximum point
Definition: libmwaw_internal.hxx:1031
void setRow(int j, U const *val)
sets all cell contents of a row
Definition: MWAWPictBitmap.hxx:416
Definition: libmwaw_internal.hxx:142
the main class to read a MacDraw II file
Definition: MacDrawProStyleManager.hxx:60
int m_fileType
the file type
Definition: MacDrawProParser.cxx:135
long begin() const
returns the begin offset
Definition: MWAWEntry.hxx:72
double getFormWidth() const
returns the form width
Definition: MWAWParser.hxx:175
std::vector< Layer > m_layerList
the layer list
Definition: MacDrawProParser.cxx:310
bool readLayersInfo()
tries to the layer info zone
Definition: MacDrawProParser.cxx:582
void setLength(long l)
sets the zone size
Definition: MWAWEntry.hxx:61
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:82
bool m_sendAsLibraries
flag to know if we create a page by library or not
Definition: MacDrawProParser.cxx:294
void setPattern(Pattern const &pat, float opacity=1)
set the pattern
Definition: MWAWGraphicStyle.hxx:293
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:226
MWAWBox2< float > MWAWBox2f
MWAWBox2 of float.
Definition: libmwaw_internal.hxx:1134
librevenge::RVNGString m_name
the library name
Definition: MacDrawProParser.cxx:100
virtual bool operator!=(MWAWSubDocument const &doc) const
operator!=
Definition: MacDrawProParser.cxx:333
bool m_createMasterPage
flag to know if we need or not to create a master
Definition: MacDrawProParser.cxx:292
MWAWBox2i m_bitmapFileDim
the bitmap dimension (in the file)
Definition: MacDrawProParser.cxx:184
@ GroupEnd
Definition: MacDrawProParser.cxx:106
void setId(int newId)
sets the id
Definition: MWAWEntry.hxx:158
int m_numVisibleLayers
the number of visible layer
Definition: MacDrawProParser.cxx:290
@ Pie
Definition: MWAWGraphicShape.hxx:49
std::map< int, int > m_libraryToObjectMap
map library to pos
Definition: MacDrawProParser.cxx:80
void setMarginTop(const double marginTop)
set the page top margin
Definition: MWAWPageSpan.hxx:197
bool read(MWAWInputStreamPtr input)
reads the struture in a file
Definition: MWAWPrinter.cxx:218
static MWAWGraphicShape arc(MWAWBox2f const &box, MWAWBox2f const &circleBox, MWAWVec2f const &angles)
static constructor to create a arc
Definition: MWAWGraphicShape.hxx:120
void setPageName(librevenge::RVNGString const &name)
set the page name
Definition: MWAWPageSpan.hxx:222
MWAWParserStatePtr getParserState()
returns the parser state
Definition: MWAWParser.hxx:113
shared_ptr< MWAWInputStream > MWAWInputStreamPtr
a smart pointer of MWAWInputStream
Definition: libmwaw_internal.hxx:503
bool readHeaderInfo()
tries to the header info zone ( print info + some information about content + prefs ?...
Definition: MacDrawProParser.cxx:2494
long m_sizeLibraryZones[2]
the size of the library zones(checkme)
Definition: MacDrawProParser.cxx:304
long end() const
returns the end offset
Definition: MWAWEntry.hxx:77
@ Group
Definition: MacDrawProParser.cxx:106
MWAWColor m_lineColor
the line color
Definition: MWAWGraphicStyle.hxx:383
bool send(MacDrawProParserInternal::Library const &library)
tries to send a library (not functionnal)
Definition: MacDrawProParser.cxx:2761
int m_firstShape
the first shape
Definition: MacDrawProParser.cxx:74
bool isLine() const
returns true if the object is a line
Definition: MacDrawProParser.cxx:128
MWAWBox2< int > MWAWBox2i
MWAWBox2 of int.
Definition: libmwaw_internal.hxx:1132
@ Line
Definition: MWAWGraphicShape.hxx:49
@ LeftBit
Definition: libmwaw_internal.hxx:168
std::vector< Library > m_libraryList
the library list
Definition: MacDrawProParser.cxx:308
@ ShapeUnknown
Definition: MWAWGraphicShape.hxx:49
bool findObjectPositions(bool dataZone)
finds the objet's data/text positions
Definition: MacDrawProParser.cxx:972
std::map< int, int > m_paragraphMap
the paragraphMap ( for a text box or a note) and a Pro file
Definition: MacDrawProParser.cxx:160
MWAWInputStreamPtr & getInput()
returns the actual input
Definition: MWAWParser.hxx:123
bool readPrintInfo()
tries to read the print info zone
Definition: MacDrawProParser.cxx:2643
a bitmap of int to store indexed bitmap
Definition: MWAWPictBitmap.hxx:348
int m_numPages
the final number of pages
Definition: MacDrawProParser.cxx:282
std::vector< MWAWEntry > m_objectTextList
the list of entries which stores the object's text
Definition: MacDrawProParser.cxx:314
bool sendPage(int page)
tries to send the layer corresponding a page
Definition: MacDrawProParser.cxx:2732
int m_numLibraries
the number of library
Definition: MacDrawProParser.cxx:296
@ Page
Definition: MWAWPosition.hxx:51
MWAWParser * m_parser
the main zone parser
Definition: MWAWSubDocument.hxx:75
@ JustificationFull
Definition: MWAWParagraph.hxx:87
@ JustificationRight
Definition: MWAWParagraph.hxx:88
int m_actualLayer
the actual layer
Definition: MacDrawProParser.cxx:284
@ TopBit
Definition: libmwaw_internal.hxx:168
MWAWGraphicStyle m_style
the graphic style
Definition: MacDrawProParser.cxx:139
bool m_isHidden
true if the layer is hidden
Definition: MacDrawProParser.cxx:76
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:188
void setStream(MWAWInputStreamPtr ip)
resets the input
Definition: MWAWDebug.hxx:73
std::vector< float > m_lineDashWidth
the dash array: a sequence of (fullsize, emptysize)
Definition: MWAWGraphicStyle.hxx:373
void setMarginRight(const double marginRight)
set the page right margin
Definition: MWAWPageSpan.hxx:192
bool valid() const
returns true if the zone length is positive
Definition: MWAWEntry.hxx:88
bool readGeometryShapeData(MacDrawProParserInternal::Shape &shape, MWAWEntry const &entry)
tries to read a basic geometric object data ( line, rect, arc,... )
Definition: MacDrawProParser.cxx:1995
bool checkHeader(MWAWHeader *header, bool strict=false)
checks if the document header is correct (or not)
Definition: MacDrawProParser.cxx:2410
int m_id
the library id
Definition: MacDrawProParser.cxx:94
shared_ptr< MWAWRSRCParser > MWAWRSRCParserPtr
a smart pointer of MWAWRSRCParser
Definition: libmwaw_internal.hxx:513
@ Note
Definition: MacDrawProParser.cxx:106
bool computeLayersAndLibrariesBoundingBox()
computes the layers and libraries bounding box
Definition: MacDrawProParser.cxx:1057
MWAWVec2< T > size() const
the box size
Definition: libmwaw_internal.hxx:1008
@ Arc
Definition: MWAWGraphicShape.hxx:49
int m_numLayers
the number of layer
Definition: MacDrawProParser.cxx:286
friend std::ostream & operator<<(std::ostream &o, Shape const &shape)
basic operator<<
Definition: MacDrawProParser.cxx:194
int m_numChars
the number of caracters ( for a text box or a note)
Definition: MacDrawProParser.cxx:154
bool readTextPro(MacDrawProParserInternal::Shape &shape, MWAWEntry const &entry)
tries to read a text object data in MacDraw pro file
Definition: MacDrawProParser.cxx:1872
Type m_type
the graphic type
Definition: MacDrawProParser.cxx:133
bool readTextII(MacDrawProParserInternal::Shape &shape, MWAWEntry const &entry)
tries to read a text object data in MacDraw II file
Definition: MacDrawProParser.cxx:1703
@ Circle
Definition: MWAWGraphicShape.hxx:49
Definition: MacDrawProParser.cxx:65
bool isWhite() const
return true if the color is white
Definition: libmwaw_internal.hxx:270
AnchorTo m_anchorTo
anchor position
Definition: MWAWPosition.hxx:254
float m_rotate
the rotation
Definition: MWAWGraphicStyle.hxx:421
std::vector< size_t > m_childList
the child list ( for a group )
Definition: MacDrawProParser.cxx:167
bool m_bitmapIsColor
true if the bitmap is a color bitmap
Definition: MacDrawProParser.cxx:180
void setMargins(double margin, int wh=libmwaw::LeftBit|libmwaw::RightBit|libmwaw::TopBit|libmwaw::BottomBit)
set all the margins
Definition: MWAWPageSpan.hxx:207
Library(int id=-1)
constructor
Definition: MacDrawProParser.cxx:90
virtual ~SubDocument()
destructor
Definition: MacDrawProParser.cxx:330
bool sendBitmap(MacDrawProParserInternal::Shape const &shape, MWAWPosition const &pos)
tries to send a bitmap to the listener
Definition: MacDrawProParser.cxx:2896
a bitmap of MWAWColor to store true color bitmap
Definition: MWAWPictBitmap.hxx:455
Class to store font.
Definition: MWAWFont.hxx:44
std::vector< Shape > m_shapeList
the shape list
Definition: MacDrawProParser.cxx:316
a simple path component
Definition: MWAWGraphicShape.hxx:53
MWAWVec2f m_shadowOffset
the shadow offset
Definition: MWAWGraphicStyle.hxx:394
void createDocument(librevenge::RVNGDrawingInterface *documentInterface)
creates the listener which will be associated to the document
Definition: MacDrawProParser.cxx:442
static MWAWGraphicShape rectangle(MWAWBox2f const &box, MWAWVec2f const &corners=MWAWVec2f(0, 0))
static constructor to create a rectangle
Definition: MWAWGraphicShape.hxx:103
Internal: the state of a MacDrawProParser.
Definition: MacDrawProParser.cxx:265
SubDocument(MacDrawProParser &pars, MWAWInputStreamPtr input, int zoneId)
constructor given an zone id
Definition: MacDrawProParser.cxx:325
MWAWParagraph m_paragraph
the paragraph ( for a text box or a note) and a II file
Definition: MacDrawProParser.cxx:162
MWAWColor m_color
the border color
Definition: libmwaw_internal.hxx:363
MWAWVec2< int > MWAWVec2i
MWAWVec2 of int.
Definition: libmwaw_internal.hxx:781
std::stringstream DebugStream
a basic stream (if debug_with_files is not defined, does nothing)
Definition: MWAWDebug.hxx:61
shared_ptr< MWAWListener > MWAWListenerPtr
a smart pointer of MWAWListener
Definition: libmwaw_internal.hxx:505
void resetGraphicListener()
resets the listener
Definition: MWAWParser.cxx:118
Internal: the structures of a MacDrawProParser.
Definition: MacDrawProParser.cxx:63
long m_sizeLayerZones[2]
the size of the layer zones
Definition: MacDrawProParser.cxx:302
shared_ptr< MWAWInputStream > m_input
the input
Definition: MWAWSubDocument.hxx:77
A class which defines the page properties.
Definition: MWAWPageSpan.hxx:96
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:195
std::vector< int > m_layerList
the list of layer id
Definition: MacDrawProParser.cxx:96
virtual bool operator==(MWAWSubDocument const &doc) const
operator!==
Definition: MacDrawProParser.cxx:344
Generated on Wed Jun 17 2020 06:30:10 for libmwaw by
doxygen 1.8.18