Magicodes.IE
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.
1,图片导出设置图片归属于单元格,可随单元格隐藏或剪切,复制 2,图片支持只设置宽度,而长度则自适应
`var import = await Importer.Import(stream);` 不根据路径导入时,不返回带提示的execl导入失败文件 希望Stream类型导入时也能返回带提示的execl文件,使文件不落地返回
“通过Dto导出表头ExportHeaderAsByteArray”和“通过动态传值导出表头ExportHeaderAsByteArray”,能否支持按模板导出,也就是根据模板生成新模板。 比如:“模板导出之ExpandoObject动态导出测试DynamicExportWithExpandoObjectByTemplate_Test”示例中,因为BookInfo的属性项不确定,所以模板中的属性也不能写死,希望模板中BookInfo的属性能根据动态类的属性来生成,可否在模板中列头位置加一个标记,然后用“通过Dto导出表头ExportHeaderAsByteArray”导出新的模板,然后再根据新的模板导出TextbookOrderInfo全部信息。
比如样例模板“2020年春季教材订购明细样表.xlsx”是否可有实现在模板中增加一列“书店”,但书店数量需要在程序运行时才确定,可能是:书店1,书店2... 因为列数不确定,没有办法在模板中直接在“出版社”列后面直接增加“书店”列,能否增加列循环功能,类似于{{Table>>,但Table是行复制,这个是列复制。
## 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类型,读取的数据是常规中的整数  Model代码:  主函数与运行结果:  ,
对于模型的属性设置`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,...
### 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...
导出支持模板导出,导入不支持根据模板导入,希望添加 还有导出分组也不支持
Magicodes.IE.Excel 2.6.4 当导入的excel文件里,中间某一列标题行的单元格没内容,这一列右边的列都会报"当前导入模板中未找到此字段!"。 不清楚是特意设计还是bug?