GitHub - dotnetcore/Magicodes.IE: Import and export general library, support Dto import and export, template export, fancy export and dynamic export, support Excel, Csv, Word, Pdf and Html. (original) (raw)

Magicodes.IE | 简体中文

Member project of .NET Core Community nuget Build Status stats License

Stargazers over time

Azure DevOps tests (master) Azure DevOps coverage (branch) Financial Contributors on Open Collective

Overview

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

General description

Azure DevOps

For details, see: https://dev.azure.com/xinlaiopencode/Magicodes.IE/_build?definitionId=4&_a=summary

NuGet

Name NuGet
Magicodes.IE.Core NuGet
Magicodes.IE.Excel NuGet
Magicodes.IE.Excel.NPOI NuGet
Magicodes.IE.Excel.AspNetCore NuGet
Magicodes.IE.Pdf NuGet
Magicodes.IE.Word NuGet
Magicodes.IE.Html NuGet
Magicodes.IE.Csv NuGet
Magicodes.IE.AspNetCore NuGet
Magicodes.IE.EPPlus NuGet
Magicodes.IE.Excel.Abp NuGet
Magicodes.IE.Csv.Abp NuGet
Magicodes.IE.Html.Abp NuGet
Magicodes.IE.Pdf.Abp NuGet
Magicodes.IE.Word.Abp NuGet
Magicodes.IE.Stash NuGet

Note

Tutorial

  1. [Basic tutorial of importing student data](/dotnetcore/Magicodes.IE/blob/master/docs/1.Basic tutorial of importing student data.md)
  2. [Basic tutorial of export Excel](/dotnetcore/Magicodes.IE/blob/master/docs/2.Basic tutorial of export Excel.md)
  3. [Basic tutorial of export Pdf receipts](/dotnetcore/Magicodes.IE/blob/master/docs/3.Basic tutorial of export Pdf receipts.md)
  4. [Use in Docker](/dotnetcore/Magicodes.IE/blob/master/docs/4.Use in Docker.md)
  5. [Dynamic Export](/dotnetcore/Magicodes.IE/blob/master/docs/5.Dynamic Export.md)
  6. [Import Multi-Sheet Tutorial](/dotnetcore/Magicodes.IE/blob/master/docs/6.Import Multi-Sheet Tutorial.md)
  7. [Csv Import and Export](/dotnetcore/Magicodes.IE/blob/master/docs/7.Csv Import and Export.md)
  8. [Import and export Excel as pictures](/dotnetcore/Magicodes.IE/blob/master/docs/8. Import and export Excel as pictures.md)
  9. [Excel template export-Export textbook order form](/dotnetcore/Magicodes.IE/blob/master/docs/9.Excel template export-Export textbook order form .md)
  10. Import and Export Filters
  11. Magicodes.IE Fancy Export
  12. [Exporting multiple formats in NETCore via request headers](/dotnetcore/Magicodes.IE/blob/master/docs/12.Exporting multiple formats in NETCore via request headers.md)
  13. [Performance Measurement](/dotnetcore/Magicodes.IE/blob/master/docs/13.Performance Measurement.md)
  14. [Excel Merge Row Cells Import](/dotnetcore/Magicodes.IE/blob/master/docs/Excel Merge Row Cells Import.md)
  15. [Excel template export - dynamic export](/dotnetcore/Magicodes.IE/blob/master/docs/Excel template export - dynamic export.md)
  16. [Magicodes.IE.Excel.AspNetCore Quick Export Excel (new)](/dotnetcore/Magicodes.IE/blob/master/docs/Magicodes.IE.Excel.AspNetCore Quick Export Excel.md)

See below for other tutorials or unit tests

See below for update history.

Features

  {{Company}}  //Cell rendering  
  {{Table>>BookInfos|RowNo}} //Table rendering start syntax  
  {{Remark|>>Table}}//Table rendering end syntax  
  {{Image::ImageUrl?Width=50&Height=120&Alt=404}} //Picture rendering  
  {{Image::ImageUrl?w=50&h=120&Alt=404}} //Picture rendering  
  {{Image::ImageUrl?Alt=404}} //Picture rendering  
  {{Formula::AVERAGE?params=G4:G6}}  //Formula rendering  
  {{Formula::SUM?params=G4:G6&G4}}   //Formula rendering  

Custom pipelines will be supported in the future.

exporter.Append(list1).SeparateByColumn().Append(list2).ExportAppendData(filePath);

For details, see the above tutorial "Magicodes.IE Fancy Export"

[ExporterHeader(Width = 100)] public DateTime Time3 { get; set; }

The support for the built-in data validation can be turned on through the IsInterValidation attribute, and it should be noted that only MaxLengthAttribute, MinLengthAttribute, StringLengthAttribute, and RangeAttribute support the opening operation of the built-in data validation.

Support display operations for input prompts:

Excel Merge Row Cells Import

FAQ

Question List

Update history

Update history

Contributors

Code Contributors

This project exists thanks to all the people who contribute. [Contribute].

Financial Contributors

Become a financial contributor and help us sustain our community. [Contribute]

Individuals

Organizations

Support this project with your organization. Your logo will show up here with a link to your website. [Contribute]