Package com.lowagie.text.pdf
Class PdfWriter.PdfTrailer
- java.lang.Object
-
- com.lowagie.text.pdf.PdfObject
-
- com.lowagie.text.pdf.PdfDictionary
-
- com.lowagie.text.pdf.PdfWriter.PdfTrailer
-
- Enclosing class:
- PdfWriter
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).
-
-
Constructor Summary
Constructors Constructor Description PdfTrailer(int size, PdfIndirectReference root, PdfIndirectReference info, PdfIndirectReference encryption, PdfObject fileID, int prevxref)
Constructs a PDF-Trailer.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
toPdf(PdfWriter writer, java.io.OutputStream os)
Returns the PDF representation of thisPdfObject
.-
Methods inherited from class com.lowagie.text.pdf.PdfDictionary
clear, contains, get, getAsArray, getAsBoolean, getAsDict, getAsIndirectObject, getAsName, getAsNumber, getAsStream, getAsString, getDirectObject, getKeys, getKeysAndValues, isCatalog, isFont, isOutlineTree, isPage, isPages, merge, mergeDifferent, put, putAll, putEx, remove, size, toString
-
Methods inherited from class com.lowagie.text.pdf.PdfObject
canBeInObjStm, getBytes, getIndRef, isArray, isBoolean, isDictionary, isIndirect, isName, isNull, isNumber, isStream, isString, length, setContent, setIndRef, type
-
-
-
-
Constructor Detail
-
PdfTrailer
PdfTrailer(int size, PdfIndirectReference root, PdfIndirectReference info, PdfIndirectReference encryption, PdfObject fileID, int prevxref)
Constructs a PDF-Trailer.- Parameters:
size
- the number of entries in thePdfCrossReferenceTable
root
- an indirect reference to the root of the PDF documentinfo
- an indirect reference to the info object of the PDF documentencryption
-fileID
-prevxref
-
-
-
Method Detail
-
toPdf
public void toPdf(PdfWriter writer, java.io.OutputStream os) throws java.io.IOException
Returns the PDF representation of thisPdfObject
.- Overrides:
toPdf
in classPdfDictionary
- Parameters:
writer
-os
-- Throws:
java.io.IOException
-
-