libebook_utils.h File Reference
#include <string>
#include <boost/shared_ptr.hpp>
#include <libwpd-stream/libwpd-stream.h>
#include <libwpd/libwpd.h>
#include <stdint.h>
#include <inttypes.h>

Go to the source code of this file.

Classes

class  libebook::EndOfStreamException
 
class  libebook::GenericException
 

Namespaces

 libebook
 

Macros

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

Functions

uint8_t libebook::readU8 (WPXInputStream *input, bool)
 
uint16_t libebook::readU16 (WPXInputStream *input, bool bigEndian)
 
uint32_t libebook::readU32 (WPXInputStream *input, bool bigEndian)
 
uint64_t libebook::readU64 (WPXInputStream *input, bool bigEndian)
 
const unsigned char * libebook::readNBytes (WPXInputStream *const input, const unsigned long numBytes)
 
string libebook::readCString (WPXInputStream *input)
 
string libebook::readPascalString (WPXInputStream *input)
 
void libebook::skip (WPXInputStream *input, unsigned long numBytes)
 
void libebook::seek (WPXInputStream *const input, const unsigned long pos)
 
void libebook::seekRelative (WPXInputStream *const input, const long pos)
 
unsigned long libebook::getLength (WPXInputStream *const input)
 
uint8_t libebook::readU8 (const boost::shared_ptr< WPXInputStream > input, bool)
 
uint16_t libebook::readU16 (const boost::shared_ptr< WPXInputStream > input, const bool bigEndian)
 
uint32_t libebook::readU32 (const boost::shared_ptr< WPXInputStream > input, const bool bigEndian)
 
uint64_t libebook::readU64 (const boost::shared_ptr< WPXInputStream > input, const bool bigEndian)
 
const unsigned char * libebook::readNBytes (const boost::shared_ptr< WPXInputStream > input, const unsigned long numBytes)
 
std::string libebook::readCString (const boost::shared_ptr< WPXInputStream > input)
 
std::string libebook::readPascalString (const boost::shared_ptr< WPXInputStream > input)
 
void libebook::skip (const boost::shared_ptr< WPXInputStream > input, const unsigned long numBytes)
 
void libebook::seek (const boost::shared_ptr< WPXInputStream > input, const unsigned long pos)
 
void libebook::seekRelative (const boost::shared_ptr< WPXInputStream > input, const long pos)
 
unsigned long libebook::getLength (const boost::shared_ptr< WPXInputStream > input)
 

Macro Definition Documentation

#define EBOOK_DEBUG (   M)
#define EBOOK_DEBUG_MSG (   M)

Referenced by libebook::LRFCollector::collectAttributes(), libebook::LRFCollector::collectImage(), libebook::LRFCollector::collectImageData(), libebook::IMPParser::createTextStream(), libebook::EndOfStreamException::EndOfStreamException(), libebook::IMPParser::getFileStream(), libebook::IMPResourceDirImpl::IMPResourceDirImpl(), libebook::LRFCollector::openBlock(), libebook::TDTextParser::parseAttribute(), 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::readImageObject(), libebook::LRFParser::readImageStreamObject(), libebook::LRFParser::readImportObject(), libebook::PLKRParser::readIndexRecord(), 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::LRFParser::readTextObject(), libebook::LRFParser::readTOCObject(), libebook::LRFParser::readWindowObject(), and libebook::LRFParser::skipUnhandledTag().

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

Generated for libe-book by doxygen 1.8.5