Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

添加对Abp Vnext模块的封装和支持 #318

Closed
10 tasks done
xl-wenqiang opened this issue Aug 24, 2021 · 4 comments
Closed
10 tasks done

添加对Abp Vnext模块的封装和支持 #318

xl-wenqiang opened this issue Aug 24, 2021 · 4 comments
Assignees
Labels
enhancement New feature or request

Comments

@xl-wenqiang
Copy link
Collaborator

xl-wenqiang commented Aug 24, 2021

  • Magicodes.IE.Excel.Abp(MagicodesIEExcelModule
    • 注册IExcelExporter、IExcelImporter、IExportFileByTemplate
  • Magicodes.IE.Csv.Abp(MagicodesIECsvModule
    • 注册ICsvExporter、ICsvImporter
  • Magicodes.IE.Html.Abp(MagicodesIEHtmlModule
    • 注册IHtmlExporter
  • Magicodes.IE.Pdf.Abp(MagicodesIEPdfModule
    • 注册IPdfExporter
  • Magicodes.IE.Word.Abp(MagicodesIEWordModule
    • 注册IWordExporter
@xl-wenqiang
Copy link
Collaborator Author

如何使用?

  • 添加包
    <PackageReference Include="Magicodes.IE.Excel.Abp" Version="2.5.5.2" />
    <PackageReference Include="Magicodes.IE.Pdf.Abp" Version="2.5.5.2" />
  • 添加模块依赖
    [DependsOn(
    typeof(MagicodesIEExcelModule),
    typeof(MagicodesIEPdfModule)
    )]
  • 通过构造函数或者其他方式注入IExcelExporter等对象,然后直接使用

@YoChen
Copy link

YoChen commented Jul 14, 2022

请问:Magicodes.IE.Excel.Abp 是否不包含 Magicodes.IE.Excel.AspNetCore ? 如果使用了导出通用类 XlsxFileResult 还需要单独引用 Magicodes.IE.Excel.AspNetCore 组件?

@liquehuo
Copy link

liquehuo commented Mar 7, 2023

请问下 导出DTO的DisplayName 可以实现国际化多语言吗?
[ExporterHeader(DisplayName = "订单号")]

@hueifeng
Copy link
Member

hueifeng commented Mar 7, 2023

请问下 导出DTO的DisplayName 可以实现国际化多语言吗?
[ExporterHeader(DisplayName = "订单号")]

可以看一下拦截器

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants