public class PdfFillHelper extends Object
Constructor and Description |
---|
PdfFillHelper() |
Modifier and Type | Method and Description |
---|---|
static void |
fillPdfForm(org.apache.pdfbox.pdmodel.PDDocument pdDoc,
IFormDataAdapter fda,
IWorkflowProcessingContext wpc)
PDF-Befüllung
|
static HashMap<String,HashMap<String,String>> |
getFieldOptions(String identifier,
boolean asAlias,
IFormDataAdapter fda) |
static String |
getFunctionResultValue(String value,
String acroFieldName,
IFormDataAdapter fda) |
static org.apache.pdfbox.pdmodel.PDDocument |
pdDocumentFor(String uriPdfIn)
Erstellt eine
PDDocument -Instanz zum Lesen des PDFs mit der übergebenen Adresse. |
public static org.apache.pdfbox.pdmodel.PDDocument pdDocumentFor(String uriPdfIn) throws MalformedURLException, IOException
PDDocument
-Instanz zum Lesen des PDFs mit der übergebenen Adresse.uriPdfIn
- - URI des Quell-PDFs (lokaler Pfad oder absolute URL)PDDocument
-InstanzIOException
- bei I/O-FehlernMalformedURLException
public static void fillPdfForm(org.apache.pdfbox.pdmodel.PDDocument pdDoc, IFormDataAdapter fda, IWorkflowProcessingContext wpc) throws IOException
pdfStmp
- fda
- - siehe IFormDataAdapter#getFlattenForm()
processingContext
- ec
- v
- IOException
public static String getFunctionResultValue(String value, String acroFieldName, IFormDataAdapter fda)
Copyright © 2018 XIMA MEDIA GmbH. All rights reserved.