Class SerializationOptions
public class SerializationOptions
extends Object
Represents some settings when serialize workbook or worksheet to JSON.
Constructor Summary
Constructors
Method Summary
All Methods Instance Methods Concrete Methods
boolean
Gets whether to export shared formula when serialize the workbook or worksheet to JSON.
boolean
Gets whether to ignore below information which is out of used range when exporting to JSON file.
boolean
Gets whether to ignore the formula when serialize the workbook or worksheet to JSON.
boolean
Gets whether to ignore data out of the RowCount and ColumnCount when exporting to JSON.
boolean
Gets whether to ignore the sheets when serialize the workbook or worksheet to JSON.
boolean
Gets whether to ignore the style when serialize the workbook or worksheet to JSON.
boolean
Gets whether to include the automatically merged cells.
final boolean
Gets whether to include the binding source when serialize the workbook or worksheet to JSON.
void
Sets whether to export shared formula when serialize the workbook or worksheet to JSON.
void
Sets whether to ignore below information which is out of used range when exporting to JSON file.
void
Sets whether to ignore the formula when serialize the workbook or worksheet to JSON.
void
Sets whether to ignore data out of the RowCount and ColumnCount when exporting to JSON.
void
Sets whether to ignore the sheets when serialize the workbook or worksheet to JSON.
void
Sets whether to ignore the style when serialize the workbook or worksheet to JSON.
void
Sets whether to include the automatically merged cells.
final void
Sets whether to include the binding source when serialize the workbook or worksheet to JSON.
Methods inherited from class java.lang.Object
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait
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.
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.