the main class to read a Mac Microsoft PowerPoint v1, v2 files More...
#include <PowerPoint1Parser.hxx>
Public Member Functions | |
| PowerPoint1Parser (MWAWInputStreamPtr input, MWAWRSRCParserPtr rsrcParser, MWAWHeader *header) | |
| constructor More... | |
| virtual | ~PowerPoint1Parser () |
| destructor More... | |
| bool | checkHeader (MWAWHeader *header, bool strict=false) |
| checks if the document header is correct (or not) More... | |
| void | parse (librevenge::RVNGPresentationInterface *documentInterface) |
| virtual function used to parse the input More... | |
Public Member Functions inherited from MWAWPresentationParser | |
| virtual | ~MWAWPresentationParser () |
| destructor More... | |
Public Member Functions inherited from MWAWParser | |
| virtual | ~MWAWParser () |
| virtual destructor More... | |
| int | version () const |
| returns the works version More... | |
| MWAWParserStatePtr | getParserState () |
| returns the parser state More... | |
| MWAWHeader * | getHeader () |
| returns the header More... | |
| MWAWInputStreamPtr & | getInput () |
| returns the actual input More... | |
| MWAWListenerPtr | getMainListener () |
| returns the main listener More... | |
| MWAWGraphicListenerPtr & | getGraphicListener () |
| returns the graphic listener More... | |
| MWAWPresentationListenerPtr & | getPresentationListener () |
| returns the presentation listener More... | |
| MWAWSpreadsheetListenerPtr & | getSpreadsheetListener () |
| returns the spreadsheet listener More... | |
| MWAWTextListenerPtr & | getTextListener () |
| returns the text listener More... | |
| MWAWFontConverterPtr & | getFontConverter () |
| returns the font converter More... | |
| MWAWFontManagerPtr & | getFontManager () |
| returns the font manager More... | |
| MWAWPageSpan const & | getPageSpan () const |
| returns the actual page dimension More... | |
| MWAWPageSpan & | getPageSpan () |
| returns the actual page dimension More... | |
| double | getFormLength () const |
| returns the form length More... | |
| double | getFormWidth () const |
| returns the form width More... | |
| double | getPageLength () const |
| returns the page length (form length without margin ) More... | |
| double | getPageWidth () const |
| returns the page width (form width without margin ) More... | |
| MWAWRSRCParserPtr & | getRSRCParser () |
| returns the rsrc parser More... | |
| libmwaw::DebugFile & | ascii () |
| a DebugFile used to write what we recognize when we parse the document More... | |
Protected Member Functions | |
| void | createDocument (librevenge::RVNGPresentationInterface *documentInterface) |
| creates the listener which will be associated to the document More... | |
| bool | createZones () |
| finds the different zones More... | |
| void | sendSlides () |
| try to send all slides More... | |
| bool | readListZones (int &docInfoId) |
| try to read the list of zones More... | |
| bool | readFramesList (MWAWEntry const &entry, std::vector< PowerPoint1ParserInternal::Frame > &frame, int schemeId) |
| try to read a frame zone in a page More... | |
| bool | readZoneIdList (MWAWEntry const &entry, int zId) |
| try to read a zone id list zone More... | |
| bool | readZoneIdList2 (MWAWEntry const &entry, int zId) |
| try to read a zone id list zone for v2 pc file More... | |
| bool | readColors (MWAWEntry const &entry) |
| try to read a color list More... | |
| bool | readColorZone (MWAWEntry const &entry) |
| try to read a color zone, probably used to define the menu, ... More... | |
| bool | readFonts (MWAWEntry const &entry) |
| try to read a font style list More... | |
| bool | readPicture (MWAWEntry const &entry, MWAWEmbeddedObject &picture) |
| try to read a picture zone More... | |
| bool | readPrintInfo (MWAWEntry const &entry) |
| try to read a print info zone More... | |
| bool | readRulers (MWAWEntry const &entry) |
| try to read the paragraph style More... | |
| bool | readScheme (MWAWEntry const &entry, int id) |
| try to read a scheme More... | |
| bool | readSchemes () |
| try to read the schemes More... | |
| bool | readTextZone (MWAWEntry const &entry, PowerPoint1ParserInternal::TextZone &zone) |
| try to read a text zone More... | |
| bool | readSlide (MWAWEntry const &entry, std::vector< int > &slideIds) |
| try to read a slide zone, update the list of slide ids More... | |
| bool | readDocInfo (MWAWEntry const &entry) |
| try to read the document info zone More... | |
| bool | readZone2 (MWAWEntry const &entry) |
| try to read a unknown zone with size 22: related to scheme? More... | |
| bool | sendSlide (PowerPoint1ParserInternal::Slide const &slide, bool master) |
| try to send a slide More... | |
| bool | sendFrame (PowerPoint1ParserInternal::Frame const &frame, PowerPoint1ParserInternal::TextZone const &textZone) |
| try to send a frame zone More... | |
| bool | sendPicture (MWAWPosition const &position, MWAWGraphicStyle const &style, int pId) |
| try to send a picture More... | |
| bool | sendText (PowerPoint1ParserInternal::TextZone const &textZone, MWAWVec2i tId, int rulerId) |
| try to send a text zone More... | |
| bool | sendSlideNote (PowerPoint1ParserInternal::Slide const &slide) |
| try to send the slide note text More... | |
| bool | getColor (int colorId, int schemeId, MWAWColor &color) const |
| try to return a color corresponding to a scheme and color More... | |
| void | checkForUnparsedZones () |
| check for unparsed zone More... | |
Protected Member Functions inherited from MWAWPresentationParser | |
| MWAWPresentationParser (MWAWInputStreamPtr input, MWAWRSRCParserPtr rsrcParser, MWAWHeader *header) | |
| constructor (protected) More... | |
| MWAWPresentationParser (MWAWParserStatePtr state) | |
| constructor using a state More... | |
Protected Member Functions inherited from MWAWParser | |
| MWAWParser (MWAWParserState::Type type, MWAWInputStreamPtr input, MWAWRSRCParserPtr rsrcParser, MWAWHeader *header) | |
| constructor (protected) More... | |
| MWAWParser (MWAWParserStatePtr state) | |
| constructor using a state More... | |
| void | setVersion (int vers) |
| sets the document's version More... | |
| void | setGraphicListener (MWAWGraphicListenerPtr &listener) |
| sets the graphic listener More... | |
| void | resetGraphicListener () |
| resets the listener More... | |
| void | setPresentationListener (MWAWPresentationListenerPtr &listener) |
| sets the presentation listener More... | |
| void | resetPresentationListener () |
| resets the listener More... | |
| void | setSpreadsheetListener (MWAWSpreadsheetListenerPtr &listener) |
| sets the spreadsheet listener More... | |
| void | resetSpreadsheetListener () |
| resets the listener More... | |
| void | setTextListener (MWAWTextListenerPtr &listener) |
| sets the text listener More... | |
| void | resetTextListener () |
| resets the listener More... | |
| void | setAsciiName (char const *name) |
| Debugging: change the default ascii file. More... | |
| std::string const & | asciiName () const |
| return the ascii file name More... | |
Protected Attributes | |
| shared_ptr< PowerPoint1ParserInternal::State > | m_state |
| the state More... | |
Friends | |
| class | PowerPoint1ParserInternal::SubDocument |
the main class to read a Mac Microsoft PowerPoint v1, v2 files
| PowerPoint1Parser::PowerPoint1Parser | ( | MWAWInputStreamPtr | input, |
| MWAWRSRCParserPtr | rsrcParser, | ||
| MWAWHeader * | header | ||
| ) |
constructor
|
virtual |
destructor
|
protected |
check for unparsed zone
Referenced by parse().
|
virtual |
|
protected |
creates the listener which will be associated to the document
Referenced by parse().
|
protected |
finds the different zones
Referenced by parse().
|
protected |
try to return a color corresponding to a scheme and color
Referenced by createDocument(), readFramesList(), and sendText().
|
virtual |
virtual function used to parse the input
Implements MWAWPresentationParser.
|
protected |
try to read a color list
Referenced by readColorZone().
|
protected |
try to read a color zone, probably used to define the menu, ...
Referenced by createZones().
|
protected |
try to read the document info zone
Referenced by createZones().
|
protected |
try to read a font style list
Referenced by createZones().
|
protected |
try to read a frame zone in a page
Referenced by readSlide().
|
protected |
try to read the list of zones
Referenced by createZones().
|
protected |
try to read a picture zone
Referenced by checkForUnparsedZones(), and sendPicture().
|
protected |
try to read a print info zone
Referenced by createZones().
|
protected |
try to read the paragraph style
Referenced by createZones().
|
protected |
try to read a scheme
Referenced by readSchemes().
|
protected |
try to read the schemes
Referenced by createZones().
|
protected |
try to read a slide zone, update the list of slide ids
Referenced by createZones().
|
protected |
try to read a text zone
Referenced by readSlide().
|
protected |
try to read a unknown zone with size 22: related to scheme?
Referenced by createZones().
|
protected |
try to read a zone id list zone
Referenced by createZones().
|
protected |
try to read a zone id list zone for v2 pc file
Referenced by createZones().
|
protected |
try to send a frame zone
Referenced by sendSlide().
|
protected |
try to send a picture
Referenced by sendFrame().
|
protected |
try to send a slide
Referenced by sendSlides().
|
protected |
try to send the slide note text
Referenced by PowerPoint1ParserInternal::SubDocument::parse().
|
protected |
try to send all slides
Referenced by parse().
|
protected |
try to send a text zone
Referenced by PowerPoint1ParserInternal::SubDocument::parse(), and sendSlideNote().
|
friend |
|
protected |
the state
Referenced by checkForUnparsedZones(), checkHeader(), createDocument(), createZones(), getColor(), readColors(), readColorZone(), readDocInfo(), readFramesList(), readListZones(), readRulers(), readScheme(), readSchemes(), readSlide(), readZone2(), readZoneIdList(), readZoneIdList2(), sendFrame(), sendPicture(), sendSlides(), and sendText().