public 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 and Description |
---|
PdfTrailer(int size, long offset, PdfIndirectReference root, PdfIndirectReference info, PdfIndirectReference encryption, PdfObject fileID, long prevxref)
Constructs a PDF-Trailer.
|
Modifier and Type | Method and Description |
---|---|
void |
toPdf(PdfWriter writer, OutputStream os)
Returns the PDF representation of this PdfObject .
|
checkType, clear, contains, get, getAsArray, getAsBoolean, getAsDict, getAsIndirectObject, getAsName, getAsNumber, getAsStream, getAsString, getDirectObject, getKeys, isCatalog, isFont, isOutlineTree, isPage, isPages, merge, mergeDifferent, put, putAll, putEx, remove, size, toString
canBeInObjStm, getBytes, getIndRef, isArray, isBoolean, isDictionary, isIndirect, isName, isNull, isNumber, isStream, isString, length, setContent, setIndRef, type
public PdfTrailer(int size, long offset, PdfIndirectReference root, PdfIndirectReference info, PdfIndirectReference encryption, PdfObject fileID, long prevxref)
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
-
public void toPdf(PdfWriter writer, OutputStream os) throws IOException
PdfObject
.
toPdf
in class PdfDictionary
writer
-
os
-
IOException
Copyright © 1998–2019. All rights reserved.