Package | Description |
---|---|
com.itextpdf.text.pdf | |
com.itextpdf.text.pdf.richmedia |
Modifier and Type | Method and Description |
---|---|
PdfFileSpecification |
PdfAWriter.addFileAttachment(String description, byte[] fileStore, String file, String fileDisplay, String mimeType, PdfName afRelationshipValue)
Use this method to add a file attachment at the document level.
|
PdfFileSpecification |
PdfAWriter.addFileAttachment(String description, byte[] fileStore, String file, String fileDisplay, String mimeType, PdfName afRelationshipValue, PdfDictionary fileParameter)
Use this method to add a file attachment at the document level.
|
static PdfFileSpecification |
PdfFileSpecification.fileEmbedded(PdfWriter writer, String filePath, String fileDisplay, byte[] fileStore)
Creates a file specification with the file embedded.
|
static PdfFileSpecification |
PdfFileSpecification.fileEmbedded(PdfWriter writer, String filePath, String fileDisplay, byte[] fileStore, boolean compress)
Creates a file specification with the file embedded.
|
static PdfFileSpecification |
PdfFileSpecification.fileEmbedded(PdfWriter writer, String filePath, String fileDisplay, byte[] fileStore, boolean compress, String mimeType, PdfDictionary fileParameter)
Creates a file specification with the file embedded.
|
static PdfFileSpecification |
PdfFileSpecification.fileEmbedded(PdfWriter writer, String filePath, String fileDisplay, byte[] fileStore, int compressionLevel)
Creates a file specification with the file embedded.
|
static PdfFileSpecification |
PdfFileSpecification.fileEmbedded(PdfWriter writer, String filePath, String fileDisplay, byte[] fileStore, String mimeType, PdfDictionary fileParameter, int compressionLevel)
Creates a file specification with the file embedded.
|
static PdfFileSpecification |
PdfFileSpecification.fileExtern(PdfWriter writer, String filePath)
Creates a file specification for an external file.
|
static PdfFileSpecification |
PdfFileSpecification.url(PdfWriter writer, String url)
Creates a file specification of type URL.
|
Modifier and Type | Method and Description |
---|---|
void |
PdfWriter.addFileAttachment(PdfFileSpecification fs)
Use this method to add a file attachment at the document level.
|
void |
PdfWriter.addFileAttachment(String description, PdfFileSpecification fs)
Use this method to add a file attachment at the document level.
|
void |
PdfStamper.addFileAttachment(String description, PdfFileSpecification fs)
Adds a file attachment at the document level.
|
static PdfAnnotation |
PdfAnnotation.createFileAttachment(PdfWriter writer, Rectangle rect, String contents, PdfFileSpecification fs)
Creates a file attachment annotation
|
static PdfAnnotation |
PdfAnnotation.createScreen(PdfWriter writer, Rectangle rect, String clipTitle, PdfFileSpecification fs, String mimeType, boolean playOnDisplay)
Creates a screen PdfAnnotation
|
static PdfAction |
PdfAction.rendition(String file, PdfFileSpecification fs, String mimeType, PdfIndirectReference ref)
Creates a Rendition action
|
Modifier and Type | Method and Description |
---|---|
PdfIndirectReference |
RichMediaAnnotation.addAsset(String name, PdfFileSpecification fs)
Adds an embedded file.
|
Copyright © 2016. All rights reserved.