[]
        
(Showing Draft Content)

XlsxSaveOptions

Class XlsxSaveOptions

java.lang.Object
com.grapecity.documents.excel.SaveOptionsBase
com.grapecity.documents.excel.XlsxSaveOptions
Direct Known Subclasses:
XlsmSaveOptions, XltxSaveOptions

public class XlsxSaveOptions extends SaveOptionsBase
Option class for saving xlsx file.
  • Constructor Details

    • XlsxSaveOptions

      public XlsxSaveOptions()
      Constructor.
  • Method Details

    • getPassword

      public final String getPassword()
      The password for the xlsx file.
    • setPassword

      public final void setPassword(String value)
      The password for the xlsx file.
    • getIsCompactMode

      public final boolean getIsCompactMode()
      Gets a bool indicating whether to save workbook in compact mode, the default value is false.
    • setIsCompactMode

      public final void setIsCompactMode(boolean value)
      Sets a bool indicating whether to save workbook in compact mode, the default value is false.
    • getIgnoreFormulas

      public final boolean getIgnoreFormulas()
      Gets whether treat formula cells as value cells.
    • setIgnoreFormulas

      public final void setIgnoreFormulas(boolean value)
      Sets whether treat formula cells as value cells.
    • getExcludeUnusedStyles

      public final boolean getExcludeUnusedStyles()
      Gets whether to exclude user-defined but never used Cell styles. Default is false.
    • setExcludeUnusedStyles

      public final void setExcludeUnusedStyles(boolean value)
      Sets whether to exclude user-defined but never used Cell styles. Default is false.
    • getExcludeUnusedNames

      public final boolean getExcludeUnusedNames()
      Gets whether to exclude user-defined but never used Define name. Default is false.
    • setExcludeUnusedNames

      public final void setExcludeUnusedNames(boolean value)
      Sets whether to exclude user-defined but never used Define name. Default is false.
    • getExcludeEmptyRegionCells

      public final boolean getExcludeEmptyRegionCells()
      Gets 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)
      Sets whether to exclude any empty cells(cells with no data or only style) outside the used data range. Default is false.
    • getIncludeBindingSource

      public final boolean getIncludeBindingSource()
      Gets whether to include the binding source when saving the file. Default value is true.
    • setIncludeBindingSource

      public final void setIncludeBindingSource(boolean value)
      Sets whether to include the binding source when saving the file.
    • getIncludeAutoMergedCells

      public final boolean getIncludeAutoMergedCells()
      Gets whether to include the automatically merged cells. The default value is false.
    • setIncludeAutoMergedCells

      public final void setIncludeAutoMergedCells(boolean value)
      Sets whether to include the automatically merged cells. The default value is false.
    • toString

      public String toString()
      Overrides:
      toString in class Object