TdxSpreadSheetStandardProtectionInfo Class
A standard password protection algorithm provider for a worksheet and/or spreadsheet document.
Declaration
TdxSpreadSheetStandardProtectionInfo = class(
TdxSpreadSheetCustomProtectionInfo
)
Remarks
The Spreadsheet and Report Designer controls provide support for the standard password worksheet and/or spreadsheet document protection when saving to/loading from the XLS and XLSX file formats.
The TdxSpreadSheetStandardProtectionInfo class extends its ancestor with members that can be used to:
Obtain the hash calculated for the protection password as a single Word value (KeyWord);
Specify the protection password hash value as a Unicode string (KeyWordAsString).
Normally the members, introduced in the TdxSpreadSheetStandardProtectionInfo class, support the internal infrastructure and are not intended to be used directly from your code.
Note
The protection password is assigned by passing it as the APassword parameter of the TdxSpreadSheetStandardProtectionInfo class’ constructor.