Skip to main content
Magicodes.IE.Html package icon

Magicodes.IE.Html

Import and export general library, support Dto import and export, template export, fancy export and dynamic export, support Excel, Csv, Word, Pdf and Html. 导入导出通用库,支持Dto导入导出、模板导出、花式导出以及动态导出,支持Excel、Csv、Word、Pdf和Html。 开源库地址:https://github.com/xin-lai 博客地址:http://www.cnblogs.com/codelove/ 更新记录:https://github.com/dotnetcore/Magicodes.IE/blob/master/RELEASE.md 公众号:麦扣聊技术 交流QQ群:85318032 **2022.04.17** - 优化了ColumnIndex在生成模板时的实现,增加了ColumnIndex的单测(见PR[#385](https://github.com/dotnetcore/Magicodes.IE/pull/385))。 - 添加了NPOI的独立扩展包——Magicodes.IE.Excel.NPOI,以便于后续给用户提供更多的支持。目前仅提供了 SaveToExcelWithXSSFWorkbook 扩展方法。 - 修复RequiredIfAttribute的Bug。 - 修复导出JPG图片在Linux环境下可能引起的无限循环的问题(见PR[#396](https://github.com/dotnetcore/Magicodes.IE/pull/396))。 - Excel图片导入时,图片列支持为空。 - 更新CsvHelper到最新版本,并修改相关代码。 **2022.03.06** - 完善筛选器注册机制,在指定了特性ImportHeaderFilter、ExporterHeaderFilter等值后,筛选器将匹配对于的类型,如不指定则作为全局筛选器。 **2022.03.02** - Excel导入时增加回调函数,方便增加自定义验证 - 优化获取DisplayName的逻辑 - 导出CSV支持ColumnIndex - 优化Pdf导出逻辑,统一各平台导出代码

Total Downloads
914.5K
914,463
Published
Apr 17, 2022
Latest stable version

Install

.NET CLI
dotnet add package Magicodes.IE.Html --version 2.6.4
Package Manager Console
Install-Package Magicodes.IE.Html -Version 2.6.4
PackageReference
<PackageReference Include="Magicodes.IE.Html" Version="2.6.4" />

Frameworks

.NETStandard2.0 .NETStandard2.1

Dependencies

Magicodes.IE.Core
.NETStandard2.0
[2.6.4, )
[2.2.0, )
Magicodes.IE.Core
.NETStandard2.1
[2.6.4, )
[2.2.0, )

Adoption guide

Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.

No SPDX license expression is published. Review the license text and your organisation's policy before redistribution.

Compatibility metadata lists 2 target frameworks; confirm the exact target used by your application.

How to read this guidance

Sources: published NuGet v3 registry metadata and explicit NuBrowse editorial guides. Refresh: package metadata is refreshed from NuGet when the page loads. Limit: this is not a security, legal or compatibility guarantee; validate the selected version in your project.

Useful next steps

Move from package metadata to a concrete selection or review workflow.