Package com.grapecity.documents.excel
Class XlsxSaveOptions
java.lang.Object
com.grapecity.documents.excel.SaveOptionsBase
com.grapecity.documents.excel.XlsxSaveOptions
- Direct Known Subclasses:
XlsmSaveOptions,XltxSaveOptions
Option class for saving xlsx file.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether to exclude any empty cells(cells with no data or only style) outside the used data range.final booleanIndicates whether to exclude user-defined but never used Define name.final booleanIndicates whether to exclude user-defined but never used Cell styles.final booleanIndicates whether treat formula cells as value cells.final booleanA bool indicating whether to save workbook in compact mode, the default value is false.final StringThe password for the xlsx file.final voidsetExcludeEmptyRegionCells(boolean value) Indicates whether to exclude any empty cells(cells with no data or only style) outside the used data range.final voidsetExcludeUnusedNames(boolean value) Indicates whether to exclude user-defined but never used Define name.final voidsetExcludeUnusedStyles(boolean value) Indicates whether to exclude user-defined but never used Cell styles.final voidsetIgnoreFormulas(boolean value) Indicates whether treat formula cells as value cells.final voidsetIsCompactMode(boolean value) A bool indicating whether to save workbook in compact mode, the default value is false.final voidsetPassword(String value) The password for the xlsx file.toString()Methods inherited from class com.grapecity.documents.excel.SaveOptionsBase
getFileFormat, setFileFormat
-
Constructor Details
-
XlsxSaveOptions
public XlsxSaveOptions()Constructor.
-
-
Method Details
-
getPassword
The password for the xlsx file. -
setPassword
The password for the xlsx file. -
getIsCompactMode
public final boolean getIsCompactMode()A bool indicating whether to save workbook in compact mode, the default value is false. -
setIsCompactMode
public final void setIsCompactMode(boolean value) A bool indicating whether to save workbook in compact mode, the default value is false. -
getIgnoreFormulas
public final boolean getIgnoreFormulas()Indicates whether treat formula cells as value cells. -
setIgnoreFormulas
public final void setIgnoreFormulas(boolean value) Indicates whether treat formula cells as value cells. -
getExcludeUnusedStyles
public final boolean getExcludeUnusedStyles()Indicates whether to exclude user-defined but never used Cell styles. Default is false. -
setExcludeUnusedStyles
public final void setExcludeUnusedStyles(boolean value) Indicates whether to exclude user-defined but never used Cell styles. Default is false. -
getExcludeUnusedNames
public final boolean getExcludeUnusedNames()Indicates whether to exclude user-defined but never used Define name. Default is false. -
setExcludeUnusedNames
public final void setExcludeUnusedNames(boolean value) Indicates whether to exclude user-defined but never used Define name. Default is false. -
getExcludeEmptyRegionCells
public final boolean getExcludeEmptyRegionCells()Indicates whether to exclude any empty cells(cells with no data or only style) outside the used data range. Default is false. -
setExcludeEmptyRegionCells
public final void setExcludeEmptyRegionCells(boolean value) Indicates whether to exclude any empty cells(cells with no data or only style) outside the used data range. Default is false. -
toString
-