Package com.grapecity.documents.excel
Class SerializationOptions
java.lang.Object
com.grapecity.documents.excel.SerializationOptions
Represents some settings when serialize workbook or worksheet to JSON.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanGets whether to export shared formula when serialize the workbook or worksheet to JSON.booleanGets whether to ignore below information which is out of used range when exporting to JSON file.booleanGets whether to ignore the formula when serialize the workbook or worksheet to JSON.booleanGets whether to ignore data out of the RowCount and ColumnCount when exporting to JSON.booleanGets whether to ignore the sheets when serialize the workbook or worksheet to JSON.booleanGets whether to ignore the style when serialize the workbook or worksheet to JSON.booleanGets whether to include the automatically merged cells.final booleanGets whether to include the binding source when serialize the workbook or worksheet to JSON.voidsetExportSharedFormula(boolean value) Sets whether to export shared formula when serialize the workbook or worksheet to JSON.voidsetIgnoreColumnRowInfoOutOfUsedRange(boolean value) Sets whether to ignore below information which is out of used range when exporting to JSON file.voidsetIgnoreFormula(boolean value) Sets whether to ignore the formula when serialize the workbook or worksheet to JSON.voidsetIgnoreRangeOutOfRowColumnCount(boolean value) Sets whether to ignore data out of the RowCount and ColumnCount when exporting to JSON.voidsetIgnoreSheets(boolean value) Sets whether to ignore the sheets when serialize the workbook or worksheet to JSON.voidsetIgnoreStyle(boolean value) Sets whether to ignore the style when serialize the workbook or worksheet to JSON.voidsetIncludeAutoMergedCells(boolean value) Sets whether to include the automatically merged cells.final voidsetIncludeBindingSource(boolean value) Sets whether to include the binding source when serialize the workbook or worksheet to JSON.
-
Constructor Details
-
SerializationOptions
public SerializationOptions()
-
-
Method Details
-
getIgnoreStyle
public boolean getIgnoreStyle()Gets whether to ignore the style when serialize the workbook or worksheet to JSON. Default value is false. -
setIgnoreStyle
public void setIgnoreStyle(boolean value) Sets whether to ignore the style when serialize the workbook or worksheet to JSON. Default value is false. -
getIgnoreFormula
public boolean getIgnoreFormula()Gets whether to ignore the formula when serialize the workbook or worksheet to JSON. Default value is false. -
setIgnoreFormula
public void setIgnoreFormula(boolean value) Sets whether to ignore the formula when serialize the workbook or worksheet to JSON. Default value is false. -
getIgnoreColumnRowInfoOutOfUsedRange
public boolean getIgnoreColumnRowInfoOutOfUsedRange()Gets whether to ignore below information which is out of used range when exporting to JSON file. Default value is true. - row style - column style - row height - column width -
setIgnoreColumnRowInfoOutOfUsedRange
public void setIgnoreColumnRowInfoOutOfUsedRange(boolean value) Sets whether to ignore below information which is out of used range when exporting to JSON file. Default value is true. - row style - column style - row height - column width -
getIgnoreSheets
public boolean getIgnoreSheets()Gets whether to ignore the sheets when serialize the workbook or worksheet to JSON. Default value is false. -
setIgnoreSheets
public void setIgnoreSheets(boolean value) Sets whether to ignore the sheets when serialize the workbook or worksheet to JSON. Default value is false. -
getIgnoreRangeOutOfRowColumnCount
public boolean getIgnoreRangeOutOfRowColumnCount()Gets whether to ignore data out of the RowCount and ColumnCount when exporting to JSON. Default value is false.- Returns:
- the value if ignore range out of row/column count
-
setIgnoreRangeOutOfRowColumnCount
public void setIgnoreRangeOutOfRowColumnCount(boolean value) Sets whether to ignore data out of the RowCount and ColumnCount when exporting to JSON. Default value is false.- Parameters:
value- the value if ignore range out of row/column count
-
getIncludeBindingSource
public final boolean getIncludeBindingSource()Gets whether to include the binding source when serialize the workbook or worksheet to JSON. Default value is true. -
setIncludeBindingSource
public final void setIncludeBindingSource(boolean value) Sets whether to include the binding source when serialize the workbook or worksheet to JSON. -
getIncludeAutoMergedCells
public boolean getIncludeAutoMergedCells()Gets whether to include the automatically merged cells. The default value is false. -
setIncludeAutoMergedCells
public void setIncludeAutoMergedCells(boolean value) Sets whether to include the automatically merged cells. The default value is false.
-