diff --git a/sheetview.go b/sheetview.go index d26b8cb..f05e751 100644 --- a/sheetview.go +++ b/sheetview.go @@ -9,6 +9,7 @@ type SheetViewOption interface { // SheetViewOptionPtr is a writable SheetViewOption. See GetSheetViewOptions(). type SheetViewOptionPtr interface { + SheetViewOption getSheetViewOption(view *xlsxSheetView) } diff --git a/sheetview_test.go b/sheetview_test.go index 348b9b7..2061012 100644 --- a/sheetview_test.go +++ b/sheetview_test.go @@ -13,6 +13,12 @@ var _ = []excelize.SheetViewOption{ excelize.ShowFormulas(false), excelize.ShowGridLines(true), excelize.ShowRowColHeaders(true), + // SheetViewOptionPtr are also SheetViewOption + new(excelize.DefaultGridColor), + new(excelize.RightToLeft), + new(excelize.ShowFormulas), + new(excelize.ShowGridLines), + new(excelize.ShowRowColHeaders), } var _ = []excelize.SheetViewOptionPtr{