Class PdfReaderInstance


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

      • PdfReaderInstance

        PdfReaderInstance​(PdfReader reader,
                          PdfWriter writer)
                   throws java.io.IOException
        Throws:
        java.io.IOException
    • Method Detail

      • getNewObjectNumber

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

        PdfObject getResources​(int pageNumber)
      • getFormXObject

        PdfStream getFormXObject​(int pageNumber)
                          throws java.io.IOException
        Throws:
        java.io.IOException
      • writeAllVisited

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

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