com.lowagie.text.pdf
Class PdfReaderInstance
java.lang.Object
com.lowagie.text.pdf.PdfReaderInstance
class PdfReaderInstance
- extends Object
Instance of PdfReader in each output document.
- Author:
- Paulo Soares (psoares@consiste.pt)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IDENTITYMATRIX
static final PdfLiteral IDENTITYMATRIX
ONE
static final PdfNumber ONE
myXref
int[] myXref
reader
PdfReader reader
file
RandomAccessFileOrArray file
importedPages
HashMap importedPages
writer
PdfWriter writer
visited
HashMap visited
nextRound
ArrayList nextRound
PdfReaderInstance
PdfReaderInstance(PdfReader reader,
PdfWriter writer)
getReader
PdfReader getReader()
getImportedPage
PdfImportedPage getImportedPage(int pageNumber)
getNewObjectNumber
int getNewObjectNumber(int number,
int generation)
getReaderFile
RandomAccessFileOrArray getReaderFile()
getResources
PdfObject getResources(int pageNumber)
getFormXObject
PdfStream getFormXObject(int pageNumber,
int compressionLevel)
throws IOException
- Gets the content stream of a page as a PdfStream object.
- Parameters:
pageNumber
- the page of which you want the streamcompressionLevel
- the compression level you want to apply to the stream
- Returns:
- a PdfStream object
- Throws:
IOException
- Since:
- 2.1.3 (the method already existed without param compressionLevel)
writeAllVisited
void writeAllVisited()
throws IOException
- Throws:
IOException
writeAllPages
void writeAllPages()
throws IOException
- Throws:
IOException