| java.lang.Object gnu.jpdf.PDFXref
PDFXref | public class PDFXref (Code) | | 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
author: Peter T. Mount author: Eric Z. Beard, ericzbeard@hotmail.com author: $Author: ezb $ version: $Revision: 1.1.1.1 $, $Date: 2001/10/29 19:51:09 $ |
Constructor Summary | |
public | PDFXref(int id, int offset) | public | PDFXref(int id, int offset, int generation) |
generation | public int generation(Code) | | The generation of the object, usually 0
|
id | public int id(Code) | | The id of a PDF Object
|
offset | public int offset(Code) | | The offset within the PDF file
|
PDFXref | public PDFXref(int id, int offset)(Code) | | Creates a crossreference for a PDF Object
Parameters: id - The object's ID Parameters: offset - The object's position in the file |
PDFXref | public PDFXref(int id, int offset, int generation)(Code) | | Creates a crossreference for a PDF Object
Parameters: id - The object's ID Parameters: offset - The object's position in the file Parameters: generation - The object's generation, usually 0 |
toString | public String toString()(Code) | | The xref in the format of the xref section in the PDF file |
|
|