a class used to parse a container which is used by Lotus123 (and also by RagTime). More...
#include <WPSOLE1Parser.h>
Public Member Functions | |
WPSOLE1Parser (shared_ptr< WPSStream > fileStream) | |
constructor knowing the file stream More... | |
~WPSOLE1Parser () | |
destructor More... | |
bool | createZones () |
try to find the different zones More... | |
shared_ptr< WPSStream > | getStreamForName (std::string const &name) const |
try to return a string corresponding to a name: More... | |
shared_ptr< WPSStream > | getStreamForId (int id) const |
try to return a string corresponding to some id More... | |
bool | updateMetaData (librevenge::RVNGPropertyList &list, libwps_tools_win::Font::Type encoding) const |
try to retrieve the meta data More... | |
bool | updateEmbeddedObject (int id, WPSEmbeddedObject &object) const |
try to retrieve the content of a graphic, knowing it local id More... | |
Protected Member Functions | |
bool | updateZoneNames (WPSOLE1ParserInternal::OLEZone &zone) const |
try to update the zone name More... | |
shared_ptr< WPSStream > | getStream (WPSOLE1ParserInternal::OLEZone const &zone) const |
try to return a stream correponding to a zone More... | |
void | checkIfParsed (WPSOLE1ParserInternal::OLEZone const &zone) const |
check for unparsed zone More... | |
bool | readPicture (shared_ptr< WPSStream > stream, WPSEmbeddedObject &object) const |
try to read a picture's frame: 0105 local zone More... | |
Private Attributes | |
shared_ptr < WPSOLE1ParserInternal::State > | m_state |
a smart ptr used to stored the file data More... | |
a class used to parse a container which is used by Lotus123 (and also by RagTime).
|
explicit |
constructor knowing the file stream
WPSOLE1Parser::~WPSOLE1Parser | ( | ) |
destructor
|
protected |
check for unparsed zone
Referenced by ~WPSOLE1Parser().
bool WPSOLE1Parser::createZones | ( | ) |
try to find the different zones
|
protected |
try to return a stream correponding to a zone
Referenced by checkIfParsed(), getStreamForId(), getStreamForName(), updateEmbeddedObject(), and updateMetaData().
shared_ptr< WPSStream > WPSOLE1Parser::getStreamForId | ( | int | id | ) | const |
try to return a string corresponding to some id
shared_ptr< WPSStream > WPSOLE1Parser::getStreamForName | ( | std::string const & | name | ) | const |
try to return a string corresponding to a name:
|
protected |
try to read a picture's frame: 0105 local zone
Referenced by checkIfParsed(), and updateEmbeddedObject().
bool WPSOLE1Parser::updateEmbeddedObject | ( | int | id, |
WPSEmbeddedObject & | object | ||
) | const |
try to retrieve the content of a graphic, knowing it local id
bool WPSOLE1Parser::updateMetaData | ( | librevenge::RVNGPropertyList & | list, |
libwps_tools_win::Font::Type | encoding | ||
) | const |
try to retrieve the meta data
|
protected |
try to update the zone name
Referenced by createZones().
|
private |
a smart ptr used to stored the file data
Referenced by checkIfParsed(), createZones(), getStream(), getStreamForId(), getStreamForName(), updateEmbeddedObject(), updateMetaData(), updateZoneNames(), and ~WPSOLE1Parser().