FreeHandParser.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 #ifndef FREEHAND_PARSER
35 # define FREEHAND_PARSER
36 
37 #include <string>
38 #include <vector>
39 
40 #include <librevenge/librevenge.h>
41 
42 #include "MWAWDebug.hxx"
43 #include "MWAWInputStream.hxx"
44 
45 #include "MWAWParser.hxx"
46 
47 namespace FreeHandParserInternal
48 {
49 struct Shape;
50 struct ShapeHeader;
51 struct StyleHeader;
52 struct ScreenMode;
53 struct Textbox;
54 struct State;
55 
56 class SubDocument;
57 }
58 
63 {
65 public:
69  virtual ~FreeHandParser();
70 
72  bool checkHeader(MWAWHeader *header, bool strict=false);
73 
74  // the main parse function
75  void parse(librevenge::RVNGDrawingInterface *documentInterface);
76 
77 protected:
79  void init();
80 
82  void createDocument(librevenge::RVNGDrawingInterface *documentInterface);
83 
84 protected:
86  bool createZones();
88  bool readZoneV1(int zId);
90  bool readZoneV2(int zId);
91 
97  bool readColor(int zId);
99  bool readDash(int zId);
101  bool readFillStyle(int zId);
103  bool readLineStyle(int zId);
105  bool readPostscriptStyle(int zId);
106 
108  bool readRootGroup(int zId);
110  bool readStyleGroup(int zId);
112  bool readGroupV1(int zId);
114  bool readGroupV2(int zId);
116  bool readJoinGroup(int zId);
118  bool readTransformGroup(int zId);
120  bool readStringZone(int zId);
121 
125  bool readDataZone(int zId);
126 
128  bool readBackgroundPicture(int zId);
130  bool readPictureZone(int zId);
132  bool readShape(int zId);
134  bool readTextboxV1(int zId);
136  bool readTextboxV2(int zId);
137 
139  bool sendZone(int zId, MWAWTransformation const &transform);
141  bool sendGroup(FreeHandParserInternal::Shape const &group, MWAWTransformation const &transform);
143  bool sendBackgroundPicture(FreeHandParserInternal::Shape const &picture, MWAWTransformation const &transform);
145  bool sendPicture(FreeHandParserInternal::Shape const &picture, MWAWTransformation const &transform);
147  bool sendShape(FreeHandParserInternal::Shape const &shape, MWAWTransformation const &transform);
149  bool sendTextbox(FreeHandParserInternal::Textbox const &textbox, MWAWTransformation const &transform);
151  bool sendText(int zId);
153  bool openLayer(int zId);
155  void closeLayer();
157  void flushExtra();
158 
162  static bool decomposeMatrix(MWAWTransformation const &matrix, float &rotation, MWAWTransformation &transform, MWAWVec2f const &center);
163 
165  shared_ptr<FreeHandParserInternal::State> m_state;
166 };
167 #endif
168 // vim: set filetype=cpp tabstop=2 shiftwidth=2 cindent autoindent smartindent noexpandtab:
FreeHandParserInternal::Z_ColorGroup
@ Z_ColorGroup
Definition: FreeHandParser.cxx:65
MWAWEntry
basic class to store an entry in a file This contained :
Definition: MWAWEntry.hxx:47
MWAWParagraph::m_justify
MWAWVariable< Justification > m_justify
the justification
Definition: MWAWParagraph.hxx:161
FreeHandParser::readTextboxV2
bool readTextboxV2(int zId)
try to read a textbox zone: version 2
Definition: FreeHandParser.cxx:2879
FreeHandParserInternal::StyleHeader::operator<<
friend std::ostream & operator<<(std::ostream &o, StyleHeader const &style)
operator<<
Definition: FreeHandParser.cxx:218
MWAWGraphicStyle::m_lineCap
LineCap m_lineCap
the line cap
Definition: MWAWGraphicStyle.hxx:377
FreeHandParserInternal::State::m_mainGroupId
int m_mainGroupId
the main group id
Definition: FreeHandParser.cxx:433
FreeHandParserInternal::State::m_zIdToTextboxMap
std::map< int, Textbox > m_zIdToTextboxMap
the list zoneId to textbox
Definition: FreeHandParser.cxx:455
MWAWGraphicStyle::Pattern::empty
bool empty() const
return true if we does not have a pattern
Definition: MWAWGraphicStyle.hxx:188
MWAWGraphicShape::transform
MWAWGraphicShape transform(MWAWTransformation const &matrix) const
returns a new shape corresponding to a matrix transformation
Definition: MWAWGraphicShape.cxx:400
MWAWPageSpan::setPageSpan
void setPageSpan(const int pageSpan)
set the page span ( default 1)
Definition: MWAWPageSpan.hxx:262
FreeHandParserInternal::FillStyle::m_logarithm
bool m_logarithm
flag to know if a flag has logarithmic scale
Definition: FreeHandParser.cxx:182
FreeHandParserInternal::ShapeHeader::m_layerId
int m_layerId
the layer id
Definition: FreeHandParser.cxx:155
MWAW_DEBUG_MSG
#define MWAW_DEBUG_MSG(M)
Definition: libmwaw_internal.hxx:127
FreeHandParser::openLayer
bool openLayer(int zId)
try to open a layer
Definition: FreeHandParser.cxx:3219
FreeHandParser.hxx
FreeHandParser::checkHeader
bool checkHeader(MWAWHeader *header, bool strict=false)
checks if the document header is correct (or not)
Definition: FreeHandParser.cxx:951
FreeHandParserInternal::SubDocument::~SubDocument
virtual ~SubDocument()
destructor
Definition: FreeHandParser.cxx:590
FreeHandParserInternal::State::m_zIdToLineStyleMap
std::map< int, LineStyle > m_zIdToLineStyleMap
the list zoneId to lineStyle
Definition: FreeHandParser.cxx:447
MWAWVec2f
MWAWVec2< float > MWAWVec2f
MWAWVec2 of float.
Definition: libmwaw_internal.hxx:785
FreeHandParserInternal::SubDocument
Internal: the subdocument of a FreeHandParser.
Definition: FreeHandParser.cxx:585
MWAWGraphicStyle::J_Bevel
@ J_Bevel
Definition: MWAWGraphicStyle.hxx:53
MWAWVariable
a generic variable template: value + flag to know if the variable is set
Definition: libmwaw_internal.hxx:527
FreeHandParserInternal::ShapeHeader::m_values
int m_values[4]
the unknown values
Definition: FreeHandParser.cxx:159
libmwaw::DebugFile::addDelimiter
void addDelimiter(long pos, char c)
adds a not breaking delimiter in position pos
Definition: MWAWDebug.cxx:73
FreeHandParserInternal::Shape::m_dataId
int m_dataId
the id of a the picture date
Definition: FreeHandParser.cxx:351
FreeHandParser::sendText
bool sendText(int zId)
try to send the text of a text box
Definition: FreeHandParser.cxx:3457
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:282
FreeHandParserInternal::ScreenMode::operator<<
friend std::ostream & operator<<(std::ostream &o, ScreenMode const &screen)
operator<<
Definition: FreeHandParser.cxx:76
FreeHandParserInternal::State::m_sendLayerSet
std::set< int > m_sendLayerSet
a set of create layer to avoid dupplicating layer
Definition: FreeHandParser.cxx:461
FreeHandParserInternal::Shape::m_corner
MWAWVec2f m_corner
the corner size
Definition: FreeHandParser.cxx:337
FreeHandParserInternal::LineStyle::m_width
float m_width
the line width
Definition: FreeHandParser.cxx:195
MWAWGraphicShape::m_path
std::vector< PathData > m_path
the list of path component
Definition: MWAWGraphicShape.hxx:203
FreeHandParserInternal::Textbox::m_justify
MWAWParagraph::Justification m_justify
the paragraph justification
Definition: FreeHandParser.cxx:392
FreeHandParserInternal::StyleHeader::m_labelId
int m_labelId
the label id
Definition: FreeHandParser.cxx:232
FreeHandParser::parse
void parse(librevenge::RVNGDrawingInterface *documentInterface)
virtual function used to parse the input
Definition: FreeHandParser.cxx:663
MWAWGraphicStyle::m_gradientType
GradientType m_gradientType
the gradient type
Definition: MWAWGraphicStyle.hxx:396
MWAWFont::boldBit
@ boldBit
Definition: MWAWFont.hxx:182
FreeHandParserInternal::Z_String
@ Z_String
Definition: FreeHandParser.cxx:66
FreeHandParserInternal::LineStyle::LineStyle
LineStyle()
constructor
Definition: FreeHandParser.cxx:190
MWAWColor::white
static MWAWColor white()
return the white color
Definition: libmwaw_internal.hxx:231
MWAWGraphicStyle::LineJoin
LineJoin
an enum used to define the basic line join
Definition: MWAWGraphicStyle.hxx:53
MWAWFont::setColor
void setColor(MWAWColor color)
sets the font color
Definition: MWAWFont.hxx:320
FreeHandParserInternal::State::m_zIdToTypeMap
std::map< int, ZoneType > m_zIdToTypeMap
the list of id seen
Definition: FreeHandParser.cxx:437
libmwaw::DebugFile::open
bool open(std::string const &filename)
opens/creates a file to store a result
Definition: MWAWDebug.cxx:46
FreeHandParserInternal::StyleHeader::m_type
int m_type
the zone type
Definition: FreeHandParser.cxx:230
MWAWFont::setWidthStreching
void setWidthStreching(float scale=1.0)
sets the text width streching
Definition: MWAWFont.hxx:282
FreeHandParser::readStyleHeader
bool readStyleHeader(FreeHandParserInternal::StyleHeader &style)
try to read a style header
Definition: FreeHandParser.cxx:1701
MWAWPageSpan::setMarginBottom
void setMarginBottom(const double marginBottom)
set the page bottom margin
Definition: MWAWPageSpan.hxx:202
MWAWGraphicShape
a structure used to define a picture shape
Definition: MWAWGraphicShape.hxx:46
MWAWFontConverter.hxx
MWAWColor
the class to store a color
Definition: libmwaw_internal.hxx:182
FreeHandParserInternal::Textbox::m_baseline
float m_baseline
the baseline
Definition: FreeHandParser.cxx:390
FreeHandParserInternal::Shape::Unknown
@ Unknown
Definition: FreeHandParser.cxx:245
MWAWEmbeddedObject
small class use to define a embedded object
Definition: libmwaw_internal.hxx:425
FreeHandParserInternal::Z_LineStyleGroup
@ Z_LineStyleGroup
Definition: FreeHandParser.cxx:66
FreeHandParserInternal::Textbox::m_id
int m_id
the textbox id
Definition: FreeHandParser.cxx:378
MWAWGraphicShape::line
static MWAWGraphicShape line(MWAWVec2f const &orign, MWAWVec2f const &dest)
static constructor to create a line
Definition: MWAWGraphicShape.cxx:227
MWAWParser::version
int version() const
returns the works version
Definition: MWAWParser.hxx:108
FreeHandParser::readZoneV1
bool readZoneV1(int zId)
try to read a zone: version 1
Definition: FreeHandParser.cxx:807
FreeHandParser::sendShape
bool sendShape(FreeHandParserInternal::Shape const &shape, MWAWTransformation const &transform)
try to send a basic shape
Definition: FreeHandParser.cxx:3402
FreeHandParserInternal::State
Internal: the state of a FreeHandParser.
Definition: FreeHandParser.cxx:403
FreeHandParser::closeLayer
void closeLayer()
try to close a layer
Definition: FreeHandParser.cxx:3236
MWAWFont::outlineBit
@ outlineBit
Definition: MWAWFont.hxx:183
MWAWGraphicStyle::Pattern::getAverageColor
bool getAverageColor(MWAWColor &col) const
return the average color
Definition: MWAWGraphicStyle.cxx:101
MWAWPrinter.hxx
FreeHandParserInternal::ShapeHeader::operator<<
friend std::ostream & operator<<(std::ostream &o, ShapeHeader const &shape)
operator<<
Definition: FreeHandParser.cxx:124
FreeHandParser::readDash
bool readDash(int zId)
try to read the dash zone
Definition: FreeHandParser.cxx:1883
MWAWDocument::MWAW_K_DRAW
@ MWAW_K_DRAW
vectorized grphic
Definition: MWAWDocument.hxx:83
MWAWParagraph
class to store the paragraph properties
Definition: MWAWParagraph.hxx:82
MWAWPageSpan::setFormOrientation
void setFormOrientation(const FormOrientation formOrientation)
set the form orientation
Definition: MWAWPageSpan.hxx:182
FreeHandParser::readZoneV2
bool readZoneV2(int zId)
try to read a zone: version 2
Definition: FreeHandParser.cxx:879
MWAWPageSpan::setMarginLeft
void setMarginLeft(const double marginLeft)
set the page left margin
Definition: MWAWPageSpan.hxx:187
MWAWGraphicStyle::G_None
@ G_None
Definition: MWAWGraphicStyle.hxx:55
FreeHandParserInternal::State::m_zIdToStringMap
std::map< int, std::string > m_zIdToStringMap
the list zoneId to string
Definition: FreeHandParser.cxx:449
MWAWDocument::MWAW_T_FREEHAND
@ MWAW_T_FREEHAND
FreeHand: v1.
Definition: MWAWDocument.hxx:183
FreeHandParserInternal::Shape::m_evenOdd
bool m_evenOdd
a flag to know how path intersection are defined
Definition: FreeHandParser.cxx:343
libmwaw::PrinterInfo
the AppleŠ printer information : TPrint
Definition: MWAWPrinter.hxx:82
FreeHandParserInternal::ScreenMode::m_lineByInch
int m_lineByInch
the line/inch
Definition: FreeHandParser.cxx:109
libmwaw::DebugFile::addNote
void addNote(char const *note)
adds a note in the file, in actual position
Definition: MWAWDebug.cxx:59
MWAWFont::setDeltaLetterSpacing
void setDeltaLetterSpacing(float d, librevenge::RVNGUnit unit=librevenge::RVNG_POINT)
sets the letter spacing ( delta value in point )
Definition: MWAWFont.hxx:271
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:193
FreeHandParserInternal::Textbox::m_spacings
MWAWVec2f m_spacings
the letter/word spacing
Definition: FreeHandParser.cxx:386
FreeHandParserInternal::State::m_zIdToPostscriptMap
std::map< int, std::string > m_zIdToPostscriptMap
the list zoneId to postscrip code
Definition: FreeHandParser.cxx:451
MWAWGraphicStyle::Pattern::m_data
std::vector< unsigned char > m_data
the pattern data: a sequence of data: p[0..7,0],p[8..15,0]...p[0..7,1],p[8..15,1],...
Definition: MWAWGraphicStyle.hxx:247
FreeHandParser::createDocument
void createDocument(librevenge::RVNGDrawingInterface *documentInterface)
creates the listener which will be associated to the document
Definition: FreeHandParser.cxx:694
FreeHandParserInternal::Shape::Picture
@ Picture
Definition: FreeHandParser.cxx:245
FreeHandParserInternal::FillStyle::m_type
MWAWGraphicStyle::GradientType m_type
the gradient type
Definition: FreeHandParser.cxx:174
MWAWPosition::setOrder
void setOrder(int ord) const
set background/foward order
Definition: MWAWPosition.hxx:248
FreeHandParserInternal::SubDocument::operator!=
virtual bool operator!=(MWAWSubDocument const &doc) const
operator!=
Definition: FreeHandParser.cxx:593
FreeHandParserInternal::StyleHeader::m_extra
std::string m_extra
extra data
Definition: FreeHandParser.cxx:238
FreeHandParser::readColor
bool readColor(int zId)
try to read a color zone
Definition: FreeHandParser.cxx:1741
MWAWGraphicStyle::m_gradientStopList
std::vector< GradientStop > m_gradientStopList
the list of gradient limits
Definition: MWAWGraphicStyle.hxx:402
FreeHandParserInternal::ScreenMode::m_value
int m_value
unknow value
Definition: FreeHandParser.cxx:111
MWAWParser::ascii
libmwaw::DebugFile & ascii()
a DebugFile used to write what we recognize when we parse the document
Definition: MWAWParser.hxx:195
FreeHandParserInternal::State::m_sendIdSet
std::set< int > m_sendIdSet
a set of send id used to avoid potential loop
Definition: FreeHandParser.cxx:459
FreeHandParserInternal::Shape::Rectangle
@ Rectangle
Definition: FreeHandParser.cxx:245
MWAWGraphicShape::circle
static MWAWGraphicShape circle(MWAWBox2f const &box)
static constructor to create a circle
Definition: MWAWGraphicShape.hxx:112
FreeHandParserInternal
Internal: the structures of a FreeHandParser.
Definition: FreeHandParser.cxx:63
FreeHandParser::readGroupV2
bool readGroupV2(int zId)
try to read a group zone: version 2
Definition: FreeHandParser.cxx:1301
MWAWParser::asciiName
std::string const & asciiName() const
return the ascii file name
Definition: MWAWParser.hxx:232
FreeHandParserInternal::SubDocument::SubDocument
SubDocument(FreeHandParser &pars, MWAWInputStreamPtr input, int zoneId)
Definition: FreeHandParser.cxx:587
FreeHandParserInternal::Font
structure of FreeHandParserInternal used to stored a font
Definition: FreeHandParser.cxx:357
MWAWGraphicStyle::J_Round
@ J_Round
Definition: MWAWGraphicStyle.hxx:53
MWAWGraphicStyle::Pattern
a basic pattern used in a MWAWGraphicStyle:
Definition: MWAWGraphicStyle.hxx:171
FreeHandParser::sendBackgroundPicture
bool sendBackgroundPicture(FreeHandParserInternal::Shape const &picture, MWAWTransformation const &transform)
try to send a background picture
Definition: FreeHandParser.cxx:3321
FreeHandParserInternal::Shape::m_lineId
int m_lineId
the line id
Definition: FreeHandParser.cxx:328
MWAWSubDocument.hxx
FreeHandParserInternal::LineStyle::m_miterLimit
float m_miterLimit
the miter limit
Definition: FreeHandParser.cxx:203
FreeHandParser::decomposeMatrix
static bool decomposeMatrix(MWAWTransformation const &matrix, float &rotation, MWAWTransformation &transform, MWAWVec2f const &center)
try to decompose the matrix in a rotation + scaling/translation matrix.
Definition: FreeHandParser.cxx:3555
FreeHandParserInternal::ShapeHeader::m_size
long m_size
a field related to the zone size
Definition: FreeHandParser.cxx:147
FreeHandParserInternal::LineStyle::m_dashId
int m_dashId
the dash id
Definition: FreeHandParser.cxx:199
MWAWPageSpan::setFormLength
void setFormLength(const double formLength)
set the total page length
Definition: MWAWPageSpan.hxx:172
FreeHandParserInternal::FillStyle::m_colorId
int m_colorId[2]
the color id
Definition: FreeHandParser.cxx:176
FreeHandParserInternal::Shape::m_isSent
bool m_isSent
flag to known if a shape is sent
Definition: FreeHandParser.cxx:353
FreeHandParser::~FreeHandParser
virtual ~FreeHandParser()
destructor
Definition: FreeHandParser.cxx:646
MWAWGraphicShape::Polygon
@ Polygon
Definition: MWAWGraphicShape.hxx:49
MWAWColor::barycenter
static MWAWColor barycenter(float alpha, MWAWColor const &colA, float beta, MWAWColor const &colB)
return alpha*colA+beta*colB
Definition: libmwaw_internal.cxx:205
MWAWBox2::getUnion
MWAWBox2< T > getUnion(MWAWBox2< T > const &box) const
returns the union between this and box
Definition: libmwaw_internal.hxx:1070
MWAWParser::getPageWidth
double getPageWidth() const
returns the page width (form width without margin )
Definition: MWAWParser.hxx:185
libmwaw::SubDocumentType
SubDocumentType
Definition: libmwaw_internal.hxx:178
FreeHandParserInternal::Z_Color
@ Z_Color
Definition: FreeHandParser.cxx:65
libmwaw::DebugFile::reset
void reset()
writes the current file and reset to zero
Definition: MWAWDebug.hxx:85
FreeHandParser::readShapeHeader
bool readShapeHeader(FreeHandParserInternal::ShapeHeader &shape)
try to read a shape header
Definition: FreeHandParser.cxx:1612
FreeHandParserInternal::SubDocument::m_id
int m_id
the subdocument id
Definition: FreeHandParser.cxx:612
MWAWParagraph::JustificationCenter
@ JustificationCenter
Definition: MWAWParagraph.hxx:87
MWAWGraphicStyle::emptyStyle
static MWAWGraphicStyle emptyStyle()
returns an empty style.
Definition: MWAWGraphicStyle.hxx:268
FreeHandParser::init
void init()
inits all internal variables
Definition: FreeHandParser.cxx:650
MWAWParagraph::Justification
Justification
an enum used to defined the paragraph justification: left, center, right, full ...
Definition: MWAWParagraph.hxx:87
MWAWFont::shadowBit
@ shadowBit
Definition: MWAWFont.hxx:183
FreeHandParser::sendZone
bool sendZone(int zId, MWAWTransformation const &transform)
try to send a zone
Definition: FreeHandParser.cxx:3244
MWAWParser::setAsciiName
void setAsciiName(char const *name)
Debugging: change the default ascii file.
Definition: MWAWParser.hxx:227
MWAWParagraph.hxx
FreeHandParserInternal::Z_LineStyle
@ Z_LineStyle
Definition: FreeHandParser.cxx:66
libmwaw::DebugFile::skipZone
void skipZone(long beginPos, long endPos)
skips the file zone defined by beginPos-endPos
Definition: MWAWDebug.hxx:105
FreeHandParserInternal::ScreenMode::ScreenMode
ScreenMode()
constructor
Definition: FreeHandParser.cxx:72
FreeHandParserInternal::LineStyle::m_pattern
MWAWGraphicStyle::Pattern m_pattern
the pattern
Definition: FreeHandParser.cxx:201
FreeHandParserInternal::Z_Unknown
@ Z_Unknown
Definition: FreeHandParser.cxx:65
MWAWGraphicListenerPtr
shared_ptr< MWAWGraphicListener > MWAWGraphicListenerPtr
a smart pointer of MWAWGraphicListener
Definition: libmwaw_internal.hxx:501
libmwaw::Debug::dumpFile
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
FreeHandParserInternal::State::addZoneId
bool addZoneId(int id, ZoneType zoneType)
try to add a id
Definition: FreeHandParser.cxx:419
FreeHandParserInternal::Shape::Shape
Shape()
constructor
Definition: FreeHandParser.cxx:248
MWAWGraphicStyle::m_lineWidth
float m_lineWidth
the linewidth
Definition: MWAWGraphicStyle.hxx:375
MWAWPageSpan::setFormWidth
void setFormWidth(const double formWidth)
set the total page width
Definition: MWAWPageSpan.hxx:177
MWAWPosition.hxx
FreeHandParserInternal::FillStyle::FillStyle
FillStyle()
constructor
Definition: FreeHandParser.cxx:169
FreeHandParserInternal::SubDocument::operator=
SubDocument & operator=(SubDocument const &orig)
FreeHandParserInternal::Shape::Group
@ Group
Definition: FreeHandParser.cxx:245
FreeHandParserInternal::SubDocument::parse
void parse(MWAWListenerPtr &listener, libmwaw::SubDocumentType type)
the parser function
Definition: FreeHandParser.cxx:618
FreeHandParser
the main class to read a FreeHand v0,v1 file
Definition: FreeHandParser.hxx:63
FreeHandParserInternal::State::updateGroupLayerId
int updateGroupLayerId(int zId, std::set< int > &seen)
try to update the group layer id, return 0 or the new layer id
Definition: FreeHandParser.cxx:559
FreeHandParserInternal::ScreenMode::m_angle
float m_angle
the angle
Definition: FreeHandParser.cxx:107
FreeHandParserInternal::LineStyle::m_cap
MWAWGraphicStyle::LineCap m_cap
the line cap
Definition: FreeHandParser.cxx:205
FreeHandParserInternal::Font::m_font
MWAWFont m_font
the font
Definition: FreeHandParser.cxx:363
MWAWGraphicStyle::G_Radial
@ G_Radial
Definition: MWAWGraphicStyle.hxx:55
FreeHandParserInternal::State::m_zIdToFillStyleMap
std::map< int, FillStyle > m_zIdToFillStyleMap
the list zoneId to fillStyle
Definition: FreeHandParser.cxx:445
MWAWPosition
Class to define the position of an object (textbox, picture, ..) in the document.
Definition: MWAWPosition.hxx:48
FreeHandParser::readStringZone
bool readStringZone(int zId)
try to read a label/font name zone
Definition: FreeHandParser.cxx:1570
FreeHandParser::flushExtra
void flushExtra()
sends the data which have not yet been sent to the listener
Definition: FreeHandParser.cxx:3531
FreeHandParser::readRootGroup
bool readRootGroup(int zId)
try to read the list of group
Definition: FreeHandParser.cxx:1163
MWAWEntry::setBegin
void setBegin(long off)
sets the begin offset
Definition: MWAWEntry.hxx:56
MWAWGraphicShape::m_vertices
std::vector< MWAWVec2f > m_vertices
the list of vertices for lines or polygons
Definition: MWAWGraphicShape.hxx:201
FreeHandParserInternal::LineStyle::m_join
MWAWGraphicStyle::LineJoin m_join
the line join
Definition: FreeHandParser.cxx:207
FreeHandParserInternal::State::m_actualLayer
int m_actualLayer
the actual layer
Definition: FreeHandParser.cxx:457
MWAWParser::setGraphicListener
void setGraphicListener(MWAWGraphicListenerPtr &listener)
sets the graphic listener
Definition: MWAWParser.cxx:113
FreeHandParserInternal::LineStyle::m_colorId
int m_colorId
the color id
Definition: FreeHandParser.cxx:197
FreeHandParserInternal::Shape::m_id
int m_id
the zone id
Definition: FreeHandParser.cxx:322
MWAWParser::setVersion
void setVersion(int vers)
sets the document's version
Definition: MWAWParser.hxx:206
M_PI
#define M_PI
Definition: libmwaw_internal.hxx:49
MWAWGraphicStyle::Pattern::m_dim
MWAWVec2i m_dim
the dimension width x height
Definition: MWAWGraphicStyle.hxx:242
MWAWEntry::length
long length() const
returns the length of the zone
Definition: MWAWEntry.hxx:82
MWAWPictData.hxx
FreeHandParser::readPictureZone
bool readPictureZone(int zId)
try to read a picture node
Definition: FreeHandParser.cxx:2377
FreeHandParserInternal::Z_Fill
@ Z_Fill
Definition: FreeHandParser.cxx:65
MWAWGraphicShape::Path
@ Path
Definition: MWAWGraphicShape.hxx:49
FreeHandParserInternal::Z_Shape
@ Z_Shape
Definition: FreeHandParser.cxx:66
FreeHandParserInternal::Textbox::m_isSent
bool m_isSent
flag to known if a shape is sent
Definition: FreeHandParser.cxx:398
FreeHandParserInternal::Shape::m_picture
MWAWEntry m_picture
the picture entry
Definition: FreeHandParser.cxx:349
FreeHandParser::readScreenMode
bool readScreenMode(FreeHandParserInternal::ScreenMode &screen)
try to read a special scren mode
Definition: FreeHandParser.cxx:1689
MWAWGraphicShape::m_type
Type m_type
the type
Definition: MWAWGraphicShape.hxx:191
FreeHandParserInternal::Textbox::m_scalings
MWAWVec2f m_scalings
the horizontal/vertical scalings
Definition: FreeHandParser.cxx:388
FreeHandParser::sendPicture
bool sendPicture(FreeHandParserInternal::Shape const &picture, MWAWTransformation const &transform)
try to send a picture
Definition: FreeHandParser.cxx:3354
MWAWVec2< float >
FreeHandParserInternal::Font::m_nameId
int m_nameId
the font name id
Definition: FreeHandParser.cxx:365
MWAWFont::size
float size() const
returns the font size
Definition: MWAWFont.hxx:249
MWAWGraphicListener.hxx
FreeHandParser::readTransformGroup
bool readTransformGroup(int zId)
try to read a node which contain the group transformation
Definition: FreeHandParser.cxx:1435
MWAWGraphicShape.hxx
libmwaw::ParseException
Definition: libmwaw_internal.hxx:142
MWAWDebug.hxx
FreeHandParserInternal::ScreenMode
struct which defines the screen parameters in FreeHandParserInternal
Definition: FreeHandParser.cxx:70
FreeHandParser::readPostscriptStyle
bool readPostscriptStyle(int zId)
try to read a postscript zone
Definition: FreeHandParser.cxx:2266
MWAWHeader
a function used by MWAWDocument to store the version of document
Definition: MWAWHeader.hxx:57
MWAWEntry::begin
long begin() const
returns the begin offset
Definition: MWAWEntry.hxx:72
MWAWTransformation::rotation
static MWAWTransformation rotation(float angle, MWAWVec2f const &center=MWAWVec2f(0, 0))
returns a rotation transformation around center.
Definition: libmwaw_internal.cxx:635
MWAWEntry::setLength
void setLength(long l)
sets the zone size
Definition: MWAWEntry.hxx:61
MWAWParser::getPageSpan
MWAWPageSpan const & getPageSpan() const
returns the actual page dimension
Definition: MWAWParser.hxx:160
FreeHandParserInternal::Shape::m_type
Type m_type
the type
Definition: FreeHandParser.cxx:324
FreeHandParser::readLineStyle
bool readLineStyle(int zId)
try to read a line style zone
Definition: FreeHandParser.cxx:2123
MWAWGraphicStyle::setPattern
void setPattern(Pattern const &pat, float opacity=1)
set the pattern
Definition: MWAWGraphicStyle.hxx:293
FreeHandParserInternal::Z_Dash
@ Z_Dash
Definition: FreeHandParser.cxx:65
MWAWGraphicParser
virtual class which defines the ancestor of all graphic zone parser
Definition: MWAWParser.hxx:251
FreeHandParser::readShape
bool readShape(int zId)
try to read a shape
Definition: FreeHandParser.cxx:2459
MWAWColor::black
static MWAWColor black()
return the back color
Definition: libmwaw_internal.hxx:226
MWAWBox2f
MWAWBox2< float > MWAWBox2f
MWAWBox2 of float.
Definition: libmwaw_internal.hxx:1134
FreeHandParserInternal::StyleHeader::m_screen
MWAWVariable< ScreenMode > m_screen
the screen mode
Definition: FreeHandParser.cxx:234
FreeHandParserInternal::Shape::m_transformation
MWAWTransformation m_transformation
the transformation
Definition: FreeHandParser.cxx:333
MWAWFont::setId
void setId(int newId)
sets the font id
Definition: MWAWFont.hxx:243
FreeHandParserInternal::Shape::updateShape
bool updateShape(MWAWGraphicShape &shape) const
try to returns a shape and position
Definition: FreeHandParser.cxx:256
FreeHandParserInternal::FillStyle
small structure of FreeHandParserInternal used to stored a fill style
Definition: FreeHandParser.cxx:167
FreeHandParserInternal::State::updateLineStyle
bool updateLineStyle(int zId, MWAWGraphicStyle &style) const
try to update the line style
Definition: FreeHandParser.cxx:513
MWAWGraphicStyle::G_Linear
@ G_Linear
Definition: MWAWGraphicStyle.hxx:55
FreeHandParserInternal::State::getZoneType
ZoneType getZoneType(int id) const
try to return a zone type
Definition: FreeHandParser.cxx:412
FreeHandParserInternal::Shape::Path
@ Path
Definition: FreeHandParser.cxx:245
MWAWGraphicStyle::GradientStop
a structure used to define the gradient limit in MWAWGraphicStyle
Definition: MWAWGraphicStyle.hxx:134
MWAWPageSpan::setMarginTop
void setMarginTop(const double marginTop)
set the page top margin
Definition: MWAWPageSpan.hxx:197
libmwaw::PrinterInfo::read
bool read(MWAWInputStreamPtr input)
reads the struture in a file
Definition: MWAWPrinter.cxx:218
FreeHandParserInternal::Z_PictureName
@ Z_PictureName
Definition: FreeHandParser.cxx:66
FreeHandParserInternal::Z_StyleGroup
@ Z_StyleGroup
Definition: FreeHandParser.cxx:66
FreeHandParserInternal::Shape::Ellipse
@ Ellipse
Definition: FreeHandParser.cxx:245
FreeHandParserInternal::Textbox::m_text
MWAWEntry m_text
the text data
Definition: FreeHandParser.cxx:394
FreeHandParser::readStyleGroup
bool readStyleGroup(int zId)
try to read a style group zone
Definition: FreeHandParser.cxx:1499
FreeHandParserInternal::State::State
State()
constructor
Definition: FreeHandParser.cxx:405
FreeHandParserInternal::ZoneType
ZoneType
the different zone type
Definition: FreeHandParser.cxx:65
MWAWGraphicStyle::Pattern::m_colors
MWAWColor m_colors[2]
the two indexed colors
Definition: MWAWGraphicStyle.hxx:245
MWAWParser::getParserState
MWAWParserStatePtr getParserState()
returns the parser state
Definition: MWAWParser.hxx:113
FreeHandParserInternal::ShapeHeader::m_extra
std::string m_extra
extra data
Definition: FreeHandParser.cxx:161
FreeHandParserInternal::Textbox
structure of FreeHandParserInternal used to stored a textbox
Definition: FreeHandParser.cxx:371
MWAWHeader.hxx
FreeHandParser::readJoinGroup
bool readJoinGroup(int zId)
try to read a join zone (used to put text around path)
Definition: FreeHandParser.cxx:1376
MWAWInputStreamPtr
shared_ptr< MWAWInputStream > MWAWInputStreamPtr
a smart pointer of MWAWInputStream
Definition: libmwaw_internal.hxx:503
MWAWEntry::end
long end() const
returns the end offset
Definition: MWAWEntry.hxx:77
FreeHandParserInternal::State::m_zIdToColorMap
std::map< int, MWAWColor > m_zIdToColorMap
the list zoneId to color
Definition: FreeHandParser.cxx:439
FreeHandParserInternal::StyleHeader::StyleHeader
StyleHeader()
constructor
Definition: FreeHandParser.cxx:214
MWAWFont::setSize
void setSize(float sz, bool isRelative=false)
sets the font size
Definition: MWAWFont.hxx:254
FreeHandParserInternal::ShapeHeader::ShapeHeader
ShapeHeader()
constructor
Definition: FreeHandParser.cxx:119
MWAWGraphicStyle::m_lineColor
MWAWColor m_lineColor
the line color
Definition: MWAWGraphicStyle.hxx:383
FreeHandParserInternal::FillStyle::m_angle
float m_angle
the angle
Definition: FreeHandParser.cxx:180
MWAWGraphicStyle::C_Square
@ C_Square
Definition: MWAWGraphicStyle.hxx:51
MWAWBox2i
MWAWBox2< int > MWAWBox2i
MWAWBox2 of int.
Definition: libmwaw_internal.hxx:1132
FreeHandParserInternal::StyleHeader::m_unknownValue
int m_unknownValue
the first unknown value
Definition: FreeHandParser.cxx:236
MWAWTransformation::translation
static MWAWTransformation translation(MWAWVec2f const &trans)
returns a translation transformation
Definition: libmwaw_internal.hxx:1251
FreeHandParserInternal::ShapeHeader
small structure of FreeHandParserInternal used to stored a shape header
Definition: FreeHandParser.cxx:117
FreeHandParser::readTextboxV1
bool readTextboxV1(int zId)
try to read a textbox zone: version 1
Definition: FreeHandParser.cxx:2664
MWAWBox2::center
MWAWVec2< T > center() const
the box center
Definition: libmwaw_internal.hxx:1013
MWAWGraphicStyle.hxx
MWAWFont::italicBit
@ italicBit
Definition: MWAWFont.hxx:182
MWAWGraphicStyle::C_Round
@ C_Round
Definition: MWAWGraphicStyle.hxx:51
FreeHandParserInternal::ScreenMode::m_function
int m_function
the function
Definition: FreeHandParser.cxx:105
FreeHandParserInternal::Shape
small structure of FreeHandParserInternal used to stored a shape
Definition: FreeHandParser.cxx:243
MWAWParser::getInput
MWAWInputStreamPtr & getInput()
returns the actual input
Definition: MWAWParser.hxx:123
MWAWGraphicStyle::LineCap
LineCap
an enum used to define the basic line cap
Definition: MWAWGraphicStyle.hxx:51
FreeHandParserInternal::ShapeHeader::m_dataId
int m_dataId
the data id (used to store a note, ...)
Definition: FreeHandParser.cxx:153
FreeHandParserInternal::Shape::m_vertices
std::vector< MWAWVec2f > m_vertices
the list of point for path: 3 Vec2f defining each point
Definition: FreeHandParser.cxx:339
FreeHandParserInternal::State::m_zIdToDashMap
std::map< int, std::vector< float > > m_zIdToDashMap
the list zoneId to dash
Definition: FreeHandParser.cxx:441
FreeHandParserInternal::State::m_transform
MWAWTransformation m_transform
the main transformation
Definition: FreeHandParser.cxx:435
FreeHandParser::sendGroup
bool sendGroup(FreeHandParserInternal::Shape const &group, MWAWTransformation const &transform)
try to send a group shape
Definition: FreeHandParser.cxx:3270
MWAWTransformation::isIdentity
bool isIdentity() const
returns true if the matrix is an identity matrix
Definition: libmwaw_internal.hxx:1148
FreeHandParserInternal::Textbox::m_box
MWAWBox2f m_box
the main box
Definition: FreeHandParser.cxx:382
FreeHandParserInternal::Font::Font
Font()
constructor
Definition: FreeHandParser.cxx:359
FreeHandParser::readFillStyle
bool readFillStyle(int zId)
try to read a fill zone
Definition: FreeHandParser.cxx:1940
MWAWPosition::Page
@ Page
Definition: MWAWPosition.hxx:51
FreeHandParser::createZones
bool createZones()
finds the different objects zones
Definition: FreeHandParser.cxx:716
MWAWSubDocument::m_parser
MWAWParser * m_parser
the main zone parser
Definition: MWAWSubDocument.hxx:75
MWAWParagraph::JustificationFull
@ JustificationFull
Definition: MWAWParagraph.hxx:87
FreeHandParserInternal::Shape::m_childs
std::vector< int > m_childs
the list of child (for group and join group )
Definition: FreeHandParser.cxx:347
MWAWParagraph::JustificationRight
@ JustificationRight
Definition: MWAWParagraph.hxx:88
MWAWTransformation
a transformation which stored the first row of a 3x3 perspective matrix
Definition: libmwaw_internal.hxx:1140
MWAWParser::getPageLength
double getPageLength() const
returns the page length (form length without margin )
Definition: MWAWParser.hxx:180
MWAWBox2::min
MWAWVec2< T > const & min() const
the minimum 2D point (in x and in y)
Definition: libmwaw_internal.hxx:980
libmwaw::DebugFile::addPos
void addPos(long pos)
adds a new position in the file
Definition: MWAWDebug.cxx:53
libmwaw::DebugFile::setStream
void setStream(MWAWInputStreamPtr ip)
resets the input
Definition: MWAWDebug.hxx:73
MWAWGraphicStyle::m_lineJoin
LineJoin m_lineJoin
the line join
Definition: MWAWGraphicStyle.hxx:379
MWAWGraphicStyle::m_lineDashWidth
std::vector< float > m_lineDashWidth
the dash array: a sequence of (fullsize, emptysize)
Definition: MWAWGraphicStyle.hxx:373
FreeHandParser::readGroupV1
bool readGroupV1(int zId)
try to read a group zone: version 1
Definition: FreeHandParser.cxx:1246
FreeHandParserInternal::Shape::m_layerId
int m_layerId
the layer
Definition: FreeHandParser.cxx:326
MWAWPageSpan::setMarginRight
void setMarginRight(const double marginRight)
set the page right margin
Definition: MWAWPageSpan.hxx:192
MWAWTransformation::scale
static MWAWTransformation scale(MWAWVec2f const &trans)
returns a scaling transformation
Definition: libmwaw_internal.hxx:1256
MWAWEntry::valid
bool valid() const
returns true if the zone length is positive
Definition: MWAWEntry.hxx:88
MWAWVec3f
MWAWVec3< float > MWAWVec3f
MWAWVec3 of float.
Definition: libmwaw_internal.hxx:962
FreeHandParserInternal::Z_Group
@ Z_Group
Definition: FreeHandParser.cxx:65
MWAWRSRCParserPtr
shared_ptr< MWAWRSRCParser > MWAWRSRCParserPtr
a smart pointer of MWAWRSRCParser
Definition: libmwaw_internal.hxx:513
FreeHandParserInternal::Shape::m_closed
bool m_closed
a flag to know if a path is closed
Definition: FreeHandParser.cxx:341
FreeHandParserInternal::Shape::Type
Type
the different type
Definition: FreeHandParser.cxx:245
FreeHandParserInternal::SubDocument::SubDocument
SubDocument(SubDocument const &orig)
FreeHandParser::readBackgroundPicture
bool readBackgroundPicture(int zId)
try to read a background picture zone
Definition: FreeHandParser.cxx:2338
FreeHandParserInternal::Z_Data
@ Z_Data
Definition: FreeHandParser.cxx:65
FreeHandParserInternal::ShapeHeader::m_type
int m_type
the zone type
Definition: FreeHandParser.cxx:149
MWAWBox2::size
MWAWVec2< T > size() const
the box size
Definition: libmwaw_internal.hxx:1008
FreeHandParserInternal::Shape::m_joinDistance
float m_joinDistance
the join distance
Definition: FreeHandParser.cxx:345
FreeHandParserInternal::LineStyle
small structure of FreeHandParserInternal used to stored a line style
Definition: FreeHandParser.cxx:188
FreeHandParserInternal::ShapeHeader::m_screen
MWAWVariable< ScreenMode > m_screen
the screen mode
Definition: FreeHandParser.cxx:157
FreeHandParserInternal::Shape::m_box
MWAWBox2f m_box
the main box (for line, rectangle, ellipse)
Definition: FreeHandParser.cxx:335
FreeHandParserInternal::Z_FillGroup
@ Z_FillGroup
Definition: FreeHandParser.cxx:65
FreeHandParser::m_state
shared_ptr< FreeHandParserInternal::State > m_state
the state
Definition: FreeHandParser.hxx:165
FreeHandParserInternal::Textbox::m_layerId
int m_layerId
the layer id
Definition: FreeHandParser.cxx:380
FreeHandParserInternal::StyleHeader
small structure of FreeHandParserInternal used to stored a style header
Definition: FreeHandParser.cxx:212
FreeHandParserInternal::ShapeHeader::m_note
std::string m_note
the note
Definition: FreeHandParser.cxx:151
MWAWGraphicStyle::m_gradientAngle
float m_gradientAngle
the gradient angle
Definition: MWAWGraphicStyle.hxx:404
FreeHandParser::FreeHandParser
FreeHandParser(MWAWInputStreamPtr input, MWAWRSRCParserPtr rsrcParser, MWAWHeader *header)
constructor
Definition: FreeHandParser.cxx:640
MWAWInputStream.hxx
FreeHandParserInternal::Textbox::Textbox
Textbox(int id)
constructor
Definition: FreeHandParser.cxx:373
MWAWHeader::reset
void reset(MWAWDocument::Type type, int vers, Kind kind=MWAWDocument::MWAW_K_TEXT)
resets the data
Definition: MWAWHeader.hxx:82
MWAWGraphicStyle::GradientType
GradientType
an enum used to define the gradient type
Definition: MWAWGraphicStyle.hxx:55
MWAWFont.hxx
MWAWPosition::m_anchorTo
AnchorTo m_anchorTo
anchor position
Definition: MWAWPosition.hxx:254
MWAWGraphicStyle::m_rotate
float m_rotate
the rotation
Definition: MWAWGraphicStyle.hxx:421
FreeHandParserInternal::State::m_zIdToDataMap
std::map< int, MWAWEntry > m_zIdToDataMap
the list zoneId to data map
Definition: FreeHandParser.cxx:443
MWAWPictBitmap.hxx
FreeHandParserInternal::Textbox::m_transformation
MWAWTransformation m_transformation
the transformation
Definition: FreeHandParser.cxx:384
MWAWPageSpan::setMargins
void setMargins(double margin, int wh=libmwaw::LeftBit|libmwaw::RightBit|libmwaw::TopBit|libmwaw::BottomBit)
set all the margins
Definition: MWAWPageSpan.hxx:207
MWAWVec3
small class which defines a vector with 3 elements
Definition: libmwaw_internal.hxx:791
FreeHandParserInternal::FillStyle::m_pattern
MWAWGraphicStyle::Pattern m_pattern
the pattern
Definition: FreeHandParser.cxx:178
MWAWBox2< float >
FreeHandParserInternal::Z_Note
@ Z_Note
Definition: FreeHandParser.cxx:66
MWAWFont
Class to store font.
Definition: MWAWFont.hxx:44
FreeHandParserInternal::SubDocument::operator==
virtual bool operator==(MWAWSubDocument const &doc) const
operator!==
Definition: FreeHandParser.cxx:603
MWAWBox2::max
MWAWVec2< T > const & max() const
the maximum 2D point (in x and in y)
Definition: libmwaw_internal.hxx:985
MWAWGraphicShape::PathData
a simple path component
Definition: MWAWGraphicShape.hxx:53
MWAWGraphicShape::rectangle
static MWAWGraphicShape rectangle(MWAWBox2f const &box, MWAWVec2f const &corners=MWAWVec2f(0, 0))
static constructor to create a rectangle
Definition: MWAWGraphicShape.hxx:103
FreeHandParserInternal::Z_DashGroup
@ Z_DashGroup
Definition: FreeHandParser.cxx:65
FreeHandParserInternal::Shape::Line
@ Line
Definition: FreeHandParser.cxx:245
FreeHandParserInternal::Shape::m_fillId
int m_fillId
the fill id
Definition: FreeHandParser.cxx:330
FreeHandParserInternal::Z_Picture
@ Z_Picture
Definition: FreeHandParser.cxx:66
MWAWPageSpan::LANDSCAPE
@ LANDSCAPE
Definition: MWAWPageSpan.hxx:99
FreeHandParserInternal::Shape::JoinGroup
@ JoinGroup
Definition: FreeHandParser.cxx:245
FreeHandParserInternal::Textbox::m_posToFontMap
std::map< int, Font > m_posToFontMap
map char pos to font
Definition: FreeHandParser.cxx:396
FreeHandParserInternal::Font::m_colorId
int m_colorId
the font color id
Definition: FreeHandParser.cxx:367
FreeHandParserInternal::StyleHeader::m_size
long m_size
a field related to the zone size
Definition: FreeHandParser.cxx:228
MWAWVec2i
MWAWVec2< int > MWAWVec2i
MWAWVec2 of int.
Definition: libmwaw_internal.hxx:781
libmwaw::DebugStream
std::stringstream DebugStream
a basic stream (if debug_with_files is not defined, does nothing)
Definition: MWAWDebug.hxx:61
MWAWListenerPtr
shared_ptr< MWAWListener > MWAWListenerPtr
a smart pointer of MWAWListener
Definition: libmwaw_internal.hxx:505
MWAWParser.hxx
FreeHandParserInternal::Shape::BackgroundPicture
@ BackgroundPicture
Definition: FreeHandParser.cxx:245
MWAWParser::resetGraphicListener
void resetGraphicListener()
resets the listener
Definition: MWAWParser.cxx:118
FreeHandParserInternal::State::updateFillStyle
bool updateFillStyle(int zId, MWAWGraphicStyle &style) const
try to update the fill style
Definition: FreeHandParser.cxx:464
MWAWSubDocument::m_input
shared_ptr< MWAWInputStream > m_input
the input
Definition: MWAWSubDocument.hxx:77
MWAWPageSpan
A class which defines the page properties.
Definition: MWAWPageSpan.hxx:96
MWAWColor::colorFromCMYK
static MWAWColor colorFromCMYK(unsigned char c, unsigned char m, unsigned char y, unsigned char k)
return a color from a cmyk color ( basic)
Definition: libmwaw_internal.hxx:199
FreeHandParserInternal::State::m_zIdToShapeMap
std::map< int, Shape > m_zIdToShapeMap
the list zoneId to shape
Definition: FreeHandParser.cxx:453
FreeHandParser::readDataZone
bool readDataZone(int zId)
try to read a data zone
Definition: FreeHandParser.cxx:3136
FreeHandParser::sendTextbox
bool sendTextbox(FreeHandParserInternal::Textbox const &textbox, MWAWTransformation const &transform)
try to send a basic textbox
Definition: FreeHandParser.cxx:3427
MWAWGraphicListener
This class contains the code needed to create Graphic document.
Definition: MWAWGraphicListener.hxx:60
MWAWFont::setFlags
void setFlags(uint32_t fl)
sets the font attributes bold, ...
Definition: MWAWFont.hxx:304

Generated on Wed Jun 17 2020 06:30:09 for libmwaw by doxygen 1.8.18