This project has moved and is read-only. For the latest updates, please go here.

Write HTML text in Placeholder in PowerPoint

Oct 10, 2016 at 7:01 AM
I am creating one slide PowerPoint file using open XML in .net c#. I have tagged the placeholder in the PPT which i need to update programatically. I am able to find the placeholder and can update its value from the database.

Now the problem is I need to display some HTML code which user has input using WYSIWYG editor in a same format as user has entered e.g. like in bullets.

When i try to replace the place holder with the HTML text, the HTML text was pasted as is like all the tags etc.

Please advice how to use Html to OpenXml ddl to achieve the result.
Coordinator
Oct 10, 2016 at 9:21 PM
Hello,

This library wasn't intended to output inside PowerPoint nor Excel, mainly on Word.
You have to know that for bold, italic etc it's ok. But the bullet list is tricky because it needs to register the list style inside other parts.

Have you try a solution with altChunk? http://stackoverflow.com/questions/8436472/is-altchunk-valid-within-presentationml