Is it possible to generate powerpoint files from html content strings?

Hi. I can create a powerpoint file using simple text strings, works great. I am using .NETCORE 2.1+ and the Powerpoint file generation library.

However, I cannot see anywhere in documentation that says whether it is possible to send HTML to the powerpoint when making slides? I do see another forum thread where a user is doing HTML-to-PDF,  but I specifically need HTML-to-PPT. (see https://www.syncfusion.com/forums/137840/webkit-amp-syncfusion-libraries-to-generate-a-pdf-from-html)

E.g. given a string containing html formatting like:

<p>ssdsd sdsdf ongoing</p><p>asdfas asdfa sdf sdaf asdf asdfs</p><table class="mce-item-table" style="width: 605px; height: 88px;" data-mce-style="width: 605px; height: 88px;"><tbody><tr><td style="width: 63.11px;" data-mce-style="width: 63.11px;"><p><strong>ID</strong></p></td><td style="width: 526.88px;" data-mce-style="width: 526.88px;"><p><strong>Title</strong></p></td></tr><tr><td style="width: 63.11px;" data-mce-style="width: 63.11px;"><p><a rel='nofollow' href="https://www.bing.com" data-mce-rel='nofollow' href="https://www.bing.com&amp;id=345345">27817</a></p></td><td style="width: 526.88px;" data-mce-style="width: 526.88px;"><ul><li>Item1</li><li>Item2</li><li>Item3</li></ul></td></tr></tbody></table><table class="mce-item-table" style="width: 604px; height: 75px;" data-mce-style="width: 604px; height: 75px;"><tbody><tr><td style="width: 63.47px;" data-mce-style="width: 63.47px;"><p><a rel='nofollow' href="https://www.bing.com&amp;id=564588" data-mce-rel='nofollow' href="https://www.bing.com&amp;id=27888">27888</a></p></td><td style="width: 526.52px;" data-mce-style="width: 526.52px;"><p>Lorem ipsum Lorem ipsum Lorem ipsum</p></td></tr></tbody></table><p><span data-mce-style="font-family: Times New Roman; font-size: medium;"><span data-mce-style="font-family: Calibri; font-size: medium;">Lorem ipsum Lorem ipsum Lorem ipsumLorem ipsum Lorem ipsum Lorem ipsumLorem ipsum Lorem ipsum Lorem ipsumLorem ipsum Lorem ipsum Lorem ipsum.&nbsp; Expecting closure.</span></span></p>

E.g. rather thank something like:

var mySlide = new Slide().
mySlide.AddText ("here is a plain text string");

is it possible to do something like:
var mySlide = new Slide().
mySlide.AddHtml("<table><tr><td>I am going to render out a html table on the powerpoint slide!!</td></tr></table>");

Thanks!




1 Reply

RM Ramaraj Marimuthu Syncfusion Team August 30, 2018 12:49 PM UTC

Hi Dale,

At present, Syncfusion Presentation library do not support HTML to PowerPoint presentation conversion and we do not have immediate plan to implement this feature. We will implement this feature in any of our upcoming releases.

For more details please refer below links,
https://help.syncfusion.com/file-formats/presentation/overview
https://www.syncfusion.com/products/file-formats/presentation

Please let us know if you need any further assistances in this.

Regards,
Ramaraj Marimuthu
 


Loader.
Up arrow icon