Hello POI Maintainers, I would like to convert the contents of a .docx file written in Microsoft Word to HTML. For this task, I used Apache POI(5.2.0) + fr.opensagres.xdocreport(2.0.3). But it didn't work for charts and shapes. So I would like to ask if there is a POI package that can help with this problem.
First, before converting the docx document to HTML, I want to read the docx document and change the chart and shape parts to picture data. Then I want to convert the document to html using xdocreport. Can I change charts and shapes entered in the original document into image data? I would like to change a chart and shape into an image, register it in a document, and then convert it to html. If you have a solution, please let me know. code XWPFDocument doc = new XWPFDocument(fs); // I would like to change charts and shapes into image data here. Is there a related package? XHTMLConverter.getInstance().convert(doc, out, options); Yours Sincerely