Logo Search packages:      
Sourcecode: libpodofo version File versions  Download package

Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | Protected Attributes | Private Member Functions | Private Attributes

PoDoFo::PdfXRefStreamParserObject Class Reference

#include <PdfXRefStreamParserObject.h>

Inheritance diagram for PoDoFo::PdfXRefStreamParserObject:
Inheritance graph
Collaboration diagram for PoDoFo::PdfXRefStreamParserObject:
Collaboration graph

List of all members.

Public Member Functions

void Clear ()
void DelayedStreamLoad () const
void FlateCompressStream ()
void FreeObjectMemory (bool bForce=false)
const PdfArrayGetArray () const
PdfArrayGetArray ()
bool GetBool () const
pdf_long GetByteOffset (const char *pszKey, EPdfWriteMode eWriteMode)
EPdfDataType GetDataType () const
const char * GetDataTypeString () const
const PdfDictionaryGetDictionary () const
PdfDictionaryGetDictionary ()
bool GetImmutable () const
PdfObjectGetIndirectKey (const PdfName &key) const
const PdfNameGetName () const
pdf_long GetNextNumber ()
bool GetNextToken (const char *&pszToken, EPdfTokenType *peType=NULL)
void GetNextVariant (PdfVariant &rVariant, PdfEncrypt *pEncrypt)
pdf_int64 GetNumber () const
pdf_long GetObjectLength (EPdfWriteMode eWriteMode)
PdfVecObjectsGetOwner () const
PdfObjectGetParent () const
pdf_long GetPreviousOffset ()
const PdfDataGetRawData () const
PdfDataGetRawData ()
double GetReal () const
const PdfReferenceGetReference () const
const PdfStreamGetStream () const
PdfStreamGetStream ()
const PdfStringGetString () const
bool HasPrevious ()
bool HasStream () const
bool HasStreamToParse () const
bool IsArray () const
bool IsBool () const
bool IsDictionary () const
bool IsDirty () const
bool IsEmpty () const
bool IsHexString () const
bool IsLoadOnDemand () const
bool IsName () const
bool IsNextToken (const char *pszToken)
bool IsNull () const
bool IsNumber () const
bool IsRawData () const
bool IsReal () const
bool IsReference () const
bool IsString () const
PdfObjectMustGetIndirectKey (const PdfName &key) const
bool operator!= (const PdfVariant &rhs) const
PODOFO_NOTHROW bool operator< (const PdfObject &rhs) const
PODOFO_NOTHROW bool operator== (const PdfObject &rhs) const
bool operator== (const PdfVariant &rhs) const
void Parse ()
void ParseFile (PdfEncrypt *pEncrypt, bool bIsTrailer=false)
 PdfXRefStreamParserObject (PdfVecObjects *pCreator, const PdfRefCountedInputDevice &rDevice, const PdfRefCountedBuffer &rBuffer, PdfParser::TVecOffsets *pOffsets)
void ReadXRefTable ()
const PdfReferenceReference () const
void SetBool (bool b)
void SetImmutable (bool bImmutable)
void SetLoadOnDemand (bool bDelayed)
void SetNumber (long l)
void SetObjectNumber (unsigned int nObjNo)
void SetOwner (PdfVecObjects *pVecObjects)
void SetReal (double d)
void ToString (std::string &rsData, EPdfWriteMode eWriteMode=ePdfWriteMode_Clean) const
virtual void Write (PdfOutputDevice *pDevice, EPdfWriteMode eWriteMode, const PdfEncrypt *pEncrypt, const PdfName &keyStop) const
void Write (PdfOutputDevice *pDevice, EPdfWriteMode eWriteMode, const PdfEncrypt *pEncrypt=NULL) const
void WriteObject (PdfOutputDevice *pDevice, EPdfWriteMode eWriteMode, PdfEncrypt *pEncrypt, const PdfName &keyStop=PdfName::KeyNull) const

Static Public Member Functions

static PODOFO_NOTHROW int GetHexValue (const unsigned char ch)
static PODOFO_NOTHROW bool IsDelimiter (const unsigned char ch)
static PODOFO_NOTHROW bool IsPrintable (const unsigned char ch)
static PODOFO_NOTHROW bool IsRegular (const unsigned char ch)
static PODOFO_NOTHROW bool IsWhitespace (const unsigned char ch)

Static Public Attributes

static const unsigned int HEX_NOT_FOUND = std::numeric_limits<unsigned int>::max()
static PdfVariant NullValue

Protected Member Functions

void AssertMutable () const
void DelayedLoad () const
PODOFO_NOTHROW bool DelayedLoadDone () const
virtual void DelayedLoadImpl ()
PODOFO_NOTHROW bool DelayedStreamLoadDone () const
virtual void DelayedStreamLoadImpl ()
EPdfDataType DetermineDataType (const char *pszToken, EPdfTokenType eType, PdfVariant &rVariant)
void EnableDelayedLoading ()
void EnableDelayedStreamLoading ()
const PdfArrayGetArray_NoDL () const
PdfArrayGetArray_NoDL ()
const PdfDictionaryGetDictionary_NoDL () const
PdfDictionaryGetDictionary_NoDL ()
void GetNextVariant (const char *pszToken, EPdfTokenType eType, PdfVariant &rVariant, PdfEncrypt *pEncrypt)
PdfStreamGetStream_NoDL ()
void ParseStream ()
void QuequeToken (const char *pszToken, EPdfTokenType eType)
void ReadArray (PdfVariant &rVariant, PdfEncrypt *pEncrypt)
void ReadDataType (EPdfDataType eDataType, PdfVariant &rVariant, PdfEncrypt *pEncrypt)
void ReadDictionary (PdfVariant &rVariant, PdfEncrypt *pEncrypt)
void ReadHexString (PdfVariant &rVariant, PdfEncrypt *pEncrypt)
void ReadName (PdfVariant &rVariant)
void ReadString (PdfVariant &rVariant, PdfEncrypt *pEncrypt)
void SetDirty (bool bDirty)

Protected Attributes

PdfRefCountedBuffer m_buffer
PdfRefCountedInputDevice m_device
PdfReference m_reference

Private Member Functions

void GetIndeces (std::vector< pdf_int64 > &rvecIndeces, pdf_int64 size)
void ParseStream (const pdf_int64 nW[W_ARRAY_SIZE], const std::vector< pdf_int64 > &rvecIndeces)
void ReadXRefStreamEntry (char *pBuffer, pdf_long, const pdf_int64 lW[W_ARRAY_SIZE], int nObjNo)

Private Attributes

pdf_long m_lNextOffset
PdfParser::TVecOffsets * m_pOffsets

Detailed Description

A utility class for PdfParser that can parse an XRef stream object.

It is mainly here to make PdfParser more modular.

Definition at line 38 of file PdfXRefStreamParserObject.h.

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index