55 #ifndef WPS_OLE_PARSER_H 56 #define WPS_OLE_PARSER_H 63 #include <librevenge-stream/librevenge-stream.h> 88 explicit WPSOLEParser(
const std::string &mainName, std::function<
int(std::string
const &)>
const &dirToIdFunc=getIdFromDirectory);
100 return m_unknownOLEs;
105 return m_idToObjectMap;
152 static int getIdFromDirectory(std::string
const &dirName);
std::map< int, WPSEmbeddedObject > const & getObjectsMap() const
returns the list of data positions which have been read
Definition: WPSOLEParser.h:103
Definition: libwps_internal.cpp:38
std::vector< std::string > const & getNotParse() const
returns the list of unknown ole
Definition: WPSOLEParser.h:98
Definition: WPSDebug.h:207
Definition: WPSOLEParser.cpp:85
a class used to parse some basic oles Tries to read the different ole parts and stores their contents...
Definition: WPSOLEParser.h:83
std::shared_ptr< WPSOLEParserInternal::CompObj > m_compObjIdName
a smart ptr used to stored the list of compobj id->name
Definition: WPSOLEParser.h:165
std::shared_ptr< librevenge::RVNGInputStream > RVNGInputStreamPtr
shared pointer to librevenge::RVNGInputStream
Definition: libwps_internal.h:87
small class use to define a embedded object
Definition: libwps_internal.h:1076
std::string m_avoidOLE
if filled, does not parse content with this name
Definition: WPSOLEParser.h:157
std::vector< std::string > m_unknownOLEs
list of ole which can not be parsed
Definition: WPSOLEParser.h:159
std::function< int(std::string const &)> m_directoryToIdFunction
the function used to convert a directory name in a id
Definition: WPSOLEParser.h:155
std::map< int, WPSEmbeddedObject > m_idToObjectMap
map id to object
Definition: WPSOLEParser.h:162