Go to the documentation of this file.
34 #ifndef POWER_POINT1_PARSER
35 # define POWER_POINT1_PARSER
73 void parse(librevenge::RVNGPresentationInterface *documentInterface);
77 void createDocument(librevenge::RVNGPresentationInterface *documentInterface);
92 bool readFramesList(
MWAWEntry const &entry, std::vector<PowerPoint1ParserInternal::Frame> &frame,
int schemeId);
157 shared_ptr<PowerPoint1ParserInternal::State>
m_state;
virtual ~PowerPoint1Parser()
destructor
Definition: PowerPoint1Parser.cxx:359
std::vector< int > m_slidesIdList[2]
the list of slides ids: 0 (master, slide 1, slide 2, ...), 1 (handout slide)
Definition: PowerPoint1Parser.cxx:218
int m_rulerId
the ruler id
Definition: PowerPoint1Parser.cxx:316
basic class to store an entry in a file This contained :
Definition: MWAWEntry.hxx:47
MWAWVec2i size() const
returns the size
Definition: MWAWPrinter.hxx:56
@ Time
Definition: libmwaw_internal.hxx:371
MWAWVariable< Justification > m_justify
the justification
Definition: MWAWParagraph.hxx:161
int m_cornerSize
the corner width
Definition: PowerPoint1Parser.cxx:149
bool m_useMasterPage
a flag to know if we need to use the master page
Definition: PowerPoint1Parser.cxx:170
the outline
Definition: PowerPoint1Parser.cxx:65
@ LEFT
Definition: MWAWParagraph.hxx:48
MWAWFontConverterPtr & getFontConverter()
returns the font converter
Definition: MWAWParser.hxx:150
bool readZoneIdList2(MWAWEntry const &entry, int zId)
try to read a zone id list zone for v2 pc file
Definition: PowerPoint1Parser.cxx:1633
virtual bool operator==(MWAWSubDocument const &doc) const
operator!==
Definition: PowerPoint1Parser.cxx:300
shared_ptr< MWAWPresentationListener > MWAWPresentationListenerPtr
a smart pointer of MWAWPresentationListener
Definition: libmwaw_internal.hxx:511
@ PORTRAIT
Definition: MWAWPageSpan.hxx:99
bool readSlide(MWAWEntry const &entry, std::vector< int > &slideIds)
try to read a slide zone, update the list of slide ids
Definition: PowerPoint1Parser.cxx:1112
bool readSchemes()
try to read the schemes
Definition: PowerPoint1Parser.cxx:2153
@ Triple
Definition: libmwaw_internal.hxx:318
bool m_isMacFile
flag to know if the file is a mac file or a pc file
Definition: PowerPoint1Parser.cxx:200
Internal: a frame of a PowerPoint1Parser.
Definition: PowerPoint1Parser.cxx:139
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_margins[2]
the first margin and left margin
Definition: PowerPoint1Parser.cxx:88
void addDelimiter(long pos, char c)
adds a not breaking delimiter in position pos
Definition: MWAWDebug.cxx:73
SubDocument(PowerPoint1Parser &pars, MWAWInputStreamPtr input, Slide const *slide)
constructor for slide note
Definition: PowerPoint1Parser.cxx:281
Type m_type
the border repetition
Definition: libmwaw_internal.hxx:355
void setSurfaceColor(MWAWColor const &col, float opacity=1)
set the surface color
Definition: MWAWGraphicStyle.hxx:282
void add(librevenge::RVNGBinaryData const &binaryData, std::string type="image/pict")
add a picture
Definition: libmwaw_internal.hxx:448
MWAWBox2i m_dimension
the dimension
Definition: PowerPoint1Parser.cxx:147
the main class to read a Mac Microsoft PowerPoint v1, v2 files
Definition: PowerPoint1Parser.hxx:61
void setShadowColor(MWAWColor const &col, float opacity=1)
set the shadow color
Definition: MWAWGraphicStyle.hxx:325
void createDocument(librevenge::RVNGPresentationInterface *documentInterface)
creates the listener which will be associated to the document
Definition: PowerPoint1Parser.cxx:415
MWAWVariable< std::vector< MWAWTabStop > > m_tabs
the tabulations
Definition: MWAWParagraph.hxx:156
bool readFramesList(MWAWEntry const &entry, std::vector< PowerPoint1ParserInternal::Frame > &frame, int schemeId)
try to read a frame zone in a page
Definition: PowerPoint1Parser.cxx:694
bool isParsed() const
a flag to know if the entry was parsed or not
Definition: MWAWEntry.hxx:110
Internal: the structures of a PowerPoint1Parser.
Definition: PowerPoint1Parser.cxx:57
MWAWGraphicStyle m_style
the style
Definition: PowerPoint1Parser.cxx:151
bool readScheme(MWAWEntry const &entry, int id)
try to read a scheme
Definition: PowerPoint1Parser.cxx:2162
bool readColors(MWAWEntry const &entry)
try to read a color list
Definition: PowerPoint1Parser.cxx:1896
bool sendSlide(PowerPoint1ParserInternal::Slide const &slide, bool master)
try to send a slide
Definition: PowerPoint1Parser.cxx:2242
static Arrow plain()
returns a basic plain arrow
Definition: MWAWGraphicStyle.hxx:69
@ boldBit
Definition: MWAWFont.hxx:182
PrinterRect paper() const
returns the paper rectangle
Definition: MWAWPrinter.cxx:205
bool readTextZone(MWAWEntry const &entry, PowerPoint1ParserInternal::TextZone &zone)
try to read a text zone
Definition: PowerPoint1Parser.cxx:958
static MWAWColor white()
return the white color
Definition: libmwaw_internal.hxx:231
void setColor(MWAWColor color)
sets the font color
Definition: MWAWFont.hxx:320
bool open(std::string const &filename)
opens/creates a file to store a result
Definition: MWAWDebug.cxx:46
@ CENTER
Definition: MWAWParagraph.hxx:48
void setInterline(double value, librevenge::RVNGUnit unit, LineSpacingType type=Fixed)
set the interline
Definition: MWAWParagraph.hxx:123
MWAWParagraph::Justification m_justify
the justification
Definition: PowerPoint1Parser.cxx:121
int id() const
returns the id
Definition: MWAWEntry.hxx:153
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
the class to store a color
Definition: libmwaw_internal.hxx:182
small class use to define a embedded object
Definition: libmwaw_internal.hxx:425
bool empty() const
return true if the zone has no text
Definition: PowerPoint1Parser.cxx:126
MWAWVariable< double > m_spacings[3]
the line spacing
Definition: MWAWParagraph.hxx:150
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
Frame()
constructor
Definition: PowerPoint1Parser.cxx:141
bool readColorZone(MWAWEntry const &entry)
try to read a color zone, probably used to define the menu, ...
Definition: PowerPoint1Parser.cxx:1955
bool readPictureDefinition(MWAWEntry const &entry, size_t id)
try to read the picture definition: windows v2
Definition: PowerPoint1Parser.cxx:1483
int m_zoneIds[10]
the sequential zones id: picture list, ...
Definition: PowerPoint1Parser.cxx:228
a scheme of a PowerPoint1Parser
Definition: PowerPoint1Parser.cxx:98
TextZone()
constructor
Definition: PowerPoint1Parser.cxx:105
Line()
constructor
Definition: PowerPoint1Parser.cxx:111
class to store the paragraph properties
Definition: MWAWParagraph.hxx:82
void setFormOrientation(const FormOrientation formOrientation)
set the form orientation
Definition: MWAWPageSpan.hxx:182
void setMarginLeft(const double marginLeft)
set the page left margin
Definition: MWAWPageSpan.hxx:187
@ Simple
Definition: MWAWFont.hxx:49
std::vector< int > m_schemesIdList
the list of scheme id
Definition: PowerPoint1Parser.cxx:222
double m_width
the border total width in point
Definition: libmwaw_internal.hxx:357
int m_interlines[2]
the interline and paragraph spacing
Definition: PowerPoint1Parser.cxx:90
the AppleŠ printer information : TPrint
Definition: MWAWPrinter.hxx:82
float m_unit
the data unit: 1 if the file is a mac file, 1/8 if the file is a windows file
Definition: PowerPoint1Parser.cxx:202
void setParsed(bool ok=true) const
sets the flag m_parsed to true or false
Definition: MWAWEntry.hxx:115
bool readDocInfo(MWAWEntry const &entry)
try to read the document info zone
Definition: PowerPoint1Parser.cxx:1270
TextZone m_textZones[2]
the textzone: main's and note's zone
Definition: PowerPoint1Parser.cxx:166
std::vector< Line > m_lineList
the line list
Definition: PowerPoint1Parser.cxx:134
void addNote(char const *note)
adds a note in the file, in actual position
Definition: MWAWDebug.cxx:59
PowerPoint1Parser(MWAWInputStreamPtr input, MWAWRSRCParserPtr rsrcParser, MWAWHeader *header)
constructor
Definition: PowerPoint1Parser.cxx:353
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
MWAWVariable< double > m_margins[3]
the margins
Definition: MWAWParagraph.hxx:142
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
@ DECIMAL
Definition: MWAWParagraph.hxx:48
bool readListZones(int &docInfoId)
try to read the list of zones
Definition: PowerPoint1Parser.cxx:541
libmwaw::DebugFile & ascii()
a DebugFile used to write what we recognize when we parse the document
Definition: MWAWParser.hxx:195
@ embossBit
Definition: MWAWFont.hxx:182
SubDocument(SubDocument const &)
void resetPresentationListener()
resets the listener
Definition: MWAWParser.cxx:129
static MWAWGraphicShape circle(MWAWBox2f const &box)
static constructor to create a circle
Definition: MWAWGraphicShape.hxx:112
@ Date
Definition: libmwaw_internal.hxx:371
MWAWColor m_colors[8]
the color: back, foreground, accents
Definition: PowerPoint1Parser.cxx:100
void resetBorders()
reset the border
Definition: MWAWGraphicStyle.hxx:357
Internal: the subdocument of a PowerPointParser.
Definition: PowerPoint1Parser.cxx:275
std::string const & asciiName() const
return the ascii file name
Definition: MWAWParser.hxx:232
class to store a tab use by MWAWParagraph
Definition: MWAWParagraph.hxx:46
a basic pattern used in a MWAWGraphicStyle:
Definition: MWAWGraphicStyle.hxx:171
MWAWEntry m_badEntry
an entry used by getZoneEntry if it does not find the zone
Definition: PowerPoint1Parser.cxx:230
void setFormLength(const double formLength)
set the total page length
Definition: MWAWPageSpan.hxx:172
std::vector< int > m_picturesIdList
the list of pictures id
Definition: PowerPoint1Parser.cxx:220
void setMasterPageName(librevenge::RVNGString const &name)
set the page master name
Definition: MWAWPageSpan.hxx:237
@ MWAW_T_POWERPOINT
PowerPoint: v1-v4 and pc v2-v4,95.
Definition: MWAWDocument.hxx:195
SubDocumentType
Definition: libmwaw_internal.hxx:178
Slide const * m_slide
the slide
Definition: PowerPoint1Parser.cxx:310
void setBackgroundColor(MWAWColor color=MWAWColor::white())
set the background color
Definition: MWAWPageSpan.hxx:252
@ MWAW_K_PRESENTATION
presentation graphic
Definition: MWAWDocument.hxx:85
void reset()
writes the current file and reset to zero
Definition: MWAWDebug.hxx:85
std::vector< double > m_widthsList
the different length used for each line/sep (if defined)
Definition: libmwaw_internal.hxx:361
Outline m_outlines[5]
the outline
Definition: PowerPoint1Parser.cxx:95
bool readPicture(MWAWEntry const &entry, MWAWEmbeddedObject &picture)
try to read a picture zone
Definition: PowerPoint1Parser.cxx:1548
@ JustificationCenter
Definition: MWAWParagraph.hxx:87
static MWAWGraphicStyle emptyStyle()
returns an empty style.
Definition: MWAWGraphicStyle.hxx:268
SubDocument(PowerPoint1Parser &pars, MWAWInputStreamPtr input, TextZone const *textZone, MWAWVec2i const &tId, int rulerId)
constructor for text
Definition: PowerPoint1Parser.cxx:278
Justification
an enum used to defined the paragraph justification: left, center, right, full ...
Definition: MWAWParagraph.hxx:87
@ shadowBit
Definition: MWAWFont.hxx:183
shared_ptr< PowerPoint1ParserInternal::State > m_state
the state
Definition: PowerPoint1Parser.hxx:157
void setAsciiName(char const *name)
Debugging: change the default ascii file.
Definition: MWAWParser.hxx:227
Outline()
constructor
Definition: PowerPoint1Parser.cxx:67
void skipZone(long beginPos, long endPos)
skips the file zone defined by beginPos-endPos
Definition: MWAWDebug.hxx:105
std::string getDebugString(shared_ptr< MWAWFontConverter > &converter) const
returns a string which can be used for debugging
Definition: MWAWFont.cxx:181
bool getPattern(int id, MWAWGraphicStyle::Pattern &pattern) const
try to return a pattern
Definition: PowerPoint1Parser.cxx:233
void checkForUnparsedZones()
check for unparsed zone
Definition: PowerPoint1Parser.cxx:659
State()
constructor
Definition: PowerPoint1Parser.cxx:179
T y() const
second element
Definition: libmwaw_internal.hxx:620
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
bool isEmpty() const
return true if the picture contains no data
Definition: libmwaw_internal.hxx:439
float m_lineWidth
the linewidth
Definition: MWAWGraphicStyle.hxx:375
void setFormWidth(const double formWidth)
set the total page width
Definition: MWAWPageSpan.hxx:177
int m_schemeId
the scheme id
Definition: PowerPoint1Parser.cxx:172
T x() const
first element
Definition: libmwaw_internal.hxx:615
int m_pictureId
the picture id
Definition: PowerPoint1Parser.cxx:155
virtual class which defines the ancestor of all presentation zone parser
Definition: MWAWParser.hxx:266
Class to define the position of an object (textbox, picture, ..) in the document.
Definition: MWAWPosition.hxx:48
a border
Definition: libmwaw_internal.hxx:314
void setBegin(long off)
sets the begin offset
Definition: MWAWEntry.hxx:56
std::vector< Frame > m_framesList[2]
the list of frames: main's and note's list of frame
Definition: PowerPoint1Parser.cxx:168
bool isBlack() const
return true if the color is black
Definition: libmwaw_internal.hxx:265
bool readZoneIdList(MWAWEntry const &entry, int zId)
try to read a zone id list zone
Definition: PowerPoint1Parser.cxx:1577
void setVersion(int vers)
sets the document's version
Definition: MWAWParser.hxx:206
MWAWVec2i m_dim
the dimension width x height
Definition: MWAWGraphicStyle.hxx:242
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
@ PageBreak
Definition: MWAWListener.hxx:58
std::vector< Ruler > m_rulersList
the ruler
Definition: PowerPoint1Parser.cxx:210
Alignment m_alignment
the alignment ( left, center, ...)
Definition: MWAWParagraph.hxx:73
Definition: libmwaw_internal.hxx:142
bool getColor(int colorId, int schemeId, MWAWColor &color) const
try to return a color corresponding to a scheme and color
Definition: PowerPoint1Parser.cxx:363
long begin() const
returns the begin offset
Definition: MWAWEntry.hxx:72
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
Arrow m_arrows[2]
the two arrows corresponding to start and end extremity
Definition: MWAWGraphicStyle.hxx:430
bool readRulers(MWAWEntry const &entry)
try to read the paragraph style
Definition: PowerPoint1Parser.cxx:1763
void setPattern(Pattern const &pat, float opacity=1)
set the pattern
Definition: MWAWGraphicStyle.hxx:293
void parse(MWAWListenerPtr &listener, libmwaw::SubDocumentType type)
the parser function
Definition: PowerPoint1Parser.cxx:323
static MWAWColor black()
return the back color
Definition: libmwaw_internal.hxx:226
bool readZone2(MWAWEntry const &entry)
try to read a unknown zone with size 22: related to scheme?
Definition: PowerPoint1Parser.cxx:2218
double m_position
the tab position
Definition: MWAWParagraph.hxx:71
void setId(int newId)
sets the font id
Definition: MWAWFont.hxx:243
virtual bool operator!=(MWAWSubDocument const &doc) const
operator!=
Definition: PowerPoint1Parser.cxx:288
MWAWPresentationListenerPtr & getPresentationListener()
returns the presentation listener
Definition: MWAWParser.hxx:135
TextZone const * m_textZone
the text zone
Definition: PowerPoint1Parser.cxx:312
void setId(int newId)
sets the id
Definition: MWAWEntry.hxx:158
MWAWEntry m_text
the text entry
Definition: PowerPoint1Parser.cxx:115
int m_schemeId
the scheme id (if v2)
Definition: PowerPoint1Parser.cxx:136
bool createZones()
finds the different zones
Definition: PowerPoint1Parser.cxx:451
a field
Definition: libmwaw_internal.hxx:369
MWAWEntry m_ruler
the ruler entry (windows v2)
Definition: PowerPoint1Parser.cxx:119
@ PageNumber
Definition: libmwaw_internal.hxx:371
void sendSlides()
try to send all slides
Definition: PowerPoint1Parser.cxx:627
long m_zoneListBegin
the begin position of the list of zones
Definition: PowerPoint1Parser.cxx:204
void setMarginTop(const double marginTop)
set the page top margin
Definition: MWAWPageSpan.hxx:197
@ JustificationLeft
Definition: MWAWParagraph.hxx:87
bool read(MWAWInputStreamPtr input)
reads the struture in a file
Definition: MWAWPrinter.cxx:218
MWAWColor m_colors[2]
the two indexed colors
Definition: MWAWGraphicStyle.hxx:245
MWAWParserStatePtr getParserState()
returns the parser state
Definition: MWAWParser.hxx:113
std::map< int, Slide > m_idToSlideMap
a map between zoneId and slide
Definition: PowerPoint1Parser.cxx:212
Internal: a text zone of a PowerPoint1Parser.
Definition: PowerPoint1Parser.cxx:103
friend std::ostream & operator<<(std::ostream &o, Outline const &outline)
operator<<
Definition: PowerPoint1Parser.cxx:75
bool readRuler(MWAWEntry const &entry, size_t id)
try to read some ruler: windows v2
Definition: PowerPoint1Parser.cxx:1826
shared_ptr< MWAWInputStream > MWAWInputStreamPtr
a smart pointer of MWAWInputStream
Definition: libmwaw_internal.hxx:503
long end() const
returns the end offset
Definition: MWAWEntry.hxx:77
void setSize(float sz, bool isRelative=false)
sets the font size
Definition: MWAWFont.hxx:254
int m_slideIds[2]
the slide id
Definition: PowerPoint1Parser.cxx:224
MWAWColor m_lineColor
the line color
Definition: MWAWGraphicStyle.hxx:383
Internal: a slide of a PowerPoint1Parser.
Definition: PowerPoint1Parser.cxx:160
Ruler()
constructor
Definition: PowerPoint1Parser.cxx:61
MWAWVec2i m_textId
the text sub id: first and last id
Definition: PowerPoint1Parser.cxx:157
MWAWBox2< int > MWAWBox2i
MWAWBox2 of int.
Definition: libmwaw_internal.hxx:1132
bool checkHeader(MWAWHeader *header, bool strict=false)
checks if the document header is correct (or not)
Definition: PowerPoint1Parser.cxx:2566
small structure used to store a line of text and its format
Definition: PowerPoint1Parser.cxx:109
@ Double
Definition: libmwaw_internal.hxx:318
@ italicBit
Definition: MWAWFont.hxx:182
MWAWVariable< librevenge::RVNGUnit > m_marginsUnit
the margins INCH, ...
Definition: MWAWParagraph.hxx:144
std::map< int, Scheme > m_idToSchemeMap
a map between schemeId and scheme
Definition: PowerPoint1Parser.cxx:214
MWAWInputStreamPtr & getInput()
returns the actual input
Definition: MWAWParser.hxx:123
This class contains code needed to write a presention document.
Definition: MWAWPresentationListener.hxx:60
SubDocument & operator=(SubDocument const &)
Slide()
constructor
Definition: PowerPoint1Parser.cxx:162
int m_outlineLevel
the outline level
Definition: PowerPoint1Parser.cxx:123
Internal: a ruler.
Definition: PowerPoint1Parser.cxx:59
@ Page
Definition: MWAWPosition.hxx:51
MWAWVec2i m_origin
the origin
Definition: PowerPoint1Parser.cxx:208
MWAWParser * m_parser
the main zone parser
Definition: MWAWSubDocument.hxx:75
@ JustificationFull
Definition: MWAWParagraph.hxx:87
bool sendPicture(MWAWPosition const &position, MWAWGraphicStyle const &style, int pId)
try to send a picture
Definition: PowerPoint1Parser.cxx:2286
@ JustificationRight
Definition: MWAWParagraph.hxx:88
int m_printInfoIds[2]
the printInfo id
Definition: PowerPoint1Parser.cxx:226
void addPos(long pos)
adds a new position in the file
Definition: MWAWDebug.cxx:53
void setStream(MWAWInputStreamPtr ip)
resets the input
Definition: MWAWDebug.hxx:73
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
shared_ptr< MWAWRSRCParser > MWAWRSRCParserPtr
a smart pointer of MWAWRSRCParser
Definition: libmwaw_internal.hxx:513
PrinterRect page() const
returns the page rectangle
Definition: MWAWPrinter.cxx:201
bool readFonts(MWAWEntry const &entry)
try to read a font style list
Definition: PowerPoint1Parser.cxx:2019
MWAWVec2< T > size() const
the box size
Definition: libmwaw_internal.hxx:1008
bool sendFrame(PowerPoint1ParserInternal::Frame const &frame, PowerPoint1ParserInternal::TextZone const &textZone)
try to send a frame zone
Definition: PowerPoint1Parser.cxx:2517
bool sendText(PowerPoint1ParserInternal::TextZone const &textZone, MWAWVec2i tId, int rulerId)
try to send a text zone
Definition: PowerPoint1Parser.cxx:2308
MWAWEntry const & getZoneEntry(int id) const
try to return a zone
Definition: PowerPoint1Parser.cxx:188
bool sendSlideNote(PowerPoint1ParserInternal::Slide const &slide)
try to send the slide note text
Definition: PowerPoint1Parser.cxx:2262
std::vector< MWAWTabStop > m_tabs
the tabs
Definition: PowerPoint1Parser.cxx:93
void parse(librevenge::RVNGPresentationInterface *documentInterface)
virtual function used to parse the input
Definition: PowerPoint1Parser.cxx:383
MWAWEntry m_format
the format entry
Definition: PowerPoint1Parser.cxx:117
std::vector< MWAWEntry > m_zonesList
the list of zone entries
Definition: PowerPoint1Parser.cxx:206
AnchorTo m_anchorTo
anchor position
Definition: MWAWPosition.hxx:254
std::map< int, MWAWColor > m_idToUserColorMap
a map between colorId and user color map
Definition: PowerPoint1Parser.cxx:216
shared_ptr< MWAWSubDocument > MWAWSubDocumentPtr
a smart pointer of MWAWSubDocument
Definition: libmwaw_internal.hxx:517
@ RIGHT
Definition: MWAWParagraph.hxx:48
Class to store font.
Definition: MWAWFont.hxx:44
Internal: the state of a PowerPoint1Parser.
Definition: PowerPoint1Parser.cxx:177
int m_type
the type: 0:line, 1:rect, 2: textbox, ...
Definition: PowerPoint1Parser.cxx:145
int m_rulerId
the paragraph id
Definition: PowerPoint1Parser.cxx:153
MWAWVec2f m_shadowOffset
the shadow offset
Definition: MWAWGraphicStyle.hxx:394
bool readPrintInfo(MWAWEntry const &entry)
try to read a print info zone
Definition: PowerPoint1Parser.cxx:1733
bool readFontNames(MWAWEntry const &entry)
try to read a font names list
Definition: PowerPoint1Parser.cxx:2076
static MWAWGraphicShape rectangle(MWAWBox2f const &box, MWAWVec2f const &corners=MWAWVec2f(0, 0))
static constructor to create a rectangle
Definition: MWAWGraphicShape.hxx:103
virtual ~SubDocument()
destructor
Definition: PowerPoint1Parser.cxx:285
MWAWColor m_color
the border color
Definition: libmwaw_internal.hxx:363
void setPresentationListener(MWAWPresentationListenerPtr &listener)
sets the presentation listener
Definition: MWAWParser.cxx:124
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 setUnderlineStyle(Line::Style style=Line::None, bool doReset=true)
sets the underline style ( by default, we also reset the style)
Definition: MWAWFont.hxx:445
shared_ptr< MWAWInputStream > m_input
the input
Definition: MWAWSubDocument.hxx:77
A class which defines the page properties.
Definition: MWAWPageSpan.hxx:96
void setFlags(uint32_t fl)
sets the font attributes bold, ...
Definition: MWAWFont.hxx:304
MWAWVec2i m_id
the text id in text zone
Definition: PowerPoint1Parser.cxx:314
Generated on Wed Jun 17 2020 06:30:12 for libmwaw by
doxygen 1.8.18