From 551fb8a9e4b03fe718a339e75aeacc8b5581378a Mon Sep 17 00:00:00 2001 From: xuri Date: Sat, 13 Aug 2022 11:21:59 +0800 Subject: This closes #1244 and closes #1314, improving the compatibility with Google Sheet - Format code with `gofmt` --- workbook.go | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'workbook.go') 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 -- cgit v1.2.1