public interface OutputService
RenderType
enumeration value.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 |
generatePDFOutput(Document inDoc,
Document data,
PDFOutputOptions pdfOutputOptions)
Generates a PDF Document given a template and data to merge
The returned document object also contains an
attribute FormsService#PAGE_COUNT which contains number of pages rendered
which can retrieved using Document#getAttribute method
|
Document |
generatePDFOutput(String urlOrFileName,
Document data,
PDFOutputOptions pdfOutputOptions)
Generates a PDF Document given a template and data to merge
The returned document object also contains an
attribute FormsService#PAGE_COUNT which contains number of pages rendered
which can retrieved using Document#getAttribute method
|
BatchResult |
generatePDFOutputBatch(Map<String,String> templates,
Map<String,Document> data,
PDFOutputOptions pdfOutputOptions,
BatchOptions batchOptions)
Generates a set of PDF Document given a set of template and data to merge
|
Document |
generatePrintedOutput(Document inDoc,
Document data,
PrintedOutputOptions printedOutputOptions)
create a PS/PCL/ZPL document from input xdp or pdf document
The returned document object also contains an
attribute FormsService#PAGE_COUNT which contains number of pages rendered
which can retrieved using Document#getAttribute method
|
Document |
generatePrintedOutput(String urlOrFileName,
Document data,
PrintedOutputOptions printedOutputOptions)
create a PS/PCL/ZPL document from input xdp or pdf document
The returned document object also contains an
attribute FormsService#PAGE_COUNT which contains number of pages rendered
which can retrieved using Document#getAttribute method
|
BatchResult |
generatePrintedOutputBatch(Map<String,String> templates,
Map<String,Document> data,
PrintedOutputOptions printedOutputOptions,
BatchOptions batchOptions)
create PS/PCL/ZPL from a collection of templates and data
|
static final String PAGE_COUNT
Document generatePDFOutput(Document inDoc, Document data, PDFOutputOptions pdfOutputOptions) throws OutputServiceException
inDoc
- template on which generated pdf document is based.
it is created in Adobe LiveCycle Designer
it can be and XDP document or a PDF documentdata
- data xml to be merged with the templatepdfOutputOptions
- options to configure the operationDocument
object containing PDFOutputServiceException
Document generatePDFOutput(String urlOrFileName, Document data, PDFOutputOptions pdfOutputOptions) throws OutputServiceException
urlOrFileName
- name or url of template on which generated pdf document is based.
it is created in Adobe LiveCycle Designer
it can be and XDP document or a PDF documentdata
- data xml to be merged with the templatepdfOutputOptions
- options to configure the operationDocument
object containing PDFOutputServiceException
BatchResult generatePDFOutputBatch(Map<String,String> templates, Map<String,Document> data, PDFOutputOptions pdfOutputOptions, BatchOptions batchOptions) throws OutputServiceException
templates
- set of names templates, identified by a keydata
- set of data documents, identified by keypdfOutputOptions
- options to configure pdf generationbatchOptions
- options to configure batchBatchResult
instance containg result of the operationOutputServiceException
Document generatePrintedOutput(Document inDoc, Document data, PrintedOutputOptions printedOutputOptions) throws OutputServiceException
inDoc
- data
- printedOutputOptions
- Document
object containing generated print documentOutputServiceException
Document generatePrintedOutput(String urlOrFileName, Document data, PrintedOutputOptions printedOutputOptions) throws OutputServiceException
urlOrFileName
- data
- printedOutputOptions
- Document
object containing generated print documentOutputServiceException
BatchResult generatePrintedOutputBatch(Map<String,String> templates, Map<String,Document> data, PrintedOutputOptions printedOutputOptions, BatchOptions batchOptions) throws OutputServiceException
templates
- data
- printedOutputOptions
- BatchResult
instance containing result of batch operationOutputServiceException
Copyright © 1982–2023 Adobe Systems Incorporated. All rights reserved.