diff options
author | xuri <xuri.me@gmail.com> | 2022-10-08 22:08:06 +0800 |
---|---|---|
committer | xuri <xuri.me@gmail.com> | 2022-10-08 22:08:16 +0800 |
commit | b1e776ee33ec78b7f6c2a0de8109009963dea521 (patch) | |
tree | 2a769b090171be17d3d1d6dacb7cc987f34d28ad /sheet.go | |
parent | 57051326d06cea02774dc0ace3293906ec5f281e (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.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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, |