Magicodes.IE icon indicating copy to clipboard operation
Magicodes.IE copied to clipboard

Import and export general library, support Dto import and export, template export, fancy export and dynamic export, support Excel, Csv, Word, Pdf and Html.

Results 204 Magicodes.IE issues
Sort by recently updated
recently updated
newest added

1,图片导出设置图片归属于单元格,可随单元格隐藏或剪切,复制 2,图片支持只设置宽度,而长度则自适应

`var import = await Importer.Import(stream);` 不根据路径导入时,不返回带提示的execl导入失败文件 希望Stream类型导入时也能返回带提示的execl文件,使文件不落地返回

enhancement
area-excel

“通过Dto导出表头ExportHeaderAsByteArray”和“通过动态传值导出表头ExportHeaderAsByteArray”,能否支持按模板导出,也就是根据模板生成新模板。 比如:“模板导出之ExpandoObject动态导出测试DynamicExportWithExpandoObjectByTemplate_Test”示例中,因为BookInfo的属性项不确定,所以模板中的属性也不能写死,希望模板中BookInfo的属性能根据动态类的属性来生成,可否在模板中列头位置加一个标记,然后用“通过Dto导出表头ExportHeaderAsByteArray”导出新的模板,然后再根据新的模板导出TextbookOrderInfo全部信息。

比如样例模板“2020年春季教材订购明细样表.xlsx”是否可有实现在模板中增加一列“书店”,但书店数量需要在程序运行时才确定,可能是:书店1,书店2... 因为列数不确定,没有办法在模板中直接在“出版社”列后面直接增加“书店”列,能否增加列循环功能,类似于{{Table>>,但Table是行复制,这个是列复制。

area-excel

## Who is using Magicodes.IE? Sincerely thank everyone who constantly keeps on using and supporting [Magicodes.IE](https://github.com/dotnetcore/Magicodes.IE). We will try our best to make [Magicodes.IE](https://github.com/dotnetcore/Magicodes.IE) better and make the community and...

你好,Magicodes.IE.Excel.AspNetCore中的ImportMultipleSheet有个问题希望可以修复一下,某一个sheet中属性为datetime类型,读取的数据是常规中的整数 ![4885fe924b268a8d3fd953fd0b62906](https://user-images.githubusercontent.com/80997581/176392846-e936d135-1290-4a60-a90d-7f4eee327f30.png) Model代码: ![6f4df9f0c2f956fdf97575c3cc22d8c](https://user-images.githubusercontent.com/80997581/176392910-7f36b3eb-42bb-4306-81bb-695e7d884d4d.png) 主函数与运行结果: ![fd1434802ea8c6c0f79298f1d1616f2](https://user-images.githubusercontent.com/80997581/176392933-73d8f926-f6f2-4486-a8a8-97f3a39d225c.png) ,

area-excel

对于模型的属性设置`IsInterValidation = true`后,调用`GenerateTemplateBytes`生成`Excel`模板抛出异常: ```c# System.InvalidOperationException: The address (A2:A1048576) collides with an existing validation (A2:A1048576) at OfficeOpenXml.DataValidation.ExcelDataValidationCollection.ValidateAddress(String address, IExcelDataValidation validatingValidation) at OfficeOpenXml.DataValidation.ExcelDataValidationCollection.ValidateAddress(String address) at OfficeOpenXml.DataValidation.ExcelDataValidationCollection.AddTextLengthValidation(String address) at Magicodes.ExporterAndImporter.Excel.Utility.ImportHelper`1.SetInterValidation(ExcelWorksheet worksheet, PropertyInfo propertyInfo,...

bug
area-excel

### Expected behaviour Tell us what should happen. ### Actual behaviour Tell us what happens instead. Provide a log message if relevant. ### I'm seeing this behaviour on _Remove this...

area-excel

导出支持模板导出,导入不支持根据模板导入,希望添加 还有导出分组也不支持

Magicodes.IE.Excel 2.6.4 当导入的excel文件里,中间某一列标题行的单元格没内容,这一列右边的列都会报"当前导入模板中未找到此字段!"。 不清楚是特意设计还是bug?

area-excel