类 XlsxOpenOptions
- 直接已知子类:
XlsmOpenOptions
,XltxOpenOptions
-
构造器概要
-
方法概要
修饰符和类型方法说明final boolean
Indicates whether to open the workbook in digital signature only mode.final boolean
Don't autofit the row height after loading the file.final boolean
Don't recalculate when getting formula value after loading the file.final String
The password for the xlsx file.final void
setDigitalSignatureOnly
(boolean value) Indicates whether to open the workbook in digital signature only mode.final void
setDoNotAutoFitAfterOpened
(boolean value) Don't autofit the row height after loading the file.final void
setDoNotRecalculateAfterOpened
(boolean value) Don't recalculate when getting formula value after loading the file.final void
setPassword
(String value) The password for the xlsx file.从类继承的方法 com.grapecity.documents.excel.OpenOptionsBase
getFileFormat, setFileFormat
-
构造器详细资料
-
XlsxOpenOptions
public XlsxOpenOptions()Constructor
-
-
方法详细资料
-
getPassword
The password for the xlsx file. -
setPassword
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 isFalse
. -
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 isFalse
. -
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.
-