[]
        
立即试用
(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
用于保存xlsx文件的选项类。
  • Constructor Details

    • XlsxSaveOptions

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

    • getPassword

      public final String getPassword()
      xlsx文件的密码。
    • setPassword

      public final void setPassword(String value)
      xlsx文件的密码。
    • getIsCompactMode

      public final boolean getIsCompactMode()
      获取一个布尔值,该值表示是否以紧凑模式保存工作簿,默认值为false。
    • setIsCompactMode

      public final void setIsCompactMode(boolean value)
      设置一个布尔值,该值表示是否以紧凑模式保存工作簿,默认值为false。
    • getIgnoreFormulas

      public final boolean getIgnoreFormulas()
      获取是否将公式单元格视为值单元格。
    • setIgnoreFormulas

      public final void setIgnoreFormulas(boolean value)
      设置是否将公式单元格视为值单元格。
    • getExcludeUnusedStyles

      public final boolean getExcludeUnusedStyles()
      获取是否排除用户定义但从未使用过的单元格样式。默认值为false。
    • setExcludeUnusedStyles

      public final void setExcludeUnusedStyles(boolean value)
      设置是否排除用户定义但从未使用过的单元格样式。默认值为false。
    • getExcludeUnusedNames

      public final boolean getExcludeUnusedNames()
      获取是否排除用户定义但从未使用的Define名称。默认值为false。
    • setExcludeUnusedNames

      public final void setExcludeUnusedNames(boolean value)
      设置是否排除用户定义但从未使用过的Define名称。默认值为false。
    • getExcludeEmptyRegionCells

      public final boolean getExcludeEmptyRegionCells()
      获取是否排除使用数据范围之外的任何空单元格(没有数据或仅含样式的单元格)。默认值为false。
    • setExcludeEmptyRegionCells

      public final void setExcludeEmptyRegionCells(boolean value)
      设置是否排除使用数据范围外的任何空单元格(没有数据或只有样式的单元格)。默认值为false。
    • getIncludeBindingSource

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

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

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

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

      public String toString()
      Overrides:
      toString in class Object