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 | ~MWAWParser () |
virtual destructor | |
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(), and readZone4042().
|
finalvirtual |
checks if the document header is correct (or not)
Implements MWAWParser.
Referenced by parse(), and PowerPoint7Text.
|
protected |
creates the listener which will be associated to the document
Referenced by parse(), and PowerPoint7Text.
|
protected |
finds the different zones
Referenced by parse(), and PowerPoint7Text.
|
protected |
returns the color corresponding to an id
Referenced by PowerPoint7Text.
|
finalvirtual |
virtual function used to parse the input
Implements MWAWPresentationParser.
Referenced by PowerPoint7Text.
|
protected |
try to read the "Text_Content" stream
Referenced by createZones(), and readZone4042().
|
protected |
try to read the bookmark collection zone 2019
Referenced by PowerPoint7Text, and readSummary().
|
protected |
try to read the bookmark seed atom zone 2025
Referenced by PowerPoint7Text, and readBookmarkCollection().
|
protected |
try to read the color list zone 2031
Referenced by PowerPoint7Text, readColorScheme(), readEnvironment(), and readSlides().
|
protected |
try to read the color scheme 1012
Referenced by PowerPoint7Text, readHandout(), readNotes(), and readSlides().
|
protected |
try to read the container atom zone 2001
Referenced by PowerPoint7Text, and readContainerList().
|
protected |
try to read the container list zone 2000: child of Document
Referenced by PowerPoint7Text, and readDocument().
|
protected |
try to read the document atom's zone 1001: child of Document
Referenced by PowerPoint7Text, and readDocument().
|
protected |
try to read the main zone: the zone 3
Referenced by createZones(), and PowerPoint7Text.
|
protected |
try to read the document's zone 1000: child of Root
Referenced by PowerPoint7Text, and readDocRoot().
|
protected |
try to read the environment zone 1010
Referenced by PowerPoint7Text, and readDocument().
|
protected |
try to read the guide atom zone 1019
Referenced by PowerPoint7Text, and readZone2026().
|
protected |
try to read the handout zone 4041
Referenced by PowerPoint7Text, and readDocument().
|
protected |
try to read the header footer atom zone: 4058
Referenced by readHeaderFooters(), and readZone4042().
|
protected |
try to read the header footer zone: 4057
Referenced by readHandout(), readNotes(), readSlides(), and readZone4042().
|
protected |
try to read an identifier zone 2017
Referenced by PowerPoint7Text, and readBookmarkCollection().
|
protected |
try to read the Kinsoku zone 4040
Referenced by PowerPoint7Text, and readEnvironment().
|
protected |
try to read the Kinsoku atom zone 4050
Referenced by readKinsoku(), and readZone4042().
|
protected |
try to read the main sub zone: the zone 10: child of Root
Referenced by PowerPoint7Text, and readDocRoot().
|
protected |
try to read the note atom zone 1009
Referenced by PowerPoint7Text, and readNotes().
|
protected |
try to read the notes zone 1008
Referenced by PowerPoint7Text, readDocument(), and readSlides().
|
protected |
try to read the outline text props9 atom zone 4009
Referenced by PowerPoint7Text.
|
protected |
try to read the outline text props header9 atom zone 4015
Referenced by PowerPoint7Text, and readOutlineTextProps9Atom().
|
protected |
try to read the outline view info zone 1031
Referenced by PowerPoint7Text, and readContainerList().
|
protected |
try to read the slide zone 1007
Referenced by PowerPoint7Text, and readSlides().
|
protected |
try to read a slide identifier zone 4032
Referenced by PowerPoint7Text, and readSlideIdentifierContainer().
|
protected |
try to read a container of a slide identifier 4054
Referenced by readOutlineTextProps9Atom(), and readZone4042().
|
protected |
try to read the slide information 1005: dimension, has background, ...
Referenced by PowerPoint7Text, readHandout(), readNotes(), and readSlides().
|
protected |
try to read the slides zone 1006(slides) or 1016(master)
Referenced by PowerPoint7Text, and readContainerList().
|
protected |
try to read the slide show info zone 1017
Referenced by PowerPoint7Text, and readSlides().
|
protected |
try to read the slide view info zone 1018
Referenced by PowerPoint7Text, and readContainerList().
|
protected |
try to read the slide view info zone 1022
Referenced by PowerPoint7Text, and readSlideViewInfo().
|
protected |
try to read the sorter view info zone 1032
Referenced by PowerPoint7Text, and readContainerList().
|
protected |
try to read the sound collection zone 2020
Referenced by PowerPoint7Text, and readEnvironment().
|
protected |
try to read the slide show doc info atom 1025: child of Document
Referenced by PowerPoint7Text, and readDocument().
|
protected |
try to read the string zone 4026
Referenced by PowerPoint7Text, readHeaderFooters(), readKinsoku(), readSlides(), readVbaInfo(), and readZone4072().
|
protected |
try to read the style text prop atom zone 4001
Referenced by PowerPoint7Text, and readZone3012().
|
protected |
try to read the summary zone 1026: child of Document
Referenced by PowerPoint7Text, and readDocument().
|
protected |
try to read the text chars atom zone 4000
Referenced by PowerPoint7Text, and readStyleTextPropAtom().
|
protected |
try to read the vba info zone 1023
Referenced by PowerPoint7Text, and readContainerList().
|
protected |
try to read the vba info zone 1024
Referenced by PowerPoint7Text, and readVbaInfo().
|
protected |
try to read the view info zone 1021
Referenced by PowerPoint7Text, readOutlineViewInfo(), readSlideViewInfo(), and readSorterViewInfo().
|
protected |
try to read a zone
Referenced by readBookmarkCollection(), readColorScheme(), readContainerList(), readDocRoot(), readDocument(), readEnvironment(), readHandout(), readHeaderFooters(), readKinsoku(), readNotes(), readOutlineTextProps9Atom(), readOutlineViewInfo(), readSlideIdentifierContainer(), readSlides(), readSlideViewInfo(), readSorterViewInfo(), readSoundCollection(), readStyleTextPropAtom(), readSummary(), readVbaInfo(), readZone(), readZone1028(), readZone2026(), readZone3000(), readZone3012(), readZone4042(), and readZone4072().
|
protected |
try to read the zone 1015: child of Slides
Referenced by PowerPoint7Text, and readSlides().
|
protected |
try to read the zone 1028: child of Environment
Referenced by PowerPoint7Text, and readEnvironment().
|
protected |
try to read the zone 1029
Referenced by PowerPoint7Text, and readZone1028().
|
protected |
try to read the zone 4052: child of Zone1028
Referenced by readZone1028(), and readZone4042().
|
protected |
try to read the zone 2026: child of SlideViewInfo
Referenced by PowerPoint7Text, and readSlideViewInfo().
|
protected |
try to read the zone 3000: child of Handout/Notes/Slides/Zone3001
Referenced by PowerPoint7Text, readHandout(), readNotes(), and readSlides().
|
protected |
try to read the zone 3012: child of Environment
Referenced by PowerPoint7Text, and readEnvironment().
|
protected |
try to read the zone 3013: child of Zone3012
Referenced by PowerPoint7Text, and readZone3012().
|
protected |
try to read the zone 4039: child of Zone4072
Referenced by PowerPoint7Text, and readZone4072().
|
protected |
try to read the zone 4042: child of FontCollection
Referenced by readZone4042().
|
protected |
try to read the zone 4072: child of Zone3008
Referenced by readZone4042().
|
protected |
try to read a zone with no data
Referenced by readBookmarkCollection(), readDocument(), and readZone4042().
|
protected |
try to send all slides
Referenced by parse(), and PowerPoint7Text.
|
protected |
try to send the text content
Referenced by PowerPoint7Text.
|
friend |
Referenced by PowerPoint7Graph, and PowerPoint7Parser().
|
friend |
Referenced by PowerPoint7Parser(), and PowerPoint7Text.
|
protected |
the state
Referenced by createDocument(), createZones(), getColor(), parse(), PowerPoint7Parser(), readContainerList(), readDocAtom(), readEnvironment(), readHandout(), readNotes(), readOutlineTextProps9Atom(), readSlideInformation(), readSlides(), readStyleTextPropAtom(), readZone3000(), readZone3012(), sendSlides(), and sendText().