PdfTrailer(int size,
int offset,
PdfIndirectReference root,
PdfIndirectReference info,
PdfIndirectReference encryption,
PdfObject fileID,
int prevxref) {
this.offset = offset;
put(PdfName.SIZE, new PdfNumber(size));
put(PdfName.ROOT, root);
if (info != null) {
put(PdfName.INFO, info);
}
if (encryption != null)
put(PdfName.ENCRYPT, encryption);
if (fileID != null)
put(PdfName.ID, fileID);
if (prevxref > 0)
put(PdfName.PREV, new PdfNumber(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 -
|