public abstract class AbstractXlsExporterConfiguration extends SimpleExporterConfiguration implements XlsExporterConfiguration
PROPERTY_CREATE_CUSTOM_PALETTE, PROPERTY_METADATA_APPLICATION, PROPERTY_METADATA_AUTHOR, PROPERTY_METADATA_KEYWORDS, PROPERTY_METADATA_SUBJECT, PROPERTY_METADATA_TITLE, PROPERTY_WORKBOOK_TEMPLATE, PROPERTY_WORKBOOK_TEMPLATE_KEEP_SHEETSPROPERTY_EXPORT_CONFIGURATION_OVERRIDE_REPORT_HINTS| Constructor and Description |
|---|
AbstractXlsExporterConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
String |
getMetadataApplication()
The Application for the XLS document.
|
String |
getMetadataAuthor()
The Author of the XLS document.
|
String |
getMetadataKeywords()
The Keywords of the XLS document.
|
String |
getMetadataSubject()
The Subject of the XLS document.
|
String |
getMetadataTitle()
The Title of the XLS document.
|
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 |
setMetadataApplication(String metadataApplication) |
void |
setMetadataAuthor(String metadataAuthor) |
void |
setMetadataKeywords(String metadataKeywords) |
void |
setMetadataSubject(String metadataSubject) |
void |
setMetadataTitle(String metadataTitle) |
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)
public String getMetadataTitle()
XlsExporterConfigurationgetMetadataTitle in interface XlsExporterConfigurationpublic void setMetadataTitle(String metadataTitle)
public String getMetadataAuthor()
XlsExporterConfigurationgetMetadataAuthor in interface XlsExporterConfigurationpublic void setMetadataAuthor(String metadataAuthor)
public String getMetadataSubject()
XlsExporterConfigurationgetMetadataSubject in interface XlsExporterConfigurationpublic void setMetadataSubject(String metadataSubject)
public String getMetadataKeywords()
XlsExporterConfigurationgetMetadataKeywords in interface XlsExporterConfigurationpublic void setMetadataKeywords(String metadataKeywords)
public String getMetadataApplication()
XlsExporterConfigurationgetMetadataApplication in interface XlsExporterConfigurationpublic void setMetadataApplication(String metadataApplication)
Copyright © 2017. All rights reserved.