public class AbstractXlsExporterConfiguration extends SimpleExporterConfiguration implements XlsExporterConfiguration
PROPERTY_CREATE_CUSTOM_PALETTE, PROPERTY_WORKBOOK_TEMPLATE, PROPERTY_WORKBOOK_TEMPLATE_KEEP_SHEETSPROPERTY_EXPORT_CONFIGURATION_OVERRIDE_REPORT_HINTS| Constructor and Description |
|---|
AbstractXlsExporterConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
String |
getWorkbookTemplate()
Setting that specifies the location of an existing workbook template.
|
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.
|
Boolean |
isKeepWorkbookTemplateSheets()
Flag that specifies whether to keep the sheets of the existing template into generated document.
|
void |
setCreateCustomPalette(Boolean isCreateCustomPalette) |
void |
setKeepWorkbookTemplateSheets(Boolean isKeepWorkbookTemplateSheets) |
void |
setWorkbookTemplate(String workbookTemplate) |
isOverrideHints, setOverrideHintsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisOverrideHintspublic Boolean isCreateCustomPalette()
XlsExporterConfigurationnet.sf.jasperreports.export.xls.create.custom.palette property.
The colors used in the result XLS are determined in the following manner:
isCreateCustomPalette in interface XlsExporterConfigurationXlsExporterConfiguration.PROPERTY_CREATE_CUSTOM_PALETTEpublic void setCreateCustomPalette(Boolean isCreateCustomPalette)
public 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 XlsExporterConfigurationXlsExporterConfiguration.PROPERTY_WORKBOOK_TEMPLATEpublic void setWorkbookTemplate(String workbookTemplate)
public Boolean isKeepWorkbookTemplateSheets()
XlsExporterConfiguration
This setting is used in conjunction with XlsExporterConfiguration.getWorkbookTemplate().
isKeepWorkbookTemplateSheets in interface XlsExporterConfigurationXlsExporterConfiguration.PROPERTY_WORKBOOK_TEMPLATE_KEEP_SHEETSpublic void setKeepWorkbookTemplateSheets(Boolean isKeepWorkbookTemplateSheets)
Copyright © 2017. All rights reserved.