Public Member Functions | |
IStorage (WPXInputStream *is) | |
~IStorage () | |
DirEntry * | entry (unsigned ind) |
returns a directory entry corresponding to a index | |
DirEntry * | entry (const std::string &name) |
returns a directory entry corresponding to a name | |
unsigned | index (const std::string &name) |
returns a directory entry corresponding to a index | |
unsigned | revision () const |
returns the OLE revision | |
bool | hasRootTypePc () const |
returns true if it is a pc file | |
bool | isSubStream (const std::string &name, bool &isDir) |
returns true if the entry exists in the OLE, if so fills isDir | |
std::vector< std::string > | getSubStreamList (unsigned ind=0, bool retrieveAll=false) |
returns the list of subStream given a dirEntry index | |
bool | isOLEStream () |
void | load () |
bool | use_big_block_for (unsigned long size) const |
unsigned long | loadBigBlocks (std::vector< unsigned long > const &blocks, unsigned char *buffer, unsigned long maxlen) |
unsigned long | loadBigBlock (unsigned long block, unsigned char *buffer, unsigned long maxlen) |
unsigned long | loadSmallBlocks (std::vector< unsigned long > const &blocks, unsigned char *buffer, unsigned long maxlen) |
unsigned long | loadSmallBlock (unsigned long block, unsigned char *buffer, unsigned long maxlen) |
Public Attributes | |
WPXInputStream * | m_input |
libwpd::Storage::Result | m_result |
Header | m_header |
DirTree | m_dirtree |
AllocTable | m_bbat |
AllocTable | m_sbat |
std::vector< unsigned long > | m_sb_blocks |
Protected Attributes | |
bool | m_isLoad |
Private Member Functions | |
IStorage (const IStorage &) | |
IStorage & | operator= (const IStorage &) |
libwpd::IStorage::~IStorage | ( | ) | [inline] |
libwpd::IStorage::IStorage | ( | const IStorage & | ) | [private] |
DirEntry* libwpd::IStorage::entry | ( | unsigned | ind | ) | [inline] |
returns a directory entry corresponding to a index
Referenced by libwpd::IStream::createOleFromDirectory(), and libwpd::IStream::IStream().
DirEntry* libwpd::IStorage::entry | ( | const std::string & | name | ) | [inline] |
returns a directory entry corresponding to a name
std::vector<std::string> libwpd::IStorage::getSubStreamList | ( | unsigned | ind = 0 , |
bool | retrieveAll = false |
||
) | [inline] |
returns the list of subStream given a dirEntry index
Referenced by libwpd::IStream::createOleFromDirectory().
bool libwpd::IStorage::hasRootTypePc | ( | ) | const [inline] |
returns true if it is a pc file
Referenced by libwpd::IStream::createOleFromDirectory().
unsigned libwpd::IStorage::index | ( | const std::string & | name | ) | [inline] |
returns a directory entry corresponding to a index
Referenced by libwpd::IStream::createOleFromDirectory().
bool libwpd::IStorage::isOLEStream | ( | ) |
bool libwpd::IStorage::isSubStream | ( | const std::string & | name, |
bool & | isDir | ||
) |
returns true if the entry exists in the OLE, if so fills isDir
void libwpd::IStorage::load | ( | ) |
Referenced by entry(), getSubStreamList(), index(), and libwpd::IStream::IStream().
unsigned long libwpd::IStorage::loadBigBlock | ( | unsigned long | block, |
unsigned char * | buffer, | ||
unsigned long | maxlen | ||
) |
unsigned long libwpd::IStorage::loadBigBlocks | ( | std::vector< unsigned long > const & | blocks, |
unsigned char * | buffer, | ||
unsigned long | maxlen | ||
) |
unsigned long libwpd::IStorage::loadSmallBlock | ( | unsigned long | block, |
unsigned char * | buffer, | ||
unsigned long | maxlen | ||
) |
unsigned long libwpd::IStorage::loadSmallBlocks | ( | std::vector< unsigned long > const & | blocks, |
unsigned char * | buffer, | ||
unsigned long | maxlen | ||
) |
unsigned libwpd::IStorage::revision | ( | ) | const [inline] |
returns the OLE revision
Referenced by libwpd::IStream::createOleFromDirectory().
bool libwpd::IStorage::use_big_block_for | ( | unsigned long | size | ) | const [inline] |
Referenced by libwpd::IStream::IStream().
Referenced by IStorage(), and libwpd::IStream::IStream().
Referenced by entry(), getSubStreamList(), hasRootTypePc(), and index().
Referenced by IStorage(), revision(), and use_big_block_for().
bool libwpd::IStorage::m_isLoad [protected] |
std::vector<unsigned long> libwpd::IStorage::m_sb_blocks |
Referenced by IStorage(), and libwpd::IStream::IStream().