Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Create PowerPoint 2007 presentation from a template

I need to create a PowerPoint 2007 presentation from a template with Open XML Format SDK 2.0. The template has to be provided by the customer and is used for a individual layout style (font, background color or image,...). It needs to contain two predefined slides:

  • Text slide
  • Image slide

The application should now create a copy of the template file, create multiple copies of the text- and image slides and replace the content-placeholders with some content.

I already found some code snippets from Microsoft to edit the title of a slide, delete them or replace a image on a slide. But i didn't find out how i can create a copy of a existing slide. Maybe somebody can help me with this.

like image 281
Alexander Avatar asked Nov 15 '22 16:11

Alexander


1 Answers

I have been looking around for a similar answer and have found some resources to share:

http://msdn.microsoft.com/en-us/library/cc850834(office.14).aspx

or more samples

http://msdn.microsoft.com/en-us/library/cc850828(office.14).aspx

or this website

http://www.openxmldeveloper.com

There is also this free book documenting the OpenXML standard which was somewhat helpful.

like image 194
Norman H Avatar answered Dec 10 '22 13:12

Norman H