/** * Close PdfStamper * @throws IOException * @throws DocumentException */ public void close() throws IOException, DocumentException { writer.close(stamper.getMoreInfo()); } }
/** * Close PdfStamper * @throws IOException * @throws DocumentException */ public void close() throws IOException, DocumentException { writer.close(stamper.getMoreInfo()); } }
@Override protected void close(Map<String, String> moreInfo) throws IOException { super.close(moreInfo); getPdfAChecker().close(this); }
/** * Closes the document. No more content can be written after the * document is closed. * <p> * If closing a signed document with an external signature the closing must be done * in the <CODE>PdfSignatureAppearance</CODE> instance. * @throws DocumentException on error * @throws IOException on error */ public void close() throws DocumentException, IOException { if (stamper.closed) return; if (!hasSignature) { mergeVerification(); stamper.close(moreInfo); } else { throw new DocumentException("Signature defined. Must be closed in PdfSignatureAppearance."); } }
/** * Closes the document. No more content can be written after the * document is closed. * <p> * If closing a signed document with an external signature the closing must be done * in the <CODE>PdfSignatureAppearance</CODE> instance. * @throws DocumentException on error * @throws IOException on error */ public void close() throws DocumentException, IOException { if (stamper.closed) return; if (!hasSignature) { mergeVerification(); stamper.close(moreInfo); } else { throw new DocumentException("Signature defined. Must be closed in PdfSignatureAppearance."); } }
writer.reader.getCatalog().put(new PdfName("Perms"), docmdp); writer.close(stamper.getMoreInfo());
writer.reader.getCatalog().put(new PdfName("Perms"), docmdp); writer.close(stamper.getMoreInfo());
close(info, skipInfo);
close(info, skipInfo);