Class PdfReaderInstance


  • class PdfReaderInstance
    extends java.lang.Object
    Instance of PdfReader in each output document.
    • Method Detail

      • getNewObjectNumber

        int getNewObjectNumber​(int number,
                               int generation)
      • getResources

        PdfObject getResources​(int pageNumber)
      • getFormXObject

        PdfStream getFormXObject​(int pageNumber,
                                 int compressionLevel)
                          throws java.io.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:
        java.io.IOException
        Since:
        2.1.3 (the method already existed without param compressionLevel)
      • writeAllVisited

        void writeAllVisited()
                      throws java.io.IOException
        Throws:
        java.io.IOException
      • writeAllPages

        public void writeAllPages()
                           throws java.io.IOException
        Throws:
        java.io.IOException