com.lowagie.text.pdf

Class PdfWriter.PdfTrailer

static class PdfWriter.PdfTrailer extends PdfDictionary

PdfTrailer is the PDF Trailer object.

This object is described in the 'Portable Document Format Reference Manual version 1.3' section 5.16 (page 59-60).

Field Summary
intoffset
Constructor Summary
PdfTrailer(int size, int offset, PdfIndirectReference root, PdfIndirectReference info, PdfIndirectReference encryption, PdfObject fileID, int prevxref)
Constructs a PDF-Trailer.
Method Summary
voidtoPdf(PdfWriter writer, OutputStream os)
Returns the PDF representation of this PdfObject.

Field Detail

offset

int offset

Constructor Detail

PdfTrailer

PdfTrailer(int size, int offset, PdfIndirectReference root, PdfIndirectReference info, PdfIndirectReference encryption, PdfObject fileID, int prevxref)
Constructs a PDF-Trailer.

Parameters: size the number of entries in the PdfCrossReferenceTable offset offset of the PdfCrossReferenceTable root an indirect reference to the root of the PDF document info an indirect reference to the info object of the PDF document encryption fileID prevxref

Method Detail

toPdf

public void toPdf(PdfWriter writer, OutputStream os)
Returns the PDF representation of this PdfObject.

Parameters: writer os

Throws: IOException