summaryrefslogtreecommitdiff
path: root/sheet.go
diff options
context:
space:
mode:
authorxuri <xuri.me@gmail.com>2022-10-08 22:08:06 +0800
committerxuri <xuri.me@gmail.com>2022-10-08 22:08:16 +0800
commitb1e776ee33ec78b7f6c2a0de8109009963dea521 (patch)
tree2a769b090171be17d3d1d6dacb7cc987f34d28ad /sheet.go
parent57051326d06cea02774dc0ace3293906ec5f281e (diff)
Support to set summary columns to appear to the right of detail in an outline
- Simplify calculation engine code - Update documentation for the functions - Update dependencies module
Diffstat (limited to 'sheet.go')
-rw-r--r--sheet.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/sheet.go b/sheet.go
index 6ec9aef..a737a9a 100644
--- a/sheet.go
+++ b/sheet.go
@@ -1039,7 +1039,7 @@ func attrValToBool(name string, attrs []xml.Attr) (val bool, err error) {
//
// For example:
//
-// err := f.SetHeaderFooter("Sheet1", &excelize.FormatHeaderFooter{
+// err := f.SetHeaderFooter("Sheet1", &excelize.HeaderFooterOptions{
// DifferentFirst: true,
// DifferentOddEven: true,
// OddHeader: "&R&P",
@@ -1109,7 +1109,7 @@ func (f *File) SetHeaderFooter(sheet string, settings *HeaderFooterOptions) erro
// specified, will be using the XOR algorithm as default. For example, protect
// Sheet1 with protection settings:
//
-// err := f.ProtectSheet("Sheet1", &excelize.FormatSheetProtection{
+// err := f.ProtectSheet("Sheet1", &excelize.SheetProtectionOptions{
// AlgorithmName: "SHA-512",
// Password: "password",
// EditScenarios: false,