This fix some function names in comment (#1747)
Signed-off-by: cui fliter <imcusg@gmail.com>
This commit is contained in:
parent
18a160c5be
commit
77ece87e32
2
cell.go
2
cell.go
|
@ -547,7 +547,7 @@ func (c *xlsxC) setStr(val string) {
|
|||
c.V, c.XMLSpace = trimCellValue(val, false)
|
||||
}
|
||||
|
||||
// getCellDate parse cell value which containing a boolean.
|
||||
// getCellBool parse cell value which containing a boolean.
|
||||
func (c *xlsxC) getCellBool(f *File, raw bool) (string, error) {
|
||||
if !raw {
|
||||
if c.V == "1" {
|
||||
|
|
2
crypt.go
2
crypt.go
|
@ -676,7 +676,7 @@ func (c *cfb) writeUint64(value int) {
|
|||
c.writeBytes(buf)
|
||||
}
|
||||
|
||||
// writeBytes write strings in the stream by a given value with an offset.
|
||||
// writeStrings write strings in the stream by a given value with an offset.
|
||||
func (c *cfb) writeStrings(value string) {
|
||||
encoder := unicode.UTF16(unicode.LittleEndian, unicode.IgnoreBOM).NewEncoder()
|
||||
buffer, err := encoder.Bytes([]byte(value))
|
||||
|
|
|
@ -349,7 +349,7 @@ func (f *File) genSlicerName(name string) string {
|
|||
return slicerName
|
||||
}
|
||||
|
||||
// genSlicerNames generates a unique slicer cache name by giving the slicer name.
|
||||
// genSlicerCacheName generates a unique slicer cache name by giving the slicer name.
|
||||
func (f *File) genSlicerCacheName(name string) string {
|
||||
var (
|
||||
cnt int
|
||||
|
|
|
@ -3238,7 +3238,7 @@ func drawCondFmtErrors(p int, ct, ref, GUID string, format *ConditionalFormatOpt
|
|||
}, nil
|
||||
}
|
||||
|
||||
// drawCondFmtErrors provides a function to create conditional formatting rule
|
||||
// drawCondFmtNoErrors provides a function to create conditional formatting rule
|
||||
// for cells without errors by given priority, criteria type and format settings.
|
||||
func drawCondFmtNoErrors(p int, ct, ref, GUID string, format *ConditionalFormatOptions) (*xlsxCfRule, *xlsxX14CfRule) {
|
||||
return &xlsxCfRule{
|
||||
|
@ -3250,7 +3250,7 @@ func drawCondFmtNoErrors(p int, ct, ref, GUID string, format *ConditionalFormatO
|
|||
}, nil
|
||||
}
|
||||
|
||||
// drawCondFmtErrors provides a function to create conditional formatting rule
|
||||
// drawCondFmtBlanks provides a function to create conditional formatting rule
|
||||
// for blank cells by given priority, criteria type and format settings.
|
||||
func drawCondFmtBlanks(p int, ct, ref, GUID string, format *ConditionalFormatOptions) (*xlsxCfRule, *xlsxX14CfRule) {
|
||||
return &xlsxCfRule{
|
||||
|
@ -3262,7 +3262,7 @@ func drawCondFmtBlanks(p int, ct, ref, GUID string, format *ConditionalFormatOpt
|
|||
}, nil
|
||||
}
|
||||
|
||||
// drawCondFmtErrors provides a function to create conditional formatting rule
|
||||
// drawCondFmtNoBlanks provides a function to create conditional formatting rule
|
||||
// for no blanks cells by given priority, criteria type and format settings.
|
||||
func drawCondFmtNoBlanks(p int, ct, ref, GUID string, format *ConditionalFormatOptions) (*xlsxCfRule, *xlsxX14CfRule) {
|
||||
return &xlsxCfRule{
|
||||
|
|
Loading…
Reference in New Issue