/** Starts the process of adding extra content to an existing PDF * document. * @param reader the original document. It cannot be reused * @param os the output stream * @throws DocumentException on error * @throws IOException on error */ public PdfStamper(PdfReader reader, OutputStream os) throws DocumentException, IOException { stamper = new PdfStamperImp(reader, os, '\0', false); }
/** * Starts the process of adding extra content to an existing PDF * document. * @param reader the original document. It cannot be reused * @param os the output stream * @param pdfVersion the new pdf version or '\0' to keep the same version as the original * document * @throws DocumentException on error * @throws IOException on error */ public PdfStamper(PdfReader reader, OutputStream os, char pdfVersion) throws DocumentException, IOException { stamper = new PdfStamperImp(reader, os, pdfVersion, false); }
/** Starts the process of adding extra content to an existing PDF * document. * @param reader the original document. It cannot be reused * @param os the output stream * @throws DocumentException on error * @throws IOException on error */ public PdfStamper(PdfReader reader, OutputStream os) throws DocumentException, IOException { stamper = new PdfStamperImp(reader, os, '\0', false); }
/** Starts the process of adding extra content to an existing PDF * document. * @param reader the original document. It cannot be reused * @param os the output stream * @throws DocumentException on error * @throws IOException on error */ public PdfStamper(final PdfReader reader, final OutputStream os, final Calendar globalDate) throws DocumentException, IOException { this.stamper = new PdfStamperImp(reader, os, '\0', false, globalDate); }
/** * Starts the process of adding extra content to an existing PDF * document. * @param reader the original document. It cannot be reused * @param os the output stream * @param pdfVersion the new pdf version or '\0' to keep the same version as the original * document * @throws DocumentException on error * @throws IOException on error */ public PdfStamper(PdfReader reader, OutputStream os, char pdfVersion) throws DocumentException, IOException { stamper = new PdfStamperImp(reader, os, pdfVersion, false); }
/** * Starts the process of adding extra content to an existing PDF * document. * @param reader the original document. It cannot be reused * @param os the output stream * @param pdfVersion the new pdf version or '\0' to keep the same version as the original * document * @throws DocumentException on error * @throws IOException on error */ public PdfStamper(final PdfReader reader, final OutputStream os, final char pdfVersion, final Calendar globalDate) throws DocumentException, IOException { this.stamper = new PdfStamperImp(reader, os, pdfVersion, false, globalDate); }
/** * Starts the process of adding extra content to an existing PDF * document, possibly as a new revision. * @param reader the original document. It cannot be reused * @param os the output stream * @param pdfVersion the new pdf version or '\0' to keep the same version as the original * document * @param append if <CODE>true</CODE> appends the document changes as a new revision. This is * only useful for multiple signatures as nothing is gained in speed or memory * @throws DocumentException on error * @throws IOException on error */ public PdfStamper(PdfReader reader, OutputStream os, char pdfVersion, boolean append) throws DocumentException, IOException { stamper = new PdfStamperImp(reader, os, pdfVersion, append); }
/** * Starts the process of adding extra content to an existing PDF * document, possibly as a new revision. * @param reader the original document. It cannot be reused * @param os the output stream * @param pdfVersion the new pdf version or '\0' to keep the same version as the original * document * @param append if <CODE>true</CODE> appends the document changes as a new revision. This is * only useful for multiple signatures as nothing is gained in speed or memory * @throws DocumentException on error * @throws IOException on error */ public PdfStamper(PdfReader reader, OutputStream os, char pdfVersion, boolean append) throws DocumentException, IOException { stamper = new PdfStamperImp(reader, os, pdfVersion, append); }
/** * Starts the process of adding extra content to an existing PDF * document, possibly as a new revision. * @param reader the original document. It cannot be reused * @param os the output stream * @param pdfVersion the new pdf version or '\0' to keep the same version as the original * document * @param append if <CODE>true</CODE> appends the document changes as a new revision. This is * only useful for multiple signatures as nothing is gained in speed or memory * @throws DocumentException on error * @throws IOException on error */ public PdfStamper(final PdfReader reader, final OutputStream os, final char pdfVersion, final boolean append, final Calendar globalDate) throws DocumentException, IOException { this.stamper = new PdfStamperImp(reader, os, pdfVersion, append, globalDate); }