Commit Graph

620 Commits

Author SHA1 Message Date
Nikolai Norum Hansen
71f9775e37
Issue 422 (#562)
* Ensure linq deferred execution when saving enumerable

* Consolidate some code between DataReader and Enumerable

* Add test for issue 422 linq deferred execution

* Remove genericType out parameter

* Use index instead of count for variable names
2024-01-28 11:21:28 +08:00
Paweł Szybiak
cd1166cc10
Using DynamicConfiguration when writing data using DataTable (#561)
Co-authored-by: Paweł Szybiak <pawel.szybiak@vsoft.pl>
2024-01-20 17:33:00 +08:00
Wei Lin
cfdc452a98 doc: benefit link 2024-01-14 15:43:30 +08:00
Paweł Szybiak
3d63587d9c
Read empty string as null (#555) (#556)
Co-authored-by: Paweł Szybiak <pawel.szybiak@vsoft.pl>
2024-01-07 21:05:21 +08:00
Wei Lin
55153d87df
01/13 希望能更換掉民進黨
01/13 希望能更換掉民進黨
2024-01-07 13:15:04 +08:00
Wei
dfabbf0c52 [doc] update dapper query description 2023-12-27 12:04:37 +08:00
Peter Parke
8bf92ac5d2
Update README.zh-CN.md (#554)
update Dapper demo
2023-12-27 12:00:00 +08:00
Wei
4baaf46974 [Unit Test] Issue 553 2023-12-27 09:47:29 +08:00
Wei
bd1f7d5b21 [doc] Fix dapper query wrong description #552 2023-12-27 09:23:03 +08:00
Wei
e1b79513bb [Bug] SaveAsByTemplate rowInfo.IEnumerableMercell.Height null exception 2023-12-27 08:44:40 +08:00
Paweł Szybiak
abfc7adcb8
Throw custom exception when column not found (#543)
Co-authored-by: Paweł Szybiak <pawel.szybiak@vsoft.pl>
2023-12-13 20:19:41 +08:00
Wei
205c763625 update desc 2023-10-30 08:23:22 +08:00
阿翰
02fc4d4856
!12 解决数据库字段映射实体类型是枚举类型时,有脏数据的情况下解释出来类型信息出错的问题
Merge pull request !12 from wulaohu/master
2023-09-19 07:59:33 +00:00
wulaohu
62806c3aac 解决数据库字段映射实体类型是枚举类型时,有脏数据的情况下解释出来类型信息出错的问题 2023-09-07 10:31:31 +08:00
Wei
f1498a2d16 update documents 2023-08-10 15:17:30 +08:00
eynarhaji
ee2b198aff
Add support for merge limit (#521)
* add support for grouped cells

* fix for rows after endgroup

* minor fix for text after grouping

* fix unit tests

* fix unit tests and docs

* minor fix

* Add support to vertical merge cells

* minor fixes in merge cells

* minor fix

* fix complex scenario

* finalize changes

* Add support for if/elseif/else statements

* add merge tag

* add merge-tag

* update readme

* minor fix

* minor fix

* minor fix

* Update MiniExcelLibs.csproj

* Add support for merge limit

* update test cases

* rollback

---------

Co-authored-by: Wei Lin <shps951002@gmail.com>
2023-08-09 14:18:57 +08:00
eynarhaji
9811ef9fbb
Add @merge and @endmerge tags (#519)
* add support for grouped cells

* fix for rows after endgroup

* minor fix for text after grouping

* fix unit tests

* fix unit tests and docs

* minor fix

* Add support to vertical merge cells

* minor fixes in merge cells

* minor fix

* fix complex scenario

* finalize changes

* Add support for if/elseif/else statements

* add merge tag

* add merge-tag

* update readme

* minor fix

* minor fix

* minor fix

* Update MiniExcelLibs.csproj

---------

Co-authored-by: Wei Lin <shps951002@gmail.com>
2023-08-07 18:27:29 +08:00
ivan132
c592b7723a
bugfix:修复R1C1引用转A1引用 bug (#515) 2023-07-21 09:45:36 +08:00
Grzegorz Gruszczyk
986af41289
Make use of dynamic columns when generating sheet by IDataReader to change column names & widths (#514) 2023-07-21 09:42:31 +08:00
Wei
b009975ca3 Doc : qq group - 3 2023-07-07 16:23:50 +08:00
Wei Lin
e86c3dd9e2 [Doc] remark and doc of support property cache #23 (via @RRQM_Home) 2023-06-22 13:57:02 +08:00
阿翰
6517fb2d48
!11 将反射赋值优化为表达式树赋值
Merge pull request !11 from 若汝棋茗/master
2023-06-19 16:06:11 +00:00
若汝棋茗
81d602208d 将反射赋值优化为表达式树赋值 2023-06-19 09:37:27 +08:00
0MG-DEN
7850be8b6f
Fix EnableWriteNullValueCell null error (#500)
* Fix EnableWriteNullValueCell null error

* Revert previous if/else statement
2023-06-15 22:03:00 +08:00
plcly
ee3c1efac4
Fix DateTime Style Error (#502)
Co-authored-by: admin <admin@DESKTOP>
2023-06-15 22:02:15 +08:00
Wei Lin
645a7cf87a update version and doc cn 2023-05-28 12:24:22 +08:00
Wei Lin
c62b881e27 Fix EnableWriteNullValueCell bool error 2023-05-28 12:10:29 +08:00
0MG-DEN
42eab33e45
Add option to skip null values when writing to Excel (#497)
* Add option to skip null values when writing to Excel

* Rename option to skip null values

* Update README
2023-05-28 11:55:56 +08:00
Argo Zhang
b8c3e3dc36
fix: 修复读取 sheet 错误问题 (#493) 2023-05-28 11:53:15 +08:00
Jean-Sébastien Gervais
7a1958100c
489 fix calc chain.xml (#491)
* flush and recreate xl/calChain.xml file containing index of cell with functions.  Need to parse worksheets.xml.rels to get worksheet ids

* need to reopen stream after StreamWriter gets disposed out of it's using context

---------

Co-authored-by: Jean-Sebastien Gervais <jsgervais84@gmail.com>
Co-authored-by: Wei Lin <shps951002@gmail.com>
2023-05-09 22:28:15 +08:00
Wei Lin
171b881944 Merge branch 'master' of https://github.com/shps951023/MiniExcel 2023-05-09 22:19:38 +08:00
Jean-Sébastien Gervais
38a1796e4b
parse class public properties and public fields (#490)
* parse class public properties and public fields

* cleaner; the else non will never hit as PropertyInfoOrFieldInfo = None only happens for dictionnary row info, which is handled in another if else branch

---------

Co-authored-by: Jean-Sebastien Gervais <jsgervais84@gmail.com>
2023-05-09 22:16:11 +08:00
Wei Lin
5490a02409 update CN document 2023-05-02 00:44:28 +08:00
eynarhaji
0559847ecc
Add supprt for if/elseif/else statements inside cell (#487)
* add support for grouped cells

* fix for rows after endgroup

* minor fix for text after grouping

* fix unit tests

* fix unit tests and docs

* minor fix

* Add support to vertical merge cells

* minor fixes in merge cells

* minor fix

* fix complex scenario

* finalize changes

* Add support for if/elseif/else statements
2023-05-02 00:36:15 +08:00
Vinicius Lourenço
1bd853affe
fix: bad csv (#472)
* feat(csv): add option to force quotes in all csv

* fix(csv): quote the delimiter and also \n and \r
2023-03-12 10:25:32 +08:00
eynarhaji
5a941f7b5b
Minor fixes in group merges (#469)
* add support for grouped cells

* fix for rows after endgroup

* minor fix for text after grouping

* fix unit tests

* fix unit tests and docs

* minor fix

* Add support to vertical merge cells

* minor fixes in merge cells

* minor fix

* fix complex scenario

* finalize changes
2023-02-22 18:09:05 +08:00
Wei Lin
6358ce4efd doc : add chinese readme desc 2023-02-21 23:03:17 +08:00
eynarhaji
b8f08a6697
Add support for merge vertical cells automatically (#467)
* add support for grouped cells

* fix for rows after endgroup

* minor fix for text after grouping

* fix unit tests

* fix unit tests and docs

* minor fix

* Add support to vertical merge cells
2023-02-20 21:45:08 +08:00
eynarhaji
1520b76fd3
add support for grouped cells (#464)
* add support for grouped cells

* fix for rows after endgroup

* minor fix for text after grouping
2023-02-15 22:23:01 +08:00
Wei Lin
83d1208a51 doc : update release 2023-02-07 22:41:46 +08:00
Vinicius Lourenço
2f1d29f500
fix: expose config for get sheet names (#461) 2023-02-07 22:38:33 +08:00
Wei Lin
4a45f045c3 [New] support function to custom separator 2023-01-07 13:52:18 +08:00
阿翰
496cb48c87
!10 为 CsvConfiguration 增加 SplitFn
Merge pull request !10 from 韩严重/SplitFn
2023-01-07 05:39:45 +00:00
韩严重
49cb28c718
CsvConfiguration 添加 SplitFn 委托
Signed-off-by: 韩严重 <huarui2219@qq.com>
2022-12-29 19:36:03 +00:00
Wei Lin
a319bdb682 update doc 2022-12-27 16:22:32 +08:00
Wei Lin
418a1093c4 [New] support excel enum description string to enum #289 2022-12-27 16:16:39 +08:00
Wei Lin
24a31c33e3 Merge branch 'master' of https://github.com/shps951023/MiniExcel 2022-12-27 15:28:29 +08:00
阿翰
596bfd827e
!9 可从Enum的[Description]特性读取对应的值
Merge pull request !9 from KaneLeung/master
2022-12-27 07:27:12 +00:00
dependabot[bot]
97bd05df42
Bump Newtonsoft.Json from 13.0.1 to 13.0.2 in /tests/MiniExcelTests (#456)
Bumps [Newtonsoft.Json](https://github.com/JamesNK/Newtonsoft.Json) from 13.0.1 to 13.0.2.
- [Release notes](https://github.com/JamesNK/Newtonsoft.Json/releases)
- [Commits](https://github.com/JamesNK/Newtonsoft.Json/compare/13.0.1...13.0.2)

---
updated-dependencies:
- dependency-name: Newtonsoft.Json
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-27 14:19:19 +08:00
Wei Lin
4caccb0766 Remove benchmark project load 2022-12-27 13:27:53 +08:00