the main class to read a Microsoft PowerPoint 95 files (Windows) More...
#include <PowerPoint7Parser.hxx>
Public Member Functions | |
PowerPoint7Parser (MWAWInputStreamPtr const &input, MWAWRSRCParserPtr const &rsrcParser, MWAWHeader *header) | |
constructor | |
~PowerPoint7Parser () final | |
destructor | |
bool | checkHeader (MWAWHeader *header, bool strict=false) final |
checks if the document header is correct (or not) | |
void | parse (librevenge::RVNGPresentationInterface *documentInterface) final |
virtual function used to parse the input | |
![]() | |
~MWAWPresentationParser () override | |
destructor | |
virtual void | parse (librevenge::RVNGPresentationInterface *documentInterface)=0 |
virtual function used to parse the input | |
![]() | |
virtual | ~MWAWParser () |
virtual destructor | |
virtual bool | checkHeader (MWAWHeader *header, bool strict=false)=0 |
virtual function used to check if the document header is correct (or not) | |
int | version () const |
returns the works version | |
MWAWParserStatePtr | getParserState () |
returns the parser state | |
MWAWHeader * | getHeader () |
returns the header | |
MWAWInputStreamPtr & | getInput () |
returns the actual input | |
MWAWListenerPtr | getMainListener () |
returns the main listener | |
MWAWGraphicListenerPtr & | getGraphicListener () |
returns the graphic listener | |
MWAWPresentationListenerPtr & | getPresentationListener () |
returns the presentation listener | |
MWAWSpreadsheetListenerPtr & | getSpreadsheetListener () |
returns the spreadsheet listener | |
MWAWTextListenerPtr & | getTextListener () |
returns the text listener | |
MWAWFontConverterPtr & | getFontConverter () |
returns the font converter | |
MWAWFontManagerPtr & | getFontManager () |
returns the font manager | |
MWAWPageSpan const & | getPageSpan () const |
returns the actual page dimension | |
MWAWPageSpan & | getPageSpan () |
returns the actual page dimension | |
double | getFormLength () const |
returns the form length | |
double | getFormWidth () const |
returns the form width | |
double | getPageLength () const |
returns the page length (form length without margin ) | |
double | getPageWidth () const |
returns the page width (form width without margin ) | |
MWAWRSRCParserPtr & | getRSRCParser () |
returns the rsrc parser | |
libmwaw::DebugFile & | ascii () |
a DebugFile used to write what we recognize when we parse the document | |
Protected Member Functions | |
void | createDocument (librevenge::RVNGPresentationInterface *documentInterface) |
creates the listener which will be associated to the document | |
bool | createZones () |
finds the different zones | |
void | sendSlides () |
try to send all slides | |
bool | getColor (int cId, MWAWColor &col) const |
returns the color corresponding to an id | |
bool | sendText (int textId) |
try to send the text content | |
bool | readDocRoot () |
try to read the main zone: the zone 3 | |
bool | readMainSub10 (long endPos) |
try to read the main sub zone: the zone 10: child of Root | |
bool | readDocument (long endPos) |
try to read the document's zone 1000: child of Root | |
bool | readDocAtom (int level, long endPos) |
try to read the document atom's zone 1001: child of Document | |
bool | readSlideInformation (int level, long endPos) |
try to read the slide information 1005: dimension, has background, ... | |
bool | readSlides (int level, long endPos, bool master) |
try to read the slides zone 1006(slides) or 1016(master) | |
bool | readSlideAtom (int level, long endPos, PowerPoint7Struct::SlideId &sId, PowerPoint7Struct::SlideId &mId) |
try to read the slide zone 1007 | |
bool | readNotes (int level, long endPos) |
try to read the notes zone 1008 | |
bool | readNoteAtom (int level, long endPos, PowerPoint7Struct::SlideId &sId) |
try to read the note atom zone 1009 | |
bool | readEnvironment (int level, long endPos) |
try to read the environment zone 1010 | |
bool | readColorScheme (int level, long endPos, std::vector< MWAWColor > &colors) |
try to read the color scheme 1012 | |
bool | readZone1015 (int level, long endPos) |
try to read the zone 1015: child of Slides | |
bool | readSlideShowInfo (int level, long endPos) |
try to read the slide show info zone 1017 | |
bool | readSlideViewInfo (int level, long endPos) |
try to read the slide view info zone 1018 | |
bool | readGuideAtom (int level, long endPos) |
try to read the guide atom zone 1019 | |
bool | readViewInfoAtom (int level, long endPos) |
try to read the view info zone 1021 | |
bool | readSlideViewInfoAtom (int level, long endPos) |
try to read the slide view info zone 1022 | |
bool | readVbaInfo (int level, long endPos) |
try to read the vba info zone 1023 | |
bool | readVbaInfoAtom (int level, long endPos) |
try to read the vba info zone 1024 | |
bool | readSSDocInfoAtom (int level, long endPos) |
try to read the slide show doc info atom 1025: child of Document | |
bool | readSummary (int level, long endPos) |
try to read the summary zone 1026: child of Document | |
bool | readZone1028 (int level, long endPos) |
try to read the zone 1028: child of Environment | |
bool | readZone1028Atom (int level, long endPos) |
try to read the zone 1029 | |
bool | readOutlineViewInfo (int level, long endPos) |
try to read the outline view info zone 1031 | |
bool | readSorterViewInfo (int level, long endPos) |
try to read the sorter view info zone 1032 | |
bool | readContainerList (int level, long endPos) |
try to read the container list zone 2000: child of Document | |
bool | readContainerAtom (int level, long endPos, int &N) |
try to read the container atom zone 2001 | |
bool | readIdentifier (int level, long endPos, int &id, std::string const &wh) |
try to read an identifier zone 2017 | |
bool | readBookmarkCollection (int level, long endPos) |
try to read the bookmark collection zone 2019 | |
bool | readSoundCollection (int level, long endPos) |
try to read the sound collection zone 2020 | |
bool | readBookmarkSeedAtom (int level, long endPos) |
try to read the bookmark seed atom zone 2025 | |
bool | readZone2026 (int level, long endPos) |
try to read the zone 2026: child of SlideViewInfo | |
bool | readColorList (int level, long endPos, std::vector< MWAWColor > &colors) |
try to read the color list zone 2031 | |
bool | readZone3000 (int level, long endPos) |
try to read the zone 3000: child of Handout/Notes/Slides/Zone3001 | |
bool | readZone3012 (int level, long endPos) |
try to read the zone 3012: child of Environment | |
bool | readZone3012Atom (int level, long endPos) |
try to read the zone 3013: child of Zone3012 | |
bool | readTextCharsAtom (int level, long endPos) |
try to read the text chars atom zone 4000 | |
bool | readStyleTextPropAtom (int level, long endPos, int &textId) |
try to read the style text prop atom zone 4001 | |
bool | readOutlineTextProps9Atom (int level, long endPos, int &pId, PowerPoint7Struct::SlideId &sId) |
try to read the outline text props9 atom zone 4009 | |
bool | readOutlineTextPropsHeader9Atom (int level, long endPos) |
try to read the outline text props header9 atom zone 4015 | |
bool | readString (int level, long endPos, std::string &string, int &zId, std::string const &what="") |
try to read the string zone 4026 | |
bool | readSlideIdentifier (int level, long endPos, PowerPoint7Struct::SlideId &sId) |
try to read a slide identifier zone 4032 | |
bool | readZone4039 (int level, long endPos) |
try to read the zone 4039: child of Zone4072 | |
bool | readKinsoku (int level, long endPos) |
try to read the Kinsoku zone 4040 | |
bool | readHandout (int level, long endPos) |
try to read the handout zone 4041 | |
bool | readZone4042 (int level, long endPos) |
try to read the zone 4042: child of FontCollection | |
bool | readKinsokuAtom (int level, long endPos) |
try to read the Kinsoku atom zone 4050 | |
bool | readZone1028Data (int level, long endPos) |
try to read the zone 4052: child of Zone1028 | |
bool | readSlideIdentifierContainer (int level, long endPos, PowerPoint7Struct::SlideId &sId) |
try to read a container of a slide identifier 4054 | |
bool | readHeaderFooters (int level, long endPos) |
try to read the header footer zone: 4057 | |
bool | readHeaderFooterAtom (int level, long endPos) |
try to read the header footer atom zone: 4058 | |
bool | readZone4072 (int level, long endPos) |
try to read the zone 4072: child of Zone3008 | |
bool | readZone (int level, long endPos) |
try to read a zone | |
bool | readZoneNoData (int level, long endPos, std::string const &name, std::string const &wh="") |
try to read a zone with no data | |
bool | parseTextContent (MWAWInputStreamPtr input) |
try to read the "Text_Content" stream | |
void | checkForUnparsedZones () |
check for unparsed zone | |
![]() | |
MWAWPresentationParser (MWAWInputStreamPtr const &input, MWAWRSRCParserPtr const &rsrcParser, MWAWHeader *header) | |
constructor (protected) | |
MWAWPresentationParser (MWAWParserStatePtr const &state) | |
constructor using a state | |
![]() | |
MWAWParser (MWAWParserState::Type type, MWAWInputStreamPtr const &input, MWAWRSRCParserPtr const &rsrcParser, MWAWHeader *header) | |
constructor (protected) | |
MWAWParser (MWAWParserStatePtr const &state) | |
constructor using a state | |
void | setVersion (int vers) |
sets the document's version | |
void | setGraphicListener (MWAWGraphicListenerPtr &listener) |
sets the graphic listener | |
void | resetGraphicListener () |
resets the listener | |
void | setPresentationListener (MWAWPresentationListenerPtr &listener) |
sets the presentation listener | |
void | resetPresentationListener () |
resets the listener | |
void | setSpreadsheetListener (MWAWSpreadsheetListenerPtr &listener) |
sets the spreadsheet listener | |
void | resetSpreadsheetListener () |
resets the listener | |
void | setTextListener (MWAWTextListenerPtr &listener) |
sets the text listener | |
void | resetTextListener () |
resets the listener | |
void | setAsciiName (char const *name) |
Debugging: change the default ascii file. | |
std::string const & | asciiName () const |
return the ascii file name | |
Protected Attributes | |
std::shared_ptr< PowerPoint7ParserInternal::State > | m_state |
the state | |
Friends | |
class | PowerPoint7Graph |
class | PowerPoint7Text |
the main class to read a Microsoft PowerPoint 95 files (Windows)
PowerPoint7Parser::PowerPoint7Parser | ( | MWAWInputStreamPtr const & | input, |
MWAWRSRCParserPtr const & | rsrcParser, | ||
MWAWHeader * | header | ||
) |
constructor
|
final |
destructor
|
protected |
check for unparsed zone
Referenced by parse().
|
finalvirtual |
|
protected |
creates the listener which will be associated to the document
Referenced by parse().
|
protected |
finds the different zones
Referenced by parse().
|
protected |
returns the color corresponding to an id
Referenced by PowerPoint7Text::readTextZone().
|
finalvirtual |
virtual function used to parse the input
Implements MWAWPresentationParser.
|
protected |
try to read the "Text_Content" stream
Referenced by createZones().
|
protected |
try to read the bookmark collection zone 2019
Referenced by readSummary().
|
protected |
try to read the bookmark seed atom zone 2025
Referenced by readBookmarkCollection().
|
protected |
try to read the color list zone 2031
Referenced by readColorScheme(), readEnvironment(), and readSlides().
|
protected |
try to read the color scheme 1012
Referenced by readHandout(), readNotes(), and readSlides().
|
protected |
try to read the container atom zone 2001
Referenced by readContainerList().
|
protected |
try to read the container list zone 2000: child of Document
Referenced by readDocument(), and PowerPoint7Graph::readGroup().
|
protected |
try to read the document atom's zone 1001: child of Document
Referenced by readDocument().
|
protected |
try to read the main zone: the zone 3
Referenced by createZones().
|
protected |
try to read the document's zone 1000: child of Root
Referenced by readDocRoot().
|
protected |
try to read the environment zone 1010
Referenced by readDocument().
|
protected |
try to read the guide atom zone 1019
Referenced by readZone2026().
|
protected |
try to read the handout zone 4041
Referenced by readDocument().
|
protected |
try to read the header footer atom zone: 4058
Referenced by readHeaderFooters().
|
protected |
try to read the header footer zone: 4057
Referenced by readHandout(), readNotes(), and readSlides().
|
protected |
try to read an identifier zone 2017
Referenced by readBookmarkCollection(), PowerPoint7Text::readFieldList(), PowerPoint7Text::readFontCollection(), PowerPoint7Graph::readPictureList(), and PowerPoint7Text::readRulerList().
|
protected |
try to read the Kinsoku zone 4040
Referenced by readEnvironment().
|
protected |
try to read the Kinsoku atom zone 4050
Referenced by readKinsoku().
|
protected |
try to read the main sub zone: the zone 10: child of Root
Referenced by readDocRoot().
|
protected |
try to read the note atom zone 1009
Referenced by readNotes().
|
protected |
try to read the notes zone 1008
Referenced by readDocument(), and readSlides().
|
protected |
try to read the outline text props9 atom zone 4009
Referenced by PowerPoint7Graph::readPlaceholderContainer(), and PowerPoint7Graph::readRect().
|
protected |
try to read the outline text props header9 atom zone 4015
Referenced by readOutlineTextProps9Atom().
|
protected |
try to read the outline view info zone 1031
Referenced by readContainerList().
|
protected |
try to read the slide zone 1007
Referenced by readSlides().
|
protected |
try to read a slide identifier zone 4032
Referenced by readSlideIdentifierContainer().
|
protected |
try to read a container of a slide identifier 4054
Referenced by readOutlineTextProps9Atom().
|
protected |
try to read the slide information 1005: dimension, has background, ...
Referenced by readHandout(), readNotes(), and readSlides().
|
protected |
try to read the slides zone 1006(slides) or 1016(master)
Referenced by readContainerList().
|
protected |
try to read the slide show info zone 1017
Referenced by readSlides().
|
protected |
try to read the slide view info zone 1018
Referenced by readContainerList().
|
protected |
try to read the slide view info zone 1022
Referenced by readSlideViewInfo().
|
protected |
try to read the sorter view info zone 1032
Referenced by readContainerList().
|
protected |
try to read the sound collection zone 2020
Referenced by readEnvironment().
|
protected |
try to read the slide show doc info atom 1025: child of Document
Referenced by readDocument().
|
protected |
try to read the string zone 4026
Referenced by PowerPoint7Graph::readBitmapContainer(), PowerPoint7Graph::readExternalOleEmbed(), readHeaderFooters(), readKinsoku(), readSlides(), readVbaInfo(), readZone4072(), and PowerPoint7Graph::readZone5000Data().
|
protected |
try to read the style text prop atom zone 4001
Referenced by PowerPoint7Graph::readPlaceholderContainer(), PowerPoint7Graph::readRect(), and readZone3012().
|
protected |
try to read the summary zone 1026: child of Document
Referenced by readDocument().
|
protected |
try to read the text chars atom zone 4000
Referenced by readStyleTextPropAtom().
|
protected |
try to read the vba info zone 1023
Referenced by readContainerList().
|
protected |
try to read the vba info zone 1024
Referenced by readVbaInfo().
|
protected |
try to read the view info zone 1021
Referenced by readOutlineViewInfo(), readSlideViewInfo(), and readSorterViewInfo().
|
protected |
try to read a zone
Referenced by PowerPoint7Graph::readArc(), PowerPoint7Graph::readBitmapContainer(), readBookmarkCollection(), readColorScheme(), readContainerList(), readDocRoot(), readDocument(), readEnvironment(), PowerPoint7Text::readExternalHyperlink9(), PowerPoint7Graph::readExternalOleEmbed(), PowerPoint7Text::readFieldList(), PowerPoint7Text::readFontCollection(), PowerPoint7Text::readFontContainer(), PowerPoint7Graph::readGroup(), readHandout(), readHeaderFooters(), readKinsoku(), PowerPoint7Graph::readLine(), PowerPoint7Graph::readMetaFileContainer(), readNotes(), readOutlineTextProps9Atom(), readOutlineViewInfo(), PowerPoint7Graph::readPictureContainer(), PowerPoint7Graph::readPictureIdContainer(), PowerPoint7Graph::readPictureList(), PowerPoint7Graph::readPlaceholderContainer(), PowerPoint7Graph::readPolygon(), PowerPoint7Graph::readRect(), PowerPoint7Text::readRulerContainer(), PowerPoint7Text::readRulerList(), readSlideIdentifierContainer(), readSlides(), readSlideViewInfo(), readSorterViewInfo(), readSoundCollection(), readStyleTextPropAtom(), readSummary(), PowerPoint7Text::readTextMasterProp(), PowerPoint7Text::readTextZoneContainer(), readVbaInfo(), readZone(), readZone1028(), readZone2026(), readZone3000(), readZone3012(), PowerPoint7Text::readZone4064(), readZone4072(), PowerPoint7Graph::readZone5000(), and PowerPoint7Graph::readZone5000Data().
|
protected |
try to read the zone 1015: child of Slides
Referenced by readSlides().
|
protected |
try to read the zone 1028: child of Environment
Referenced by readEnvironment().
|
protected |
try to read the zone 1029
Referenced by readZone1028().
|
protected |
try to read the zone 4052: child of Zone1028
Referenced by readZone1028().
|
protected |
try to read the zone 2026: child of SlideViewInfo
Referenced by readSlideViewInfo().
|
protected |
try to read the zone 3000: child of Handout/Notes/Slides/Zone3001
Referenced by PowerPoint7Graph::readGroup(), readHandout(), readNotes(), and readSlides().
|
protected |
try to read the zone 3012: child of Environment
Referenced by readEnvironment().
|
protected |
try to read the zone 3013: child of Zone3012
Referenced by readZone3012().
|
protected |
try to read the zone 4039: child of Zone4072
Referenced by readZone4072().
|
protected |
try to read the zone 4042: child of FontCollection
|
protected |
try to read the zone 4072: child of Zone3008
Referenced by PowerPoint7Graph::readRect().
|
protected |
try to read a zone with no data
Referenced by readBookmarkCollection(), readDocument(), PowerPoint7Text::readFieldList(), PowerPoint7Text::readFontCollection(), PowerPoint7Graph::readPictureList(), PowerPoint7Text::readRulerList(), and PowerPoint7Text::readZone4064().
|
protected |
try to send all slides
Referenced by parse().
|
protected |
try to send the text content
Referenced by PowerPoint7Graph::sendText().
|
friend |
Referenced by PowerPoint7Parser().
|
friend |
Referenced by PowerPoint7Parser().
|
protected |
the state
Referenced by createDocument(), createZones(), getColor(), parse(), PowerPoint7Parser(), readContainerList(), readDocAtom(), readEnvironment(), readHandout(), readNotes(), readOutlineTextProps9Atom(), readSlideInformation(), readSlides(), readStyleTextPropAtom(), readZone3000(), readZone3012(), sendSlides(), and sendText().