Auto generate/merge powerpoint slides

E

e-holder

I am wondering if it is possible to automatically generate a powerpoint
presentation. I would like to write some custom code (Java/C#/VB/C/C++) that
can take a collection of individual graphic images (or individual powerpoint
slides) and merge them into a single presentation. I would like to be able
to insert "spacer slides" with simple custom text at various places in the
merged presentation.

I'm a newbie to MS Office developer topics, but do have programming
expertise including XML/JDOM. My googling hasn't revealed many
possibilities. I found that I can create an RTF file and import it, but I
don't see a way for graphic images to be referenced. I also saw where Open
XML file formats are coming down the pike, which certainly sounds promising.

Any ideas anyone? Any recommendations on where I can go study further?

Thanks,
e-holder
 
S

Steve Rindsberg

I am wondering if it is possible to automatically generate a powerpoint
presentation. I would like to write some custom code (Java/C#/VB/C/C++) that
can take a collection of individual graphic images (or individual powerpoint
slides) and merge them into a single presentation. I would like to be able
to insert "spacer slides" with simple custom text at various places in the
merged presentation.

If PowerPoint's installed, it shouldn't be too difficult to automate it and
accomplish this.

If you need to do it w/o PowerPoint, it's a different story.
 
E

e-holder

Great. Powerpoint should be installed on the machine this code would be
running on. Do you have a suggestion on where I should begin reading?

Thanks, e-holder
 
S

Steve Rindsberg

Great. Powerpoint should be installed on the machine this code would be
running on. Do you have a suggestion on where I should begin reading?

That makes it a great deal simpler. Have a look in the Programming section at
http://www.pptfaq.com

If you want to do this from an external app rather than via VBA code from within PPT
itself, read the parts about automating PPT from other apps.

Pretty much any of the examples you find there will work either from within or from
without; in the latter case, you mostly just need to explicitly reference the PPT
application.

For example, assuming you've got a reference to PPT in oPPTApp, you can write
aircode like this: <g>

With oPPTApp
Dim oPres as PowerPoint.Presentation
Dim oSl as PowerPoint.Slide
Dim oSh as PowerPoint.Shape

Set oPres = .Presentations.Add
Set oSl = oPres.Slides.Add ' specify layout and index here
Set oSh = oSl.Shapes.AddPicture ' params ...

' and so on
End With
 
W

waheed iqbal

You can do this by PowerPoint Automation. But for this u neeed to install
PowerPoint Office Library .
But if you need to generate powerpoint slide by writing xml etc , dont know
about this
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top