public interface PdfFunctions
Modifier and Type | Method and Description |
---|---|
RecordHolder |
fillPdfForm(ExecutionContext context,
RecordHolder pdfInput,
String fileName,
MapHolder values)
Deprecated.
|
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,
String xml)
Creates a new PDF document from the XFA template.
|
@Deprecated RecordHolder fillPdfForm(ExecutionContext context, RecordHolder pdfInput, String fileName, MapHolder values) throws ErrorException
context
- 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 keysErrorException
BinaryHolder fillPdfTemplate(ExecutionContext context, BinaryHolder pdfTemplate, MapHolder values) throws ErrorException
values
map. The keys of the map represent the field
names.context
- the execution contextpdfTemplate
- a PDF templatevalues
- the values for the form fieldsErrorException
- If error occurs during the creation of the PDF documentBinaryHolder fillPdfTemplate(ExecutionContext context, BinaryHolder pdfTemplate, BinaryHolder fdfDocument) throws ErrorException
context
- the execution contextpdfTemplate
- a PDF templatefdfDocument
- the values for the form fieldsErrorException
- If error occurs during the creation of the PDF documentBinaryHolder fillXfaPdfTemplate(ExecutionContext context, BinaryHolder xfaTemplate, String xml) throws ErrorException
xml
. The xml
must conform to
the XSD specified by the template.context
- the execution contextxfaTemplate
- the PDF template with XFA controlsxml
- the data for the templateErrorException
BinaryHolder fillXfaPdfTemplate(ExecutionContext context, BinaryHolder xfaTemplate, RecordHolder data) throws ErrorException
data
record. The type of populated record must specify
the XML mapping that conforms to the XML schema required by the template.context
- the execution contextxfaTemplate
- the PDF template with XFA controlsdata
- the data for the templateErrorException
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.