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