public enum ExportFormat extends java.lang.Enum<ExportFormat> implements ValueEnum
client export
to one of the native spreadsheet formats (xls
or ooxml), we also export hilite-based
coloring. So, if Hilites are causing a
particular cell to be rendered as green text on a blue background, the corresponding cell in the exported spreadsheet
document will also be colored that way.Enum Constant and Description |
---|
CSV
Export data in comma-separated format
|
CUSTOM
Custom server-side logic will do the export
|
JSON
Export data as JSON objects.
|
OOXML
Export data in native Microsoft Excel 2007 format (also called XLSX)
|
XLS
Export data in native Microsoft Excel 97 format
|
XML
Export data as XML records
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getValue() |
static ExportFormat |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ExportFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExportFormat XML
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "xml".
public static final ExportFormat JSON
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "json".
public static final ExportFormat CSV
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "csv".
public static final ExportFormat XLS
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "xls".
public static final ExportFormat OOXML
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "ooxml".
public static final ExportFormat CUSTOM
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "custom".
public static ExportFormat[] values()
for (ExportFormat c : ExportFormat.values()) System.out.println(c);
public static ExportFormat valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null