public interface FormsService
| Modifier and Type | Field and Description |
|---|---|
static String |
PAGE_COUNT
Key to be used for retrieving page count
from rendered document object using
Document#getAttribute method
|
| Modifier and Type | Method and Description |
|---|---|
Document |
exportData(Document pdfOrXdp,
DataFormat dataFormat)
export data from a PDF Form or XDP
|
Document |
importData(Document pdf,
Document data)
Import data into a PDF Form
|
Document |
renderPDFForm(String urlOrfilename,
Document data,
PDFFormRenderOptions pdfFormRenderOptions)
Renders PDF Form from XDP template created using Adobe LiveCycle Designer
When a static PDF Form is rendered the returned document also contains an
attribute FormsService#PAGE_COUNT which contains number of pages rendered
which can retrieved using Document#getAttribute method
|
ValidationResult |
validate(String template,
Document data,
ValidationOptions validationOptions)
validate submitted data
|
static final String PAGE_COUNT
Document renderPDFForm(String urlOrfilename, Document data, PDFFormRenderOptions pdfFormRenderOptions) throws FormsServiceException
urlOrfilename - data - pdfFormRenderOptions - FormsServiceExceptionDocument exportData(Document pdfOrXdp, DataFormat dataFormat) throws FormsServiceException
pdfOrXdp - dataFormat - FormsServiceExceptionDocument importData(Document pdf, Document data) throws FormsServiceException
pdf - data - FormsServiceExceptionValidationResult validate(String template, Document data, ValidationOptions validationOptions) throws FormsServiceException
FormsServiceExceptionCopyright © 1982–2023 Adobe Systems Incorporated. All rights reserved.