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 More... | |
| ~WPSOLE1Parser () | |
| destructor More... | |
| bool | createZones () |
| try to find the different zones More... | |
| std::shared_ptr< WPSStream > | getStreamForName (std::string const &name) const |
| try to return a string corresponding to a name: More... | |
| std::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... | |
| std::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... | |
Private Attributes | |
| std::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).
\note I suppose that this is related to some OLE1 format, but I am not sure.
|
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().
| 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().
|
private |
a smart ptr used to stored the file data
Referenced by checkIfParsed(), createZones(), getStream(), getStreamForId(), getStreamForName(), updateEmbeddedObject(), updateMetaData(), updateZoneNames(), and ~WPSOLE1Parser().