Class PdfStamperImp

    • Field Detail

      • flat

        protected boolean flat
      • flatFreeText

        protected boolean flatFreeText
      • namePtr

        protected int[] namePtr
      • namedAsNames

        protected boolean namedAsNames
      • newBookmarks

        protected List newBookmarks
      • partialFlattening

        protected HashSet partialFlattening
      • useVp

        protected boolean useVp
      • vp

        protected int vp
      • fieldTemplates

        protected HashMap fieldTemplates
      • fieldsAdded

        protected boolean fieldsAdded
      • sigFlags

        protected int sigFlags
      • append

        protected boolean append
      • initialXrefSize

        protected int initialXrefSize
    • Constructor Detail

      • PdfStamperImp

        public PdfStamperImp​(PdfReader reader,
                             OutputStream os,
                             char pdfVersion,
                             boolean append)
                      throws DocumentException,
                             IOException
        Creates new PdfStamperImp.
        Parameters:
        reader - the read PDF
        os - the output destination
        pdfVersion - the new pdf version or '\0' to keep the same version as the original document
        append -
        Throws:
        DocumentException - on error
        IOException