public class AbstractXlsExporterConfiguration extends SimpleExporterConfiguration implements XlsExporterConfiguration
PROPERTY_CREATE_CUSTOM_PALETTE, PROPERTY_WORKBOOK_TEMPLATE, PROPERTY_WORKBOOK_TEMPLATE_KEEP_SHEETS
PROPERTY_EXPORT_CONFIGURATION_OVERRIDE_REPORT_HINTS
Constructor and Description |
---|
AbstractXlsExporterConfiguration() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getWorkbookTemplate()
Setting that specifies the location of an existing workbook template.
|
java.lang.Boolean |
isCreateCustomPalette()
Returns a boolean value specifying whether the standard color palette should be customized
so that the XLS result uses the original report colors.
|
java.lang.Boolean |
isKeepWorkbookTemplateSheets()
Flag that specifies whether to keep the sheets of the existing template into generated document.
|
void |
setCreateCustomPalette(java.lang.Boolean isCreateCustomPalette) |
void |
setKeepWorkbookTemplateSheets(java.lang.Boolean isKeepWorkbookTemplateSheets) |
void |
setWorkbookTemplate(java.lang.String workbookTemplate) |
isOverrideHints, setOverrideHints
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isOverrideHints
public java.lang.Boolean isCreateCustomPalette()
XlsExporterConfiguration
net.sf.jasperreports.export.xls.create.custom.palette
property.
The colors used in the result XLS are determined in the following manner:
isCreateCustomPalette
in interface XlsExporterConfiguration
XlsExporterConfiguration.PROPERTY_CREATE_CUSTOM_PALETTE
public void setCreateCustomPalette(java.lang.Boolean isCreateCustomPalette)
public java.lang.String getWorkbookTemplate()
XlsExporterConfiguration
This setting is used in Excel exporters based either on Apache POI APIs (JRXlsExporter
) or on JExcelApi library
(JExcelApiExporter
). There's no similar property for the JRXlsxExporter
.
getWorkbookTemplate
in interface XlsExporterConfiguration
XlsExporterConfiguration.PROPERTY_WORKBOOK_TEMPLATE
public void setWorkbookTemplate(java.lang.String workbookTemplate)
public java.lang.Boolean isKeepWorkbookTemplateSheets()
XlsExporterConfiguration
This setting is used in conjunction with XlsExporterConfiguration.getWorkbookTemplate()
.
isKeepWorkbookTemplateSheets
in interface XlsExporterConfiguration
XlsExporterConfiguration.PROPERTY_WORKBOOK_TEMPLATE_KEEP_SHEETS
public void setKeepWorkbookTemplateSheets(java.lang.Boolean isKeepWorkbookTemplateSheets)
© 2001-2014 TIBCO Software Inc. www.jaspersoft.com