Re: Rendering TeX formulas as equation objects in XLSX
Cosimo <[email protected]>
| Newsgroups | gmane.comp.jakarta.poi.user |
|---|---|
| Message-ID | <[email protected]> |
On Fri, Oct 23, 2020, at 14:09, Cosimo wrote: > On Fri, Oct 23, 2020, at 12:11, Andreas Reichel wrote: > > > And this shows how to use > > it: https://stackoverflow.com/questions/46623554/add-latex-type-equation-in-word-docx-using-apache-poi > > Seems to be a good approach, thanks! I am not familiar with poi, but I can't see any way to add a "omath object", whatever these things are called, to an XSSFWorkbook. Based on that SO post, for Word, the path is `doc.createParagraph()` and then `paragraph.getCTP().addNewOMath()`. For an XSSFWorkbook, how would one get there? Sheet -> Drawing -> CTDrawing -> ?? -- Cosimo