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 |
attachToProcess(File f,
String process,
String activity,
String template,
String docClass,
WordTemplateService.OutputFormat format,
boolean saveAsNewVersion) |
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 String getFileName(String processId, String template, WordTemplateService.OutputFormat format)
Copyright © 2017 Suncode. All rights reserved.