Class PdfReaderInstance

java.lang.Object
com.aowagie.text.pdf.PdfReaderInstance

class PdfReaderInstance extends Object
Instance of PdfReader in each output document.
  • Field Details

  • Constructor Details

  • Method Details

    • 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 stream
      compressionLevel - 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

      private void writeAllVisited() throws IOException
      Throws:
      IOException
    • writeAllPages

      void writeAllPages() throws IOException
      Throws:
      IOException