类 XlsxOpenOptions

java.lang.Object
com.grapecity.documents.excel.OpenOptionsBase
com.grapecity.documents.excel.XlsxOpenOptions
直接已知子类:
XlsmOpenOptions, XltxOpenOptions

public class XlsxOpenOptions extends OpenOptionsBase
Option class for opening xlsx file.
  • 构造器详细资料

    • XlsxOpenOptions

      public XlsxOpenOptions()
      Constructor
  • 方法详细资料

    • getPassword

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

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

      public final boolean getDoNotRecalculateAfterOpened()
      Don't recalculate when getting formula value after loading the file. Default is false.
    • setDoNotRecalculateAfterOpened

      public final void setDoNotRecalculateAfterOpened(boolean value)
      Don't recalculate when getting formula value after loading the file. Default is false.
    • getDigitalSignatureOnly

      public final boolean getDigitalSignatureOnly()
      Indicates whether to open the workbook in digital signature only mode.

      In the digital signature only mode, existing signatures will be preserved unless you called ISignature.Delete. But you can only sign existing signature lines, add invisible signatures, remove digital signature of signed signature lines, or remove invisible signatures in this mode. Other changes will be discarded.

      After modifying digital signatures, you need to save the workbook to commit changes.

      True to open workbook in digital signature only mode.Otherwise, use normal mode. The default value is False.

    • setDigitalSignatureOnly

      public final void setDigitalSignatureOnly(boolean value)
      Indicates whether to open the workbook in digital signature only mode.

      In the digital signature only mode, existing signatures will be preserved unless you called ISignature.Delete. But you can only sign existing signature lines, add invisible signatures, remove digital signature of signed signature lines, or remove invisible signatures in this mode. Other changes will be discarded.

      After modifying digital signatures, you need to save the workbook to commit changes.

      True to open workbook in digital signature only mode.Otherwise, use normal mode. The default value is False.

    • getDoNotAutoFitAfterOpened

      public final boolean getDoNotAutoFitAfterOpened()
      Don't autofit the row height after loading the file. Default is false.
    • setDoNotAutoFitAfterOpened

      public final void setDoNotAutoFitAfterOpened(boolean value)
      Don't autofit the row height after loading the file. Default is false.