libwps_OLE Namespace Reference

## Classes
class | Header
class | AllocTable
class | DirInfo
class | DirEntry
class | DirTree
class | IStorage
class | OStorage
class | IStream
class | WPSOLEStream
| internal class used to create a RVNGInputStream from an OLE file More...

## Enumerations
enum | { Avail = 0xffffffff , Eof = 0xfffffffe , Bat = 0xfffffffd , MetaBat = 0xfffffffc , NotFound =0xfffffff0 }

## Functions
static unsigned short | readU16 (const unsigned char *ptr)
static unsigned | readU32 (const unsigned char *ptr)
static void | writeU16 (unsigned char *ptr, unsigned long data)
static void | writeU32 (unsigned char *ptr, unsigned long data)
static unsigned long | getLength (librevenge::RVNGInputStream *const input)
RVNGInputStreamPtr | getOLEInputStream (RVNGInputStreamPtr input)

## Enumeration Type Documentation

## ◆ anonymous enum

anonymous enum

Enumerator
Avail |
Eof |
Bat |
MetaBat |
NotFound |

## Function Documentation

## ◆ getLength()

unsigned long libwps_OLE::getLength | ( | librevenge::RVNGInputStream *const | input | ) |
| static

Referenced by libwps_OLE::IStorage::load().

## ◆ getOLEInputStream()

RVNGInputStreamPtr libwps_OLE::getOLEInputStream | ( | RVNGInputStreamPtr | input | ) |

Referenced by QuattroParser::readOLEZones().

## ◆ readU16()

unsigned short libwps_OLE::readU16 | ( | const unsigned char * | ptr | ) |
| inline static

Referenced by libwps_OLE::DirEntry::load(), and libwps_OLE::Header::load().

## ◆ readU32()

unsigned libwps_OLE::readU32 | ( | const unsigned char * | ptr | ) |
| inline static

Referenced by libwps_OLE::AllocTable::load(), libwps_OLE::DirEntry::load(), libwps_OLE::Header::load(), and libwps_OLE::IStorage::load().

## ◆ writeU16()

void libwps_OLE::writeU16 | ( | unsigned char * | ptr,
|  | unsigned long | data )
| inline static

Referenced by libwps_OLE::DirEntry::save(), and libwps_OLE::Header::save().

## ◆ writeU32()

void libwps_OLE::writeU32 | ( | unsigned char * | ptr,
|  | unsigned long | data )
| inline static

Referenced by libwps_OLE::AllocTable::save(), libwps_OLE::DirEntry::save(), libwps_OLE::Header::save(), and libwps_OLE::OStorage::updateToSave().