[]
.sjs file.Use this class with Workbook.open(String,OpenOptionsBase) or related APIs when loading an .sjs file. A new SjsOpenOptions instance sets the file format to OpenFileFormat.Sjs. By default, styles and formulas are included when the file is loaded.
SjsOpenOptions openOptions = new SjsOpenOptions();
openOptions.setIncludeStyles(false);
openOptions.setIncludeFormulas(true);
workbook.open("path/to/file.sjs", openOptions);
.sjs content.final boolean.sjs file.final booleanfinal InvalidFormulaHandling.sjs file.final voidsetIncludeFormulas(boolean value) .sjs file.final voidsetIncludeStyles(boolean value) final void.sjs file.getFileFormat, setFileFormat.sjs content.A new instance sets the file format to OpenFileFormat.Sjs. Styles and formulas are included when loading unless you change them with setIncludeStyles(boolean) or setIncludeFormulas(boolean).
SjsOpenOptions openOptions = new SjsOpenOptions();
openOptions.setIncludeStyles(false);
workbook.open("path/to/file.sjs", openOptions);
This option controls whether style information in the `.sjs` file is loaded. The default value is true.
SjsOpenOptions openOptions = new SjsOpenOptions();
openOptions.setIncludeStyles(false);
boolean includeStyles = openOptions.getIncludeStyles();
workbook.open("path/to/file.sjs", openOptions);
true if styles are included when loading a `.sjs` file; otherwise, false.This option controls whether style information in the `.sjs` file is loaded. The default value is true.
SjsOpenOptions openOptions = new SjsOpenOptions();
openOptions.setIncludeStyles(false);
workbook.open("path/to/file.sjs", openOptions);
value - true if styles are included when loading a `.sjs` file; otherwise, false..sjs file.This option indicates whether formula information in the .sjs file is loaded. The default value is true.
SjsOpenOptions openOptions = new SjsOpenOptions();
openOptions.setIncludeFormulas(false);
boolean includeFormulas = openOptions.getIncludeFormulas();
workbook.open("path/to/file.sjs", openOptions);
true if formulas are included when loading a .sjs file; otherwise, false..sjs file.This option indicates whether formula information in the .sjs file is loaded. The default value is true.
SjsOpenOptions openOptions = new SjsOpenOptions();
openOptions.setIncludeFormulas(false);
workbook.open("path/to/file.sjs", openOptions);
value - true if formulas are included when loading a .sjs file; otherwise, false..sjs file. The default value is InvalidFormulaHandling.Discard.
SjsOpenOptions openOptions = new SjsOpenOptions();
openOptions.setInvalidFormulaHandling(InvalidFormulaHandling.Preserve);
InvalidFormulaHandling invalidFormulaHandling = openOptions.getInvalidFormulaHandling();
.sjs file..sjs file. The default value is InvalidFormulaHandling.Discard.
SjsOpenOptions openOptions = new SjsOpenOptions();
openOptions.setInvalidFormulaHandling(InvalidFormulaHandling.Preserve);
value - How invalid formulas are handled when opening a SpreadJS .sjs file.