Class ProcessPDFOptionsDTO
-
Field Summary
FieldsModifier and TypeFieldDescriptionGlobal page offset adjustments when converting XFA -> classic PDF.If set totrue, PDF 1.4 is created (instead of PDF 1.5).If true, the document will be converted to PDF classic and printed.This option is implemented in order to support printing form background on a blank paper, i.e. not only the data on a pre-printed paper form.If set totruethe caller gets also page mapping which maps page names to page numbers.Should the business facade return the generated PDF-XFA or PDF-Classic document.Should the conversion activities be traced (e.g.Ifnull, the font encoding "Identity-H" will be taken for embedded True-Type fonts, else the specified encoding (e.g.Page specific page offset adjustments when converting XFA -> classic PDF.The URL which should be used to send the preview data to if a preview PDF-XFA document is generated.The result type of the PDF document, possible options are: PDFCLASSIC PDFXFAPREVIEW PDFXFAEDITstatic final Stringstatic final Stringstatic final StringThe timeout (in milliseconds) specifies how long it shall be waited for an answer.The timeout (in milliseconds) specifies how long it shall be waited for the task to be accepted for execution.The language ISO code of the language which should be used to produce the trace length of the ISO Code: 2 -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
RESULTTYPE_PDFCLASSIC
- See Also:
-
RESULTTYPE_PDFXFAPREVIEW
- See Also:
-
RESULTTYPE_PDFXFAEDIT
- See Also:
-
isPrintDocument
If true, the document will be converted to PDF classic and printed. The field ProcessPDFRequestDTO.printSettings must be filled if this option is set to true. -
isReturnPDF
Should the business facade return the generated PDF-XFA or PDF-Classic document. -
resultType
The result type of the PDF document, possible options are:- PDFCLASSIC
- PDFXFAPREVIEW
- PDFXFAEDIT
-
isTrace
Should the conversion activities be traced (e.g. Groovy/Rhino script results) -
timeout
The timeout (in milliseconds) specifies how long it shall be waited for an answer. Thenullvalue means practically infinite timeout (legacy behavior, though in fact there is now a 30 minutes timeout).If the conversion task does not succeed to complete within the timeout, the task will be cancelled and an exception will be thrown.
-
timeoutSubmit
The timeout (in milliseconds) specifies how long it shall be waited for the task to be accepted for execution. Thenullvalue means some reasonable default value.If the conversion task does not succeed to start its execution within the timeout, the task will be cancelled and an exception will be thrown.
The
timeoutSubmitshould be substantially smaller thentimeout -
traceLanguageISOCode
The language ISO code of the language which should be used to produce the trace length of the ISO Code: 2 -
globalPageOffset
Global page offset adjustments when converting XFA -> classic PDF. -
pageOffsets
Page specific page offset adjustments when converting XFA -> classic PDF. -
isPrintedOnBlankPaper
This option is implemented in order to support printing form background on a blank paper, i.e. not only the data on a pre-printed paper form.If set to
true, all document elements, which are normally only visible in preview mode, but not printed on paper, will also be printed. For compatibility, it applies also to all XFAArea's with the name "Layout" (=PDFXFAHelper.LAYOUT_GROUP_NAME).If set to
false, the preview-only elements will either be included in a PDF layer, which is visible in the Acrobat Reader but not printed on the printer (PDF 1.5) or completely excluded from the document (PDF 1.4).- See Also:
-
isConvertToPDF14
If set totrue, PDF 1.4 is created (instead of PDF 1.5). Depending onisPrintedOnBlankPaper, the preview-only elements are then either included or excluded from the document.- See Also:
-
previewURL
The URL which should be used to send the preview data to if a preview PDF-XFA document is generated. -
notUnicodeFontEncoding
Ifnull, the font encoding "Identity-H" will be taken for embedded True-Type fonts, else the specified encoding (e.g. "Cp1252") applies. However, this may lead to some Unicode characters unable to be displayed. -
isReturnPageMapping
If set totruethe caller gets also page mapping which maps page names to page numbers.
-
-
Constructor Details
-
ProcessPDFOptionsDTO
public ProcessPDFOptionsDTO()
-