Commit Graph

179 Commits

Author SHA1 Message Date
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
Wei
e5cc813ab0 [Bug] SaveAs CSV when value is DataTable, if Key contains " then column name will not show "。 #I4WDA9 2022-03-04 16:39:13 +08:00
Wei
14586c739c [Bug] Fix when CultureInfo like Czech will get invalid output with decimal numbers #331 2022-03-03 11:42:46 +08:00
Wei
a222e2a4f8 [New] Support System.ComponentModel.DisplayName's [DisplayName] as title [#I4TXGT] 2022-02-16 16:20:42 +08:00
Wei
c46a03dfc7 [New] Support GetReader method #328 #290 2022-02-14 16:22:59 +08:00
Wei
d016c2c524 [New] New efficiency byte array Converter #327 2022-02-12 16:25:30 +08:00
Wei
3deedcb2e0 - [Breaking Change] Remove Byte Array to base64 Converter
- [Breaking Change] Replace `ConvertByteArrayToBase64String` by `EnableConvertByteArray`
2022-02-12 16:05:05 +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
ebc05c508d [New] Query support to custom CultureInfo 2022-02-10 17:13:11 +08:00
Wei
e4b9a99e2e - [New] SaveAs CSV support to custom CultureInfo
- [Doc] Update logo icon
2022-02-08 10:53:47 +08:00
Wei
57751a2257 [Bug] Fix SaveAs multiple sheet value error "Excel completed file level validation and repair. Some parts of this workbook may have been repaired or discarded." #325 2022-02-07 10:29:47 +08:00
Wei
692198ed93 New : Remove License Code Message 2022-01-28 04:52:39 +08:00
Wei
57bc83a5f4 0.21.1 2022-01-24 00:49:28 +08:00
Wei
991edb6513 Doc : fix wrong version 2022-01-22 17:07:11 +08:00
Wei
a3693db188 [New] ExcelFormat support DateTimeOffset/Decimal/double etc. type format #I49RZH #312 #305 2022-01-22 17:02:16 +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
1416af71c0 - [New] Support byte file import/export
- [New] SaveAs support to convert byte[] value to base64 string
- [New] Query support to convert base64 value to byte[]
- [New] OpenXmlConfiguration add `ConvertByteArrayToBase64String` to turn on/off base64 convertor
2022-01-21 17:21:14 +08:00
Wei
b88428e765 0.20.0 2022-01-21 12:07:17 +08:00
Wei
45e4a57c20 [New] SaveAs support image #304 2022-01-21 12:01:22 +08:00
Wei
9e7abf893e Fix Excelnumberformat 1.1.0 valid date expired (Valid from: 2018-04-10 08:00:00 to 2021-04-14 20:00:00) [link](https://github.com/andersnm/ExcelNumberFormat/issues/34) 2021-12-31 10:00:41 +08:00
Wei
3c2b6314ef New - SaveAsByTemplate supports datareader #I4HL54 2021-11-19 10:12:14 +08:00
Wei
199da34e43 Fix bug : Prefix and suffix blank space will lost after SaveAs #294 2021-11-15 16:43:28 +08:00
Wei
b1f9acb9bf Fix bug : remove ExcelNumberFormat nuget to resolve error NU3037 2021-11-15 16:21:30 +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 & 2021-10-21 17:04:10 +08:00
wei
f6d0d7c22a [New] OpenXmlConfiguration add AutoFilter property. 2021-10-21 16:06:27 +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
abf063d6d0 - [Bug] SaveAs sheet enum mapping cell number type #286
- [New] SaveAs support enum description #I49RYZ
2021-09-13 23:58:01 +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
fa854ba2bb [Breaking Change] SaveAs by empty IEnumerable<StrongType> will generate header now empty rows now. #133 2021-09-10 13:37:49 +08:00
wei
ded3284c39 Doc: fix translation 2021-08-23 10:31:54 +08:00
wei
4a915f65ad [Bug] Fix xlsx file column name with &,<,>,",', the file cannot be opened. 2021-08-20 08:54:51 +08:00
wei
a304c9d96f v0.17.4
- [Bug] Fix v0.17.3 SaveAs xlsx file will cause "XML error : Catastrophic failure"
2021-08-17 16:01:20 +08:00
wei
0fff820132 Fix release doc 2021-08-10 17:10:43 +08:00
wei
94a448d847 0.17.4
- [New] Support set column width #280
- [Bug] Fix csv not support QueryAsDataTable #279
2021-08-10 16:57:07 +08:00
wei
083dffd2fa [Bug] Fix csv not support QueryAsDataTable #279 2021-08-10 14:16:50 +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
ITWeiHan
428bdc628a doc : fix src 2021-06-25 21:36:20 +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
wei
9a2fd59a35 0.17.0
- [New] Support Async/Task #52, contributor: [isdaniel ( SHIH,BING-SIOU)](https://github.com/isdaniel)
2021-06-21 12:04:34 +08:00
ITWeiHan
ab3f27434b [New] SaveAsByTemplate support DateTime custom format #255 2021-06-19 21:32:57 +08:00
wei
4d98d087d1 doc 2021-06-19 18:03:08 +08:00
wei
3298a94b90 Fix Query call convertValueByStyleFormat method repeatedly #259 2021-06-17 17:21:13 +08:00
ITWeiHan
1f67061d38 doc 0.15.5 fix 2021-06-13 14:55:15 +08:00
ITWeiHan
082777f70a [Bug] Chinese env datetime format InvalidCastException #257 2021-06-13 14:42:01 +08:00
wei
2139534438 doc : Csv SaveAs support custom StreamWriter 2021-06-08 17:19:27 +08:00
wei
79fb9c4d5c Fix Csv SaveAs by datareader with encoding default show messy code #253 2021-06-08 17:12:12 +08:00
wei
725317c3f4 CSV SaveAs support datareader 2021-06-08 10:48:34 +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
076042e35f Support Custom Datetime format #241 2021-05-20 10:25:43 +08:00
ITWeiHan
aab9f11242 Sheetxml writer error, it contains two ">" #240 2021-05-19 21:32:41 +08:00
wei
6da40a0c50 0.15.0
- [New] SaveAs change default style and provide style options enum #132
- [New] Support SaveAs by DataSet #235
2021-05-19 17:13:47 +08:00
wei
8bcd362711 Support SaveAs by DataSet #235 2021-05-19 10:23:50 +08:00
wei
d5903b1335 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:32:44 +08:00
wei
9b6079646e 0.14.7
- [New] SaveAs Support Create Multiple Sheets
- [Breaking Change] Change GetSheetNames type IEnumerable<string> -> List<string>
2021-05-13 22:18:31 +08:00
wei
1463c16ba0 0.14.6
- [Bug] Fix SaveAs by datareader error "Invalid attempt to call FieldCount when reader is closed" #230
2021-05-13 11:41:07 +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
wei
78001a7d8e [New] Query support Fill Merged Cells Down #122 2021-05-12 16:33:06 +08:00
wei
c0799b933d Support Xlsm AutoCheck #227 2021-05-10 15:14:58 +08:00
wei
64071b196e Fix asp.net webform gridview datasource can't use miniexcel queryasdatatable #223 2021-05-07 13:10:05 +08:00
wei
8f3d521600 0.14.1
- [Bug] Fix custom m/d format not convert datetime #222
2021-05-07 10:02:13 +08:00
wei
33c3a191cc 0.14.0
- [New] Query、GetColumns support startCell #147
- [New] GetColumns support read headers
2021-05-06 15:47:08 +08:00
wei
44b89cccac 0.13.5
- [New] Support QueryAsDataTable method [#216](https://github.com/shps951023/MiniExcel/issues/216)
- [New] SaveAs support IDataReader value parameter [#211](https://github.com/shps951023/MiniExcel/issues/211)
- [Bug] Fix numeric format string will be cast to numeric type [#I3OSKV](https://gitee.com/dotnetchina/MiniExcel/issues/I3OSKV)
- [Opt] Optimize SaveAs convert value type logic to improve performance
2021-04-30 17:59:12 +08:00
wei
8a455901ba [New] Support QueryAsDataTable method [#216](https://github.com/shps951023/MiniExcel/issues/216) 2021-04-30 16:21:29 +08:00
wei
9dc4925a68 Fix numeric format string will be cast to numeric type #I3OSKV
e0044d8
Query refacturing code
2021-04-30 14:45:47 +08:00
wei
3469d7f5b8 [OPT] Optimize stream excel type check #215 2021-04-26 11:48:09 +08:00
wei
cd1a71a6f6 [New] Type Query support Enum mapping #89 2021-04-26 11:28:10 +08:00
wei
e1247018b3 doc 2021-04-23 14:28:24 +08:00
wei
093ce71f2d [Bug] Fixed MiniExcel.SaveAs(path, value,sheetName:"Name"), the actual sheetName is Sheet1 2021-04-22 14:42:43 +08:00
wei
760bd5e851 [Bug] Fixed SaveAsByTemplate when merge cells will cause collection rendering error [#207] 2021-04-22 13:57:37 +08:00
wei
feb46c9c89 - [Breaking Change] Change CSV SaveAs datetime default format : "yyyy-MM-dd HH:mm:ss"
- [New] Support Linux ubuntu dotnet test
- [New] Support Github CI
2021-04-21 19:23:48 +08:00
wei
3aeae7df7a - [New] Support open with read only mode, avoid error of The process cannot access the file because it is being used by another process #87 2021-04-20 16:19:47 +08:00
wei
9b593cb474 0.13.2
- [Bug] Fix Column more than 255 rows cannot be read error [#208](https://github.com/shps951023/MiniExcel/issues/#208)
2021-04-20 09:57:15 +08:00
wei
7c2a4dd337 ASP.NET Core 3.1 or MVC 5 Download Excel Xlsx API Demo 2021-04-19 15:15:06 +08:00
ITWeiHan
ff746cf928 SaveAsByTemplate support input IEnmerable<IDicionary<string,object>> or DapperRows or DataTable parameters 2021-04-18 12:39:40 +08:00
ITWeiHan
fbfca6354e - [New] SaveAsByTemplate support input IEnmerable<IDicionary<string,object>> or DapperRows parameters [#201](https://github.com/shps951023/MiniExcel/issues/201) 2021-04-18 11:59:34 +08:00
ITWeiHan
61d816f477 - [Bug] Fix after stream SaveAs/SaveAsByTemplate, miniexcel will close stream [#200](https://github.com/shps951023/MiniExcel/issues/200) 2021-04-18 10:57:50 +08:00
wei
47058efda5 ### 0.13.0
- [New] Support .NET Framework 4.5
- [Bug] Fix template excel that with namespace prefix will cause parsing error #193
- [OPT] Optimize template paresing performance
2021-04-16 19:32:49 +08:00
wei
1be832d8bd 0.12.2
- [Bug] Template concating cell value type problem #179
- [Bug] Template fix non-nullable numeric type cell type is 'str' #180
2021-04-15 11:00:53 +08:00
wei
427ba279fb - [New] Support GetColumns method #174 2021-04-14 22:28:43 +08:00
wei
bb250dc53b doc 2021-04-14 14:37:55 +08:00
ITWeiHan
6dea49daa4 0.12.0-beta
- [New] Support `Filling Excel` by SaveAsByTemplate method to fill data into excel by xlsx template
2021-04-13 23:33:01 +08:00
wei
d1a0871686 [New] Support Filling Excel by SaveAsByTemplate method to fill data into excel by xlsx template 2021-04-13 15:19:39 +08:00
ITWeiHan
d152187679 add chinese release version readme 2021-04-10 16:09:57 +08:00
ITWeiHan
51442c47f7 doc 2021-04-10 03:28:44 +08:00
ITWeiHan
5cba1efe2d 0.11.1
- [New] Support Support ColumnIndex Attribute [#142](https://github.com/shps951023/MiniExcel/issues/142) & [#I3I3EB](https://gitee.com/dotnetchina/MiniExcel/issues/I3I3EB)
- [Bug] Fix issue #157 : Special conditions will get the wrong worksheet name
- [Update] issue #150 : SaveAs input IEnuerable<valuetype> should throw clear msg exception
2021-04-10 03:01:13 +08:00
wei
19db8a20ac doc 2021-04-08 14:40:57 +08:00
wei
64ab488282 Support CsvConfiguration set newLine & seperator & GetStreamReaderFunc 2021-04-08 14:39:33 +08:00
wei
485c8b664c 0.11.0
- [New] Added GetSheetNames method support multi-sheets Query
- [New] Query support by sheet name
- Optimiz SaveAs/Query excel file type auto-check
2021-04-08 10:22:50 +08:00
wei
a15dd8813e [New] Query support getting rows from sheet name 2021-04-07 12:04:40 +08:00
wei
6f42069b0a Optimiz SaveAs/Query excel file type auto-check 2021-04-07 10:05:08 +08:00
wei
b354b947f6 0.10.3
Fix #149 Query sharedstring control characters not encoding
2021-04-06 17:05:11 +08:00
wei
340793574d Fix issue #149 Query sharedstring control characters not encoding 2021-04-06 17:01:20 +08:00
wei
be6ca59911 doc 2021-04-06 10:44:54 +08:00
wei
0f6d5bf0df 0.10.2
Fix Issue153 : SharedStrings get wrong index
2021-04-06 10:38:08 +08:00
ITWeiHan
740d28bd21 0.10.1
- [New] SaveAs support POCO excel column name/ignore attribute
2021-04-05 01:39:10 +08:00