JClass DesktopViews 6.3.0 API
Documentation

com.klg.jclass.page.adobe.pdf
Class JCPDFPrinter.AcroReference

java.lang.Object
  |
  +--com.klg.jclass.page.adobe.pdf.JCPDFPrinter.AcroReference
All Implemented Interfaces:
Comparable
Enclosing class:
JCPDFPrinter

protected class JCPDFPrinter.AcroReference
extends Object
implements Comparable

Class AcroReference defines a PDF cross-reference marker


Field Summary
protected  int number
           
protected  long offset
           
 
Constructor Summary
JCPDFPrinter.AcroReference()
          Create a null reference
JCPDFPrinter.AcroReference(int number, long offset)
          Creates a reference for the numbered object at the offset location.
 
Method Summary
 int compareTo(Object o)
          Compares two references and determine which occurs previous in order.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

number

protected int number

offset

protected long offset
Constructor Detail

JCPDFPrinter.AcroReference

public JCPDFPrinter.AcroReference()
Create a null reference


JCPDFPrinter.AcroReference

public JCPDFPrinter.AcroReference(int number,
                                  long offset)
Creates a reference for the numbered object at the offset location.

Parameters:
number - The object number whose reference is being stored
offset - The offset into the output stream of the object's start
Method Detail

compareTo

public int compareTo(Object o)
Compares two references and determine which occurs previous in order.

Specified by:
compareTo in interface Comparable
Parameters:
o - The AcroReference object to compare to this one
Returns:
An integer indicating the relative order of the two references

Copyright © 2004 Quest Software Inc..
All rights reserved.