Go to the documentation of this file.
34 #ifndef POWER_POINT3_PARSER
35 # define POWER_POINT3_PARSER
76 void parse(librevenge::RVNGPresentationInterface *documentInterface);
80 void createDocument(librevenge::RVNGPresentationInterface *documentInterface);
172 shared_ptr<PowerPoint3ParserInternal::State>
m_state;
long m_zoneListBegin
the begin position of the list of zones
Definition: PowerPoint3Parser.cxx:452
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:305
bool m_isMaster
flag to know if we send a master text zone
Definition: PowerPoint3Parser.cxx:697
@ Time
Definition: libmwaw_internal.hxx:371
MWAWVariable< Justification > m_justify
the justification
Definition: MWAWParagraph.hxx:161
bool getUniqueColor(MWAWColor &col) const
check if the pattern has only one color; if so returns true...
Definition: MWAWGraphicStyle.cxx:86
bool readSlidesList(MWAWEntry const &entry)
try to read the first child of docRoot
Definition: PowerPoint3Parser.cxx:1410
MWAWFontConverterPtr & getFontConverter()
returns the font converter
Definition: MWAWParser.hxx:150
void set(Script const &newscript)
sets the script position
Definition: MWAWFont.hxx:293
State()
constructor
Definition: PowerPoint3Parser.cxx:421
shared_ptr< MWAWPresentationListener > MWAWPresentationListenerPtr
a smart pointer of MWAWPresentationListener
Definition: libmwaw_internal.hxx:511
@ PORTRAIT
Definition: MWAWPageSpan.hxx:99
int m_shapeId
the shape id: 1: oval, 2: rectOval, 3:rectangle
Definition: PowerPoint3Parser.cxx:267
Internal: the subdocument of a PowerPointParser.
Definition: PowerPoint3Parser.cxx:656
@ Triple
Definition: libmwaw_internal.hxx:318
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:3590
bool createZones()
finds the different zones
Definition: PowerPoint3Parser.cxx:831
int m_spanId
the style span id
Definition: MWAWList.hxx:101
int m_numZones
the number of zones
Definition: PowerPoint3Parser.cxx:131
MWAWBox2f getBdBox() const
returns the basic bdbox
Definition: MWAWGraphicShape.hxx:172
#define MWAW_DEBUG_MSG(M)
Definition: libmwaw_internal.hxx:127
virtual bool operator!=(MWAWSubDocument const &doc) const
operator!=
Definition: PowerPoint3Parser.cxx:669
MWAWVec2< float > MWAWVec2f
MWAWVec2 of float.
Definition: libmwaw_internal.hxx:785
a scheme of a PowerPoint3Parser
Definition: PowerPoint3Parser.cxx:326
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:355
int m_mainZoneIds[2]
the title/body position
Definition: PowerPoint3Parser.cxx:394
void setSurfaceColor(MWAWColor const &col, float opacity=1)
set the surface color
Definition: MWAWGraphicStyle.hxx:282
bool m_isMacFile
flag to know if the file is a mac file or a pc file
Definition: PowerPoint3Parser.cxx:446
bool m_useMasterPage
a flag to know if we need to use the master page
Definition: PowerPoint3Parser.cxx:390
bool parse(int id, MWAWInputStreamPtr &input, libmwaw::DebugFile &ascFile)
virtual function used to parse a field
Definition: PowerPoint3Parser.cxx:136
int m_type
the polygon type
Definition: PowerPoint3Parser.cxx:298
void add(librevenge::RVNGBinaryData const &binaryData, std::string type="image/pict")
add a picture
Definition: libmwaw_internal.hxx:448
void setShadowColor(MWAWColor const &col, float opacity=1)
set the shadow color
Definition: MWAWGraphicStyle.hxx:325
Internal: a polygon of a PowerPoint3Parser.
Definition: PowerPoint3Parser.cxx:290
MWAWVariable< std::vector< MWAWTabStop > > m_tabs
the tabulations
Definition: MWAWParagraph.hxx:156
bool isParsed() const
a flag to know if the entry was parsed or not
Definition: MWAWEntry.hxx:110
static MWAWGraphicShape pie(MWAWBox2f const &box, MWAWBox2f const &circleBox, MWAWVec2f const &angles)
static constructor to create a pie
Definition: MWAWGraphicShape.hxx:130
void translate(MWAWVec2f const &delta)
translate all the coordinate by delta
Definition: MWAWGraphicShape.cxx:351
GradientType m_gradientType
the gradient type
Definition: MWAWGraphicStyle.hxx:396
int id() const
returns the font id
Definition: MWAWFont.hxx:238
static Arrow plain()
returns a basic plain arrow
Definition: MWAWGraphicStyle.hxx:69
@ boldBit
Definition: MWAWFont.hxx:182
std::map< int, Scheme > m_idToSchemeMap
a map between schemeId and scheme
Definition: PowerPoint3Parser.cxx:462
std::map< int, Slide > m_idToSlideMap
a map zoneId to slide
Definition: PowerPoint3Parser.cxx:458
PrinterRect paper() const
returns the paper rectangle
Definition: MWAWPrinter.cxx:205
Internal: the structures of a PowerPoint3Parser.
Definition: PowerPoint3Parser.cxx:59
static MWAWColor white()
return the white color
Definition: libmwaw_internal.hxx:231
MWAWVariable< int > m_listLevelIndex
the actual level index
Definition: MWAWParagraph.hxx:168
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
static bool getCustomShape(int id, MWAWGraphicShape &shape)
returns a custom shape corresponding to an id
Definition: PowerPoint3Parser.cxx:523
virtual ~SubDocument()
destructor
Definition: PowerPoint3Parser.cxx:666
std::vector< MWAWEntry > m_zonesList
the list of zone entries
Definition: PowerPoint3Parser.cxx:454
int id() const
returns the id
Definition: MWAWEntry.hxx:153
int m_pictureId
the picture id
Definition: PowerPoint3Parser.cxx:275
void setMarginBottom(const double marginBottom)
set the page bottom margin
Definition: MWAWPageSpan.hxx:202
std::vector< Frame > m_frameList
the list of frames
Definition: PowerPoint3Parser.cxx:398
PowerPoint3Parser(MWAWInputStreamPtr input, MWAWRSRCParserPtr rsrcParser, MWAWHeader *header)
constructor
Definition: PowerPoint3Parser.cxx:728
a structure used to define a picture shape
Definition: MWAWGraphicShape.hxx:46
SubDocument(PowerPoint3Parser &pars, MWAWInputStreamPtr input, SlideContent const *slide, int tId, bool mainZone, bool master)
constructor for text
Definition: PowerPoint3Parser.cxx:659
the class to store a color
Definition: libmwaw_internal.hxx:182
void appendUnicode(uint32_t val, librevenge::RVNGString &buffer)
adds an unicode character to a string
Definition: libmwaw_internal.cxx:63
small class use to define a embedded object
Definition: libmwaw_internal.hxx:425
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
bool sendSlide(PowerPoint3ParserInternal::SlideContent const &slide, bool master)
try to send a slide
Definition: PowerPoint3Parser.cxx:3572
void parse(MWAWListenerPtr &listener, libmwaw::SubDocumentType type)
the parser function
Definition: PowerPoint3Parser.cxx:703
@ G_Rectangular
Definition: MWAWGraphicStyle.hxx:55
friend std::ostream & operator<<(std::ostream &o, Ruler const &ruler)
operator<<
Definition: PowerPoint3Parser.cxx:224
FontNameFieldParser(int numZones)
the constructor
Definition: PowerPoint3Parser.cxx:158
bool readListZones(int &docInfoId)
try to read the list of zones
Definition: PowerPoint3Parser.cxx:989
bool readDocRoot(MWAWEntry const &entry)
try to read the main child of doc info
Definition: PowerPoint3Parser.cxx:1292
bool getAverageColor(MWAWColor &col) const
return the average color
Definition: MWAWGraphicStyle.cxx:101
bool checkHeader(MWAWHeader *header, bool strict=false)
checks if the document header is correct (or not)
Definition: PowerPoint3Parser.cxx:3755
MWAWVec2i m_origin
the origin
Definition: PowerPoint3Parser.cxx:468
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
bool readPictureDefinition(MWAWEntry const &entry, int id)
try to read the picture definition
Definition: PowerPoint3Parser.cxx:2569
std::string str() const
print the color in the form #rrggbb
Definition: libmwaw_internal.cxx:231
MWAWVariable< MWAWListLevel > m_listLevel
the actual level
Definition: MWAWParagraph.hxx:174
@ Simple
Definition: MWAWFont.hxx:49
Internal: a ruler.
Definition: PowerPoint3Parser.cxx:217
double m_width
the border total width in point
Definition: libmwaw_internal.hxx:357
the main class to read a Microsoft PowerPoint v3 or v4 files (MacOs and Windows)
Definition: PowerPoint3Parser.hxx:64
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:115
bool getPattern(int id, MWAWGraphicStyle::Pattern &pattern) const
try to return a pattern
Definition: PowerPoint3Parser.cxx:485
void addNote(char const *note)
adds a note in the file, in actual position
Definition: MWAWDebug.cxx:59
TextZone()
constructor
Definition: PowerPoint3Parser.cxx:347
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:234
a structure used to define a picture style
Definition: MWAWGraphicStyle.hxx:48
MWAWVariable< double > m_margins[3]
the margins
Definition: MWAWParagraph.hxx:142
SlideContent const * m_slide
the slide
Definition: PowerPoint3Parser.cxx:691
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
Internal: a basic zone id parser of a PowerPoint3Parser.
Definition: PowerPoint3Parser.cxx:123
@ DECIMAL
Definition: MWAWParagraph.hxx:48
MWAWEntry const & getZoneEntry(int id) const
try to return a zone
Definition: PowerPoint3Parser.cxx:432
void parse(librevenge::RVNGPresentationInterface *documentInterface)
virtual function used to parse the input
Definition: PowerPoint3Parser.cxx:758
std::vector< GradientStop > m_gradientStopList
the list of gradient limits
Definition: MWAWGraphicStyle.hxx:402
MWAWEntry m_fonts
the fonts entry
Definition: PowerPoint3Parser.cxx:363
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
bool readColorZone(MWAWEntry const &entry)
try to read a color zone, probably used to define the menu, ...: the 8th zone
Definition: PowerPoint3Parser.cxx:3210
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
int m_margins[10]
the left/first margins * 5 (0: normal, 1-4: level)
Definition: PowerPoint3Parser.cxx:248
bool readTextZone(MWAWEntry const &entry, PowerPoint3ParserInternal::SlideContent &content)
try to read a text zone
Definition: PowerPoint3Parser.cxx:2275
@ Date
Definition: libmwaw_internal.hxx:371
std::string const & asciiName() const
return the ascii file name
Definition: MWAWParser.hxx:232
MWAWBox2i m_dimension
the dimension
Definition: PowerPoint3Parser.cxx:265
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:470
a basic pattern used in a MWAWGraphicStyle:
Definition: MWAWGraphicStyle.hxx:171
int m_fieldSize
the field size
Definition: PowerPoint3Parser.cxx:113
Internal: a frame of a PowerPoint3Parser.
Definition: PowerPoint3Parser.cxx:251
void setFormLength(const double formLength)
set the total page length
Definition: MWAWPageSpan.hxx:172
void setMasterPageName(librevenge::RVNGString const &name)
set the page master name
Definition: MWAWPageSpan.hxx:237
int m_polygonId
the polygon id
Definition: PowerPoint3Parser.cxx:273
@ Polygon
Definition: MWAWGraphicShape.hxx:49
static MWAWColor barycenter(float alpha, MWAWColor const &colA, float beta, MWAWColor const &colB)
return alpha*colA+beta*colB
Definition: libmwaw_internal.cxx:205
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:1070
SubDocument(SubDocument const &)
int m_printInfoIds[2]
the printInfo id
Definition: PowerPoint3Parser.cxx:476
@ MWAW_T_POWERPOINT
PowerPoint: v1-v4 and pc v2-v4,95.
Definition: MWAWDocument.hxx:195
void checkForUnparsedZones()
check for unparsed zone
Definition: PowerPoint3Parser.cxx:1077
SubDocumentType
Definition: libmwaw_internal.hxx:178
Ruler()
constructor
Definition: PowerPoint3Parser.cxx:219
void setBackgroundColor(MWAWColor color=MWAWColor::white())
set the background color
Definition: MWAWPageSpan.hxx:252
@ MWAW_K_PRESENTATION
presentation graphic
Definition: MWAWDocument.hxx:85
Internal: the state of a PowerPoint3Parser.
Definition: PowerPoint3Parser.cxx:419
void reset()
writes the current file and reset to zero
Definition: MWAWDebug.hxx:85
std::string m_extra
extra data
Definition: MWAWFont.hxx:552
bool readFontName(MWAWEntry const &entry, int id)
try to read a font name : 11th zone
Definition: PowerPoint3Parser.cxx:2824
std::vector< double > m_widthsList
the different length used for each line/sep (if defined)
Definition: libmwaw_internal.hxx:361
void createDocument(librevenge::RVNGPresentationInterface *documentInterface)
creates the listener which will be associated to the document
Definition: PowerPoint3Parser.cxx:788
MWAWListenerPtr getMainListener()
returns the main listener
Definition: MWAWParser.cxx:108
@ JustificationCenter
Definition: MWAWParagraph.hxx:87
virtual bool operator==(MWAWSubDocument const &doc) const
operator!==
Definition: PowerPoint3Parser.cxx:681
@ shadowBit
Definition: MWAWFont.hxx:183
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:3274
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:371
int m_rulerId
the ruler id
Definition: PowerPoint3Parser.cxx:357
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
T y() const
second element
Definition: libmwaw_internal.hxx:620
bool readScheme(MWAWEntry const &entry, int id)
try to read a scheme
Definition: PowerPoint3Parser.cxx:1355
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
ListZoneIdParser(int numZones, std::string const &debugName)
the constructor
Definition: PowerPoint3Parser.cxx:125
bool m_isSent
flag to know if a frame is sent
Definition: PowerPoint3Parser.cxx:287
T x() const
first element
Definition: libmwaw_internal.hxx:615
std::vector< int > m_childList
the child list
Definition: PowerPoint3Parser.cxx:168
virtual class which defines the ancestor of all presentation zone parser
Definition: MWAWParser.hxx:266
Slide()
constructor
Definition: PowerPoint3Parser.cxx:409
bool readZone10(MWAWEntry const &entry)
try to read the 10th zone
Definition: PowerPoint3Parser.cxx:3317
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
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:201
bool isBlack() const
return true if the color is black
Definition: libmwaw_internal.hxx:265
MWAWEntry m_text
the text entry
Definition: PowerPoint3Parser.cxx:361
bool readPictureMain(MWAWEntry const &entry)
try to read the 5th zone
Definition: PowerPoint3Parser.cxx:3112
void setVersion(int vers)
sets the document's version
Definition: MWAWParser.hxx:206
#define M_PI
Definition: libmwaw_internal.hxx:49
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
int m_schemeId
the scheme id
Definition: PowerPoint3Parser.cxx:404
void setBorders(int wh, MWAWBorder const &border)
sets the cell border: wh=libmwaw::LeftBit|...
Definition: MWAWGraphicStyle.cxx:172
bool readFontNamesList(std::map< int, int > const &fIdtoZIdMap)
try to read a font names list
Definition: PowerPoint3Parser.cxx:2814
MWAWBox2i m_box
the bdbox
Definition: PowerPoint3Parser.cxx:300
SubDocument & operator=(SubDocument const &)
@ 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:1827
bool readSlidePolygons(MWAWEntry const &entry, std::vector< PowerPoint3ParserInternal::Polygon > &polyList)
try to read the third child of slide content
Definition: PowerPoint3Parser.cxx:1768
std::vector< TextZone > m_textZone
the textzone
Definition: PowerPoint3Parser.cxx:396
Type m_type
the type
Definition: MWAWGraphicShape.hxx:191
bool m_wrapText
wrap the text
Definition: PowerPoint3Parser.cxx:369
bool readSlideTransition(MWAWEntry const &entry)
try to read the first child of slideMain
Definition: PowerPoint3Parser.cxx:1541
std::map< int, MWAWEmbeddedObject > m_idToPictureContentMap
a map zoneId to picture object
Definition: PowerPoint3Parser.cxx:466
Alignment m_alignment
the alignment ( left, center, ...)
Definition: MWAWParagraph.hxx:73
Definition: libmwaw_internal.hxx:142
int m_zoneIds[13]
the sequential zones id
Definition: PowerPoint3Parser.cxx:478
std::vector< Polygon > m_polygonList
the list of polygons
Definition: PowerPoint3Parser.cxx:402
long begin() const
returns the begin offset
Definition: MWAWEntry.hxx:72
bool parse(int id, MWAWInputStreamPtr &input, libmwaw::DebugFile &ascFile)
virtual function used to parse a field
Definition: PowerPoint3Parser.cxx:171
bool m_mainTextBox
flag to know if we send the title or the body
Definition: PowerPoint3Parser.cxx:695
bool getColor(int colorId, int schemeId, MWAWColor &color) const
try to return a color corresponding to a scheme and color
Definition: PowerPoint3Parser.cxx:738
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
MWAWGraphicShape rotate(float angle, MWAWVec2f const ¢er) const
return a new shape corresponding to a rotation from center.
Definition: MWAWGraphicShape.cxx:377
Arrow m_arrows[2]
the two arrows corresponding to start and end extremity
Definition: MWAWGraphicStyle.hxx:430
void setPattern(Pattern const &pat, float opacity=1)
set the pattern
Definition: MWAWGraphicStyle.hxx:293
Internal: a slide of a PowerPoint3Parser.
Definition: PowerPoint3Parser.cxx:407
std::string m_fontFamily
the basic pc font family if known
Definition: PowerPoint3Parser.cxx:448
static MWAWColor black()
return the back color
Definition: libmwaw_internal.hxx:226
int m_numMainZones
the number of title/body zones
Definition: PowerPoint3Parser.cxx:392
MWAWColor m_colors[8]
the color: back, foreground, accents
Definition: PowerPoint3Parser.cxx:328
double m_position
the tab position
Definition: MWAWParagraph.hxx:71
void setId(int newId)
sets the font id
Definition: MWAWFont.hxx:243
bool readPictureContent(MWAWEntry const &entry, MWAWEmbeddedObject &pict)
try to read the first child of the picture
Definition: PowerPoint3Parser.cxx:2674
bool readStructList(MWAWEntry const &entry, PowerPoint3ParserInternal::FieldParser &parser)
try to read a list of structure
Definition: PowerPoint3Parser.cxx:2493
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:474
void setId(int newId)
sets the id
Definition: MWAWEntry.hxx:158
int m_groupChild[2]
the group limit
Definition: PowerPoint3Parser.cxx:283
int m_type
the type: 0:line, 1:rect, 2: textbox, ...
Definition: PowerPoint3Parser.cxx:261
bool readDocInfo(MWAWEntry const &entry)
try to read the document info zone
Definition: PowerPoint3Parser.cxx:1101
@ G_Linear
Definition: MWAWGraphicStyle.hxx:55
a field
Definition: libmwaw_internal.hxx:369
@ PageNumber
Definition: libmwaw_internal.hxx:371
a structure used to define the gradient limit in MWAWGraphicStyle
Definition: MWAWGraphicStyle.hxx:134
std::map< int, int > m_fieldIdToZoneIdMap
map field id to zone id
Definition: PowerPoint3Parser.cxx:133
void setMarginTop(const double marginTop)
set the page top margin
Definition: MWAWPageSpan.hxx:197
bool read(MWAWInputStreamPtr input)
reads the struture in a file
Definition: MWAWPrinter.cxx:218
Internal: a text zone of a PowerPoint3Parser.
Definition: PowerPoint3Parser.cxx:345
SlideContent()
constructor
Definition: PowerPoint3Parser.cxx:377
bool readSlide(MWAWEntry const &entry, PowerPoint3ParserInternal::Slide &slide, int zId)
try to read a slide main zone
Definition: PowerPoint3Parser.cxx:1477
bool readFont(MWAWFont &font, int schemeId)
try to read a font
Definition: PowerPoint3Parser.cxx:2772
MWAWColor m_colors[2]
the two indexed colors
Definition: MWAWGraphicStyle.hxx:245
MWAWParserStatePtr getParserState()
returns the parser state
Definition: MWAWParser.hxx:113
bool hasText() const
return true if the zone has text
Definition: PowerPoint3Parser.cxx:382
bool readParagraph(MWAWParagraph ¶, PowerPoint3ParserInternal::Ruler const &ruler, int schemeId)
try to read a paragraph
Definition: PowerPoint3Parser.cxx:2897
int m_monoTypeFontId
the monotype font id
Definition: PowerPoint3Parser.cxx:480
shared_ptr< MWAWInputStream > MWAWInputStreamPtr
a smart pointer of MWAWInputStream
Definition: libmwaw_internal.hxx:503
bool empty() const
return true if the zone has no text
Definition: PowerPoint3Parser.cxx:352
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
MWAWColor m_lineColor
the line color
Definition: MWAWGraphicStyle.hxx:383
librevenge::RVNGString m_bullet
the bullet if we have an bullet level
Definition: MWAWList.hxx:99
std::vector< MWAWVec2f > m_vertices
the list of points
Definition: PowerPoint3Parser.cxx:302
float m_angles[2]
the arc angles
Definition: PowerPoint3Parser.cxx:281
std::map< int, SlideContent > m_idToSlideContentMap
a map zoneId to slide content
Definition: PowerPoint3Parser.cxx:460
MWAWBox2< int > MWAWBox2i
MWAWBox2 of int.
Definition: libmwaw_internal.hxx:1132
virtual bool parse(int id, MWAWInputStreamPtr &input, libmwaw::DebugFile &ascFile)=0
virtual function used to parse a field
@ Double
Definition: libmwaw_internal.hxx:318
MWAWVec2< T > center() const
the box center
Definition: libmwaw_internal.hxx:1013
@ italicBit
Definition: MWAWFont.hxx:182
MWAWVariable< librevenge::RVNGUnit > m_marginsUnit
the margins INCH, ...
Definition: MWAWParagraph.hxx:144
int m_textId
the text id
Definition: PowerPoint3Parser.cxx:693
int m_numZones
the number of zones
Definition: PowerPoint3Parser.cxx:164
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:1709
bool readPrintInfo(MWAWEntry const &entry)
try to read a print info zone
Definition: PowerPoint3Parser.cxx:1262
@ BULLET
Definition: MWAWList.hxx:46
Polygon()
constructor
Definition: PowerPoint3Parser.cxx:292
void sendSlides()
try to send all slides
Definition: PowerPoint3Parser.cxx:3521
shared_ptr< PowerPoint3OLE > m_oleParser
the ole parser
Definition: PowerPoint3Parser.cxx:450
@ Page
Definition: MWAWPosition.hxx:51
MWAWParser * m_parser
the main zone parser
Definition: MWAWSubDocument.hxx:75
@ JustificationFull
Definition: MWAWParagraph.hxx:87
@ JustificationRight
Definition: MWAWParagraph.hxx:88
Internal: a slide of a PowerPoint3Parser.
Definition: PowerPoint3Parser.cxx:375
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
void setStream(MWAWInputStreamPtr ip)
resets the input
Definition: MWAWDebug.hxx:73
std::vector< float > m_lineDashWidth
the dash array: a sequence of (fullsize, emptysize)
Definition: MWAWGraphicStyle.hxx:373
Type m_type
the type of the level
Definition: MWAWList.hxx:86
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
MWAWEntry m_rulers
the ruler entry
Definition: PowerPoint3Parser.cxx:365
MWAWVec2f m_gradientPercentCenter
the gradient center
Definition: MWAWGraphicStyle.hxx:408
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
SubDocument(PowerPoint3Parser &pars, MWAWInputStreamPtr input, SlideContent const *slide)
constructor for note
Definition: PowerPoint3Parser.cxx:662
Frame()
constructor
Definition: PowerPoint3Parser.cxx:253
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:2559
int m_textId
the textzone id
Definition: PowerPoint3Parser.cxx:277
std::vector< int > m_slidesIdList
the main list of slides id
Definition: PowerPoint3Parser.cxx:456
MWAWVec2< T > size() const
the box size
Definition: libmwaw_internal.hxx:1008
bool readSlideContent(MWAWEntry const &entry, PowerPoint3ParserInternal::SlideContent &slide)
try to read the second/third child of slideMain: main, master ?
Definition: PowerPoint3Parser.cxx:1601
bool sendText(PowerPoint3ParserInternal::SlideContent const &slide, int tId, bool placeHolder, bool master)
try to send a text zone
Definition: PowerPoint3Parser.cxx:3386
shared_ptr< PowerPoint3ParserInternal::State > m_state
the state
Definition: PowerPoint3Parser.hxx:172
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:363
a small struct to define the script position in MWAWFont
Definition: MWAWFont.hxx:100
bool readRuler(MWAWEntry const &entry, int id)
try to read some ruler
Definition: PowerPoint3Parser.cxx:3046
float m_gradientAngle
the gradient angle
Definition: MWAWGraphicStyle.hxx:404
MWAWEntry m_badEntry
an entry used by getZoneEntry if it does not find the zone
Definition: PowerPoint3Parser.cxx:482
MWAWBox2i m_box
the bdbox
Definition: PowerPoint3Parser.cxx:359
MWAWGraphicStyle m_style
the style
Definition: PowerPoint3Parser.cxx:285
AnchorTo m_anchorTo
anchor position
Definition: MWAWPosition.hxx:254
std::map< int, int > m_idToFontIdMap
a map between file id and font id
Definition: PowerPoint3Parser.cxx:472
bool m_centered
force horizontal centered
Definition: PowerPoint3Parser.cxx:367
int m_customTransformation
the custom transformation: 1:rot90, 2:rot180, 4:flipX
Definition: PowerPoint3Parser.cxx:271
bool m_mainTextBox
flag to know if the textbox is a place holder
Definition: PowerPoint3Parser.cxx:279
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
std::map< int, std::string > m_idToNameMap
map file id to font name
Definition: PowerPoint3Parser.cxx:166
std::string m_extra
a string to store some errors
Definition: MWAWParagraph.hxx:184
virtual ~FieldParser()
destructor
Definition: PowerPoint3Parser.cxx:118
MWAWVec2f m_shadowOffset
the shadow offset
Definition: MWAWGraphicStyle.hxx:394
static MWAWGraphicShape rectangle(MWAWBox2f const &box, MWAWVec2f const &corners=MWAWVec2f(0, 0))
static constructor to create a rectangle
Definition: MWAWGraphicShape.hxx:103
int m_formatId
the format id
Definition: PowerPoint3Parser.cxx:263
int swapUInt8(int v)
swap an uint8_t by 4 offset
Definition: PowerPoint3Parser.cxx:66
virtual ~PowerPoint3Parser()
destructor
Definition: PowerPoint3Parser.cxx:734
std::string m_name
the debug name
Definition: PowerPoint3Parser.cxx:115
bool readColors(MWAWEntry const &entry)
try to read a color list
Definition: PowerPoint3Parser.cxx:3156
MWAWColor m_color
the border color
Definition: libmwaw_internal.hxx:363
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:414
FieldParser(int fSize, std::string const &debugName)
the constructor
Definition: PowerPoint3Parser.cxx:105
MWAWParagraph m_paragraph
the paragraph
Definition: PowerPoint3Parser.cxx:246
void setPresentationListener(MWAWPresentationListenerPtr &listener)
sets the presentation listener
Definition: MWAWParser.cxx:124
MWAWVec2< int > MWAWVec2i
MWAWVec2 of int.
Definition: libmwaw_internal.hxx:781
Internal: a font name parser of a PowerPoint3Parser.
Definition: PowerPoint3Parser.cxx:156
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
int m_customShapeId
the custom shape id
Definition: PowerPoint3Parser.cxx:269
std::vector< SlideFormat > m_formatList
the format list
Definition: PowerPoint3Parser.cxx:400
@ G_Axial
Definition: MWAWGraphicStyle.hxx:55
std::map< int, int > m_pictIdToZoneIdMap
a map pictId to picture zone
Definition: PowerPoint3Parser.cxx:464
void setFlags(uint32_t fl)
sets the font attributes bold, ...
Definition: MWAWFont.hxx:304
Generated on Wed Jun 17 2020 06:30:12 for libmwaw by
doxygen 1.8.18