Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
此号慢热型
excelize
提交
b4a6e61e
excelize
项目概览
此号慢热型
/
excelize
与 Fork 源项目一致
Fork自
xuri / excelize
通知
2
Star
0
Fork
0
代码
文件
提交
分支
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,发现更多精彩内容 >>
已验证
提交
b4a6e61e
编写于
9月 12, 2018
作者:
xurime
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Fix golint errors under confidence 0.1
上级
99c9d04f
变更
32
隐藏空白更改
内联
并排
Showing
32 changed file
with
319 addition
and
69 deletion
+319
-69
cell.go
cell.go
+8
-0
chart.go
chart.go
+8
-0
col.go
col.go
+8
-0
comment.go
comment.go
+8
-0
datavalidation.go
datavalidation.go
+9
-1
datavalidation_test.go
datavalidation_test.go
+8
-0
date.go
date.go
+8
-0
excelize.go
excelize.go
+8
-0
file.go
file.go
+9
-1
hsl.go
hsl.go
+32
-30
lib.go
lib.go
+8
-0
picture.go
picture.go
+10
-2
rows.go
rows.go
+8
-0
shape.go
shape.go
+8
-0
sheet.go
sheet.go
+10
-2
sheetpr.go
sheetpr.go
+8
-0
sheetview.go
sheetview.go
+8
-0
styles.go
styles.go
+36
-28
table.go
table.go
+12
-4
templates.go
templates.go
+9
-1
vmlDrawing.go
vmlDrawing.go
+8
-0
xmlChart.go
xmlChart.go
+8
-0
xmlComments.go
xmlComments.go
+8
-0
xmlContentTypes.go
xmlContentTypes.go
+8
-0
xmlDecodeDrawing.go
xmlDecodeDrawing.go
+8
-0
xmlDrawing.go
xmlDrawing.go
+8
-0
xmlSharedStrings.go
xmlSharedStrings.go
+8
-0
xmlStyles.go
xmlStyles.go
+8
-0
xmlTable.go
xmlTable.go
+8
-0
xmlTheme.go
xmlTheme.go
+8
-0
xmlWorkbook.go
xmlWorkbook.go
+8
-0
xmlWorksheet.go
xmlWorksheet.go
+8
-0
未找到文件。
cell.go
浏览文件 @
b4a6e61e
// Package excelize providing a set of functions that allow you to write to
// and read from XLSX files. Support reads and writes XLSX file generated by
// Microsoft Excel™ 2007 and later. Support save file without losing original
// charts of XLSX. This library needs Go version 1.8 or later.
//
// Copyright 2016 - 2018 The excelize Authors. All rights reserved. Use of
// this source code is governed by a BSD-style license that can be found in
// the LICENSE file.
package
excelize
import
(
...
...
chart.go
浏览文件 @
b4a6e61e
// Package excelize providing a set of functions that allow you to write to
// and read from XLSX files. Support reads and writes XLSX file generated by
// Microsoft Excel™ 2007 and later. Support save file without losing original
// charts of XLSX. This library needs Go version 1.8 or later.
//
// Copyright 2016 - 2018 The excelize Authors. All rights reserved. Use of
// this source code is governed by a BSD-style license that can be found in
// the LICENSE file.
package
excelize
import
(
...
...
col.go
浏览文件 @
b4a6e61e
// Package excelize providing a set of functions that allow you to write to
// and read from XLSX files. Support reads and writes XLSX file generated by
// Microsoft Excel™ 2007 and later. Support save file without losing original
// charts of XLSX. This library needs Go version 1.8 or later.
//
// Copyright 2016 - 2018 The excelize Authors. All rights reserved. Use of
// this source code is governed by a BSD-style license that can be found in
// the LICENSE file.
package
excelize
import
(
...
...
comment.go
浏览文件 @
b4a6e61e
// Package excelize providing a set of functions that allow you to write to
// and read from XLSX files. Support reads and writes XLSX file generated by
// Microsoft Excel™ 2007 and later. Support save file without losing original
// charts of XLSX. This library needs Go version 1.8 or later.
//
// Copyright 2016 - 2018 The excelize Authors. All rights reserved. Use of
// this source code is governed by a BSD-style license that can be found in
// the LICENSE file.
package
excelize
import
(
...
...
datavalidation.go
浏览文件 @
b4a6e61e
// Package excelize providing a set of functions that allow you to write to
// and read from XLSX files. Support reads and writes XLSX file generated by
// Microsoft Excel™ 2007 and later. Support save file without losing original
// charts of XLSX. This library needs Go version 1.8 or later.
//
// Copyright 2016 - 2018 The excelize Authors. All rights reserved. Use of
// this source code is governed by a BSD-style license that can be found in
// the LICENSE file.
package
excelize
import
(
...
...
@@ -128,7 +136,7 @@ func (dd *DataValidation) SetSqrefDropList(sqref string, isCurrentSheet bool) er
}
//isCurrentSheet = false Cross-sheet sqref cell use extLst xml node unrealized
return
fmt
.
Errorf
(
"
Cross-sheet sqref cell
are not supported"
)
return
fmt
.
Errorf
(
"
cross-sheet sqref cell
are not supported"
)
}
// SetSqref provides function to set data validation range in drop list.
...
...
datavalidation_test.go
浏览文件 @
b4a6e61e
// Package excelize providing a set of functions that allow you to write to
// and read from XLSX files. Support reads and writes XLSX file generated by
// Microsoft Excel™ 2007 and later. Support save file without losing original
// charts of XLSX. This library needs Go version 1.8 or later.
//
// Copyright 2016 - 2018 The excelize Authors. All rights reserved. Use of
// this source code is governed by a BSD-style license that can be found in
// the LICENSE file.
package
excelize
import
(
...
...
date.go
浏览文件 @
b4a6e61e
// Package excelize providing a set of functions that allow you to write to
// and read from XLSX files. Support reads and writes XLSX file generated by
// Microsoft Excel™ 2007 and later. Support save file without losing original
// charts of XLSX. This library needs Go version 1.8 or later.
//
// Copyright 2016 - 2018 The excelize Authors. All rights reserved. Use of
// this source code is governed by a BSD-style license that can be found in
// the LICENSE file.
package
excelize
import
(
...
...
excelize.go
浏览文件 @
b4a6e61e
// Package excelize providing a set of functions that allow you to write to
// and read from XLSX files. Support reads and writes XLSX file generated by
// Microsoft Excel™ 2007 and later. Support save file without losing original
// charts of XLSX. This library needs Go version 1.8 or later.
//
// Copyright 2016 - 2018 The excelize Authors. All rights reserved. Use of
// this source code is governed by a BSD-style license that can be found in
// the LICENSE file.
package
excelize
import
(
...
...
file.go
浏览文件 @
b4a6e61e
// Package excelize providing a set of functions that allow you to write to
// and read from XLSX files. Support reads and writes XLSX file generated by
// Microsoft Excel™ 2007 and later. Support save file without losing original
// charts of XLSX. This library needs Go version 1.8 or later.
//
// Copyright 2016 - 2018 The excelize Authors. All rights reserved. Use of
// this source code is governed by a BSD-style license that can be found in
// the LICENSE file.
package
excelize
import
(
...
...
@@ -43,7 +51,7 @@ func NewFile() *File {
// Save provides a function to override the xlsx file with origin path.
func
(
f
*
File
)
Save
()
error
{
if
f
.
Path
==
""
{
return
fmt
.
Errorf
(
"
N
o path defined for file, consider File.WriteTo or File.Write"
)
return
fmt
.
Errorf
(
"
n
o path defined for file, consider File.WriteTo or File.Write"
)
}
return
f
.
SaveAs
(
f
.
Path
)
}
...
...
hsl.go
浏览文件 @
b4a6e61e
/*
Copyright (c) 2012 Rodrigo Moraes. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above
copyright notice, this list of conditions and the following disclaimer
in the documentation and/or other materials provided with the
distribution.
* Neither the name of Google Inc. nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
// Package excelize providing a set of functions that allow you to write to
// and read from XLSX files. Support reads and writes XLSX file generated by
// Microsoft Excel™ 2007 and later. Support save file without losing original
// charts of XLSX. This library needs Go version 1.8 or later.
//
// Copyright (c) 2012 Rodrigo Moraes. All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistributions of source code must retain the above copyright
// notice, this list of conditions and the following disclaimer.
// * Redistributions in binary form must reproduce the above
// copyright notice, this list of conditions and the following disclaimer
// in the documentation and/or other materials provided with the
// distribution.
// * Neither the name of Google Inc. nor the names of its
// contributors may be used to endorse or promote products derived from
// this software without specific prior written permission.
//
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
package
excelize
import
(
...
...
lib.go
浏览文件 @
b4a6e61e
// Package excelize providing a set of functions that allow you to write to
// and read from XLSX files. Support reads and writes XLSX file generated by
// Microsoft Excel™ 2007 and later. Support save file without losing original
// charts of XLSX. This library needs Go version 1.8 or later.
//
// Copyright 2016 - 2018 The excelize Authors. All rights reserved. Use of
// this source code is governed by a BSD-style license that can be found in
// the LICENSE file.
package
excelize
import
(
...
...
picture.go
浏览文件 @
b4a6e61e
// Package excelize providing a set of functions that allow you to write to
// and read from XLSX files. Support reads and writes XLSX file generated by
// Microsoft Excel™ 2007 and later. Support save file without losing original
// charts of XLSX. This library needs Go version 1.8 or later.
//
// Copyright 2016 - 2018 The excelize Authors. All rights reserved. Use of
// this source code is governed by a BSD-style license that can be found in
// the LICENSE file.
package
excelize
import
(
...
...
@@ -86,10 +94,10 @@ func (f *File) AddPicture(sheet, cell, picture, format string) error {
}
ext
,
ok
:=
supportImageTypes
[
path
.
Ext
(
picture
)]
if
!
ok
{
return
errors
.
New
(
"
U
nsupported image extension"
)
return
errors
.
New
(
"
u
nsupported image extension"
)
}
readFile
,
err
:=
os
.
Open
(
picture
)
if
err
!=
nil
{
if
err
!=
nil
{
return
err
}
defer
readFile
.
Close
()
...
...
rows.go
浏览文件 @
b4a6e61e
// Package excelize providing a set of functions that allow you to write to
// and read from XLSX files. Support reads and writes XLSX file generated by
// Microsoft Excel™ 2007 and later. Support save file without losing original
// charts of XLSX. This library needs Go version 1.8 or later.
//
// Copyright 2016 - 2018 The excelize Authors. All rights reserved. Use of
// this source code is governed by a BSD-style license that can be found in
// the LICENSE file.
package
excelize
import
(
...
...
shape.go
浏览文件 @
b4a6e61e
// Package excelize providing a set of functions that allow you to write to
// and read from XLSX files. Support reads and writes XLSX file generated by
// Microsoft Excel™ 2007 and later. Support save file without losing original
// charts of XLSX. This library needs Go version 1.8 or later.
//
// Copyright 2016 - 2018 The excelize Authors. All rights reserved. Use of
// this source code is governed by a BSD-style license that can be found in
// the LICENSE file.
package
excelize
import
(
...
...
sheet.go
浏览文件 @
b4a6e61e
// Package excelize providing a set of functions that allow you to write to
// and read from XLSX files. Support reads and writes XLSX file generated by
// Microsoft Excel™ 2007 and later. Support save file without losing original
// charts of XLSX. This library needs Go version 1.8 or later.
//
// Copyright 2016 - 2018 The excelize Authors. All rights reserved. Use of
// this source code is governed by a BSD-style license that can be found in
// the LICENSE file.
package
excelize
import
(
...
...
@@ -371,7 +379,7 @@ func (f *File) SetSheetBackground(sheet, picture string) error {
}
ext
,
ok
:=
supportImageTypes
[
path
.
Ext
(
picture
)]
if
!
ok
{
return
errors
.
New
(
"
U
nsupported image extension"
)
return
errors
.
New
(
"
u
nsupported image extension"
)
}
pictureID
:=
f
.
countMedia
()
+
1
rID
:=
f
.
addSheetRelationships
(
sheet
,
SourceRelationshipImage
,
"../media/image"
+
strconv
.
Itoa
(
pictureID
)
+
ext
,
""
)
...
...
@@ -441,7 +449,7 @@ func (f *File) deleteSheetFromContentTypes(target string) {
//
func
(
f
*
File
)
CopySheet
(
from
,
to
int
)
error
{
if
from
<
1
||
to
<
1
||
from
==
to
||
f
.
GetSheetName
(
from
)
==
""
||
f
.
GetSheetName
(
to
)
==
""
{
return
errors
.
New
(
"
I
nvalid worksheet index"
)
return
errors
.
New
(
"
i
nvalid worksheet index"
)
}
f
.
copySheet
(
from
,
to
)
return
nil
...
...
sheetpr.go
浏览文件 @
b4a6e61e
// Package excelize providing a set of functions that allow you to write to
// and read from XLSX files. Support reads and writes XLSX file generated by
// Microsoft Excel™ 2007 and later. Support save file without losing original
// charts of XLSX. This library needs Go version 1.8 or later.
//
// Copyright 2016 - 2018 The excelize Authors. All rights reserved. Use of
// this source code is governed by a BSD-style license that can be found in
// the LICENSE file.
package
excelize
// SheetPrOption is an option of a view of a worksheet. See SetSheetPrOptions().
...
...
sheetview.go
浏览文件 @
b4a6e61e
// Package excelize providing a set of functions that allow you to write to
// and read from XLSX files. Support reads and writes XLSX file generated by
// Microsoft Excel™ 2007 and later. Support save file without losing original
// charts of XLSX. This library needs Go version 1.8 or later.
//
// Copyright 2016 - 2018 The excelize Authors. All rights reserved. Use of
// this source code is governed by a BSD-style license that can be found in
// the LICENSE file.
package
excelize
import
"fmt"
...
...
styles.go
浏览文件 @
b4a6e61e
// Package excelize providing a set of functions that allow you to write to
// and read from XLSX files. Support reads and writes XLSX file generated by
// Microsoft Excel™ 2007 and later. Support save file without losing original
// charts of XLSX. This library needs Go version 1.8 or later.
//
// Copyright 2016 - 2018 The excelize Authors. All rights reserved. Use of
// this source code is governed by a BSD-style license that can be found in
// the LICENSE file.
package
excelize
import
(
...
...
@@ -798,35 +806,35 @@ var validType = map[string]string{
// criteriaType defined the list of valid criteria types.
var
criteriaType
=
map
[
string
]
string
{
"between"
:
"between"
,
"not between"
:
"notBetween"
,
"equal to"
:
"equal"
,
"="
:
"equal"
,
"=="
:
"equal"
,
"not equal to"
:
"notEqual"
,
"!="
:
"notEqual"
,
"<>"
:
"notEqual"
,
"greater than"
:
"greaterThan"
,
">"
:
"greaterThan"
,
"less than"
:
"lessThan"
,
"<"
:
"lessThan"
,
"between"
:
"between"
,
"not between"
:
"notBetween"
,
"equal to"
:
"equal"
,
"="
:
"equal"
,
"=="
:
"equal"
,
"not equal to"
:
"notEqual"
,
"!="
:
"notEqual"
,
"<>"
:
"notEqual"
,
"greater than"
:
"greaterThan"
,
">"
:
"greaterThan"
,
"less than"
:
"lessThan"
,
"<"
:
"lessThan"
,
"greater than or equal to"
:
"greaterThanOrEqual"
,
">="
:
"greaterThanOrEqual"
,
"less than or equal to"
:
"lessThanOrEqual"
,
"<="
:
"lessThanOrEqual"
,
"containing"
:
"containsText"
,
"not containing"
:
"notContains"
,
"begins with"
:
"beginsWith"
,
"ends with"
:
"endsWith"
,
"yesterday"
:
"yesterday"
,
"today"
:
"today"
,
"last 7 days"
:
"last7Days"
,
"last week"
:
"lastWeek"
,
"this week"
:
"thisWeek"
,
"continue week"
:
"continueWeek"
,
"last month"
:
"lastMonth"
,
"this month"
:
"thisMonth"
,
"continue month"
:
"continueMonth"
,
">="
:
"greaterThanOrEqual"
,
"less than or equal to"
:
"lessThanOrEqual"
,
"<="
:
"lessThanOrEqual"
,
"containing"
:
"containsText"
,
"not containing"
:
"notContains"
,
"begins with"
:
"beginsWith"
,
"ends with"
:
"endsWith"
,
"yesterday"
:
"yesterday"
,
"today"
:
"today"
,
"last 7 days"
:
"last7Days"
,
"last week"
:
"lastWeek"
,
"this week"
:
"thisWeek"
,
"continue week"
:
"continueWeek"
,
"last month"
:
"lastMonth"
,
"this month"
:
"thisMonth"
,
"continue month"
:
"continueMonth"
,
}
// formatToString provides a function to return original string by given
...
...
table.go
浏览文件 @
b4a6e61e
// Package excelize providing a set of functions that allow you to write to
// and read from XLSX files. Support reads and writes XLSX file generated by
// Microsoft Excel™ 2007 and later. Support save file without losing original
// charts of XLSX. This library needs Go version 1.8 or later.
//
// Copyright 2016 - 2018 The excelize Authors. All rights reserved. Use of
// this source code is governed by a BSD-style license that can be found in
// the LICENSE file.
package
excelize
import
(
...
...
@@ -282,7 +290,7 @@ func (f *File) autoFilter(sheet, ref string, refRange, hxAxis int, formatSet *fo
col
:=
TitleToNumber
(
formatSet
.
Column
)
offset
:=
col
-
hxAxis
if
offset
<
0
||
offset
>
refRange
{
return
fmt
.
Errorf
(
"
I
ncorrect index of column '%s'"
,
formatSet
.
Column
)
return
fmt
.
Errorf
(
"
i
ncorrect index of column '%s'"
,
formatSet
.
Column
)
}
filter
.
FilterColumn
=
&
xlsxFilterColumn
{
ColID
:
offset
,
...
...
@@ -290,7 +298,7 @@ func (f *File) autoFilter(sheet, ref string, refRange, hxAxis int, formatSet *fo
re
:=
regexp
.
MustCompile
(
`"(?:[^"]|"")*"|\S+`
)
token
:=
re
.
FindAllString
(
formatSet
.
Expression
,
-
1
)
if
len
(
token
)
!=
3
&&
len
(
token
)
!=
7
{
return
fmt
.
Errorf
(
"
I
ncorrect number of tokens in criteria '%s'"
,
formatSet
.
Expression
)
return
fmt
.
Errorf
(
"
i
ncorrect number of tokens in criteria '%s'"
,
formatSet
.
Expression
)
}
expressions
,
tokens
,
err
:=
f
.
parseFilterExpression
(
formatSet
.
Expression
,
token
)
if
err
!=
nil
{
...
...
@@ -415,7 +423,7 @@ func (f *File) parseFilterTokens(expression string, tokens []string) ([]int, str
operator
,
ok
:=
operators
[
strings
.
ToLower
(
tokens
[
1
])]
if
!
ok
{
// Convert the operator from a number to a descriptive string.
return
[]
int
{},
""
,
fmt
.
Errorf
(
"
U
nknown operator: %s"
,
tokens
[
1
])
return
[]
int
{},
""
,
fmt
.
Errorf
(
"
u
nknown operator: %s"
,
tokens
[
1
])
}
token
:=
tokens
[
2
]
// Special handling for Blanks/NonBlanks.
...
...
@@ -423,7 +431,7 @@ func (f *File) parseFilterTokens(expression string, tokens []string) ([]int, str
if
re
{
// Only allow Equals or NotEqual in this context.
if
operator
!=
2
&&
operator
!=
5
{
return
[]
int
{
operator
},
token
,
fmt
.
Errorf
(
"
T
he operator '%s' in expression '%s' is not valid in relation to Blanks/NonBlanks'"
,
tokens
[
1
],
expression
)
return
[]
int
{
operator
},
token
,
fmt
.
Errorf
(
"
t
he operator '%s' in expression '%s' is not valid in relation to Blanks/NonBlanks'"
,
tokens
[
1
],
expression
)
}
token
=
strings
.
ToLower
(
token
)
// The operator should always be 2 (=) to flag a "simple" equality in
...
...
templates.go
浏览文件 @
b4a6e61e
// Package excelize providing a set of functions that allow you to write to
// and read from XLSX files. Support reads and writes XLSX file generated by
// Microsoft Excel™ 2007 and later. Support save file without losing original
// charts of XLSX. This library needs Go version 1.8 or later.
//
// Copyright 2016 - 2018 The excelize Authors. All rights reserved. Use of
// this source code is governed by a BSD-style license that can be found in
// the LICENSE file.
//
// This file contains default templates for XML files we don't yet populated
// based on content.
package
excelize
// XMLHeader define an XML declaration can also contain a standalone declaration.
...
...
vmlDrawing.go
浏览文件 @
b4a6e61e
// Package excelize providing a set of functions that allow you to write to
// and read from XLSX files. Support reads and writes XLSX file generated by
// Microsoft Excel™ 2007 and later. Support save file without losing original
// charts of XLSX. This library needs Go version 1.8 or later.
//
// Copyright 2016 - 2018 The excelize Authors. All rights reserved. Use of
// this source code is governed by a BSD-style license that can be found in
// the LICENSE file.
package
excelize
import
"encoding/xml"
...
...
xmlChart.go
浏览文件 @
b4a6e61e
// Package excelize providing a set of functions that allow you to write to
// and read from XLSX files. Support reads and writes XLSX file generated by
// Microsoft Excel™ 2007 and later. Support save file without losing original
// charts of XLSX. This library needs Go version 1.8 or later.
//
// Copyright 2016 - 2018 The excelize Authors. All rights reserved. Use of
// this source code is governed by a BSD-style license that can be found in
// the LICENSE file.
package
excelize
import
"encoding/xml"
...
...
xmlComments.go
浏览文件 @
b4a6e61e
// Package excelize providing a set of functions that allow you to write to
// and read from XLSX files. Support reads and writes XLSX file generated by
// Microsoft Excel™ 2007 and later. Support save file without losing original
// charts of XLSX. This library needs Go version 1.8 or later.
//
// Copyright 2016 - 2018 The excelize Authors. All rights reserved. Use of
// this source code is governed by a BSD-style license that can be found in
// the LICENSE file.
package
excelize
import
"encoding/xml"
...
...
xmlContentTypes.go
浏览文件 @
b4a6e61e
// Package excelize providing a set of functions that allow you to write to
// and read from XLSX files. Support reads and writes XLSX file generated by
// Microsoft Excel™ 2007 and later. Support save file without losing original
// charts of XLSX. This library needs Go version 1.8 or later.
//
// Copyright 2016 - 2018 The excelize Authors. All rights reserved. Use of
// this source code is governed by a BSD-style license that can be found in
// the LICENSE file.
package
excelize
import
"encoding/xml"
...
...
xmlDecodeDrawing.go
浏览文件 @
b4a6e61e
// Package excelize providing a set of functions that allow you to write to
// and read from XLSX files. Support reads and writes XLSX file generated by
// Microsoft Excel™ 2007 and later. Support save file without losing original
// charts of XLSX. This library needs Go version 1.8 or later.
//
// Copyright 2016 - 2018 The excelize Authors. All rights reserved. Use of
// this source code is governed by a BSD-style license that can be found in
// the LICENSE file.
package
excelize
import
"encoding/xml"
...
...
xmlDrawing.go
浏览文件 @
b4a6e61e
// Package excelize providing a set of functions that allow you to write to
// and read from XLSX files. Support reads and writes XLSX file generated by
// Microsoft Excel™ 2007 and later. Support save file without losing original
// charts of XLSX. This library needs Go version 1.8 or later.
//
// Copyright 2016 - 2018 The excelize Authors. All rights reserved. Use of
// this source code is governed by a BSD-style license that can be found in
// the LICENSE file.
package
excelize
import
"encoding/xml"
...
...
xmlSharedStrings.go
浏览文件 @
b4a6e61e
// Package excelize providing a set of functions that allow you to write to
// and read from XLSX files. Support reads and writes XLSX file generated by
// Microsoft Excel™ 2007 and later. Support save file without losing original
// charts of XLSX. This library needs Go version 1.8 or later.
//
// Copyright 2016 - 2018 The excelize Authors. All rights reserved. Use of
// this source code is governed by a BSD-style license that can be found in
// the LICENSE file.
package
excelize
import
"encoding/xml"
...
...
xmlStyles.go
浏览文件 @
b4a6e61e
// Package excelize providing a set of functions that allow you to write to
// and read from XLSX files. Support reads and writes XLSX file generated by
// Microsoft Excel™ 2007 and later. Support save file without losing original
// charts of XLSX. This library needs Go version 1.8 or later.
//
// Copyright 2016 - 2018 The excelize Authors. All rights reserved. Use of
// this source code is governed by a BSD-style license that can be found in
// the LICENSE file.
package
excelize
import
"encoding/xml"
...
...
xmlTable.go
浏览文件 @
b4a6e61e
// Package excelize providing a set of functions that allow you to write to
// and read from XLSX files. Support reads and writes XLSX file generated by
// Microsoft Excel™ 2007 and later. Support save file without losing original
// charts of XLSX. This library needs Go version 1.8 or later.
//
// Copyright 2016 - 2018 The excelize Authors. All rights reserved. Use of
// this source code is governed by a BSD-style license that can be found in
// the LICENSE file.
package
excelize
import
"encoding/xml"
...
...
xmlTheme.go
浏览文件 @
b4a6e61e
// Package excelize providing a set of functions that allow you to write to
// and read from XLSX files. Support reads and writes XLSX file generated by
// Microsoft Excel™ 2007 and later. Support save file without losing original
// charts of XLSX. This library needs Go version 1.8 or later.
//
// Copyright 2016 - 2018 The excelize Authors. All rights reserved. Use of
// this source code is governed by a BSD-style license that can be found in
// the LICENSE file.
package
excelize
import
"encoding/xml"
...
...
xmlWorkbook.go
浏览文件 @
b4a6e61e
// Package excelize providing a set of functions that allow you to write to
// and read from XLSX files. Support reads and writes XLSX file generated by
// Microsoft Excel™ 2007 and later. Support save file without losing original
// charts of XLSX. This library needs Go version 1.8 or later.
//
// Copyright 2016 - 2018 The excelize Authors. All rights reserved. Use of
// this source code is governed by a BSD-style license that can be found in
// the LICENSE file.
package
excelize
import
"encoding/xml"
...
...
xmlWorksheet.go
浏览文件 @
b4a6e61e
// Package excelize providing a set of functions that allow you to write to
// and read from XLSX files. Support reads and writes XLSX file generated by
// Microsoft Excel™ 2007 and later. Support save file without losing original
// charts of XLSX. This library needs Go version 1.8 or later.
//
// Copyright 2016 - 2018 The excelize Authors. All rights reserved. Use of
// this source code is governed by a BSD-style license that can be found in
// the LICENSE file.
package
excelize
import
"encoding/xml"
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录