com.aspose.cells.OdsLoadOptions.html Maven / Gradle / Ivy
OdsLoadOptions
com.aspose.cells
Class OdsLoadOptions
java.lang.Object
LoadOptions
com.aspose.cells.OdsLoadOptions
public class OdsLoadOptions
- extends LoadOptions
Constructor Summary |
---|
OdsLoadOptions()
Represents the options of loading ods file. |
OdsLoadOptions(int type)
Represents the options of loading ods file. |
Property Getters/Setters Summary | ||
---|---|---|
boolean | getApplyExcelDefaultStyleToHyperlink() | |
void | setApplyExcelDefaultStyleToHyperlink(boolean) | |
Indicates whether applying the default style of the Excel to hyperlink. | ||
boolean | getAutoFilter() | → inherited from LoadOptions
|
void | setAutoFilter(boolean) | |
Indicates whether auto filtering the data when loading the files. | ||
AutoFitterOptions | getAutoFitterOptions() | → inherited from LoadOptions
|
void | setAutoFitterOptions(AutoFitterOptions) | |
Gets and sets the auto fitter options | ||
boolean | getCheckDataValid() | → inherited from LoadOptions
|
void | setCheckDataValid(boolean) | |
Check whether data is valid in the template file. | ||
boolean | getCheckExcelRestriction() | → inherited from LoadOptions
|
void | setCheckExcelRestriction(boolean) | |
Whether check restriction of excel file when user modify cells related objects. For example, excel does not allow inputting string value longer than 32K. When you input a value longer than 32K such as by Cell.PutValue(string), if this property is true, you will get an Exception. If this property is false, we will accept your input string value as the cell's value so that later you can output the complete string value for other file formats such as CSV. However, if you have set such kind of value that is invalid for excel file format, you should not save the workbook as excel file format later. Otherwise there may be unexpected error for the generated excel file. | ||
DefaultStyleSettings | getDefaultStyleSettings() | → inherited from LoadOptions
|
Gets the default style settings for initializing styles of the workbook | ||
IndividualFontConfigs | getFontConfigs() | → inherited from LoadOptions
|
void | setFontConfigs(IndividualFontConfigs) | |
Gets and sets individual font configs.
Only works for the |
||
boolean | getIgnoreNotPrinted() | → inherited from LoadOptions
|
void | setIgnoreNotPrinted(boolean) | |
Ignore the data which are not printed if directly printing the file | ||
AbstractInterruptMonitor | getInterruptMonitor() | → inherited from LoadOptions
|
void | setInterruptMonitor(AbstractInterruptMonitor) | |
Gets and sets the interrupt monitor. | ||
boolean | getKeepUnparsedData() | → inherited from LoadOptions
|
void | setKeepUnparsedData(boolean) | |
Whether keep the unparsed data in memory for the Workbook when it is loaded from template file. Default is true. | ||
int | getLanguageCode() | → inherited from LoadOptions
|
void | setLanguageCode(int) | |
Gets or sets the user interface language of the Workbook version based on CountryCode that has saved the file. The value of the property is CountryCode integer constant. | ||
LightCellsDataHandler | getLightCellsDataHandler() | → inherited from LoadOptions
|
void | setLightCellsDataHandler(LightCellsDataHandler) | |
The data handler for processing cells data when reading template file. | ||
LoadFilter | getLoadFilter() | → inherited from LoadOptions
|
void | setLoadFilter(LoadFilter) | |
The filter to denote how to load data. | ||
int | getLoadFormat() | → inherited from LoadOptions
|
Gets the load format. The value of the property is LoadFormat integer constant. | ||
java.util.Locale | getLocale() | → inherited from LoadOptions
|
void | setLocale(java.util.Locale) | |
Gets and sets the Locale used for workbook at the time the file was loaded. | ||
int | getMemorySetting() | → inherited from LoadOptions
|
void | setMemorySetting(int) | |
Gets or sets the memory usage options. The value of the property is MemorySetting integer constant. | ||
boolean | getParsingFormulaOnOpen() | → inherited from LoadOptions
|
void | setParsingFormulaOnOpen(boolean) | |
Indicates whether parsing the formula when reading the file. | ||
boolean | getParsingPivotCachedRecords() | → inherited from LoadOptions
|
void | setParsingPivotCachedRecords(boolean) | |
Indicates whether parsing pivot cached records when loading the file. The default value is false. | ||
java.lang.String | getPassword() | → inherited from LoadOptions
|
void | setPassword(java.lang.String) | |
Gets and set the password of the workbook. | ||
boolean | getRefreshPivotTables() | |
void | setRefreshPivotTables(boolean) | |
Indicates whether refresh pivot tables when loading file. | ||
int | getRegion() | → inherited from LoadOptions
|
void | setRegion(int) | |
Gets or sets the system regional settings based on CountryCode at the time the file was loaded. The value of the property is CountryCode integer constant. | ||
java.lang.String | getStandardFont() | → inherited from LoadOptions
|
void | setStandardFont(java.lang.String) | |
Sets the default standard font name | ||
double | getStandardFontSize() | → inherited from LoadOptions
|
void | setStandardFontSize(double) | |
Sets the default standard font size. | ||
IWarningCallback | getWarningCallback() | → inherited from LoadOptions
|
void | setWarningCallback(IWarningCallback) | |
Gets or sets warning callback. |
Method Summary | ||
---|---|---|
void | setPaperSize(int type) | → inherited from LoadOptions
|
Sets the default print paper size from default printer's setting. |
Constructor Detail |
---|
OdsLoadOptions
public OdsLoadOptions()
Represents the options of loading ods file.
OdsLoadOptions
public OdsLoadOptions(int type)
Represents the options of loading ods file. - Parameters:
type
- ALoadFormat value. The load format type.
Property Getters/Setters Detail |
---|
getApplyExcelDefaultStyleToHyperlink/setApplyExcelDefaultStyleToHyperlink | |
public boolean getApplyExcelDefaultStyleToHyperlink() / public void setApplyExcelDefaultStyleToHyperlink(boolean value) |
Indicates whether applying the default style of the Excel to hyperlink.
getRefreshPivotTables/setRefreshPivotTables | |
public boolean getRefreshPivotTables() / public void setRefreshPivotTables(boolean value) |
Indicates whether refresh pivot tables when loading file.
getLoadFormat | → inherited from LoadOptions
|
public int getLoadFormat() |
Gets the load format. The value of the property is LoadFormat integer constant.
getPassword/setPassword | → inherited from LoadOptions
|
public java.lang.String getPassword() / public void setPassword(java.lang.String value) |
Gets and set the password of the workbook.
getParsingFormulaOnOpen/setParsingFormulaOnOpen | → inherited from LoadOptions
|
public boolean getParsingFormulaOnOpen() / public void setParsingFormulaOnOpen(boolean value) |
Indicates whether parsing the formula when reading the file. Only applies for Excel Xlsx, Xltx, Xltm and Xlsm file because the formulas in the files are stored with a string formula.
getParsingPivotCachedRecords/setParsingPivotCachedRecords | → inherited from LoadOptions
|
public boolean getParsingPivotCachedRecords() / public void setParsingPivotCachedRecords(boolean value) |
Indicates whether parsing pivot cached records when loading the file. The default value is false. Only applies for Excel Xlsx, Xltx, Xltm , Xlsm and xlsb file
getLanguageCode/setLanguageCode | → inherited from LoadOptions
|
public int getLanguageCode() / public void setLanguageCode(int value) |
Gets or sets the user interface language of the Workbook version based on CountryCode that has saved the file. The value of the property is CountryCode integer constant.
getRegion/setRegion | → inherited from LoadOptions
|
public int getRegion() / public void setRegion(int value) |
Gets or sets the system regional settings based on CountryCode at the time the file was loaded. The value of the property is CountryCode integer constant. If you do not want to use the region saved in the file, please reset it after reading the file.
getLocale/setLocale | → inherited from LoadOptions
|
public java.util.Locale getLocale() / public void setLocale(java.util.Locale value) |
Gets and sets the Locale used for workbook at the time the file was loaded.
getDefaultStyleSettings | → inherited from LoadOptions
|
public DefaultStyleSettings getDefaultStyleSettings() |
Gets the default style settings for initializing styles of the workbook
getStandardFont/setStandardFont | → inherited from LoadOptions
|
public java.lang.String getStandardFont() / public void setStandardFont(java.lang.String value) |
Sets the default standard font name NOTE: This member is now obsolete. Instead, please use DefaultStyleSettings. This property will be removed 12 months later since March 2022. Aspose apologizes for any inconvenience you may have experienced.
getStandardFontSize/setStandardFontSize | → inherited from LoadOptions
|
public double getStandardFontSize() / public void setStandardFontSize(double value) |
Sets the default standard font size. NOTE: This member is now obsolete. Instead, please use DefaultStyleSettings. This property will be removed 12 months later since March 2022. Aspose apologizes for any inconvenience you may have experienced.
getInterruptMonitor/setInterruptMonitor | → inherited from LoadOptions
|
public AbstractInterruptMonitor getInterruptMonitor() / public void setInterruptMonitor(AbstractInterruptMonitor value) |
Gets and sets the interrupt monitor.
getIgnoreNotPrinted/setIgnoreNotPrinted | → inherited from LoadOptions
|
public boolean getIgnoreNotPrinted() / public void setIgnoreNotPrinted(boolean value) |
Ignore the data which are not printed if directly printing the file Only for xlsx file.
getCheckDataValid/setCheckDataValid | → inherited from LoadOptions
|
public boolean getCheckDataValid() / public void setCheckDataValid(boolean value) |
Check whether data is valid in the template file.
getCheckExcelRestriction/setCheckExcelRestriction | → inherited from LoadOptions
|
public boolean getCheckExcelRestriction() / public void setCheckExcelRestriction(boolean value) |
Whether check restriction of excel file when user modify cells related objects. For example, excel does not allow inputting string value longer than 32K. When you input a value longer than 32K such as by Cell.PutValue(string), if this property is true, you will get an Exception. If this property is false, we will accept your input string value as the cell's value so that later you can output the complete string value for other file formats such as CSV. However, if you have set such kind of value that is invalid for excel file format, you should not save the workbook as excel file format later. Otherwise there may be unexpected error for the generated excel file.
getKeepUnparsedData/setKeepUnparsedData | → inherited from LoadOptions
|
public boolean getKeepUnparsedData() / public void setKeepUnparsedData(boolean value) |
Whether keep the unparsed data in memory for the Workbook when it is loaded from template file. Default is true. For scenarios that user only needs to read some contents from template file and does not need to save the workbook back, set this property as false may improve performance, especially when using it together with some kind of LoadFilter,
getLoadFilter/setLoadFilter | → inherited from LoadOptions
|
public LoadFilter getLoadFilter() / public void setLoadFilter(LoadFilter value) |
The filter to denote how to load data.
getLightCellsDataHandler/setLightCellsDataHandler | → inherited from LoadOptions
|
public LightCellsDataHandler getLightCellsDataHandler() / public void setLightCellsDataHandler(LightCellsDataHandler value) |
The data handler for processing cells data when reading template file.
getMemorySetting/setMemorySetting | → inherited from LoadOptions
|
public int getMemorySetting() / public void setMemorySetting(int value) |
Gets or sets the memory usage options. The value of the property is MemorySetting integer constant.
getWarningCallback/setWarningCallback | → inherited from LoadOptions
|
public IWarningCallback getWarningCallback() / public void setWarningCallback(IWarningCallback value) |
Gets or sets warning callback.
getAutoFitterOptions/setAutoFitterOptions | → inherited from LoadOptions
|
public AutoFitterOptions getAutoFitterOptions() / public void setAutoFitterOptions(AutoFitterOptions value) |
Gets and sets the auto fitter options Only for xlsx ,spreadsheetML file now.
getAutoFilter/setAutoFilter | → inherited from LoadOptions
|
public boolean getAutoFilter() / public void setAutoFilter(boolean value) |
Indicates whether auto filtering the data when loading the files. Sometimes although autofilter is set, the corresponding rows is not hidden in the file. Now only works for SpreadSheetML file.
getFontConfigs/setFontConfigs | → inherited from LoadOptions
|
public IndividualFontConfigs getFontConfigs() / public void setFontConfigs(IndividualFontConfigs value) |
Gets and sets individual font configs. Only works for the Workbook which uses thisLoadOptions to load.>
Method Detail |
---|
setPaperSize | → inherited from LoadOptions
|
public void setPaperSize(int type) |
Sets the default print paper size from default printer's setting. If there is no setting about paper size,MS Excel will use default printer's setting. - Parameters:
type
- APaperSizeType value. The default paper size.
See Also:
Aspose.Cells Documentation - the home page for the Aspose.Cells Product Documentation.
Aspose.Cells Support Forum - our preferred method of support.