com.itextpdf.text.pdf
Class PdfWriter.PdfTrailer
java.lang.Object
com.itextpdf.text.pdf.PdfObject
com.itextpdf.text.pdf.PdfDictionary
com.itextpdf.text.pdf.PdfWriter.PdfTrailer
- Enclosing class:
- PdfWriter
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).
Fields inherited from class com.itextpdf.text.pdf.PdfObject |
ARRAY, BOOLEAN, bytes, DICTIONARY, INDIRECT, indRef, NAME, NOTHING, NULL, NUMBER, STREAM, STRING, TEXT_PDFDOCENCODING, TEXT_UNICODE, type |
Methods inherited from class com.itextpdf.text.pdf.PdfDictionary |
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 |
Methods inherited from class com.itextpdf.text.pdf.PdfObject |
canBeInObjStm, getBytes, getIndRef, isArray, isBoolean, isDictionary, isIndirect, isName, isNull, isNumber, isStream, isString, length, setContent, setIndRef, type |
PdfWriter.PdfTrailer
public PdfWriter.PdfTrailer(int size,
long offset,
PdfIndirectReference root,
PdfIndirectReference info,
PdfIndirectReference encryption,
PdfObject fileID,
long 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 documentinfo
- an indirect reference to the info object of the PDF documentencryption
- fileID
- prevxref
-
toPdf
public void toPdf(PdfWriter writer,
OutputStream os)
throws IOException
- Returns the PDF representation of this
PdfObject
.
- Overrides:
toPdf
in class PdfDictionary
- Parameters:
writer
- os
-
- Throws:
IOException
Copyright © 2013. All Rights Reserved.