Class XlsxOpenOptions
- Direct Known Subclasses:
XlsmOpenOptions,XltxOpenOptions
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether to open the workbook in digital signature only mode.final booleanDon't autofit the row height after loading the file.final booleanDon't recalculate when getting formula value after loading the file.final EnumSet<ImportFlags>Flags on loading data.final StringThe password for the xlsx file.final voidsetDigitalSignatureOnly(boolean value) Indicates whether to open the workbook in digital signature only mode.final voidsetDoNotAutoFitAfterOpened(boolean value) Don't autofit the row height after loading the file.final voidsetDoNotRecalculateAfterOpened(boolean value) Don't recalculate when getting formula value after loading the file.final voidsetImportFlags(EnumSet<ImportFlags> value) Flags on loading data.final voidsetPassword(String value) The password for the xlsx file.Methods inherited from class com.grapecity.documents.excel.OpenOptionsBase
getFileFormat, setFileFormat
-
Constructor Details
-
XlsxOpenOptions
public XlsxOpenOptions()Constructor
-
-
Method Details
-
getPassword
The password for the xlsx file. -
setPassword
The password for the xlsx file. -
getImportFlags
Flags on loading data. Default is ImportFlags.NoFlag. -
setImportFlags
Flags on loading data. Default is ImportFlags.NoFlag. -
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.
Trueto 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.
Trueto 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.
-