Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where can I find good documentation on OpenXML

I'm looking to create powerpoint file in OpenXML.

I'm looking to use the following features

  • Bind bits of the page to an xml file. For example, one tag would be bound to the name field of an xml file. The plan is to simple drop the xml file in the right folder, zip up the template, and rename the file the proper extension and have it just work.
  • I'm looking to have repeating sections of the code. I want the template to work like a datagrid. For example, I want <item><child><name>a</name></child><child><name>b</name></child><child><name>c</name></child></item> in the xml file to create A B C in the correct format on the source file.
  • I want to be able to access vbscript to put conditions into the template so ceratin items are displayed in certain times. I want to change colors based on conditions as well.

Is all of this possible? Where can i find documentation in order to do this using the OpenXML API or whatever toolkit is appropriate?

like image 375
diadem Avatar asked Oct 29 '09 19:10

diadem


2 Answers

Take a look at this Videos and the basics of OpenXml. Since you may be looking for topics with the tags and generating diferent types of files here's a more specific one. Check around to see if you find something meeting your needs.

like image 122
Goows Avatar answered Nov 19 '22 02:11

Goows


Here you have an example of replacing Pictures in a slide maybe that can be a start http://msdn.microsoft.com/en-us/library/bb727373.aspx

like image 37
salgo60 Avatar answered Nov 19 '22 03:11

salgo60