Java com.itextpdf.text.pdf PdfStamper fields, constructors, methods, implement or subclass

Example usage for Java com.itextpdf.text.pdf PdfStamper fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.itextpdf.text.pdf PdfStamper.

The text is from its open source code.

Constructor

PdfStamper(final PdfReader reader, final OutputStream os)
Starts the process of adding extra content to an existing PDF document.
PdfStamper(final PdfReader reader, final OutputStream os, final char pdfVersion)
Starts the process of adding extra content to an existing PDF document.
PdfStamper(final PdfReader reader, final OutputStream os, final char pdfVersion, final boolean append)
Starts the process of adding extra content to an existing PDF document, possibly as a new revision.

Method

voidaddAnnotation(final PdfAnnotation annot, final int page)
Adds an annotation of form field in a specific page.
voidaddFileAttachment(final String description, final byte fileStore[], final String file, final String fileDisplay)
Adds a file attachment at the document level.
booleanaddNamedDestination(final String name, final int page, final PdfDestination dest)
PdfFormFieldaddSignature(final String name, final int page, final float llx, final float lly, final float urx, final float ury)
Adds an empty signature.
voidclose()
Closes the document.
PdfStampercreateSignature(final PdfReader reader, final OutputStream os, final char pdfVersion)
Applies a digital signature to a document.
PdfStampercreateSignature(final PdfReader reader, final OutputStream os, final char pdfVersion, File tempFile, final boolean append)
Applies a digital signature to a document, possibly as a new revision, making possible multiple signatures.
AcroFieldsgetAcroFields()
Gets the AcroFields object that allows to get and set field values and to merge FDF forms.
PdfImportedPagegetImportedPage(final PdfReader reader, final int pageNumber)
Gets a page from other PDF document.
LtvVerificationgetLtvVerification()
PdfContentBytegetOverContent(final int pageNum)
Gets a PdfContentByte to write over the page of the original document.
PdfReadergetReader()
Gets the underlying PdfReader.
PdfSignatureAppearancegetSignatureAppearance()
Gets the signing instance.
PdfContentBytegetUnderContent(final int pageNum)
Gets a PdfContentByte to write under the page of the original document.
PdfWritergetWriter()
Gets the underlying PdfWriter.
voidinsertPage(final int pageNumber, final Rectangle mediabox)
Inserts a blank page.
voidsetEncryption(final byte userPassword[], final byte ownerPassword[], final int permissions, final boolean strength128Bits)
Sets the encryption options for this document.
voidsetEncryption(final byte userPassword[], final byte ownerPassword[], final int permissions, final int encryptionType)
Sets the encryption options for this document.
voidsetEncryption(final boolean strength, final String userPassword, final String ownerPassword, final int permissions)
Sets the encryption options for this document.
voidsetEncryption(final int encryptionType, final String userPassword, final String ownerPassword, final int permissions)
Sets the encryption options for this document.
voidsetFormFlattening(final boolean flat)
Determines if the fields are flattened on close.
voidsetFullCompression()
Sets the document's compression to the new 1.5 mode with object streams and xref streams.
voidsetMoreInfo(final Map moreInfo)
An optional String map to add or change values in the info dictionary.
voidsetOutlines(final List> outlines)
Sets the bookmarks.
voidsetPageAction(final PdfName actionType, final PdfAction action, final int page)
Sets the open and close page additional action.
voidsetRotateContents(final boolean rotateContents)
Flags the content to be automatically adjusted to compensate the original page rotation.
voidsetXmpMetadata(final byte[] xmp)
Sets the XMP metadata.