Search code examples
c#powerpointopenxml

How to create and manipulate powerpoint tables using openXML in C#


i am looking at this example on how to manipulate powerpoint templates from C# and the one thing missing is the ability to manipulate rows in a table. Does anyone have any examples of looping through some set of records and adding rows to a powerpoint table

In particular:

  • Adding and removing rows
  • Word wrap / auto adjusting heights given text length
  • Updating text in cells
  • Dealing with if the number of records would cause the table to span multiple powerpoint slides

Solution

  • In the end, i wound up purchasing aspose.slides which is great and well worth the cost when trying to auto generate powerpoin files.