From 1c167b96a35a58990f777025914283b492d0785f Mon Sep 17 00:00:00 2001 From: xuri Date: Thu, 26 May 2022 00:15:28 +0800 Subject: Improves the calculation engine, docs update, and adds the dependabot - Initialize array formula support for the formula calculation engine - Update example and unit test of `AddPivotTable` - Update the supported hash algorithm of ProtectSheet --- sheet.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'sheet.go') diff --git a/sheet.go b/sheet.go index 1c17f78..47a2063 100644 --- a/sheet.go +++ b/sheet.go @@ -1069,12 +1069,12 @@ func (f *File) SetHeaderFooter(sheet string, settings *FormatHeaderFooter) error return err } -// ProtectSheet provides a function to prevent other users from accidentally -// or deliberately changing, moving, or deleting data in a worksheet. The +// ProtectSheet provides a function to prevent other users from accidentally or +// deliberately changing, moving, or deleting data in a worksheet. The // optional field AlgorithmName specified hash algorithm, support XOR, MD4, -// MD5, SHA1, SHA256, SHA384, and SHA512 currently, if no hash algorithm -// specified, will be using the XOR algorithm as default. For example, -// protect Sheet1 with protection settings: +// MD5, SHA-1, SHA2-56, SHA-384, and SHA-512 currently, if no hash algorithm +// specified, will be using the XOR algorithm as default. For example, protect +// Sheet1 with protection settings: // // err := f.ProtectSheet("Sheet1", &excelize.FormatSheetProtection{ // AlgorithmName: "SHA-512", -- cgit v1.2.1