Classes | Namespaces | Macros | Typedefs | Functions
libebook_utils.h File Reference
`#include <string>`
`#include <boost/shared_ptr.hpp>`
`#include <librevenge-stream/librevenge-stream.h>`
`#include <librevenge/librevenge.h>`
`#include <stdint.h>`
`#include <inttypes.h>`

Go to the source code of this file.

## Classes
struct | libebook::EBOOKDummyDeleter
class | libebook::EndOfStreamException
class | libebook::GenericException
class | libebook::FileAccessError
class | libebook::PackageError
class | libebook::ParseError
class | libebook::PasswordMismatch
class | libebook::UnsupportedEncryption
class | libebook::UnsupportedFormat

## Namespaces
| libebook

## Macros
#define | EBOOK_DEBUG_MSG(M)
#define | EBOOK_DEBUG(M)
#define | EBOOK_NUM_ELEMENTS(array) sizeof(array)/sizeof(array[0])

## Typedefs
typedef boost::shared_ptr< librevenge::RVNGInputStream > | libebook::RVNGInputStreamPtr_t

## Functions
uint8_t | libebook::readU8 (librevenge::RVNGInputStream *input, bool)
uint16_t | libebook::readU16 (librevenge::RVNGInputStream *input, bool bigEndian)
uint32_t | libebook::readU32 (librevenge::RVNGInputStream *input, bool bigEndian)
uint64_t | libebook::readU64 (librevenge::RVNGInputStream *input, bool bigEndian)
const unsigned char * | libebook::readNBytes (librevenge::RVNGInputStream *const input, const unsigned long numBytes)
string | libebook::readCString (librevenge::RVNGInputStream *input)
string | libebook::readPascalString (librevenge::RVNGInputStream *input)
void | libebook::skip (librevenge::RVNGInputStream *input, unsigned long numBytes)
void | libebook::seek (librevenge::RVNGInputStream *const input, const unsigned long pos)
void | libebook::seekRelative (librevenge::RVNGInputStream *const input, const long pos)
unsigned long | libebook::getRemainingLength (librevenge::RVNGInputStream *const input)
uint8_t | libebook::readU8 (const boost::shared_ptr< librevenge::RVNGInputStream > input, bool)
uint16_t | libebook::readU16 (const boost::shared_ptr< librevenge::RVNGInputStream > input, const bool bigEndian)
uint32_t | libebook::readU32 (const boost::shared_ptr< librevenge::RVNGInputStream > input, const bool bigEndian)
uint64_t | libebook::readU64 (const boost::shared_ptr< librevenge::RVNGInputStream > input, const bool bigEndian)
const unsigned char * | libebook::readNBytes (const boost::shared_ptr< librevenge::RVNGInputStream > input, const unsigned long numBytes)
std::string | libebook::readCString (const boost::shared_ptr< librevenge::RVNGInputStream > input)
std::string | libebook::readPascalString (const boost::shared_ptr< librevenge::RVNGInputStream > input)
void | libebook::skip (const boost::shared_ptr< librevenge::RVNGInputStream > input, const unsigned long numBytes)
void | libebook::seek (const boost::shared_ptr< librevenge::RVNGInputStream > input, const unsigned long pos)
void | libebook::seekRelative (const boost::shared_ptr< librevenge::RVNGInputStream > input, const long pos)
unsigned long | libebook::getRemainingLength (const boost::shared_ptr< librevenge::RVNGInputStream > input)
bool | libebook::findSubStreamByExt (const RVNGInputStreamPtr_t &input, const std::string &ext, unsigned &id)

## Macro Definition Documentation

## § EBOOK_DEBUG

#define EBOOK_DEBUG | ( |  | M | ) |

## § EBOOK_DEBUG_MSG

#define EBOOK_DEBUG_MSG | ( |  | M | ) |

Referenced by libebook::LRFCollector::collectAttributes(), libebook::LRFCollector::collectImage(), libebook::LRFCollector::collectImageData(), libebook::IMPParser::createTextStream(), libebook::EBOOKHTMLParser::endElement(), libebook::EndOfStreamException::EndOfStreamException(), libebook::IMPParser::getFileStream(), libebook::IMPResourceDirImpl::IMPResourceDirImpl(), libebook::LRFCollector::insertImage(), libebook::LRFCollector::openBlock(), libebook::EBOOKOPFParser::parse(), libebook::TDTextParser::parseAttribute(), libebook::LRFParser::readAttribute(), libebook::LRFParser::readBlockListObject(), libebook::LRFParser::readBlockObject(), libebook::LRFParser::readBookAtrObject(), libebook::LRFParser::readButtonObject(), libebook::LRFParser::readCanvasObject(), libebook::PLKRParser::readDataRecords(), libebook::LRFParser::readFontObject(), libebook::LRFParser::readFooterObject(), libebook::LRFParser::readHeader(), libebook::LRFParser::readHeaderObject(), libebook::LRFParser::readImageStreamObject(), libebook::LRFParser::readImportObject(), libebook::PDBParser::readIndexRecord(), libebook::PLKRParser::readIndexRecord(), libebook::PLKRParser::readMetadata(), libebook::LRFParser::readMiniPageObject(), libebook::LRFParser::readObject(), libebook::LRFParser::readObjectInfoObject(), libebook::LRFParser::readPageObject(), libebook::LRFParser::readPageTreeObject(), libebook::LRFParser::readPlaneStreamObject(), libebook::LRFParser::readPopUpWinObject(), libebook::LRFParser::readSimpleTextObject(), libebook::LRFParser::readSoundObject(), libebook::PMLParser::readText(), libebook::LRFParser::readTextObject(), libebook::LRFParser::readTOCObject(), libebook::LRFParser::readToCStream(), libebook::LRFParser::readWindowObject(), libebook::LRFParser::skipUnhandledTag(), and libebook::EBOOKHTMLParser::startElement().

## § EBOOK_NUM_ELEMENTS

#define EBOOK_NUM_ELEMENTS | ( |  | array | ) | sizeof(array)/sizeof(array[0])

Referenced by libebook::PLKRParser::readMetadata(), libebook::ZVRParser::readReplacementTable(), libebook::TCRParser::readReplacementTable(), libebook::TCRParser::TCRParser(), and libebook::ZVRParser::ZVRParser().