Package pdf
Class PDFXref
- java.lang.Object
-
- pdf.PDFXref
-
public class PDFXref extends java.lang.ObjectThis class is used to hold the xref information in the PDF Trailer block.
Basically, each object has an id, and an offset in the end file.
See the Adobe PDF Manual for more information. This class will normally not be used directly by a developer
-
-
Field Summary
Fields Modifier and Type Field Description intgenerationThe generation of the object, usually 0intidThe id of a PDF ObjectintoffsetThe offset within the PDF file
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringtoString()
-
-
-
Constructor Detail
-
PDFXref
public PDFXref(int id, int offset)Creates a crossreference for a PDF Object- Parameters:
id- The object's IDoffset- The object's position in the file
-
PDFXref
public PDFXref(int id, int offset, int generation)Creates a crossreference for a PDF Object- Parameters:
id- The object's IDoffset- The object's position in the filegeneration- The object's generation, usually 0
-
-