com.lowagie.text.pdf
static class PdfWriter.PdfBody.PdfCrossReference extends Object implements Comparable
PdfCrossReference
is an entry in the PDF Cross-Reference table.
Field Summary | |
---|---|
int | generation generation of the object. |
int | offset Byte offset in the PDF file. |
int | refnum |
int | type |
Constructor Summary | |
---|---|
PdfCrossReference(int refnum, int offset, int generation)
Constructs a cross-reference element for a PdfIndirectObject. | |
PdfCrossReference(int refnum, int offset)
Constructs a cross-reference element for a PdfIndirectObject. | |
PdfCrossReference(int type, int refnum, int offset, int generation) |
Method Summary | |
---|---|
int | compareTo(Object o) |
boolean | equals(Object obj) |
int | getRefnum() |
int | hashCode() |
void | toPdf(OutputStream os)
Returns the PDF representation of this PdfObject . |
void | toPdf(int midSize, OutputStream os)
Writes PDF syntax to the OutputStream |
Parameters: refnum offset byte offset of the object generation generationnumber of the object
Parameters: refnum offset byte offset of the object
See Also: java.lang.Comparable#compareTo(java.lang.Object)
See Also: java.lang.Object#equals(java.lang.Object)
See Also: java.lang.Object#hashCode()
PdfObject
.Parameters: os
Throws: IOException
Parameters: midSize os
Throws: IOException