summaryrefslogtreecommitdiff
path: root/sheetpr_test.go
diff options
context:
space:
mode:
authorxuri <xuri.me@gmail.com>2022-08-06 15:23:03 +0800
committerxuri <xuri.me@gmail.com>2022-08-06 15:23:03 +0800
commite07dac5c2e308c952c8fdec5e6ad7089ff432ccf (patch)
treec53cdb48ea4117bd6114a54016497038586565eb /sheetpr_test.go
parent4a029f7e3602ac48b6fbf410b86adac2af64983a (diff)
Add new exported `ColorMappingType` used for color transformation
Using `ColorMappingType` color transformation types enumeration for tab color index, ref #1285
Diffstat (limited to 'sheetpr_test.go')
-rw-r--r--sheetpr_test.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/sheetpr_test.go b/sheetpr_test.go
index 000b33a..65ab196 100644
--- a/sheetpr_test.go
+++ b/sheetpr_test.go
@@ -15,7 +15,7 @@ var _ = []SheetPrOption{
FitToPage(true),
TabColorIndexed(42),
TabColorRGB("#FFFF00"),
- TabColorTheme(TabColorThemeLight2),
+ TabColorTheme(ColorMappingTypeLight2),
TabColorTint(0.5),
AutoPageBreaks(true),
OutlineSummaryBelow(true),
@@ -45,7 +45,7 @@ func ExampleFile_SetSheetPrOptions() {
FitToPage(true),
TabColorIndexed(42),
TabColorRGB("#FFFF00"),
- TabColorTheme(TabColorThemeLight2),
+ TabColorTheme(ColorMappingTypeLight2),
TabColorTint(0.5),
AutoPageBreaks(true),
OutlineSummaryBelow(false),
@@ -124,7 +124,7 @@ func TestSheetPrOptions(t *testing.T) {
{new(FitToPage), FitToPage(true)},
{new(TabColorIndexed), TabColorIndexed(42)},
{new(TabColorRGB), TabColorRGB("FFFF00")},
- {new(TabColorTheme), TabColorTheme(TabColorThemeLight2)},
+ {new(TabColorTheme), TabColorTheme(ColorMappingTypeLight2)},
{new(TabColorTint), TabColorTint(0.5)},
{new(AutoPageBreaks), AutoPageBreaks(true)},
{new(OutlineSummaryBelow), OutlineSummaryBelow(false)},