Commit Graph

102 Commits

Author SHA1 Message Date
Wei Lin
b7bc3cce57 Bug: fix sharedStrings ref #549 2024-05-12 17:44:27 +08:00
AZ
e8fb1a564d
fix #585 (#586)
* fix #585

* fix issue number in test
2024-04-27 08:18:12 +08:00
Wei Lin
4a480727c2 Merge branch 'master' of https://github.com/shps951023/MiniExcel 2024-03-06 15:44:16 +08:00
Wei Lin
6151c3f335 Fix propInfo.Key missing 2024-03-06 15:24:01 +08:00
Paweł Szybiak
e6a481383d
Add functionality that allows you to read and write the visibility of excel sheets (Issue #531) (#563)
* Read and write excel documents using DynamicExcelSheet and ExcelSheetAttribute

* Fix in generating the default sheet name

---------

Co-authored-by: Paweł Szybiak <pawel.szybiak@vsoft.pl>
2024-02-03 13:02:29 +08:00
Wei
4baaf46974 [Unit Test] Issue 553 2023-12-27 09:47:29 +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
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
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
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
WeiLin
b01e28c5df [Bug] Fixed MiniExcel.SaveAsByTemplate error when value is List<Dictionary<string, object>> #413 2022-09-09 23:02:52 +08:00
Wei Lin
d2255c6acb
Merge pull request #357 from Weilence/feat-merge-attribute
[New] Add a merge attribute
2022-04-03 13:41:03 +08:00
Wei
f9d3a2b370 - [Bug] Fixed QueryAsDataTable read big file will throw NotImplementedException #360
- [Doc] Reading big file by disk-base cache
2022-04-03 13:17:50 +08:00
罗威
4868c77ec8 [New] Add a merge attribute 2022-04-02 23:22:52 +08:00
danielshih
bc2f9070f0 async enhancement.
1. add cancellationToken
2. add ConfigureAwait avoid UI context Switch.
2022-03-26 22:29:49 +08:00
Wei
7c065eb93e [Bug] Fixed multiple threads Async error 'The given key N was not present in the dictionary' #344 2022-03-18 13:29:50 +08:00
Wei
03ce5b70c2 - [Bug] Fiexd Query multiple same title will cause startcell to get wrong column index #I4YCLQ
- [OPT] Optimize Query<T> algorithm
2022-03-18 01:27:47 +08:00
Wei
73cc5fe583 Test : add gb2312 unit test 2022-03-14 09:09:35 +08:00
Wei
9d23e32c9b - [New] Query support strict open xml, thanks [Weilence (Lowell)](https://github.com/Weilence) #335
- [New] SaveAs use the configured CultureInfo to write format cell value, thanks [0xced (Cédric Luthi)](https://github.com/0xced) #333
- [New] SaveAsByTemplate will clean template string when parameter is IEnumerable and empty collection. #I4WM67
2022-03-09 23:15:11 +08:00
Wei
6ae635bf26 [New] SaveAsByTemplate default ignore template missing parameter key exception, OpenXmlConfiguration.IgnoreTemplateParameterMissing can control it. #I4WXFB 2022-03-09 22:48:15 +08:00
罗威
f0bce37e82 支持Strict Open Xml 2022-03-08 18:24:29 +08:00
罗威
a7a18b0040 支持Strict Open Xml 2022-03-08 17:18:04 +08:00
Wei
f2f5e6d497 [Bug] SaveAs file error (Excel cell max length 32,767 characters) #327 2022-02-12 15:51:57 +08:00
Wei
5db234d019 - [New] SaveAs support to custom CultureInfo #316
- [New] Query support to custom CultureInfo #316
2022-02-12 09:51:08 +08:00
Wei
09ec6fd124 - [New] Query support ExcelInvalidCastException to store column, row, value data #309
- [Opt] Query code refactoring
2022-01-22 11:32:43 +08:00
Wei
0ee399d4f0 - New : SaveAs support convert bytes to base64 to store data #318
- Fix : File convert to base64 value out of cell
#319
2022-01-21 15:12:48 +08:00
Wei
45e4a57c20 [New] SaveAs support image #304 2022-01-21 12:01:22 +08:00
Wei
fb30be7bd3 Fix : image can read from file path 2022-01-21 11:17:01 +08:00
Wei
33e977dde1 New : SaveAs support image 2022-01-20 14:48:05 +08:00
Wei
3c2b6314ef New - SaveAsByTemplate supports datareader #I4HL54 2021-11-19 10:12:14 +08:00
wei
9a05683bf1 [New] QueryAsDataTable remove empty column keys. #298 2021-10-25 17:02:24 +08:00
wei
f5e990731d [Bug] Fix SaveAsByTemplate & convert to &amp; 2021-10-21 17:04:10 +08:00
wei
c415e3422f [New] SaveAs default style with autoFilter mode. #190 2021-10-21 15:51:56 +08:00
wei
c9ba67255d - [New] Add ConvertCsvToXlsx、ConvertXlsxToCsv method. #292
- [Bug] Fix after CSV Query then SaveAs system will throw "Stream was not readable." exception. #293
2021-09-29 16:08:19 +08:00
wei
db9037bf22 [New] Query strong type support multiple column names mapping to the same property. 2021-09-10 17:21:29 +08:00
wei
417b1b79d5 Code Refacturing & document fix 2021-07-30 08:45:26 +08:00
wei
1b748e6659 - [OPT] Clearer exception message when file is illegal excel zip format. #272
- Code refacturing
2021-07-02 13:41:28 +08:00
wei
0904a80d10 0.17.2
-[Bug] Fix v0.16.0-0.17.1 custom format contains specific format (eg:`#,##0.000_);[Red]\(#,##0.000\)`), automatic converter will convert double to datetime #267
2021-06-30 17:21:15 +08:00
wei
a373015e37 0.17.1
- [New] Add QueryAsDataTableAsync(this Stream stream..)
- [OPT] More clear strong type conversion error message [#I3X2ZL](https://gitee.com/dotnetchina/MiniExcel/issues/I3X2ZL)
2021-06-23 14:59:47 +08:00
ITWeiHan
f2d2faaf7b Convert csv to xlsx #261 2021-06-20 20:52:31 +08:00
ITWeiHan
ab3f27434b [New] SaveAsByTemplate support DateTime custom format #255 2021-06-19 21:32:57 +08:00
ITWeiHan
8996ca1032 add Number Format Records cache 2021-06-17 01:48:57 +08:00
wei
c7658b2c79 tests : add csv gb2312 encoding read test 2021-06-08 10:02:11 +08:00
wei
11296631bf - [Bug] Csv type mapping Query error "cannot be converted to xxx type" #243
- [Bug] No error exception throw when reading xls file #242
- [Breaking Change] Stream cannot know the file type, please specify ExcelType manually
2021-05-20 11:53:43 +08:00
wei
c93faf7765 0.14.8
- [Bug] Fix csv Query split comma not correct #237 #I3R95M
- [Bug] QueryAsDataTable type check problem, e.g A2=5.5 , A3=0.55/1.1 will case double type check error #233
2021-05-18 17:33:18 +08:00
wei
ff9fe627bc 0.14.7
- [New] SaveAs Support Create Multiple Sheets
- [Breaking Change] Change GetSheetNames type IEnumerable<string> -> List<string>
2021-05-13 22:19:10 +08:00
wei
a72b469cdb 0.14.5
- [Breaking Change] Rename OpenXmlConfiguration FillMergedCells
2021-05-12 20:29:08 +08:00
wei
0a8e2fdde3 [Bug] Fix QueryAsDataTable error "Cannot set Column to be null" #229 2021-05-12 16:56:11 +08:00