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

Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | Private Attributes

PoDoFo::PdfXRefStream Class Reference

#include <PdfXRefStream.h>

Inheritance diagram for PoDoFo::PdfXRefStream:
Inheritance graph
[legend]
Collaboration diagram for PoDoFo::PdfXRefStream:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void AddObject (const PdfReference &rRef, pdf_uint64 offset, bool bUsed)
virtual pdf_uint64 GetOffset () const
pdf_uint32 GetSize () const
 PdfXRefStream (PdfVecObjects *pParent, PdfWriter *pWriter)
void Write (PdfOutputDevice *pDevice)
virtual ~PdfXRefStream ()

Protected Types

typedef
TVecReferences::const_iterator 
TCIVecReferences
typedef
TVecXRefBlock::const_iterator 
TCIVecXRefBlock
typedef
TVecXRefItems::const_iterator 
TCIVecXRefItems
typedef TVecReferences::iterator TIVecReferences
typedef TVecXRefBlock::iterator TIVecXRefBlock
typedef TVecXRefItems::iterator TIVecXRefItems
typedef std::vector< PdfReferenceTVecReferences
typedef std::vector< PdfXRefBlockTVecXRefBlock
typedef std::vector< TXRefItemTVecXRefItems

Protected Member Functions

virtual void BeginWrite (PdfOutputDevice *pDevice)
virtual void EndWrite (PdfOutputDevice *pDevice)
virtual void WriteSubSection (PdfOutputDevice *pDevice, pdf_objnum nFirst, pdf_uint32 nCount)
virtual void WriteXRefEntry (PdfOutputDevice *pDevice, pdf_uint64 offset, pdf_uint16 generation, char cMode, pdf_objnum objectNumber=0)
virtual void WriteXRefEntry (PdfOutputDevice *pDevice, pdf_uint64 offset, pdf_gennum generation, char cMode, pdf_objnum objectNumber=0)

Protected Attributes

TVecXRefBlock m_vecBlocks

Private Attributes

size_t m_bufferLen
 The length of the internal buffer for one XRef entry.
PdfArray m_indeces
pdf_uint64 m_offset
 Offset of the XRefStream object.
PdfObjectm_pObject
PdfVecObjectsm_pParent
PdfWriterm_pWriter

Detailed Description

Creates an XRef table that is a stream object. Requires at least PDF 1.5. XRef streams are more compact than normal XRef tables.

This is an internal class of PoDoFo used by PdfWriter.

Definition at line 43 of file PdfXRefStream.h.


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

Generated by  Doxygen 1.6.0   Back to index