Go to the documentation of this file.
34 #ifndef POWER_POINT3_PARSER
35 # define POWER_POINT3_PARSER
76 void parse(
librevenge::RVNGPresentationInterface *documentInterface) final;
long m_zoneListBegin
the begin position of the list of zones
Definition: PowerPoint3Parser.cxx:504
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
bool updateShape(MWAWBox2f const &finalBox, MWAWGraphicShape &shape) const
update the shape
Definition: PowerPoint3Parser.cxx:328
bool m_isMaster
flag to know if we send a master text zone
Definition: PowerPoint3Parser.cxx:756
@ Time
Definition: libmwaw_internal.hxx:401
MWAWVariable< Justification > m_justify
the justification
Definition: MWAWParagraph.hxx:167
bool getUniqueColor(MWAWColor &col) const
check if the pattern has only one color; if so returns true...
Definition: MWAWGraphicStyle.cxx:86
std::shared_ptr< MWAWInputStream > MWAWInputStreamPtr
a smart pointer of MWAWInputStream
Definition: libmwaw_internal.hxx:551
bool readSlidesList(MWAWEntry const &entry)
try to read the first child of docRoot
Definition: PowerPoint3Parser.cxx:1484
bool parse(int id, MWAWInputStreamPtr &input, libmwaw::DebugFile &ascFile) final
virtual function used to parse a field
Definition: PowerPoint3Parser.cxx:180
MWAWFontConverterPtr & getFontConverter()
returns the font converter
Definition: MWAWParser.hxx:150
void set(Script const &newscript)
sets the script position
Definition: MWAWFont.hxx:314
State()
constructor
Definition: PowerPoint3Parser.cxx:461
@ PORTRAIT
Definition: MWAWPageSpan.hxx:102
int m_shapeId
the shape id: 1: oval, 2: rectOval, 3:rectangle
Definition: PowerPoint3Parser.cxx:287
Internal: the subdocument of a PowerPointParser.
Definition: PowerPoint3Parser.cxx:708
@ Triple
Definition: libmwaw_internal.hxx:337
bool sendFrame(PowerPoint3ParserInternal::Frame const &frame, PowerPoint3ParserInternal::SlideContent const &content, bool master, std::set< int > &seen)
try to send a frame zone
Definition: PowerPoint3Parser.cxx:3672
bool createZones()
finds the different zones
Definition: PowerPoint3Parser.cxx:890
int m_spanId
the style span id
Definition: MWAWList.hxx:116
int m_numZones
the number of zones
Definition: PowerPoint3Parser.cxx:136
MWAWBox2f getBdBox() const
returns the basic bdbox
Definition: MWAWGraphicShape.hxx:197
#define MWAW_DEBUG_MSG(M)
Definition: libmwaw_internal.hxx:129
MWAWVec2< float > MWAWVec2f
MWAWVec2 of float.
Definition: libmwaw_internal.hxx:842
a scheme of a PowerPoint3Parser
Definition: PowerPoint3Parser.cxx:349
void addDelimiter(long pos, char c)
adds a not breaking delimiter in position pos
Definition: MWAWDebug.cxx:73
Type m_type
the border repetition
Definition: libmwaw_internal.hxx:385
int m_mainZoneIds[2]
the title/body position
Definition: PowerPoint3Parser.cxx:434
void setSurfaceColor(MWAWColor const &col, float opacity=1)
set the surface color
Definition: MWAWGraphicStyle.hxx:415
bool m_isMacFile
flag to know if the file is a mac file or a pc file
Definition: PowerPoint3Parser.cxx:498
bool m_useMasterPage
a flag to know if we need to use the master page
Definition: PowerPoint3Parser.cxx:430
int m_type
the polygon type
Definition: PowerPoint3Parser.cxx:321
void setShadowColor(MWAWColor const &col, float opacity=1)
set the shadow color
Definition: MWAWGraphicStyle.hxx:458
Internal: a polygon of a PowerPoint3Parser.
Definition: PowerPoint3Parser.cxx:310
MWAWVariable< std::vector< MWAWTabStop > > m_tabs
the tabulations
Definition: MWAWParagraph.hxx:162
bool isParsed() const
a flag to know if the entry was parsed or not
Definition: MWAWEntry.hxx:121
static MWAWGraphicShape pie(MWAWBox2f const &box, MWAWBox2f const &circleBox, MWAWVec2f const &angles)
static constructor to create a pie
Definition: MWAWGraphicShape.hxx:147
void translate(MWAWVec2f const &delta)
translate all the coordinate by delta
Definition: MWAWGraphicShape.cxx:356
bool parse(int id, MWAWInputStreamPtr &input, libmwaw::DebugFile &ascFile) final
virtual function used to parse a field
Definition: PowerPoint3Parser.cxx:141
SubDocument(PowerPoint3Parser &pars, MWAWInputStreamPtr const &input, SlideContent const *slide)
constructor for note
Definition: PowerPoint3Parser.cxx:720
int id() const
returns the font id
Definition: MWAWFont.hxx:259
static Arrow plain()
returns a basic plain arrow
Definition: MWAWGraphicStyle.hxx:74
@ boldBit
Definition: MWAWFont.hxx:190
std::map< int, Scheme > m_idToSchemeMap
a map between schemeId and scheme
Definition: PowerPoint3Parser.cxx:514
std::map< int, Slide > m_idToSlideMap
a map zoneId to slide
Definition: PowerPoint3Parser.cxx:510
PrinterRect paper() const
returns the paper rectangle
Definition: MWAWPrinter.cxx:222
Internal: the structures of a PowerPoint3Parser.
Definition: PowerPoint3Parser.cxx:59
static MWAWColor white()
return the white color
Definition: libmwaw_internal.hxx:250
MWAWVariable< int > m_listLevelIndex
the actual level index
Definition: MWAWParagraph.hxx:174
void setColor(MWAWColor color)
sets the font color
Definition: MWAWFont.hxx:341
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:129
static bool getCustomShape(int id, MWAWGraphicShape &shape)
returns a custom shape corresponding to an id
Definition: PowerPoint3Parser.cxx:575
std::vector< MWAWEntry > m_zonesList
the list of zone entries
Definition: PowerPoint3Parser.cxx:506
int id() const
returns the id
Definition: MWAWEntry.hxx:164
int m_pictureId
the picture id
Definition: PowerPoint3Parser.cxx:295
void setMarginBottom(const double marginBottom)
set the page bottom margin
Definition: MWAWPageSpan.hxx:208
std::vector< Frame > m_frameList
the list of frames
Definition: PowerPoint3Parser.cxx:438
void add(librevenge::RVNGBinaryData const &binaryData, std::string const &type="image/pict")
add a picture
Definition: libmwaw_internal.hxx:495
a structure used to define a picture shape
Definition: MWAWGraphicShape.hxx:46
the class to store a color
Definition: libmwaw_internal.hxx:192
void appendUnicode(uint32_t val, librevenge::RVNGString &buffer)
adds an unicode character to a string
Definition: libmwaw_internal.cxx:63
small class use to define a embedded object
Definition: libmwaw_internal.hxx:467
MWAWVariable< double > m_spacings[3]
the line spacing
Definition: MWAWParagraph.hxx:156
std::shared_ptr< MWAWSubDocument > MWAWSubDocumentPtr
a smart pointer of MWAWSubDocument
Definition: libmwaw_internal.hxx:565
static MWAWGraphicShape line(MWAWVec2f const &orign, MWAWVec2f const &dest)
static constructor to create a line
Definition: MWAWGraphicShape.cxx:228
int version() const
returns the works version
Definition: MWAWParser.hxx:108
bool sendSlide(PowerPoint3ParserInternal::SlideContent const &slide, bool master)
try to send a slide
Definition: PowerPoint3Parser.cxx:3654
friend std::ostream & operator<<(std::ostream &o, Ruler const &ruler)
operator<<
Definition: PowerPoint3Parser.cxx:234
FontNameFieldParser(int numZones)
the constructor
Definition: PowerPoint3Parser.cxx:163
bool readListZones(int &docInfoId)
try to read the list of zones
Definition: PowerPoint3Parser.cxx:1048
bool readDocRoot(MWAWEntry const &entry)
try to read the main child of doc info
Definition: PowerPoint3Parser.cxx:1366
bool getAverageColor(MWAWColor &col) const
return the average color
Definition: MWAWGraphicStyle.cxx:101
@ G_Linear
Definition: MWAWGraphicStyle.hxx:177
MWAWVec2i m_origin
the origin
Definition: PowerPoint3Parser.cxx:520
class to store the paragraph properties
Definition: MWAWParagraph.hxx:85
void setFormOrientation(const FormOrientation formOrientation)
set the form orientation
Definition: MWAWPageSpan.hxx:188
void setMarginLeft(const double marginLeft)
set the page left margin
Definition: MWAWPageSpan.hxx:193
bool readPictureDefinition(MWAWEntry const &entry, int id)
try to read the picture definition
Definition: PowerPoint3Parser.cxx:2644
std::string str() const
print the color in the form #rrggbb
Definition: libmwaw_internal.cxx:232
MWAWVariable< MWAWListLevel > m_listLevel
the actual level
Definition: MWAWParagraph.hxx:180
@ Simple
Definition: MWAWFont.hxx:49
Internal: a ruler.
Definition: PowerPoint3Parser.cxx:226
#define MWAW_FALLTHROUGH
Definition: libmwaw_internal.hxx:118
double m_width
the border total width in point
Definition: libmwaw_internal.hxx:387
the main class to read a Microsoft PowerPoint v3 or v4 files (MacOs and Windows)
Definition: PowerPoint3Parser.hxx:64
void parse(MWAWListenerPtr &listener, libmwaw::SubDocumentType type) final
the parser function
Definition: PowerPoint3Parser.cxx:762
the Apple© printer information : TPrint
Definition: MWAWPrinter.hxx:82
void setParsed(bool ok=true) const
sets the flag m_parsed to true or false
Definition: MWAWEntry.hxx:126
bool getPattern(int id, MWAWGraphicStyle::Pattern &pattern) const
try to return a pattern
Definition: PowerPoint3Parser.cxx:537
void addNote(char const *note)
adds a note in the file, in actual position
Definition: MWAWDebug.cxx:59
TextZone()
constructor
Definition: PowerPoint3Parser.cxx:373
abstract class used to store a subdocument (with a comparison function)
Definition: MWAWSubDocument.hxx:42
void updateParagraph(MWAWParagraph ¶, int level) const
returns a paragraph corresponding to a level
Definition: PowerPoint3Parser.cxx:244
a structure used to define a picture style
Definition: MWAWGraphicStyle.hxx:48
MWAWVariable< double > m_margins[3]
the margins
Definition: MWAWParagraph.hxx:148
SlideContent const * m_slide
the slide
Definition: PowerPoint3Parser.cxx:750
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:363
Internal: a basic zone id parser of a PowerPoint3Parser.
Definition: PowerPoint3Parser.cxx:125
@ DECIMAL
Definition: MWAWParagraph.hxx:48
MWAWEntry const & getZoneEntry(int id) const
try to return a zone
Definition: PowerPoint3Parser.cxx:484
MWAWEntry m_fonts
the fonts entry
Definition: PowerPoint3Parser.cxx:396
libmwaw::DebugFile & ascii()
a DebugFile used to write what we recognize when we parse the document
Definition: MWAWParser.hxx:195
@ embossBit
Definition: MWAWFont.hxx:190
bool readColorZone(MWAWEntry const &entry)
try to read a color zone, probably used to define the menu, ...: the 8th zone
Definition: PowerPoint3Parser.cxx:3288
void resetPresentationListener()
resets the listener
Definition: MWAWParser.cxx:141
std::shared_ptr< MWAWPresentationListener > MWAWPresentationListenerPtr
a smart pointer of MWAWPresentationListener
Definition: libmwaw_internal.hxx:559
static MWAWGraphicShape circle(MWAWBox2f const &box)
static constructor to create a circle
Definition: MWAWGraphicShape.hxx:129
int m_margins[10]
the left/first margins * 5 (0: normal, 1-4: level)
Definition: PowerPoint3Parser.cxx:258
@ G_Rectangular
Definition: MWAWGraphicStyle.hxx:177
bool readTextZone(MWAWEntry const &entry, PowerPoint3ParserInternal::SlideContent &content)
try to read a text zone
Definition: PowerPoint3Parser.cxx:2350
@ Date
Definition: libmwaw_internal.hxx:401
std::string const & asciiName() const
return the ascii file name
Definition: MWAWParser.hxx:232
MWAWBox2i m_dimension
the dimension
Definition: PowerPoint3Parser.cxx:285
class to store a tab use by MWAWParagraph
Definition: MWAWParagraph.hxx:46
std::map< int, MWAWColor > m_idToUserColorMap
a map between colorId and user color
Definition: PowerPoint3Parser.cxx:522
a basic pattern used in a MWAWGraphicStyle:
Definition: MWAWGraphicStyle.hxx:277
int m_fieldSize
the field size
Definition: PowerPoint3Parser.cxx:115
Internal: a frame of a PowerPoint3Parser.
Definition: PowerPoint3Parser.cxx:261
void setFormLength(const double formLength)
set the total page length
Definition: MWAWPageSpan.hxx:178
void setMasterPageName(librevenge::RVNGString const &name)
set the page master name
Definition: MWAWPageSpan.hxx:243
int m_polygonId
the polygon id
Definition: PowerPoint3Parser.cxx:293
bool operator!=(MWAWSubDocument const &doc) const final
operator!=
Definition: PowerPoint3Parser.cxx:733
@ Polygon
Definition: MWAWGraphicShape.hxx:49
static MWAWColor barycenter(float alpha, MWAWColor const &colA, float beta, MWAWColor const &colB)
return alpha*colA+beta*colB
Definition: libmwaw_internal.cxx:206
Internal: virtual field parser of a PowerPoint3Parser.
Definition: PowerPoint3Parser.cxx:103
MWAWBox2< T > getUnion(MWAWBox2< T > const &box) const
returns the union between this and box
Definition: libmwaw_internal.hxx:1129
PowerPoint3Parser(MWAWInputStreamPtr const &input, MWAWRSRCParserPtr const &rsrcParser, MWAWHeader *header)
constructor
Definition: PowerPoint3Parser.cxx:787
int m_printInfoIds[2]
the printInfo id
Definition: PowerPoint3Parser.cxx:528
@ MWAW_T_POWERPOINT
PowerPoint: v1-v4 and pc v2-v4,95.
Definition: MWAWDocument.hxx:219
void checkForUnparsedZones()
check for unparsed zone
Definition: PowerPoint3Parser.cxx:1136
SubDocumentType
Definition: libmwaw_internal.hxx:188
Ruler()
constructor
Definition: PowerPoint3Parser.cxx:228
void setBackgroundColor(MWAWColor color=MWAWColor::white())
set the background color
Definition: MWAWPageSpan.hxx:258
std::shared_ptr< MWAWInputStream > m_input
the input
Definition: MWAWSubDocument.hxx:77
@ MWAW_K_PRESENTATION
presentation graphic
Definition: MWAWDocument.hxx:85
Internal: the state of a PowerPoint3Parser.
Definition: PowerPoint3Parser.cxx:459
void reset()
writes the current file and reset to zero
Definition: MWAWDebug.hxx:93
std::string m_extra
extra data
Definition: MWAWFont.hxx:573
bool readFontName(MWAWEntry const &entry, int id)
try to read a font name : 11th zone
Definition: PowerPoint3Parser.cxx:2899
std::vector< double > m_widthsList
the different length used for each line/sep (if defined)
Definition: libmwaw_internal.hxx:391
void createDocument(librevenge::RVNGPresentationInterface *documentInterface)
creates the listener which will be associated to the document
Definition: PowerPoint3Parser.cxx:848
MWAWListenerPtr getMainListener()
returns the main listener
Definition: MWAWParser.cxx:120
@ JustificationCenter
Definition: MWAWParagraph.hxx:90
@ shadowBit
Definition: MWAWFont.hxx:191
int swapBool4UInt4(int v)
swap a list of 4bool and a int4
Definition: PowerPoint3Parser.cxx:81
bool readZone9(MWAWEntry const &entry)
try to read the 9th zone
Definition: PowerPoint3Parser.cxx:3352
void setAsciiName(char const *name)
Debugging: change the default ascii file.
Definition: MWAWParser.hxx:227
bool m_adjustSize
adjust the textbox size
Definition: PowerPoint3Parser.cxx:404
int m_rulerId
the ruler id
Definition: PowerPoint3Parser.cxx:390
void skipZone(long beginPos, long endPos)
skips the file zone defined by beginPos-endPos
Definition: MWAWDebug.hxx:113
T y() const
second element
Definition: libmwaw_internal.hxx:673
bool readScheme(MWAWEntry const &entry, int id)
try to read a scheme
Definition: PowerPoint3Parser.cxx:1429
bool dumpFile(librevenge::RVNGBinaryData &data, char const *fileName)
a debug function to store in a datafile in the current directory WARNING: this function erase the fil...
Definition: MWAWDebug.cxx:193
bool isEmpty() const
return true if the picture contains no data
Definition: libmwaw_internal.hxx:486
float m_lineWidth
the linewidth
Definition: MWAWGraphicStyle.hxx:508
void setFormWidth(const double formWidth)
set the total page width
Definition: MWAWPageSpan.hxx:183
ListZoneIdParser(int numZones, std::string const &debugName)
the constructor
Definition: PowerPoint3Parser.cxx:127
bool m_isSent
flag to know if a frame is sent
Definition: PowerPoint3Parser.cxx:307
T x() const
first element
Definition: libmwaw_internal.hxx:668
std::vector< int > m_childList
the child list
Definition: PowerPoint3Parser.cxx:177
virtual class which defines the ancestor of all presentation zone parser
Definition: MWAWParser.hxx:267
Slide()
constructor
Definition: PowerPoint3Parser.cxx:449
bool readZone10(MWAWEntry const &entry)
try to read the 10th zone
Definition: PowerPoint3Parser.cxx:3395
Class to define the position of an object (textbox, picture, ..) in the document.
Definition: MWAWPosition.hxx:48
a structure used to define the gradient limit in MWAWGraphicStyle
Definition: MWAWGraphicStyle.hxx:141
a border
Definition: libmwaw_internal.hxx:333
void setBegin(long off)
sets the begin offset
Definition: MWAWEntry.hxx:67
MWAWFontManagerPtr & getFontManager()
returns the font manager
Definition: MWAWParser.hxx:155
std::vector< MWAWVec2f > m_vertices
the list of vertices for lines or polygons
Definition: MWAWGraphicShape.hxx:226
bool isBlack() const
return true if the color is black
Definition: libmwaw_internal.hxx:284
MWAWEntry m_text
the text entry
Definition: PowerPoint3Parser.cxx:394
bool readPictureMain(MWAWEntry const &entry)
try to read the 5th zone
Definition: PowerPoint3Parser.cxx:3190
void setVersion(int vers)
sets the document's version
Definition: MWAWParser.hxx:206
#define M_PI
Definition: libmwaw_internal.hxx:52
MWAWVec2i m_dim
the dimension width x height
Definition: MWAWGraphicStyle.hxx:358
std::shared_ptr< MWAWRSRCParser > MWAWRSRCParserPtr
a smart pointer of MWAWRSRCParser
Definition: libmwaw_internal.hxx:561
long length() const
returns the length of the zone
Definition: MWAWEntry.hxx:93
int m_schemeId
the scheme id
Definition: PowerPoint3Parser.cxx:444
void setBorders(int wh, MWAWBorder const &border)
sets the cell border: wh=libmwaw::LeftBit|...
Definition: MWAWGraphicStyle.cxx:232
bool readFontNamesList(std::map< int, int > const &fIdtoZIdMap)
try to read a font names list
Definition: PowerPoint3Parser.cxx:2889
MWAWBox2i m_box
the bdbox
Definition: PowerPoint3Parser.cxx:323
@ PageBreak
Definition: MWAWListener.hxx:58
bool readFramesList(MWAWEntry const &entry, PowerPoint3ParserInternal::SlideContent &content)
try to read a frame zone in a page
Definition: PowerPoint3Parser.cxx:1901
bool readSlidePolygons(MWAWEntry const &entry, std::vector< PowerPoint3ParserInternal::Polygon > &polyList)
try to read the third child of slide content
Definition: PowerPoint3Parser.cxx:1842
std::vector< TextZone > m_textZone
the textzone
Definition: PowerPoint3Parser.cxx:436
Type m_type
the type
Definition: MWAWGraphicShape.hxx:216
void setStream(MWAWInputStreamPtr const &ip)
resets the input
Definition: MWAWDebug.hxx:81
bool m_wrapText
wrap the text
Definition: PowerPoint3Parser.cxx:402
bool readSlideTransition(MWAWEntry const &entry)
try to read the first child of slideMain
Definition: PowerPoint3Parser.cxx:1615
std::shared_ptr< PowerPoint3ParserInternal::State > m_state
the state
Definition: PowerPoint3Parser.hxx:172
std::map< int, MWAWEmbeddedObject > m_idToPictureContentMap
a map zoneId to picture object
Definition: PowerPoint3Parser.cxx:518
Alignment m_alignment
the alignment ( left, center, ...)
Definition: MWAWParagraph.hxx:76
Definition: libmwaw_internal.hxx:144
int m_zoneIds[13]
the sequential zones id
Definition: PowerPoint3Parser.cxx:530
std::vector< Polygon > m_polygonList
the list of polygons
Definition: PowerPoint3Parser.cxx:442
std::string getDebugString(std::shared_ptr< MWAWFontConverter > &converter) const
returns a string which can be used for debugging
Definition: MWAWFont.cxx:181
long begin() const
returns the begin offset
Definition: MWAWEntry.hxx:83
bool m_mainTextBox
flag to know if we send the title or the body
Definition: PowerPoint3Parser.cxx:754
bool getColor(int colorId, int schemeId, MWAWColor &color) const
try to return a color corresponding to a scheme and color
Definition: PowerPoint3Parser.cxx:798
void setLength(long l)
sets the zone size
Definition: MWAWEntry.hxx:72
MWAWPageSpan const & getPageSpan() const
returns the actual page dimension
Definition: MWAWParser.hxx:160
MWAWGraphicShape rotate(float angle, MWAWVec2f const ¢er) const
return a new shape corresponding to a rotation from center.
Definition: MWAWGraphicShape.cxx:381
Arrow m_arrows[2]
the two arrows corresponding to start and end extremity
Definition: MWAWGraphicStyle.hxx:553
void setPattern(Pattern const &pat, float opacity=1)
set the pattern
Definition: MWAWGraphicStyle.hxx:426
Internal: a slide of a PowerPoint3Parser.
Definition: PowerPoint3Parser.cxx:447
std::string m_fontFamily
the basic pc font family if known
Definition: PowerPoint3Parser.cxx:500
static MWAWColor black()
return the back color
Definition: libmwaw_internal.hxx:245
int m_numMainZones
the number of title/body zones
Definition: PowerPoint3Parser.cxx:432
MWAWColor m_colors[8]
the color: back, foreground, accents
Definition: PowerPoint3Parser.cxx:351
double m_position
the tab position
Definition: MWAWParagraph.hxx:74
void setId(int newId)
sets the font id
Definition: MWAWFont.hxx:264
bool readPictureContent(MWAWEntry const &entry, MWAWEmbeddedObject &pict)
try to read the first child of the picture
Definition: PowerPoint3Parser.cxx:2749
bool readStructList(MWAWEntry const &entry, PowerPoint3ParserInternal::FieldParser &parser)
try to read a list of structure
Definition: PowerPoint3Parser.cxx:2568
MWAWPresentationListenerPtr & getPresentationListener()
returns the presentation listener
Definition: MWAWParser.hxx:135
std::map< int, Ruler > m_idToRulerMap
a map between id and paragraph
Definition: PowerPoint3Parser.cxx:526
void setId(int newId)
sets the id
Definition: MWAWEntry.hxx:169
int m_groupChild[2]
the group limit
Definition: PowerPoint3Parser.cxx:303
int m_type
the type: 0:line, 1:rect, 2: textbox, ...
Definition: PowerPoint3Parser.cxx:281
bool readDocInfo(MWAWEntry const &entry)
try to read the document info zone
Definition: PowerPoint3Parser.cxx:1158
a field
Definition: libmwaw_internal.hxx:399
@ PageNumber
Definition: libmwaw_internal.hxx:401
std::map< int, int > m_fieldIdToZoneIdMap
map field id to zone id
Definition: PowerPoint3Parser.cxx:138
void setMarginTop(const double marginTop)
set the page top margin
Definition: MWAWPageSpan.hxx:203
bool read(MWAWInputStreamPtr input)
reads the struture in a file
Definition: MWAWPrinter.cxx:235
Internal: a text zone of a PowerPoint3Parser.
Definition: PowerPoint3Parser.cxx:371
SlideContent()
constructor
Definition: PowerPoint3Parser.cxx:410
bool readSlide(MWAWEntry const &entry, PowerPoint3ParserInternal::Slide &slide, int zId)
try to read a slide main zone
Definition: PowerPoint3Parser.cxx:1551
@ G_Axial
Definition: MWAWGraphicStyle.hxx:177
bool readFont(MWAWFont &font, int schemeId)
try to read a font
Definition: PowerPoint3Parser.cxx:2847
MWAWColor m_colors[2]
the two indexed colors
Definition: MWAWGraphicStyle.hxx:361
MWAWParserStatePtr getParserState()
returns the parser state
Definition: MWAWParser.hxx:113
bool hasText() const
return true if the zone has text
Definition: PowerPoint3Parser.cxx:422
bool readParagraph(MWAWParagraph ¶, PowerPoint3ParserInternal::Ruler const &ruler, int schemeId)
try to read a paragraph
Definition: PowerPoint3Parser.cxx:2972
int m_monoTypeFontId
the monotype font id
Definition: PowerPoint3Parser.cxx:532
bool empty() const
return true if the zone has no text
Definition: PowerPoint3Parser.cxx:385
long end() const
returns the end offset
Definition: MWAWEntry.hxx:88
void setSize(float sz, bool isRelative=false)
sets the font size
Definition: MWAWFont.hxx:275
MWAWColor m_lineColor
the line color
Definition: MWAWGraphicStyle.hxx:516
SubDocument(SubDocument const &)=delete
librevenge::RVNGString m_bullet
the bullet if we have an bullet level
Definition: MWAWList.hxx:114
std::vector< MWAWVec2f > m_vertices
the list of points
Definition: PowerPoint3Parser.cxx:325
float m_angles[2]
the arc angles
Definition: PowerPoint3Parser.cxx:301
std::map< int, SlideContent > m_idToSlideContentMap
a map zoneId to slide content
Definition: PowerPoint3Parser.cxx:512
bool checkHeader(MWAWHeader *header, bool strict=false) final
checks if the document header is correct (or not)
Definition: PowerPoint3Parser.cxx:3837
MWAWBox2< int > MWAWBox2i
MWAWBox2 of int.
Definition: libmwaw_internal.hxx:1191
virtual bool parse(int id, MWAWInputStreamPtr &input, libmwaw::DebugFile &ascFile)=0
virtual function used to parse a field
@ Double
Definition: libmwaw_internal.hxx:337
MWAWVec2< T > center() const
the box center
Definition: libmwaw_internal.hxx:1072
@ italicBit
Definition: MWAWFont.hxx:190
MWAWVariable< librevenge::RVNGUnit > m_marginsUnit
the margins INCH, ...
Definition: MWAWParagraph.hxx:150
int m_textId
the text id
Definition: PowerPoint3Parser.cxx:752
int m_numZones
the number of zones
Definition: PowerPoint3Parser.cxx:173
MWAWInputStreamPtr & getInput()
returns the actual input
Definition: MWAWParser.hxx:123
int swapBool8(int v)
swap a list of 8 bool
Definition: PowerPoint3Parser.cxx:71
This class contains code needed to write a presention document.
Definition: MWAWPresentationListener.hxx:60
bool readSlideFormats(MWAWEntry const &entry, std::vector< PowerPoint3ParserInternal::SlideFormat > &formatList)
try to read the second child of slide content which contains some shadow offset...
Definition: PowerPoint3Parser.cxx:1783
bool readPrintInfo(MWAWEntry const &entry)
try to read a print info zone
Definition: PowerPoint3Parser.cxx:1336
@ BULLET
Definition: MWAWList.hxx:46
Gradient m_gradient
the gradient
Definition: MWAWGraphicStyle.hxx:533
Polygon()
constructor
Definition: PowerPoint3Parser.cxx:312
void sendSlides()
try to send all slides
Definition: PowerPoint3Parser.cxx:3603
@ Page
Definition: MWAWPosition.hxx:51
MWAWParser * m_parser
the main zone parser
Definition: MWAWSubDocument.hxx:75
@ JustificationFull
Definition: MWAWParagraph.hxx:90
SubDocument & operator=(SubDocument const &)=delete
@ JustificationRight
Definition: MWAWParagraph.hxx:91
Internal: a slide of a PowerPoint3Parser.
Definition: PowerPoint3Parser.cxx:408
small structure to keep information about a list level
Definition: MWAWList.hxx:44
void addPos(long pos)
adds a new position in the file
Definition: MWAWDebug.cxx:53
std::vector< float > m_lineDashWidth
the dash array: a sequence of (fullsize, emptysize)
Definition: MWAWGraphicStyle.hxx:506
Type m_type
the type of the level
Definition: MWAWList.hxx:101
~SubDocument() final
destructor
Definition: PowerPoint3Parser.cxx:730
void setMarginRight(const double marginRight)
set the page right margin
Definition: MWAWPageSpan.hxx:198
bool valid() const
returns true if the zone length is positive
Definition: MWAWEntry.hxx:99
~PowerPoint3Parser() final
destructor
Definition: PowerPoint3Parser.cxx:794
MWAWEntry m_rulers
the ruler entry
Definition: PowerPoint3Parser.cxx:398
PrinterRect page() const
returns the page rectangle
Definition: MWAWPrinter.cxx:218
Frame()
constructor
Definition: PowerPoint3Parser.cxx:263
the main class to read the ole stream in a Microsoft PowerPoint v4 files (MacOs and Windows)
Definition: PowerPoint3OLE.hxx:51
bool readPicturesList(std::map< int, int > const &pIdtoZIdMap)
try to read a picture list
Definition: PowerPoint3Parser.cxx:2634
int m_textId
the textzone id
Definition: PowerPoint3Parser.cxx:297
std::vector< int > m_slidesIdList
the main list of slides id
Definition: PowerPoint3Parser.cxx:508
MWAWVec2< T > size() const
the box size
Definition: libmwaw_internal.hxx:1067
bool readSlideContent(MWAWEntry const &entry, PowerPoint3ParserInternal::SlideContent &slide)
try to read the second/third child of slideMain: main, master ?
Definition: PowerPoint3Parser.cxx:1675
bool sendText(PowerPoint3ParserInternal::SlideContent const &slide, int tId, bool placeHolder, bool master)
try to send a text zone
Definition: PowerPoint3Parser.cxx:3464
an interface used to insert comment in a binary file, written in ascii form (if debug_with_files is n...
Definition: MWAWDebug.hxx:66
void scale(MWAWVec2f const &factor)
rescale all the coordinate
Definition: MWAWGraphicShape.cxx:368
a small struct to define the script position in MWAWFont
Definition: MWAWFont.hxx:106
bool readRuler(MWAWEntry const &entry, int id)
try to read some ruler
Definition: PowerPoint3Parser.cxx:3124
MWAWEntry m_badEntry
an entry used by getZoneEntry if it does not find the zone
Definition: PowerPoint3Parser.cxx:534
std::shared_ptr< PowerPoint3OLE > m_oleParser
the ole parser
Definition: PowerPoint3Parser.cxx:502
MWAWBox2i m_box
the bdbox
Definition: PowerPoint3Parser.cxx:392
MWAWGraphicStyle m_style
the style
Definition: PowerPoint3Parser.cxx:305
std::shared_ptr< MWAWListener > MWAWListenerPtr
a smart pointer of MWAWListener
Definition: libmwaw_internal.hxx:553
AnchorTo m_anchorTo
anchor position
Definition: MWAWPosition.hxx:270
Definition: MWAWDocument.hxx:57
std::map< int, int > m_idToFontIdMap
a map between file id and font id
Definition: PowerPoint3Parser.cxx:524
bool m_centered
force horizontal centered
Definition: PowerPoint3Parser.cxx:400
int m_customTransformation
the custom transformation: 1:rot90, 2:rot180, 4:flipX
Definition: PowerPoint3Parser.cxx:291
bool m_mainTextBox
flag to know if the textbox is a place holder
Definition: PowerPoint3Parser.cxx:299
@ RIGHT
Definition: MWAWParagraph.hxx:48
Class to store font.
Definition: MWAWFont.hxx:44
std::map< int, std::string > m_idToNameMap
map file id to font name
Definition: PowerPoint3Parser.cxx:175
std::string m_extra
a string to store some errors
Definition: MWAWParagraph.hxx:190
virtual ~FieldParser()
destructor
Definition: PowerPoint3Parser.cxx:120
MWAWVec2f m_shadowOffset
the shadow offset
Definition: MWAWGraphicStyle.hxx:527
static MWAWGraphicShape rectangle(MWAWBox2f const &box, MWAWVec2f const &corners=MWAWVec2f(0, 0))
static constructor to create a rectangle
Definition: MWAWGraphicShape.hxx:120
int m_formatId
the format id
Definition: PowerPoint3Parser.cxx:283
int swapUInt8(int v)
swap an uint8_t by 4 offset
Definition: PowerPoint3Parser.cxx:66
std::string m_name
the debug name
Definition: PowerPoint3Parser.cxx:117
bool readColors(MWAWEntry const &entry)
try to read a color list
Definition: PowerPoint3Parser.cxx:3234
MWAWColor m_color
the border color
Definition: libmwaw_internal.hxx:393
int swapUInt4Bool4(int v)
swap a list of a int4 and 4bool
Definition: PowerPoint3Parser.cxx:91
int m_contentIds[2]
the slide content ids: slide and not
Definition: PowerPoint3Parser.cxx:454
FieldParser(int fSize, std::string const &debugName)
the constructor
Definition: PowerPoint3Parser.cxx:105
MWAWParagraph m_paragraph
the paragraph
Definition: PowerPoint3Parser.cxx:256
void setPresentationListener(MWAWPresentationListenerPtr &listener)
sets the presentation listener
Definition: MWAWParser.cxx:136
MWAWVec2< int > MWAWVec2i
MWAWVec2 of int.
Definition: libmwaw_internal.hxx:838
Internal: a font name parser of a PowerPoint3Parser.
Definition: PowerPoint3Parser.cxx:161
std::stringstream DebugStream
a basic stream (if debug_with_files is not defined, does nothing)
Definition: MWAWDebug.hxx:61
void parse(librevenge::RVNGPresentationInterface *documentInterface) final
virtual function used to parse the input
Definition: PowerPoint3Parser.cxx:818
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
std::vector< Stop > m_stopList
the list of gradient limits
Definition: MWAWGraphicStyle.hxx:262
A class which defines the page properties.
Definition: MWAWPageSpan.hxx:99
SubDocument(PowerPoint3Parser &pars, MWAWInputStreamPtr const &input, SlideContent const *slide, int tId, bool mainZone, bool master)
constructor for text
Definition: PowerPoint3Parser.cxx:711
int m_customShapeId
the custom shape id
Definition: PowerPoint3Parser.cxx:289
std::vector< SlideFormat > m_formatList
the format list
Definition: PowerPoint3Parser.cxx:440
std::map< int, int > m_pictIdToZoneIdMap
a map pictId to picture zone
Definition: PowerPoint3Parser.cxx:516
void setFlags(uint32_t fl)
sets the font attributes bold, ...
Definition: MWAWFont.hxx:325
Generated on Fri Sep 18 2020 18:14:52 for libmwaw by
doxygen 1.8.20