|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.itextpdf.text.pdf.PdfWriter.PdfBody.PdfCrossReference
public static class PdfWriter.PdfBody.PdfCrossReference
PdfCrossReference
is an entry in the PDF Cross-Reference table.
Constructor Summary | |
---|---|
PdfWriter.PdfBody.PdfCrossReference(int type,
int refnum,
long offset,
int generation)
|
|
PdfWriter.PdfBody.PdfCrossReference(int refnum,
long offset)
Constructs a cross-reference element for a PdfIndirectObject. |
|
PdfWriter.PdfBody.PdfCrossReference(int refnum,
long offset,
int generation)
Constructs a cross-reference element for a PdfIndirectObject. |
Method Summary | |
---|---|
int |
compareTo(PdfWriter.PdfBody.PdfCrossReference other)
|
boolean |
equals(java.lang.Object obj)
|
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 |
Constructor Detail |
---|
public PdfWriter.PdfBody.PdfCrossReference(int refnum, long offset, int generation)
refnum
- offset
- byte offset of the objectgeneration
- generation number of the objectpublic PdfWriter.PdfBody.PdfCrossReference(int refnum, long offset)
refnum
- offset
- byte offset of the objectpublic PdfWriter.PdfBody.PdfCrossReference(int type, int refnum, long offset, int generation)
Method Detail |
---|
public 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(PdfWriter.PdfBody.PdfCrossReference other)
compareTo
in interface java.lang.Comparable<PdfWriter.PdfBody.PdfCrossReference>
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 |