Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
xuri
excelize
提交
77ece87e
excelize
项目概览
xuri
/
excelize
通知
13
Star
2
Fork
4
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
excelize
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
未验证
提交
77ece87e
编写于
12月 07, 2023
作者:
C
cui fliter
提交者:
GitHub
12月 07, 2023
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
This fix some function names in comment (#1747)
Signed-off-by:
N
cui fliter
<
imcusg@gmail.com
>
上级
18a160c5
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
6 addition
and
6 deletion
+6
-6
cell.go
cell.go
+1
-1
crypt.go
crypt.go
+1
-1
slicer.go
slicer.go
+1
-1
styles.go
styles.go
+3
-3
未找到文件。
cell.go
浏览文件 @
77ece87e
...
...
@@ -547,7 +547,7 @@ func (c *xlsxC) setStr(val string) {
c
.
V
,
c
.
XMLSpace
=
trimCellValue
(
val
,
false
)
}
// getCell
Date
parse cell value which containing a boolean.
// getCell
Bool
parse cell value which containing a boolean.
func
(
c
*
xlsxC
)
getCellBool
(
f
*
File
,
raw
bool
)
(
string
,
error
)
{
if
!
raw
{
if
c
.
V
==
"1"
{
...
...
crypt.go
浏览文件 @
77ece87e
...
...
@@ -676,7 +676,7 @@ func (c *cfb) writeUint64(value int) {
c
.
writeBytes
(
buf
)
}
// write
Byte
s write strings in the stream by a given value with an offset.
// write
String
s 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
))
...
...
slicer.go
浏览文件 @
77ece87e
...
...
@@ -349,7 +349,7 @@ func (f *File) genSlicerName(name string) string {
return
slicerName
}
// genSlicer
Names
generates a unique slicer cache name by giving the slicer name.
// genSlicer
CacheName
generates a unique slicer cache name by giving the slicer name.
func
(
f
*
File
)
genSlicerCacheName
(
name
string
)
string
{
var
(
cnt
int
...
...
styles.go
浏览文件 @
77ece87e
...
...
@@ -3238,7 +3238,7 @@ func drawCondFmtErrors(p int, ct, ref, GUID string, format *ConditionalFormatOpt
},
nil
}
// drawCondFmtErrors provides a function to create conditional formatting rule
// drawCondFmt
No
Errors 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
}
// drawCondFmt
Error
s provides a function to create conditional formatting rule
// drawCondFmt
Blank
s 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
}
// drawCondFmt
Error
s provides a function to create conditional formatting rule
// drawCondFmt
NoBlank
s 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
{
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录