Re: Rendering TeX formulas as equation objects in XLSX

Andreas Reichel <[email protected]>
Newsgroups gmane.comp.jakarta.poi.user
Organization manticore-projects Co. Ltd.
Message-ID <53adf769971086748349663cf5c24a72f3195805.camel@manticore-projects.com>
Cosima,

unfortunately it looks like you would need to go via XSSFSheet --> 
getCTWorkbook()

https://poi.apache.org/apidocs/dev/org/apache/poi/xssf/usermodel/XSSFWorkbook.html#getCTWorkbook

Good luck.
Andreas



On Fri, 2020-10-23 at 17:43 +0200, Cosimo wrote:
> 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 -> ??
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.