@PermitAll public class PdfFunctionsImpl extends java.lang.Object implements PdfFunctions
| Constructor and Description |
|---|
PdfFunctionsImpl() |
| Modifier and Type | Method and Description |
|---|---|
RecordHolder |
fillPdfForm(ExecutionContext context,
RecordHolder pdfInput,
java.lang.String fileName,
MapHolder values)
Fills a given PDF form.
|
BinaryHolder |
fillPdfTemplate(ExecutionContext context,
BinaryHolder pdfTemplate,
BinaryHolder fdfDocument)
Creates a new PDF document from a template.
|
BinaryHolder |
fillPdfTemplate(ExecutionContext context,
BinaryHolder pdfTemplate,
MapHolder values)
Creates a new PDF document from a template.
|
BinaryHolder |
fillXfaPdfTemplate(ExecutionContext context,
BinaryHolder xfaTemplate,
RecordHolder data)
Creates a new PDF document from the XFA template.
|
BinaryHolder |
fillXfaPdfTemplate(ExecutionContext context,
BinaryHolder xfaTemplate,
java.lang.String xml)
Creates a new PDF document from the XFA template.
|
public RecordHolder fillPdfForm(ExecutionContext context, RecordHolder pdfInput, java.lang.String fileName, MapHolder values) throws ErrorException
PdfFunctionsfillPdfForm in interface PdfFunctionscontext - the LSPS execution contextpdfInput - PDF form as a BinaryHandle recordfileName - a file name of the created output BinaryHandlevalues - a map with PDF form field names as keysErrorExceptionpublic BinaryHolder fillPdfTemplate(ExecutionContext context, BinaryHolder pdfTemplate, MapHolder values) throws ErrorException
PdfFunctionsvalues map. The keys of the map represent the field
names.fillPdfTemplate in interface PdfFunctionscontext - the execution contextpdfTemplate - a PDF templatevalues - the values for the form fieldsErrorException - If error occurs during the creation of the PDF documentpublic BinaryHolder fillPdfTemplate(ExecutionContext context, BinaryHolder pdfTemplate, BinaryHolder fdfDocument) throws ErrorException
PdfFunctionsfillPdfTemplate in interface PdfFunctionscontext - the execution contextpdfTemplate - a PDF templatefdfDocument - the values for the form fieldsErrorException - If error occurs during the creation of the PDF documentpublic BinaryHolder fillXfaPdfTemplate(ExecutionContext context, BinaryHolder xfaTemplate, java.lang.String xml) throws ErrorException
PdfFunctionsxml. The xml must conform to
the XSD specified by the template.fillXfaPdfTemplate in interface PdfFunctionscontext - the execution contextxfaTemplate - the PDF template with XFA controlsxml - the data for the templateErrorExceptionpublic BinaryHolder fillXfaPdfTemplate(ExecutionContext context, BinaryHolder xfaTemplate, RecordHolder data) throws ErrorException
PdfFunctionsdata record. The type of populated record must specify
the XML mapping that conforms to the XML schema required by the template.fillXfaPdfTemplate in interface PdfFunctionscontext - the execution contextxfaTemplate - the PDF template with XFA controlsdata - the data for the templateErrorExceptionCopyright © 2007-2020 Whitestein Technologies. All Rights Reserved.