diff options
author | xuri <xuri.me@gmail.com> | 2022-08-13 11:21:59 +0800 |
---|---|---|
committer | xuri <xuri.me@gmail.com> | 2022-08-13 11:21:59 +0800 |
commit | 551fb8a9e4b03fe718a339e75aeacc8b5581378a (patch) | |
tree | 17e38203f802da690e709072305476b450a620ac /workbook.go | |
parent | 8152bbb2cec76f074dc18c43f3c66bf8abdf9de0 (diff) |
This closes #1244 and closes #1314, improving the compatibility with Google Sheet
- Format code with `gofmt`
Diffstat (limited to 'workbook.go')
-rw-r--r-- | workbook.go | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/workbook.go b/workbook.go index 417524b..dbe212a 100644 --- a/workbook.go +++ b/workbook.go @@ -120,9 +120,10 @@ func (f *File) workBookWriter() { // SetWorkbookPrOptions provides a function to sets workbook properties. // // Available options: -// Date1904(bool) -// FilterPrivacy(bool) -// CodeName(string) +// +// Date1904(bool) +// FilterPrivacy(bool) +// CodeName(string) func (f *File) SetWorkbookPrOptions(opts ...WorkbookPrOption) error { wb := f.workbookReader() pr := wb.WorkbookPr @@ -154,9 +155,10 @@ func (o CodeName) setWorkbookPrOption(pr *xlsxWorkbookPr) { // GetWorkbookPrOptions provides a function to gets workbook properties. // // Available options: -// Date1904(bool) -// FilterPrivacy(bool) -// CodeName(string) +// +// Date1904(bool) +// FilterPrivacy(bool) +// CodeName(string) func (f *File) GetWorkbookPrOptions(opts ...WorkbookPrOptionPtr) error { wb := f.workbookReader() pr := wb.WorkbookPr |