public class WordTemplateUtil extends Object
| Constructor and Description |
|---|
WordTemplateUtil() |
| Modifier and Type | Method and Description |
|---|---|
static WfDocument |
archiveAndAttachToProcess(File document,
String processId,
String activityId,
String documentClass,
String template,
WordTemplateService.OutputFormat format,
boolean attachToProcess,
boolean saveAsNewVersion) |
static WfDocument |
archiveAndAttachToProcess(File document,
String processId,
String activityId,
String documentClass,
String template,
WordTemplateService.OutputFormat format,
boolean attachToProcess,
boolean saveAsNewVersion,
String customFileName) |
static WfDocument |
attachToProcess(File f,
String process,
String activity,
String template,
String docClass,
WordTemplateService.OutputFormat format,
boolean saveAsNewVersion) |
static WfDocument |
attachToProcess(File f,
String process,
String activity,
String template,
String docClass,
WordTemplateService.OutputFormat format,
boolean saveAsNewVersion,
String customFileName) |
static String |
getFileName(String processId,
String template,
WordTemplateService.OutputFormat format) |
public static WfDocument archiveAndAttachToProcess(File document, String processId, String activityId, String documentClass, String template, WordTemplateService.OutputFormat format, boolean attachToProcess, boolean saveAsNewVersion) throws Exception
Exceptionpublic static WfDocument attachToProcess(File f, String process, String activity, String template, String docClass, WordTemplateService.OutputFormat format, boolean saveAsNewVersion) throws Exception
Exceptionpublic static WfDocument archiveAndAttachToProcess(File document, String processId, String activityId, String documentClass, String template, WordTemplateService.OutputFormat format, boolean attachToProcess, boolean saveAsNewVersion, String customFileName) throws Exception
Exceptionpublic static WfDocument attachToProcess(File f, String process, String activity, String template, String docClass, WordTemplateService.OutputFormat format, boolean saveAsNewVersion, String customFileName) throws Exception
Exceptionpublic static String getFileName(String processId, String template, WordTemplateService.OutputFormat format)
Copyright © 2022 Suncode. All rights reserved.