Class PdfWriter.PdfTrailer
java.lang.Object
com.gitlab.pdftk_java.com.lowagie.text.pdf.PdfObject
com.gitlab.pdftk_java.com.lowagie.text.pdf.PdfDictionary
com.gitlab.pdftk_java.com.lowagie.text.pdf.PdfWriter.PdfTrailer
- Enclosing class:
- PdfWriter
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
Fields -
Constructor Summary
ConstructorsConstructorDescriptionPdfTrailer
(int size, int offset, PdfIndirectReference root, PdfIndirectReference info, PdfIndirectReference encryption, PdfObject fileID, int prevxref) Constructs a PDF-Trailer. -
Method Summary
Modifier and TypeMethodDescriptionvoid
toPdf
(PdfWriter writer, OutputStream os) Returns the PDF representation of thisPdfObject
.Methods inherited from class com.gitlab.pdftk_java.com.lowagie.text.pdf.PdfDictionary
contains, get, getAsArray, getAsBoolean, getAsDict, getAsIndirectObject, getAsName, getAsNumber, getAsStream, getAsString, getDirectObject, getKeys, isCatalog, isDictionaryType, isFont, isOutlineTree, isPage, isPages, merge, mergeDifferent, put, putAll, putDel, putEx, remove, size
Methods inherited from class com.gitlab.pdftk_java.com.lowagie.text.pdf.PdfObject
canBeInObjStm, getBytes, getIndRef, isArray, isBoolean, isDictionary, isIndirect, isName, isNull, isNumber, isStream, isString, length, setContent, setIndRef, toString, type
-
Field Details
-
offset
int offset
-
-
Constructor Details
-
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 thePdfCrossReferenceTable
offset
- offset of 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 Details
-
toPdf
Returns the PDF representation of thisPdfObject
.- Overrides:
toPdf
in classPdfDictionary
- Parameters:
writer
-os
-- Throws:
IOException
-