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

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

Introduction

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

The text is from its open source code.

Constructor

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

Method

voidaddAnnotation(PdfAnnotation annot, int page)
Adds an annotation of form field in a specific page.
voidaddFileAttachment(String description, byte fileStore[], String file, String fileDisplay)
Adds a file attachment at the document level.
voidaddFileAttachment(String description, PdfFileSpecification fs)
Adds a file attachment at the document level.
voidaddJavaScript(String js)
Adds a JavaScript action at the document level.
voidaddViewerPreference(PdfName key, PdfObject value)
Adds a viewer preference
voidclose()
Closes the document.
PdfStampercreateSignature(PdfReader reader, OutputStream os, char pdfVersion)
Applies a digital signature to a document.
PdfStampercreateSignature(PdfReader reader, OutputStream os, char pdfVersion, File tempFile, 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(PdfReader reader, int pageNumber)
Gets a page from other PDF document.
HashMapgetMoreInfo()
Gets the optional String map to add or change values in the info dictionary.
PdfContentBytegetOverContent(int pageNum)
Gets a PdfContentByte to write over the page of the original document.
MapgetPdfLayers()
Gets the PdfLayer objects in an existing document as a Map with the names/titles of the layers as keys.
PdfReadergetReader()
Gets the underlying PdfReader.
PdfSignatureAppearancegetSignatureAppearance()
Gets the signing instance.
PdfContentBytegetUnderContent(int pageNum)
Gets a PdfContentByte to write under the page of the original document.
PdfWritergetWriter()
Gets the underlying PdfWriter.
voidinsertPage(int pageNumber, Rectangle mediabox)
Inserts a blank page.
voidmakePackage(PdfName initialView)
This is the most simple way to change a PDF into a portable collection.
voidmakePackage(PdfCollection collection)
Adds or replaces the Collection Dictionary in the Catalog.
booleanpartialFormFlattening(String name)
Adds name to the list of fields that will be flattened on close, all the other fields will remain.
voidsetEncryption(byte userPassword[], byte ownerPassword[], int permissions, boolean strength128Bits)
Sets the encryption options for this document.
voidsetEncryption(byte userPassword[], byte ownerPassword[], int permissions, int encryptionType)
Sets the encryption options for this document.
voidsetEncryption(boolean strength, String userPassword, String ownerPassword, int permissions)
Sets the encryption options for this document.
voidsetEncryption(int encryptionType, String userPassword, String ownerPassword, int permissions)
Sets the encryption options for this document.
voidsetFormFlattening(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(HashMap moreInfo)
An optional String map to add or change values in the info dictionary.
voidsetOutlines(List outlines)
Sets the bookmarks.
voidsetViewerPreferences(int preferences)
Sets the viewer preferences.
voidsetXmpMetadata(byte[] xmp)
Sets the XMP metadata.