|
![]() |
||||||||
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(java.lang.Object o)
|
boolean |
equals(java.lang.Object obj)
|
(package private) int |
getRefnum()
|
int |
hashCode()
|
void |
toPdf(int midSize,
java.io.OutputStream os)
Writes PDF syntax to the OutputStream |
void |
toPdf(java.io.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 objectPdfWriter.PdfBody.PdfCrossReference(int refnum, int offset)
refnum
- offset
- byte offset of the objectPdfWriter.PdfBody.PdfCrossReference(int type, int refnum, int offset, int generation)
Method Detail |
---|
int getRefnum()
public void toPdf(java.io.OutputStream os) throws java.io.IOException
PdfObject
.
os
-
java.io.IOException
public void toPdf(int midSize, java.io.OutputStream os) throws java.io.IOException
midSize
- os
-
java.io.IOException
public int compareTo(java.lang.Object o)
compareTo
in interface java.lang.Comparable
Comparable.compareTo(java.lang.Object)
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Object.equals(java.lang.Object)
public int hashCode()
hashCode
in class java.lang.Object
Object.hashCode()
|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |