com.itextpdf.text.pdf
Class PRIndirectReference
java.lang.Object
com.itextpdf.text.pdf.PdfObject
com.itextpdf.text.pdf.PdfIndirectReference
com.itextpdf.text.pdf.PRIndirectReference
public class PRIndirectReference
- extends PdfIndirectReference
Fields inherited from class com.itextpdf.text.pdf.PdfObject |
ARRAY, BOOLEAN, bytes, DICTIONARY, INDIRECT, indRef, NAME, NOTHING, NULL, NUMBER, STREAM, STRING, TEXT_PDFDOCENCODING, TEXT_UNICODE, type |
Methods inherited from class com.itextpdf.text.pdf.PdfObject |
canBeInObjStm, getBytes, getIndRef, isArray, isBoolean, isDictionary, isIndirect, isName, isNull, isNumber, isStream, isString, length, setContent, setIndRef, type |
reader
protected PdfReader reader
PRIndirectReference
public PRIndirectReference(PdfReader reader,
int number,
int generation)
- Constructs a
PdfIndirectReference
.
- Parameters:
reader
- a PdfReader
number
- the object number.generation
- the generation number.
PRIndirectReference
public PRIndirectReference(PdfReader reader,
int number)
- Constructs a
PdfIndirectReference
.
- Parameters:
reader
- a PdfReader
number
- the object number.
toPdf
public void toPdf(PdfWriter writer,
OutputStream os)
throws IOException
- Description copied from class:
PdfObject
- Writes the PDF representation of this
PdfObject
as an
array of byte
s to the writer.
- Overrides:
toPdf
in class PdfObject
- Parameters:
writer
- for backwards compatibilityos
- The OutputStream
to write the bytes to.
- Throws:
IOException
getReader
public PdfReader getReader()
setNumber
public void setNumber(int number,
int generation)
Copyright © 2013. All Rights Reserved.