You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@poi.apache.org by Nikunj Khandelwal <kh...@gmail.com> on 2020/11/11 04:42:29 UTC

HTML to pptx using apache POI

Hi Developers,

I was checking Apache POI, but couldnt find any option where I can create a Power Point element like table or paragrph usinmg html as input. And the newly created element retain all the formatting. Any pointer here will be helpful.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@poi.apache.org
For additional commands, e-mail: user-help@poi.apache.org


Re: HTML to pptx using apache POI

Posted by Andreas Beeker <ki...@apache.org>.
Hi Nikunj,

this [1] is quite an old entry which shows how to parse html and use it to create a docx.
A similar approach might be possible with XSLF.
The hope to "retain all the formatting" depends on how much effort you want to put in the mapping -
there's no ready to use solution from the POI project ...

Andi

[1] https://stackoverflow.com/questions/17800017/writing-styled-text-to-a-docx-file/17823048#17823048


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@poi.apache.org
For additional commands, e-mail: user-help@poi.apache.org