public final class OdsLoadOptions extends LoadOptions
Constructor and Description |
---|
OdsLoadOptions()
Initializes a new instance of the
OdsLoadOptions class. |
Modifier and Type | Method and Description |
---|---|
boolean |
isPreserveUnsupportedFeatures()
Gets a value indicating whether to preserve ODS file format features that are not directly supported through GemBox.Spreadsheet object model.
|
boolean |
isReadDisplayValues()
Read display values instead of stored values.
|
void |
setPreserveUnsupportedFeatures(boolean preserveUnsupportedFeatures)
Sets a value indicating whether to preserve ODS file format features that are not directly supported through GemBox.Spreadsheet object model.
|
void |
setReadDisplayValues(boolean readDisplayValues)
Set to read display values instead of stored values.
|
getCsvDefault, getHtmlDefault, getOdsDefault, getXlsDefault, getXlsxDefault
public OdsLoadOptions()
OdsLoadOptions
class.public boolean isPreserveUnsupportedFeatures()
Default value is set to true
.
true
to preserve ODS file format features that are not directly supported through GemBox.Spreadsheet object model; otherwise, false
.public boolean isReadDisplayValues()
Values in ODS are stored as value - display string pairs.
Normally stored value is read but that looses number formatting.
If you want to read value as formatted display string (for example, date as "Wednesday, May 5th, 2009" string), set this property to true
.
Default value is set to false
.
true
to read display values; otherwise, false
.public void setPreserveUnsupportedFeatures(boolean preserveUnsupportedFeatures)
Default value is set to true
.
preserveUnsupportedFeatures
- true
to preserve ODS file format features that are not directly supported through GemBox.Spreadsheet object model; otherwise, false
.public void setReadDisplayValues(boolean readDisplayValues)
Values in ODS are stored as value - display string pairs.
Normally stored value is read but that looses number formatting.
If you want to read value as formatted display string (for example, date as "Wednesday, May 5th, 2009" string), set this method to true
.
Default value is set to false
.
readDisplayValues
- true
to read display values; otherwise, false
.© GemBox d.o.o. — All rights reserved.