public interface XlsExporterConfiguration extends ExporterConfiguration
JRXlsExporter
,
JRXlsxExporter
,
JROdsExporter
,
JRXlsMetadataExporter
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PROPERTY_CREATE_CUSTOM_PALETTE
Property whose value is used as default state of the
isCreateCustomPalette() export configuration flag. |
static java.lang.String |
PROPERTY_WORKBOOK_TEMPLATE
Property that provides a default value for the
getWorkbookTemplate() export configuration setting. |
static java.lang.String |
PROPERTY_WORKBOOK_TEMPLATE_KEEP_SHEETS
Property that provides a default value for the
isKeepWorkbookTemplateSheets() export configuration flag. |
PROPERTY_EXPORT_CONFIGURATION_OVERRIDE_REPORT_HINTS
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.
|
isOverrideHints
static final java.lang.String PROPERTY_CREATE_CUSTOM_PALETTE
isCreateCustomPalette()
export configuration flag.
This property is by default not set (false
).JRPropertiesUtil
,
Constant Field Valuesstatic final java.lang.String PROPERTY_WORKBOOK_TEMPLATE
getWorkbookTemplate()
export configuration setting.JRPropertiesUtil
,
Constant Field Valuesstatic final java.lang.String PROPERTY_WORKBOOK_TEMPLATE_KEEP_SHEETS
isKeepWorkbookTemplateSheets()
export configuration flag.
This property is used in conjunction with PROPERTY_WORKBOOK_TEMPLATE
.
Default value is false
.
JRPropertiesUtil
,
Constant Field Valuesjava.lang.Boolean isCreateCustomPalette()
net.sf.jasperreports.export.xls.create.custom.palette
property.
The colors used in the result XLS are determined in the following manner:
PROPERTY_CREATE_CUSTOM_PALETTE
java.lang.String getWorkbookTemplate()
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
.
PROPERTY_WORKBOOK_TEMPLATE
java.lang.Boolean isKeepWorkbookTemplateSheets()
This setting is used in conjunction with getWorkbookTemplate()
.
© 2001-2014 TIBCO Software Inc. www.jaspersoft.com