Skip to content

Excel模板导出支持图片 #62

Description

@tiansfather

给dto中的属性加了ExportImageField没有用
image

Activity

  1. hueifeng commented on Mar 21, 2020

    @hueifeng
    Member

    Through the above code, I judge that he is correct.
    Suggested examples or can you refer to
    https://github.com/dotnetcore/Magicodes.IE/blob/master/docs/8.Excel%E5%9B%BE%E7%89%87%E5%AF%BC%E5%85%A5%E5%AF%BC%E5%87%BA.md

  2. tiansfather commented on Mar 21, 2020

    @tiansfather
    Author

    示例不是基于模板的导出。
    模板导出还有另一个问题是不支持表格中的单元格合并,如下图,存在行合并时,导出会报错
    image
    image

  3. hueifeng commented on Mar 21, 2020

    @hueifeng
    Member

    Exporting images with templates is not supported at this time, we will process them, and welcome to submit PR
    现在不支持图片导出到模板,我们会进行处理的,同时也欢迎向我们提交PR

  4. self-assigned this
    on Mar 31, 2020
  5. changed the title [-]如何导出图片到模板?[/-] [+]Excel模板导出支持图片[/+] on Mar 31, 2020
  6. added this to the 2.2 milestone on Apr 1, 2020
  7. xin-lai commented on Apr 2, 2020

    @xin-lai
    Collaborator

    这个功能即将发布。支持合并的单元格我们开了个新的Issue #72

  8. added a commit that references this issue on Apr 2, 2020
  9. xin-lai commented on Apr 2, 2020

    @xin-lai
    Collaborator

    已发布2.2.0-beta8,支持以下渲染语法:

    {{Image::ImageUrl?Width=50&Height=120&Alt=404}}
    {{Image::ImageUrl?w=50&h=120&Alt=404}}
    {{Image::ImageUrl?Alt=404}}
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingenhancementNew feature or request

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions