[]
        
立即试用
(Showing Draft Content)

SjsSaveOptions

Class SjsSaveOptions

java.lang.Object
com.grapecity.documents.excel.SaveOptionsBase
com.grapecity.documents.excel.SjsSaveOptions

public class SjsSaveOptions extends SaveOptionsBase
用于保存SpreadJS文件的选项类。
  • Constructor Details

    • SjsSaveOptions

      public SjsSaveOptions()
      构造函数。
  • Method Details

    • getIncludeStyles

      public final boolean getIncludeStyles()
      获取在保存文件时是否可以包含样式。默认情况下,该值为true。
    • setIncludeStyles

      public final void setIncludeStyles(boolean value)
      设置在保存文件时是否可以包含样式。
    • getIncludeFormulas

      public final boolean getIncludeFormulas()
      获取在保存文件时是否可以包含公式。默认情况下,该值为true。
    • setIncludeFormulas

      public final void setIncludeFormulas(boolean value)
      设置在保存文件时是否可以包含公式。
    • getIncludeUnusedNames

      public final boolean getIncludeUnusedNames()
      获取在保存文件时是否可以包含未使用的自定义名称。默认情况下,该值为 true。
    • setIncludeUnusedNames

      public final void setIncludeUnusedNames(boolean value)
      设置在保存文件时是否可以包含未使用的自定义名称。
    • getIncludeEmptyRegionCells

      public final boolean getIncludeEmptyRegionCells()
      获取在保存文件时是否可以包含使用数据范围之外的任何空单元格。默认情况下,该值为true。
    • setIncludeEmptyRegionCells

      public final void setIncludeEmptyRegionCells(boolean value)
      设置在保存文件时是否可以包含使用数据范围外的任何空单元格。默认情况下,该值为true。
    • getIgnoreRangeOutOfRowColumnCount

      public boolean getIgnoreRangeOutOfRowColumnCount()
      获取在导出到sjs时忽略超出RowCount和ColumnCount的数据。默认值为false。
    • setIgnoreRangeOutOfRowColumnCount

      public void setIgnoreRangeOutOfRowColumnCount(boolean value)
      设置是否在导出到sjs时忽略超出RowCount和ColumnCount的数据。
    • getIncludeBindingSource

      public final boolean getIncludeBindingSource()
      获取在保存文件时是否包含绑定源。 默认值是 true。
    • setIncludeBindingSource

      public final void setIncludeBindingSource(boolean value)
      设置在保存文件时是否包含绑定源。
    • getIncludeAutoMergedCells

      public boolean getIncludeAutoMergedCells()
      获取是否包含自动合并的单元格。默认值为 false。
    • setIncludeAutoMergedCells

      public void setIncludeAutoMergedCells(boolean value)
      设置是否包含自动合并的单元格。默认值为 false。