HTML to pptx using apache POI

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

HTML to pptx using apache POI

Nikunj Khandelwal
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: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: HTML to pptx using apache POI

kiwiwings
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: [hidden email]
For additional commands, e-mail: [hidden email]