wxdChinese commented on issue #773:
URL: https://github.com/apache/fesod/issues/773#issuecomment-3712693706
> 根据我目前的理解:
>
> Fesod
尚未实现对图像单元格类型在读取过程中的优化处理。因此,从这些单元格读取的值是图像引用公式的纯字符串(例如,`=DISPIMG("ID_*****", 1)`)。
>
> `QuestionExcel`在你的例子中,从到 的转换过程中`QuestionFailedExcel`,
该`questionImg`字段仍然保留着原始公式字符串。因此,导出的数据`questionFailedTemplate`将继续包含此公式(在我看来,这种行为与
无关`filedCacheLocation`)。
>
> 如果您希望最终导出的 Excel 文件显示原始图像而不是公式,目前唯一的方法是在读取阶段使用 Apache POI 手动提取图像,
然后在写入阶段使用`StringImageConverter`.
>
> 如果发现任何错误或有其他发现,请随时补充细节。
我打断点查看并没有看见如(=DISPIMG("ID_*****", 1))这样或其他的字符串公式,对应的字段上的值是null
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]