Skip to content

Commit 1103aed

Browse files
authored
1 41 3 fix bugs (#818)
* v1.41.2 AddPicture not working #814 * #814 samples * Fix v1.41.1 AddPicture image max column and row are 2 cells #815 * Fix AddPicture get error same export file and second time. #817 * v1.41.3 * 1.41.3 --------- Signed-off-by: Wei Lin <[email protected]>
1 parent 30040f5 commit 1103aed

File tree

144 files changed

+2125
-237
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

144 files changed

+2125
-237
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1457,6 +1457,8 @@ MiniExcel.SaveAs(path, reader,configuration:config);
14571457

14581458
#### 6. Batch Add Image (MiniExcel.AddPicture)
14591459

1460+
Please add pictures before batch generate rows data, or system will load large memory usage when calling AddPicture.
1461+
14601462
```csharp
14611463
var images = new[]
14621464
{

README.zh-CN.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1634,6 +1634,8 @@ public class Order
16341634

16351635
#### 6. 批量添加/插入图片 (MiniExcel.AddPicture)
16361636

1637+
请在批量生成行数据之前添加图片,否则在调用 AddPicture 时系统会占用大量内存。
1638+
16371639
```csharp
16381640
var images = new[]
16391641
{

README.zh-Hant.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1368,6 +1368,8 @@ MiniExcel.SaveAs(path, reader,configuration:config);
13681368

13691369
#### 6. 批量添加/插入圖片 (MiniExcel.AddPicture)
13701370

1371+
請在批量生成行資料之前新增圖片,否則在呼叫 AddPicture 時系統將會佔用大量記憶體。
1372+
13711373
```csharp
13721374
var images = new[]
13731375
{

docs/README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,14 @@
2323
---
2424

2525

26+
### 1.41.3
27+
- [New] Adding QuoteWhitespaces option to CsvConfiguration for adding double quotes to string containing whitespaces #790 (via @michelebastione )
28+
- [Bug] Fixed bug that made the DynamicExcelColumn property "Ignore" not work when generating using an IDataReader as source #584 (via @michelebastione )
29+
- [Bug] v1.41.2 AddPicture not working #814 (via @shps951023)
30+
- [Bug] v1.41.1 AddPicture image max column and row are 2 cells #815 (via @shps951023)
31+
- [Bug] AddPicture get error same export file and second time. #816 (via @shps951023)
32+
33+
2634
### 1.41.2
2735
- [New] Fixes enum behaviour and adds support for DescriptionAttribute when saving by template (via @michelebastione )
2836
- [Bug] SaveAsByTemplate - Excel Dimension Xml is null #459 (via @michelebastione )

docs/README.zh-CN.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,17 @@
2727

2828

2929

30+
### 1.41.3
31+
32+
* 【新增】在 `CsvConfiguration` 中新增 `QuoteWhitespaces` 選項,用於對包含空白字元的字串加上雙引號 #790(貢獻者:@michelebastione
33+
* 【錯誤修正】修正使用 `IDataReader` 作為來源產生資料時,`DynamicExcelColumn``Ignore` 屬性無效的問題 #584(貢獻者:@michelebastione
34+
* 【錯誤修正】v1.41.2 中 `AddPicture` 功能無法使用的問題 #814(貢獻者:@shps951023
35+
* 【錯誤修正】v1.41.1 中 `AddPicture` 插入的圖片最大列與欄僅限於 2 個儲存格的問題 #815(貢獻者:@shps951023
36+
* 【錯誤修正】`AddPicture` 在匯出檔案後再次執行時出現錯誤的問題 #816(貢獻者:@shps951023
37+
38+
39+
40+
3041
### 1.41.2
3142
- [New] 增加 enum behaviour and adds support for DescriptionAttribute when saving by template (via @michelebastione )
3243
- [Bug] SaveAsByTemplate - Excel Dimension Xml is null #459 (via @michelebastione )

docs/README.zh-Hant.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,16 @@
2525
---
2626

2727

28+
29+
### 1.41.3
30+
31+
* 【新增】在 CsvConfiguration 中新增 `QuoteWhitespaces` 選項,讓包含空白字元的字串自動加上雙引號 #790(由 @michelebastione 提供)
32+
* 【修正】修正當使用 IDataReader 作為資料來源時,DynamicExcelColumn 的 `Ignore` 屬性無效的問題 #584(由 @michelebastione 提供)
33+
* 【修正】v1.41.2 中 `AddPicture` 功能無法使用的問題 #814(由 @shps951023 提供)
34+
* 【修正】v1.41.1 中 `AddPicture` 插入的圖片最大列與欄僅為兩格儲存格的問題 #815(由 @shps951023 提供)
35+
* 【修正】當再次使用相同匯出檔案時,`AddPicture` 發生錯誤的問題 #816(由 @shps951023 提供)
36+
37+
2838
### 1.41.2
2939
- [New] 增加 enum behaviour and adds support for DescriptionAttribute when saving by template (via @michelebastione )
3040
- [Bug] SaveAsByTemplate - Excel Dimension Xml is null #459 (via @michelebastione )

samples/xlsx/TestIssue815_1.xlsx

10.3 KB
Binary file not shown.
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
2+
<Types xmlns="http://schemas.openxmlformats.org/package/2006/content-types"><Default Extension="Png" ContentType="image/png"/><Default Extension="rels" ContentType="application/vnd.openxmlformats-package.relationships+xml"/><Default Extension="xml" ContentType="application/xml"/><Override PartName="/xl/workbook.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml"/><Override PartName="/xl/worksheets/sheet1.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml"/><Override PartName="/xl/theme/theme1.xml" ContentType="application/vnd.openxmlformats-officedocument.theme+xml"/><Override PartName="/xl/styles.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml"/><Override PartName="/xl/drawings/drawing1.xml" ContentType="application/vnd.openxmlformats-officedocument.drawing+xml"/><Override PartName="/docProps/core.xml" ContentType="application/vnd.openxmlformats-package.core-properties+xml"/><Override PartName="/docProps/app.xml" ContentType="application/vnd.openxmlformats-officedocument.extended-properties+xml"/></Types>
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
2+
<Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships"><Relationship Id="rId3" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties" Target="docProps/app.xml"/><Relationship Id="rId2" Type="http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties" Target="docProps/core.xml"/><Relationship Id="rId1" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument" Target="xl/workbook.xml"/></Relationships>
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
2+
<Properties xmlns="http://schemas.openxmlformats.org/officeDocument/2006/extended-properties" xmlns:vt="http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes"><Application>Microsoft Excel</Application><DocSecurity>0</DocSecurity><ScaleCrop>false</ScaleCrop><HeadingPairs><vt:vector size="2" baseType="variant"><vt:variant><vt:lpstr>Worksheets</vt:lpstr></vt:variant><vt:variant><vt:i4>1</vt:i4></vt:variant></vt:vector></HeadingPairs><TitlesOfParts><vt:vector size="1" baseType="lpstr"><vt:lpstr>Sheet1</vt:lpstr></vt:vector></TitlesOfParts><LinksUpToDate>false</LinksUpToDate><SharedDoc>false</SharedDoc><HyperlinksChanged>false</HyperlinksChanged><AppVersion>16.0300</AppVersion></Properties>

0 commit comments

Comments
 (0)