@@ -127,12 +127,12 @@ var (
127127 // ErrPasswordLengthInvalid defined the error message on invalid password
128128 // length.
129129 ErrPasswordLengthInvalid = errors .New ("password length invalid" )
130- // ErrPivotTableShowValueAsBaseField defined the error message on enable
130+ // ErrPivotTableShowValuesAsBaseField defined the error message on enable
131131 // this kind of show value as type requires a base field.
132- ErrPivotTableShowValueAsBaseField = errors .New ("this kind of show value as type requires a base field" )
133- // ErrPivotTableShowValueAsBaseItem defined the error message on enable
132+ ErrPivotTableShowValuesAsBaseField = errors .New ("this kind of show value as type requires a base field" )
133+ // ErrPivotTableShowValuesAsBaseItem defined the error message on enable
134134 // this kind of show value as type and base field requires a base item.
135- ErrPivotTableShowValueAsBaseItem = errors .New ("this kind of show value as type and base field requires a base item" )
135+ ErrPivotTableShowValuesAsBaseItem = errors .New ("this kind of show value as type and base field requires a base item" )
136136 // ErrPivotTableClassicLayout defined the error message on enable
137137 // ClassicLayout and CompactData in the same time.
138138 ErrPivotTableClassicLayout = errors .New ("cannot enable ClassicLayout and CompactData in the same time" )
@@ -198,9 +198,9 @@ var (
198198 // ErrUnsupportedNumberFormat defined the error message on unsupported
199199 // number format expression.
200200 ErrUnsupportedNumberFormat = errors .New ("unsupported number format token" )
201- // ErrUnsupportedPivotTableShowValueAsType defined the error message on
201+ // ErrUnsupportedPivotTableShowValuesAsType defined the error message on
202202 // receiving the unsupported pivot table show value as type.
203- ErrUnsupportedPivotTableShowValueAsType = errors .New ("unsupported pivot table show value as type" )
203+ ErrUnsupportedPivotTableShowValuesAsType = errors .New ("unsupported pivot table show value as type" )
204204 // ErrWorkbookFileFormat defined the error message on receive an
205205 // unsupported workbook file format.
206206 ErrWorkbookFileFormat = errors .New ("unsupported workbook file format" )
@@ -369,9 +369,9 @@ func newPivotTableRangeError(msg string) error {
369369 return fmt .Errorf ("parameter 'PivotTableRange' parsing error: %s" , msg )
370370}
371371
372- // newPivotTableShowValueAsBaseFieldError defined the error message on receiving
372+ // newPivotTableShowValuesAsBaseFieldError defined the error message on receiving
373373// the invalid pivot table show value as base field.
374- func newPivotTableShowValueAsBaseFieldError (field string ) error {
374+ func newPivotTableShowValuesAsBaseFieldError (field string ) error {
375375 return fmt .Errorf ("base field %s does not exist in shared items" , field )
376376}
377377
0 commit comments