Main Page | Namespace List | Class Hierarchy | Class List | Class Members | Related Pages

gnu::jpdf::PDFXref Class Reference

List of all members.

Public Member Functions

 PDFXref (int id, int offset)
 PDFXref (int id, int offset, int generation)
String toString ()

Public Attributes

int id
int offset
int generation

Detailed Description

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

Eric Z. Beard, ericzbeard@hotmail.com

Author
ezb
Version:
Revision
1.1.1.1
,
Date
2001/10/29 19:51:09


Constructor & Destructor Documentation

gnu::jpdf::PDFXref::PDFXref int  id,
int  offset
[inline]
 

Creates a crossreference for a PDF Object

Parameters:
id The object's ID
offset The object's position in the file

gnu::jpdf::PDFXref::PDFXref int  id,
int  offset,
int  generation
[inline]
 

Creates a crossreference for a PDF Object

Parameters:
id The object's ID
offset The object's position in the file
generation The object's generation, usually 0


Member Function Documentation

String gnu::jpdf::PDFXref::toString  )  [inline]
 

Returns:
The xref in the format of the xref section in the PDF file


Member Data Documentation

int gnu::jpdf::PDFXref::generation
 

The generation of the object, usually 0

int gnu::jpdf::PDFXref::id
 

The id of a PDF Object

int gnu::jpdf::PDFXref::offset
 

The offset within the PDF file


The documentation for this class was generated from the following file:
Generated on Wed Jan 19 16:58:08 2005 by  doxygen 1.3.9.1