Skip to content

Picture export

清沐 edited this page Feb 22, 2020 · 1 revision

DefaultExcelBuilder、DefaultStreamExcelBuilder

Image export attribute definition:

@ExcelColumn(fileType = FileType.IMAGE)
File image;

⚠️Please note that the property type must be file, and other type support will be added later.

Template

td cell contains pictures

<td>
   <img src="Absolute path of picture"/>
</td>
Clone this wiki locally