public class OfficeTemplatePlugin extends Object implements ReportPlugin
Modifier and Type | Class and Description |
---|---|
protected static class |
OfficeTemplatePlugin.ContextType |
Modifier and Type | Field and Description |
---|---|
static List<String[]> |
GENERAL_MERGE_FIELDS |
Constructor and Description |
---|
OfficeTemplatePlugin() |
Modifier and Type | Method and Description |
---|---|
Report |
getReport() |
static String |
getReportContextName(QuickReportDTO quickReport) |
static OfficeTemplatePlugin.ContextType |
getReportContextType(QuickReportDTO quickReport) |
void |
init(Report report,
org.springframework.context.ApplicationContext applicationContext)
Initialize the plugin.
|
Map<String,Object> |
runPlugin(Map<String,Object> params)
Runs a report plugin
|
public Report getReport()
getReport
in interface ReportPlugin
public void init(Report report, org.springframework.context.ApplicationContext applicationContext)
ReportPlugin
init
in interface ReportPlugin
report
- the underlying reportapplicationContext
- Spring contextpublic Map<String,Object> runPlugin(Map<String,Object> params)
ReportPlugin
runPlugin
in interface ReportPlugin
params
- parameters for the reportpublic static String getReportContextName(QuickReportDTO quickReport)
public static OfficeTemplatePlugin.ContextType getReportContextType(QuickReportDTO quickReport)
Copyright (c) 2013-2014 Jama Software, Inc. All Rights Reserved.