#include <PdfXRef.h>
Inheritance diagram for PoDoFo::PdfXRef:
Public Member Functions | |
PdfXRef () | |
virtual | ~PdfXRef () |
void | AddObject (const PdfReference &rRef, pdf_uint64 offset, bool bUsed) |
void | Write (PdfOutputDevice *pDevice) |
pdf_uint32 | GetSize () const |
virtual pdf_uint64 | GetOffset () const |
Protected Member Functions | |
virtual void | BeginWrite (PdfOutputDevice *pDevice) |
virtual void | WriteSubSection (PdfOutputDevice *pDevice, pdf_objnum nFirst, pdf_uint32 nCount) |
virtual void | WriteXRefEntry (PdfOutputDevice *pDevice, pdf_uint64 offset, pdf_gennum generation, char cMode, pdf_objnum objectNumber=0) |
virtual void | EndWrite (PdfOutputDevice *pDevice) |
This is an internal class of PoDoFo used by PdfWriter.
|
Create a new XRef table |
|
Destruct the XRef table |
|
Add an object to the XRef table. The object should have been written to an output device already.
|
|
Called at the start of writing the XRef table. This method can be overwritten in subclasses to write a general header for the XRef table.
Reimplemented in PoDoFo::PdfXRefStream. |
|
Called at the end of writing the XRef table. Sub classes can overload this method to finish a XRef table.
Reimplemented in PoDoFo::PdfXRefStream. |
|
Reimplemented in PoDoFo::PdfXRefStream. |
|
Get the size of the XRef table. I.e. the highest object number + 1.
|
|
Write the XRef table to an output device.
|
|
Begin an XRef subsection. All following calls of WriteXRefEntry belong to this XRef subsection.
Reimplemented in PoDoFo::PdfXRefStream. |
|
Write a single entry to the XRef table
Reimplemented in PoDoFo::PdfXRefStream. |