SuperPaintParser.hxx Source File documentation

SuperPaintParser.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 SUPERPAINT_PARSER
35 # define SUPERPAINT_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 SuperPaintParserInternal
48 {
49 struct Shape;
50 struct State;
51
52 class SubDocument;
53 }
54
58 class SuperPaintParser final : public MWAWGraphicParser
59 {
60 friend class SuperPaintParserInternal::SubDocument;
61 public:
63 SuperPaintParser(MWAWInputStreamPtr const &input, MWAWRSRCParserPtr const &rsrcParser, MWAWHeader *header);
65 ~SuperPaintParser() final;
66
68 bool checkHeader(MWAWHeader *header, bool strict=false) final;
69
70 // the main parse function
71 void parse(librevenge::RVNGDrawingInterface *documentInterface) final;
72
73 protected:
75 void init();
76
78 void createDocument(librevenge::RVNGDrawingInterface *documentInterface);
79
80 protected:
82 bool createZones();
83
84 // Intermediate level
85
87 bool readPrintInfo();
89 bool readHeader();
90
92 bool readPictures();
94 bool sendPictures();
96 bool readBitmap(bool onlyCheck=false);
98 bool sendBitmap();
99
100 //
101 // low level
102 //
103
105 bool readShape();
107 bool sendText(int id);
108
109 //
110 // data
111 //
113 std::shared_ptr<SuperPaintParserInternal::State> m_state;
114 };
115 #endif
116 // vim: set filetype=cpp tabstop=2 shiftwidth=2 cindent autoindent smartindent noexpandtab:
MWAWEntry
basic class to store an entry in a file This contained :
Definition: MWAWEntry.hxx:46
MWAWParagraph::m_justify
MWAWVariable< Justification > m_justify
the justification
Definition: MWAWParagraph.hxx:167
SuperPaintParserInternal::SubDocument::~SubDocument
~SubDocument() final
destructor
Definition: SuperPaintParser.cxx:186
MWAWInputStreamPtr
std::shared_ptr< MWAWInputStream > MWAWInputStreamPtr
a smart pointer of MWAWInputStream
Definition: libmwaw_internal.hxx:551
MWAWFont::setFont
void setFont(int newId)
sets the font id and resets size to the previous size for this font
Definition: MWAWFont.hxx:252
MWAWGraphicListenerPtr
std::shared_ptr< MWAWGraphicListener > MWAWGraphicListenerPtr
a smart pointer of MWAWGraphicListener
Definition: libmwaw_internal.hxx:549
SuperPaintParser::sendText
bool sendText(int id)
try to send a text box content
Definition: SuperPaintParser.cxx:391
SuperPaintParser::parse
void parse(librevenge::RVNGDrawingInterface *documentInterface) final
virtual function used to parse the input
Definition: SuperPaintParser.cxx:254
MWAWPageSpan::setPageSpan
void setPageSpan(const int pageSpan)
set the page span ( default 1)
Definition: MWAWPageSpan.hxx:268
SuperPaintParser::createZones
bool createZones()
finds the different objects zones
Definition: SuperPaintParser.cxx:308
MWAW_DEBUG_MSG
#define MWAW_DEBUG_MSG(M)
Definition: libmwaw_internal.hxx:129
MWAWDocument::MWAW_T_SUPERPAINT
@ MWAW_T_SUPERPAINT
SuperPaint: export drawing and paint v1 document.
Definition: MWAWDocument.hxx:150
MWAWVec2f
MWAWVec2< float > MWAWVec2f
MWAWVec2 of float.
Definition: libmwaw_internal.hxx:842
SuperPaintParser::init
void init()
inits all internal variables
Definition: SuperPaintParser.cxx:241
libmwaw::DebugFile::addDelimiter
void addDelimiter(long pos, char c)
adds a not breaking delimiter in position pos
Definition: MWAWDebug.cxx:73
SuperPaintParserInternal::Shape::Type
Type
the type
Definition: SuperPaintParser.cxx:62
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:325
SuperPaintParserInternal::Shape::m_box
MWAWBox2f m_box
the bdbox
Definition: SuperPaintParser.cxx:80
SuperPaintParserInternal::Shape
Internal: the shape of a SuperPaintParser.
Definition: SuperPaintParser.cxx:60
MWAWPosition::setRelativePosition
void setRelativePosition(AnchorTo anchor, XPos X=XLeft, YPos Y=YTop)
sets the relative position
Definition: MWAWPosition.hxx:237
MWAWDocument::MWAW_K_PAINT
@ MWAW_K_PAINT
bitmap graphic
Definition: MWAWDocument.hxx:84
MWAWGraphicShape::pie
static MWAWGraphicShape pie(MWAWBox2f const &box, MWAWBox2f const &circleBox, MWAWVec2f const &angles)
static constructor to create a pie
Definition: MWAWGraphicShape.hxx:147
MWAWPosition::setPage
void setPage(int pg) const
sets the page
Definition: MWAWPosition.hxx:205
SuperPaintParser::readPictures
bool readPictures()
try to read the main picture zone(draw):
Definition: SuperPaintParser.cxx:443
MWAWFont::boldBit
@ boldBit
Definition: MWAWFont.hxx:190
SuperPaintParserInternal::SubDocument::operator!=
bool operator!=(MWAWSubDocument const &doc) const final
operator!=
Definition: SuperPaintParser.cxx:189
MWAWColor::white
static MWAWColor white()
return the white color
Definition: libmwaw_internal.hxx:250
MWAWFont::setColor
void setColor(MWAWColor color)
sets the font color
Definition: MWAWFont.hxx:341
libmwaw::DebugFile::open
bool open(std::string const &filename)
opens/creates a file to store a result
Definition: MWAWDebug.cxx:46
MWAWParagraph::setInterline
void setInterline(double value, librevenge::RVNGUnit unit, LineSpacingType type=Fixed)
set the interline
Definition: MWAWParagraph.hxx:129
SuperPaintParser.hxx
SuperPaintParser::sendBitmap
bool sendBitmap()
try to send a bitmap(paint)
Definition: SuperPaintParser.cxx:866
MWAWPageSpan::setMarginBottom
void setMarginBottom(const double marginBottom)
set the page bottom margin
Definition: MWAWPageSpan.hxx:208
MWAWGraphicShape
a structure used to define a picture shape
Definition: MWAWGraphicShape.hxx:45
MWAWColor
the class to store a color
Definition: libmwaw_internal.hxx:192
MWAWEmbeddedObject
small class use to define a embedded object
Definition: libmwaw_internal.hxx:467
SuperPaintParserInternal::State::m_kind
MWAWDocument::Kind m_kind
the file type
Definition: SuperPaintParser.cxx:133
MWAWGraphicShape::line
static MWAWGraphicShape line(MWAWVec2f const &orign, MWAWVec2f const &dest)
static constructor to create a line
Definition: MWAWGraphicShape.cxx:228
MWAWDocument::Kind
Kind
an enum to define the kind of document
Definition: MWAWDocument.hxx:80
MWAWPrinter.hxx
SuperPaintParser::readHeader
bool readHeader()
try to the header zone
Definition: SuperPaintParser.cxx:1118
MWAWDocument::MWAW_K_DRAW
@ MWAW_K_DRAW
vectorized grphic
Definition: MWAWDocument.hxx:83
MWAWParagraph
class to store the paragraph properties
Definition: MWAWParagraph.hxx:84
MWAWPageSpan::setMarginLeft
void setMarginLeft(const double marginLeft)
set the page left margin
Definition: MWAWPageSpan.hxx:193
MWAWFont::Line::Simple
@ Simple
Definition: MWAWFont.hxx:49
SuperPaintParserInternal::SubDocument::SubDocument
SubDocument(SuperPaintParser &pars, MWAWInputStreamPtr const &input, int zoneId)
Definition: SuperPaintParser.cxx:179
MWAWPictData::get
static MWAWPictData * get(MWAWInputStreamPtr const &input, int size)
checks if the data pointed by input is known
Definition: MWAWPictData.hxx:108
libmwaw::PrinterInfo
the AppleŠ printer information : TPrint
Definition: MWAWPrinter.hxx:82
SuperPaintParser::readBitmap
bool readBitmap(bool onlyCheck=false)
try to read a bitmap(paint): 576*720
Definition: SuperPaintParser.cxx:886
MWAWPageSpan::getPageWidth
double getPageWidth() const
returns the page width (form width without margin )
Definition: MWAWPageSpan.hxx:157
libmwaw::DebugFile::addNote
void addNote(char const *note)
adds a note in the file, in actual position
Definition: MWAWDebug.cxx:59
MWAWSubDocument
abstract class used to store a subdocument (with a comparison function)
Definition: MWAWSubDocument.hxx:41
MWAWGraphicStyle
a structure used to define a picture style
Definition: MWAWGraphicStyle.hxx:47
MWAWPageSpan::getMarginLeft
double getMarginLeft() const
returns the left margin
Definition: MWAWPageSpan.hxx:132
MWAWParser::ascii
libmwaw::DebugFile & ascii()
a DebugFile used to write what we recognize when we parse the document
Definition: MWAWParser.hxx:195
SuperPaintParserInternal::Shape::Picture
@ Picture
Definition: SuperPaintParser.cxx:62
MWAWFont::embossBit
@ embossBit
Definition: MWAWFont.hxx:190
SuperPaintParser::readPrintInfo
bool readPrintInfo()
try to read the print info zone
Definition: SuperPaintParser.cxx:1164
MWAWGraphicShape::circle
static MWAWGraphicShape circle(MWAWBox2f const &box)
static constructor to create a circle
Definition: MWAWGraphicShape.hxx:129
SuperPaintParser::~SuperPaintParser
~SuperPaintParser() final
destructor
Definition: SuperPaintParser.cxx:237
MWAWGraphicStyle::Pattern
a basic pattern used in a MWAWGraphicStyle:
Definition: MWAWGraphicStyle.hxx:180
MWAWSubDocument.hxx
MWAWPageSpan::setFormLength
void setFormLength(const double formLength)
set the total page length
Definition: MWAWPageSpan.hxx:178
MWAWGraphicShape::Polygon
@ Polygon
Definition: MWAWGraphicShape.hxx:49
SuperPaintParserInternal::operator<<
std::ostream & operator<<(std::ostream &o, Shape const &shape)
Definition: SuperPaintParser.cxx:95
libmwaw::SubDocumentType
SubDocumentType
Definition: libmwaw_internal.hxx:188
MWAWSubDocument::m_input
std::shared_ptr< MWAWInputStream > m_input
the input
Definition: MWAWSubDocument.hxx:77
libmwaw::DebugFile::reset
void reset()
writes the current file and reset to zero
Definition: MWAWDebug.hxx:93
SuperPaintParserInternal::State
Internal: the state of a SuperPaintParser.
Definition: SuperPaintParser.cxx:122
MWAWPageSpan::getMarginRight
double getMarginRight() const
returns the right margin
Definition: MWAWPageSpan.hxx:137
MWAWParagraph::JustificationCenter
@ JustificationCenter
Definition: MWAWParagraph.hxx:90
MWAWGraphicStyle::emptyStyle
static MWAWGraphicStyle emptyStyle()
returns an empty style.
Definition: MWAWGraphicStyle.hxx:311
MWAWParagraph::Justification
Justification
an enum used to defined the paragraph justification: left, center, right, full ...
Definition: MWAWParagraph.hxx:90
MWAWFont::shadowBit
@ shadowBit
Definition: MWAWFont.hxx:191
MWAWParser::setAsciiName
void setAsciiName(char const *name)
Debugging: change the default ascii file.
Definition: MWAWParser.hxx:227
MWAWParagraph.hxx
libmwaw::DebugFile::skipZone
void skipZone(long beginPos, long endPos)
skips the file zone defined by beginPos-endPos
Definition: MWAWDebug.hxx:113
SuperPaintParserInternal::Shape::Shape
Shape(Type type, MWAWBox2f const &box)
constructor
Definition: SuperPaintParser.cxx:64
SuperPaintParserInternal::Shape::Group
@ Group
Definition: SuperPaintParser.cxx:62
MWAWVec2::y
T y() const
second element
Definition: libmwaw_internal.hxx:673
SuperPaintParserInternal::Shape::m_font
MWAWFont m_font
the textbox font
Definition: SuperPaintParser.cxx:88
MWAWParser::getPageSpan
const MWAWPageSpan & getPageSpan() const
returns the actual page dimension
Definition: MWAWParser.hxx:160
MWAWGraphicStyle::m_lineWidth
float m_lineWidth
the linewidth
Definition: MWAWGraphicStyle.hxx:418
MWAWPageSpan::setFormWidth
void setFormWidth(const double formWidth)
set the total page width
Definition: MWAWPageSpan.hxx:183
MWAWPosition.hxx
MWAWDocument
This class provides all the functions needed by applications to parse many pre-MacOSX documents.
Definition: MWAWDocument.hxx:69
SuperPaintParserInternal::SubDocument::parse
void parse(MWAWListenerPtr &listener, libmwaw::SubDocumentType type) final
the parser function
Definition: SuperPaintParser.cxx:209
MWAWVec2::x
T x() const
first element
Definition: libmwaw_internal.hxx:668
MWAWPosition
Class to define the position of an object (textbox, picture, ..) in the document.
Definition: MWAWPosition.hxx:47
SuperPaintParserInternal::SubDocument::operator=
SubDocument & operator=(SubDocument const &orig)=delete
MWAWColor::isBlack
bool isBlack() const
return true if the color is black
Definition: libmwaw_internal.hxx:284
SuperPaintParserInternal::Shape::m_interline
double m_interline
the interline in percent
Definition: SuperPaintParser.cxx:92
MWAWParser::setGraphicListener
void setGraphicListener(MWAWGraphicListenerPtr &listener)
sets the graphic listener
Definition: MWAWParser.cxx:125
MWAWParser::asciiName
const std::string & asciiName() const
return the ascii file name
Definition: MWAWParser.hxx:232
MWAWParser::setVersion
void setVersion(int vers)
sets the document's version
Definition: MWAWParser.hxx:206
M_PI
#define M_PI
Definition: libmwaw_internal.hxx:52
MWAWGraphicStyle::Pattern::m_dim
MWAWVec2i m_dim
the dimension width x height
Definition: MWAWGraphicStyle.hxx:261
MWAWRSRCParserPtr
std::shared_ptr< MWAWRSRCParser > MWAWRSRCParserPtr
a smart pointer of MWAWRSRCParser
Definition: libmwaw_internal.hxx:561
MWAWPageSpan::getPageLength
double getPageLength() const
returns the page length (form width without margin )
Definition: MWAWPageSpan.hxx:152
MWAWPosition::m_wrapping
Wrapping m_wrapping
Wrapping.
Definition: MWAWPosition.hxx:278
MWAWPictData.hxx
SuperPaintParserInternal::State::getColor
static bool getColor(int id, MWAWColor &color)
try to return the color corresponding to an id
Definition: SuperPaintParser.cxx:140
libmwaw::DebugFile::setStream
void setStream(MWAWInputStreamPtr const &ip)
resets the input
Definition: MWAWDebug.hxx:81
MWAWVec2< float >
MWAWGraphicListener.hxx
MWAWGraphicShape.hxx
libmwaw::ParseException
Definition: libmwaw_internal.hxx:143
MWAWDebug.hxx
MWAWFont::getDebugString
std::string getDebugString(std::shared_ptr< MWAWFontConverter > &converter) const
returns a string which can be used for debugging
Definition: MWAWFont.cxx:181
MWAWHeader
a function used by MWAWDocument to store the version of document
Definition: MWAWHeader.hxx:56
MWAWGraphicStyle::setPattern
void setPattern(Pattern const &pat, float opacity=1)
set the pattern
Definition: MWAWGraphicStyle.hxx:336
SuperPaintParser::SuperPaintParser
SuperPaintParser(MWAWInputStreamPtr const &input, MWAWRSRCParserPtr const &rsrcParser, MWAWHeader *header)
constructor
Definition: SuperPaintParser.cxx:230
MWAWGraphicParser
virtual class which defines the ancestor of all graphic zone parser
Definition: MWAWParser.hxx:250
MWAWColor::black
static MWAWColor black()
return the back color
Definition: libmwaw_internal.hxx:245
SuperPaintParserInternal::SubDocument::m_id
int m_id
the subdocument id
Definition: SuperPaintParser.cxx:203
MWAWFont::setId
void setId(int newId)
sets the font id
Definition: MWAWFont.hxx:264
SuperPaintParserInternal::Shape::m_shape
MWAWGraphicShape m_shape
the graphic shape
Definition: SuperPaintParser.cxx:84
MWAWPageSpan::setMarginTop
void setMarginTop(const double marginTop)
set the page top margin
Definition: MWAWPageSpan.hxx:203
libmwaw::PrinterInfo::read
bool read(MWAWInputStreamPtr input)
reads the struture in a file
Definition: MWAWPrinter.cxx:235
MWAWParser::getParserState
MWAWParserStatePtr getParserState()
returns the parser state
Definition: MWAWParser.hxx:113
MWAWHeader.hxx
SuperPaintParserInternal::Shape::GraphicShape
@ GraphicShape
Definition: SuperPaintParser.cxx:62
MWAWFont::setSize
void setSize(float sz, bool isRelative=false)
sets the font size
Definition: MWAWFont.hxx:275
MWAWGraphicStyle::m_lineColor
MWAWColor m_lineColor
the line color
Definition: MWAWGraphicStyle.hxx:426
SuperPaintParserInternal::SubDocument
Internal: the subdocument of a SuperPaintParser.
Definition: SuperPaintParser.cxx:176
SuperPaintParserInternal::Shape::operator<<
friend std::ostream & operator<<(std::ostream &o, Shape const &shape)
operator<<
Definition: SuperPaintParser.cxx:95
SuperPaintParser::checkHeader
bool checkHeader(MWAWHeader *header, bool strict=false) final
checks if the document header is correct (or not)
Definition: SuperPaintParser.cxx:1053
MWAWBox2::center
MWAWVec2< T > center() const
the box center
Definition: libmwaw_internal.hxx:1072
MWAWGraphicStyle.hxx
MWAWFont::italicBit
@ italicBit
Definition: MWAWFont.hxx:190
MWAWParser::getInput
MWAWInputStreamPtr & getInput()
returns the actual input
Definition: MWAWParser.hxx:123
MWAWPictBitmapIndexed
a bitmap of int to store indexed bitmap
Definition: MWAWPictBitmap.hxx:356
SuperPaintParser::readShape
bool readShape()
try to read a shape(draw):
Definition: SuperPaintParser.cxx:466
SuperPaintParserInternal::Shape::TextBox
@ TextBox
Definition: SuperPaintParser.cxx:62
MWAWPosition::Page
@ Page
Definition: MWAWPosition.hxx:51
MWAWSubDocument::m_parser
MWAWParser * m_parser
the main zone parser
Definition: MWAWSubDocument.hxx:75
SuperPaintParserInternal::State::m_shapeList
std::vector< Shape > m_shapeList
the list of shapes
Definition: SuperPaintParser.cxx:137
MWAWParagraph::JustificationRight
@ JustificationRight
Definition: MWAWParagraph.hxx:91
SuperPaintParser::createDocument
void createDocument(librevenge::RVNGDrawingInterface *documentInterface)
creates the listener which will be associated to the document
Definition: SuperPaintParser.cxx:285
SuperPaintParserInternal::State::State
State()
constructor
Definition: SuperPaintParser.cxx:124
libmwaw::DebugFile::addPos
void addPos(long pos)
adds a new position in the file
Definition: MWAWDebug.cxx:53
MWAWPageSpan::setMarginRight
void setMarginRight(const double marginRight)
set the page right margin
Definition: MWAWPageSpan.hxx:198
MWAWBox2::size
MWAWVec2< T > size() const
the box size
Definition: libmwaw_internal.hxx:1067
SuperPaintParser
the main class to read a SuperPaint v1 file (SPTG)
Definition: SuperPaintParser.hxx:58
SuperPaintParserInternal
Internal: the structures of a SuperPaintParser.
Definition: SuperPaintParser.cxx:56
MWAWInputStream.hxx
MWAWColor::isWhite
bool isWhite() const
return true if the color is white
Definition: libmwaw_internal.hxx:289
MWAWHeader::reset
void reset(MWAWDocument::Type type, int vers, Kind kind=MWAWDocument::MWAW_K_TEXT)
resets the data
Definition: MWAWHeader.hxx:84
MWAWListenerPtr
std::shared_ptr< MWAWListener > MWAWListenerPtr
a smart pointer of MWAWListener
Definition: libmwaw_internal.hxx:553
MWAWPosition::WNone
@ WNone
Definition: MWAWPosition.hxx:53
MWAWPosition::m_anchorTo
AnchorTo m_anchorTo
anchor position
Definition: MWAWPosition.hxx:270
librevenge
Definition: MWAWDocument.hxx:56
SuperPaintParserInternal::State::m_bitmap
std::shared_ptr< MWAWPict > m_bitmap
the bitmap (v1)
Definition: SuperPaintParser.cxx:135
SuperPaintParserInternal::Shape::m_style
MWAWGraphicStyle m_style
the graphic style
Definition: SuperPaintParser.cxx:86
MWAWPictBitmap.hxx
MWAWPageSpan::setMargins
void setMargins(double margin, int wh=libmwaw::LeftBit|libmwaw::RightBit|libmwaw::TopBit|libmwaw::BottomBit)
set all the margins
Definition: MWAWPageSpan.hxx:213
SuperPaintParserInternal::Shape::m_type
Type m_type
the shape type
Definition: SuperPaintParser.cxx:78
MWAWBox2< float >
MWAWFont
Class to store font.
Definition: MWAWFont.hxx:43
SuperPaintParserInternal::Shape::m_justify
MWAWParagraph::Justification m_justify
the textbox justification
Definition: SuperPaintParser.cxx:90
MWAWGraphicShape::rectangle
static MWAWGraphicShape rectangle(MWAWBox2f const &box, MWAWVec2f const &corners=MWAWVec2f(0, 0))
static constructor to create a rectangle
Definition: MWAWGraphicShape.hxx:120
SuperPaintParserInternal::Shape::m_entry
MWAWEntry m_entry
the picture/textbox entry
Definition: SuperPaintParser.cxx:82
SuperPaintParser::m_state
std::shared_ptr< SuperPaintParserInternal::State > m_state
the state
Definition: SuperPaintParser.hxx:113
SuperPaintParser::sendPictures
bool sendPictures()
try to send the different pictures
Definition: SuperPaintParser.cxx:339
MWAWVec2i
MWAWVec2< int > MWAWVec2i
MWAWVec2 of int.
Definition: libmwaw_internal.hxx:838
libmwaw::DebugStream
std::stringstream DebugStream
a basic stream (if debug_with_files is not defined, does nothing)
Definition: MWAWDebug.hxx:61
MWAWParser.hxx
MWAWFont::setUnderlineStyle
void setUnderlineStyle(Line::Style style=Line::None, bool doReset=true)
sets the underline style ( by default, we also reset the style)
Definition: MWAWFont.hxx:466
MWAWParser::resetGraphicListener
void resetGraphicListener()
resets the listener
Definition: MWAWParser.cxx:130
MWAWPageSpan
A class which defines the page properties.
Definition: MWAWPageSpan.hxx:98
MWAWGraphicListener
This class contains the code needed to create Graphic document.
Definition: MWAWGraphicListener.hxx:59
MWAWFont::setFlags
void setFlags(uint32_t fl)
sets the font attributes bold, ...
Definition: MWAWFont.hxx:325