public class PDFXref extends Object
This 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
Modifier and Type | Field and Description |
---|---|
int |
generation
The generation of the object, usually 0
|
int |
id
The id of a PDF Object
|
int |
offset
The offset within the PDF file
|
public int id
public int offset
public int generation
public PDFXref(int id, int offset)
id
- The object's IDoffset
- The object's position in the filepublic PDFXref(int id, int offset, int generation)
id
- The object's IDoffset
- The object's position in the filegeneration
- The object's generation, usually 0