bengbengbalabalabeng commented on issue #773:
URL: https://github.com/apache/fesod/issues/773#issuecomment-3710564107
Based on my current understanding:
Fesod has not yet implemented optimized handling for image cell types during
reading. As a result, the value read from such cells is the image reference
formula as a plain string (e.g., `=DISPIMG("ID_*****", 1)`).
In your example, during the conversion from `QuestionExcel` to
`QuestionFailedExcel`,
the `questionImg` field still retains the original formula string.
Therefore, the exported `questionFailedTemplate` will continue to contain this
formula (in my opinion, this behavior is unrelated to `filedCacheLocation`).
If you want the final exported Excel file to display the original image
instead of the formula, the only current approach is to manually extract the
image using Apache POI during the reading phase,
and then reinsert the image during the writing phase using
`StringImageConverter`.
If anything seems incorrect or if you have additional findings, feel free to
add more details.
--
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]