Embed document in xlsx file with POI

不问归期 提交于 2019-12-22 09:15:02

问题


Is there any way to embed a document (e.g. pdf) in an xlsx file using Apache POI? It seems you can read embedded documents using workbook.getAllEmbedds(), but I can't find a way to insert any when writing a file.


回答1:


This should help: similar question with answer User has created a patch for Apache poi with which you can include arbitary file into excel sheet patch link here

Hope this helps.



来源:https://stackoverflow.com/questions/10280687/embed-document-in-xlsx-file-with-poi

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!