mirror of
https://github.com/unidoc/unioffice.git
synced 2025-04-25 13:48:53 +08:00

The file format doesn't support sorting, so we need to sort the sheet rows and renumber after sorting.
17 lines
405 B
Go
17 lines
405 B
Go
// Code generated by "stringer -type=SortOrder"; DO NOT EDIT.
|
|
|
|
package spreadsheet
|
|
|
|
import "fmt"
|
|
|
|
const _SortOrder_name = "SortOrderAscendingSortOrderDescending"
|
|
|
|
var _SortOrder_index = [...]uint8{0, 18, 37}
|
|
|
|
func (i SortOrder) String() string {
|
|
if i >= SortOrder(len(_SortOrder_index)-1) {
|
|
return fmt.Sprintf("SortOrder(%d)", i)
|
|
}
|
|
return _SortOrder_name[_SortOrder_index[i]:_SortOrder_index[i+1]]
|
|
}
|