public class FormExporter extends Object
| Constructor and Description | 
|---|
FormExporter(com.alibaba.fastjson.JSONObject persist,
            IXFormRenderConfig renderConfig)  | 
| Modifier and Type | Method and Description | 
|---|---|
byte[] | 
doExport()
Creates a document for the configured form 
 | 
FormExporter | 
withExcludeImages(boolean excludeImages)
Sets whether or not to exclude images in exported document 
 | 
FormExporter | 
withFormat(EFormPrintFormat format)  | 
FormExporter | 
withKeepPlaceholder(boolean keepPlaceholder)  | 
FormExporter | 
withTemplate(ERessourcenTyp resourceType,
            UUID resourceUUID)
Sets the template that should be used via its resource type (client or project) and UUID 
 | 
public FormExporter(com.alibaba.fastjson.JSONObject persist,
                    IXFormRenderConfig renderConfig)
public FormExporter withFormat(EFormPrintFormat format)
format - EFormPrintFormat export formatFormExporter for fluent APIpublic FormExporter withKeepPlaceholder(boolean keepPlaceholder)
format - Boolean export with placeholderFormExporter for fluent APIpublic FormExporter withTemplate(ERessourcenTyp resourceType, UUID resourceUUID)
resourceType - ERessourcenTyp client or project resourceresourceUUID - UUID of the resourceFormExporter for fluent APIpublic FormExporter withExcludeImages(boolean excludeImages)
excludeImages - Boolean exclude XImage in the exported formFormExporter for fluent APIpublic byte[] doExport()
Copyright © 2020 XIMA MEDIA GmbH. All rights reserved.