10#ifndef IWAOBJECTINDEX_H_INCLUDED
11#define IWAOBJECTINDEX_H_INCLUDED
17#include <boost/optional.hpp>
45 void queryObject(
const unsigned id,
unsigned &
type, boost::optional<IWAMessage> &msg)
const;
46 boost::optional<unsigned>
getObjectType(
const unsigned id)
const;
62 mutable std::map<unsigned, std::pair<std::string, RVNGInputStreamPtr_t>>
m_fileMap;
Definition IWAObjectIndex.h:27
void scanFragment(unsigned id)
Definition IWAObjectIndex.cpp:171
boost::optional< unsigned > getObjectType(const unsigned id) const
Definition IWAObjectIndex.cpp:141
boost::optional< IWORKColor > queryFileColor(unsigned id) const
Definition IWAObjectIndex.cpp:228
std::map< unsigned, std::string > m_unparsedFragments
Definition IWAObjectIndex.h:60
const RVNGInputStreamPtr_t m_fragments
Definition IWAObjectIndex.h:57
void queryObject(const unsigned id, unsigned &type, boost::optional< IWAMessage > &msg) const
Definition IWAObjectIndex.cpp:123
std::map< unsigned, std::pair< unsigned, ObjectRecord > > m_fragmentObjectMap
Definition IWAObjectIndex.h:61
const RVNGInputStreamPtr_t queryFile(unsigned id) const
Definition IWAObjectIndex.cpp:152
std::map< unsigned, IWORKColor > m_fileColorMap
Definition IWAObjectIndex.h:63
void scanColorFileMap(unsigned id)
Definition IWAObjectIndex.cpp:239
IWAObjectIndex(const RVNGInputStreamPtr_t &fragments, const RVNGInputStreamPtr_t &package)
Definition IWAObjectIndex.cpp:47
std::map< unsigned, std::pair< std::string, RVNGInputStreamPtr_t > > m_fileMap
Definition IWAObjectIndex.h:62
boost::optional< IWORKColor > scanColorFileCorrespondance(unsigned id)
Definition IWAObjectIndex.cpp:267
void parse()
Definition IWAObjectIndex.cpp:57
const RVNGInputStreamPtr_t m_package
Definition IWAObjectIndex.h:58
@ type
Definition IWORKToken.h:493
@ pos
Definition IWORKToken.h:599
Definition IWORKBezierElement.cpp:21
std::shared_ptr< librevenge::RVNGInputStream > RVNGInputStreamPtr_t
Definition libetonyek_utils.h:82
Definition IWAObjectIndex.h:30
unsigned m_type
Definition IWAObjectIndex.h:35
std::pair< long, long > m_dataRange
Definition IWAObjectIndex.h:37
ObjectRecord()
Definition IWAObjectIndex.cpp:30
RVNGInputStreamPtr_t m_stream
Definition IWAObjectIndex.h:34
std::pair< long, long > m_headerRange
Definition IWAObjectIndex.h:36