File tree Expand file tree Collapse file tree 7 files changed +20
-20
lines changed
Expand file tree Collapse file tree 7 files changed +20
-20
lines changed Original file line number Diff line number Diff line change 5656 label : Excelize version or commit ID
5757 description : |
5858 Which version of Excelize are you using?
59- placeholder : e.g. 0.0.4
59+ placeholder : e.g. 0.0.5
6060 validations :
6161 required : true
6262
Original file line number Diff line number Diff line change @@ -172,7 +172,7 @@ jobs:
172172
173173 - name : Upload Linux Artifacts
174174 if : matrix.os == 'ubuntu-24.04'
175- uses : actions/upload-artifact@v6
175+ uses : actions/upload-artifact@v7
176176 with :
177177 name : linux-artifacts
178178 path : |
@@ -181,15 +181,15 @@ jobs:
181181
182182 - name : Upload Linux ARM64 Artifacts
183183 if : matrix.os == 'ubuntu-24.04-arm'
184- uses : actions/upload-artifact@v6
184+ uses : actions/upload-artifact@v7
185185 with :
186186 name : linux-arm64-artifacts
187187 path : |
188188 libexcelize.arm64.linux.so
189189
190190 - name : Upload Darwin Artifacts
191191 if : matrix.os == 'macos-latest'
192- uses : actions/upload-artifact@v6
192+ uses : actions/upload-artifact@v7
193193 with :
194194 name : darwin-artifacts
195195 path : |
@@ -221,7 +221,7 @@ jobs:
221221 10.x
222222
223223 - name : Download Artifacts
224- uses : actions/download-artifact@v7
224+ uses : actions/download-artifact@v8
225225 with :
226226 merge-multiple : true
227227 path : ./Excelize
Original file line number Diff line number Diff line change @@ -544,7 +544,7 @@ long length
544544 ) ;
545545
546546 [ DllImport ( LibraryName , CallingConvention = CallingConvention . Cdecl ) ]
547- internal static extern IntPtr SetCustomProps ( long fileIdx , ref TypesC . CustomProperty prop ) ;
547+ internal static extern IntPtr SetCustomProps ( long fileIdx , TypesC . CustomProperty prop ) ;
548548
549549 [ DllImport ( LibraryName , CallingConvention = CallingConvention . Cdecl ) ]
550550 internal static extern IntPtr SetHeaderFooter (
@@ -4826,7 +4826,7 @@ public unsafe void SetCustomProps(CustomProperty prop)
48264826 Value = ( TypesC . Interface ) Lib . CsValToCInterface ( prop . Value ) ,
48274827 Name = ( sbyte * ) Marshal . StringToCoTaskMemUTF8 ( prop . Name ) . ToPointer ( ) ,
48284828 } ;
4829- string err = Marshal . PtrToStringUTF8 ( Lib . SetCustomProps ( FileIdx , ref options ) ) ;
4829+ string err = Marshal . PtrToStringUTF8 ( Lib . SetCustomProps ( FileIdx , options ) ) ;
48304830 if ( ! string . IsNullOrEmpty ( err ) )
48314831 throw new RuntimeError ( err ) ;
48324832 }
Original file line number Diff line number Diff line change 2626 <RepositoryUrl >https://github.com/xuri/excelize-cs.git</RepositoryUrl >
2727 <TargetFrameworks >net6.0;net7.0;net8.0;net9.0;net10.0</TargetFrameworks >
2828 <Title >Excelize</Title >
29- <Version >0.0.4 </Version >
29+ <Version >0.0.5 </Version >
3030 </PropertyGroup >
3131 <PropertyGroup Condition =" '$(GITHUB_ACTIONS)' == 'true'" >
3232 <ContinuousIntegrationBuild >true</ContinuousIntegrationBuild >
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ Package excelize-cs is a C# port of Go [Excelize](https://github.com/xuri/exceli
1515### Installation
1616
1717``` bash
18- dotnet add package ExcelizeCs --version 0.0.4
18+ dotnet add package ExcelizeCs --version 0.0.5
1919```
2020
2121### Create spreadsheet
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ Package excelize-cs is a C# port of Go [Excelize](https://github.com/xuri/exceli
1717### Installation
1818
1919``` bash
20- dotnet add package ExcelizeCs --version 0.0.4
20+ dotnet add package ExcelizeCs --version 0.0.5
2121```
2222
2323### Create spreadsheet
@@ -262,4 +262,4 @@ This program is under the terms of the BSD 3-Clause License. See [https://openso
262262
263263The Excel logo is a trademark of [ Microsoft Corporation] ( https://aka.ms/trademarks-usage ) . This artwork is an adaptation.
264264
265- The Go gopher was created by [ Renee French] ( https://go.dev/doc/gopher/README ) . Licensed under the [ Creative Commons 4.0 Attributions license] ( http ://creativecommons.org/licenses/by/4.0/) .
265+ The Go gopher was created by [ Renee French] ( https://go.dev/doc/gopher/README ) . Licensed under the [ Creative Commons 4.0 Attributions license] ( https ://creativecommons.org/licenses/by/4.0/) .
Original file line number Diff line number Diff line change @@ -17,12 +17,12 @@ excelize-cs 是 Go 语言 [Excelize](https://github.com/xuri/excelize) 基础库
1717### 安装
1818
1919``` bash
20- dotnet add package ExcelizeCs --version 0.0.4
20+ dotnet add package ExcelizeCs --version 0.0.5
2121```
2222
23- ### 创建 Excel 文档
23+ ### 创建工作簿
2424
25- 下面是一个创建 Excel 文档的简单例子 :
25+ 下面是一个创建工作簿的简单例子 :
2626
2727``` csharp
2828using ExcelizeCs ;
@@ -58,9 +58,9 @@ class Program
5858}
5959```
6060
61- ### 读取 Excel 文档
61+ ### 读取工作簿
6262
63- 下面是读取 Excel 文档的例子 :
63+ 下面是读取工作簿的例子 :
6464
6565``` csharp
6666using ExcelizeCs ;
@@ -110,7 +110,7 @@ class Program
110110}
111111```
112112
113- ### 在 Excel 文档中创建图表
113+ ### 创建图表
114114
115115使用 Excelize 生成图表十分简单,仅需几行代码。您可以根据工作表中的已有数据构建图表,或向工作表中添加数据并创建图表。
116116
@@ -169,7 +169,7 @@ class Program
169169 Title = new RichTextRun [] { new () { Text = text } },
170170 };
171171 f .AddChart (" Sheet1" , " E1" , chart );
172- // 根据指定路径保存文件
172+ // 根据指定路径保存工作簿
173173 f .SaveAs (" Book1.xlsx" );
174174 }
175175 catch (RuntimeError err )
@@ -186,7 +186,7 @@ class Program
186186}
187187```
188188
189- ### 向 Excel 文档中插入图片
189+ ### 在工作表中插入图片
190190
191191``` csharp
192192using ExcelizeCs ;
@@ -262,4 +262,4 @@ class Program
262262
263263Excel 徽标是 [ Microsoft Corporation] ( https://aka.ms/trademarks-usage ) 的商标,项目的图片是一种改编。
264264
265- Go gopher 由 [ Renee French] ( https://go.dev/doc/gopher/README ) 创作,遵循 [ Creative Commons 4.0 Attributions license] ( http ://creativecommons.org/licenses/by/4.0/) 创作共用授权条款。
265+ Go gopher 由 [ Renee French] ( https://go.dev/doc/gopher/README ) 创作,遵循 [ Creative Commons 4.0 Attributions license] ( https ://creativecommons.org/licenses/by/4.0/) 创作共用授权条款。
You can’t perform that action at this time.
0 commit comments