|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.lowagie.text.pdf.PdfWriter.PdfBody.PdfCrossReference
static class PdfWriter.PdfBody.PdfCrossReference
PdfCrossReference is an entry in the PDF Cross-Reference table.
| Field Summary | |
|---|---|
private int |
generation
generation of the object. |
private int |
offset
Byte offset in the PDF file. |
private int |
refnum
|
private int |
type
|
| Constructor Summary | |
|---|---|
PdfWriter.PdfBody.PdfCrossReference(int refnum,
int offset)
Constructs a cross-reference element for a PdfIndirectObject. |
|
PdfWriter.PdfBody.PdfCrossReference(int refnum,
int offset,
int generation)
Constructs a cross-reference element for a PdfIndirectObject. |
|
PdfWriter.PdfBody.PdfCrossReference(int type,
int refnum,
int offset,
int generation)
|
|
| Method Summary | |
|---|---|
int |
compareTo(Object o)
|
boolean |
equals(Object obj)
|
(package private) int |
getRefnum()
|
int |
hashCode()
|
void |
toPdf(int midSize,
OutputStream os)
Writes PDF syntax to the OutputStream |
void |
toPdf(OutputStream os)
Returns the PDF representation of this PdfObject. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private int type
private int offset
private int refnum
private int generation
| Constructor Detail |
|---|
PdfWriter.PdfBody.PdfCrossReference(int refnum,
int offset,
int generation)
refnum - offset - byte offset of the objectgeneration - generationnumber of the object
PdfWriter.PdfBody.PdfCrossReference(int refnum,
int offset)
refnum - offset - byte offset of the object
PdfWriter.PdfBody.PdfCrossReference(int type,
int refnum,
int offset,
int generation)
| Method Detail |
|---|
int getRefnum()
public void toPdf(OutputStream os)
throws IOException
PdfObject.
os -
IOException
public void toPdf(int midSize,
OutputStream os)
throws IOException
midSize - os -
IOExceptionpublic int compareTo(Object o)
compareTo in interface ComparableComparable.compareTo(java.lang.Object)public boolean equals(Object obj)
equals in class ObjectObject.equals(java.lang.Object)public int hashCode()
hashCode in class ObjectObject.hashCode()
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||