This project has moved. For the latest updates, please go here.

using it in Powerpoint

Jul 8, 2012 at 1:50 AM

hi, 

 

I would like to use the library for powerpoint, is this possible? how much or what should I have to change in order to use it?

thanks

almir

Coordinator
Jul 8, 2012 at 12:06 PM
Edited Jul 8, 2012 at 12:07 PM

Hi Almir,

Bad news: HtmlToOpenXml only support Word. BUT you can still mix content using alt:Chunk.

Zeyad Rajabi has wrote an excellent article (ok for SharePoint initially but should do the trick nevertheless) how to mix content (Word,Excel,PowerPoint) together:

http://blogs.msdn.com/b/brian_jones/archive/2010/01/04/document-assembly-merging-excel-powerpoint-and-word-content-together.aspx

Jul 8, 2012 at 1:20 PM

Hi Onizet, 

The article shows how to make word out of other things (using alt:chunk- whihc is supported only in word).

I need it in oposite direction, I want to create OpenXml elements (from HTML) which I can put into Powerpoint presentation, the issue is that word is using other Paragraph - Class than Powerpoint does (one is living in wordprocessing and another in drawing). Did anyone tried to generate elements which are than used in xls or pwerpoint? And faced whit such task would it make sense to try to modify this library, or should I start from scratch.

thanks

almir 

Coordinator
Jul 9, 2012 at 12:06 PM

After some research, I found this post: http://stackoverflow.com/questions/8436472/is-altchunk-valid-within-presentationml?rq=1

Maybe it can help you more

Olivier

Coordinator
Jul 9, 2012 at 12:06 PM

After some research, I found this post: http://stackoverflow.com/questions/8436472/is-altchunk-valid-within-presentationml?rq=1

Maybe it can help you more

Olivier

Jul 9, 2012 at 2:03 PM

Hi Oliver, 

thanks for the info but the posts states that its not possible in open-xml but I could do it with VB-Script, but I need to do it on the server without script so on OpenXml level, 

but thanks

almir

Coordinator
Jul 9, 2012 at 3:59 PM

if you could make it in VB-Script, you could write in OpenXml.

I use OpenXml Productivty tool to decompile a pptx. To embed a raw word document part (*), PowerPoint use AlternateContent. I don't find any documentation but this is a cheap solution.

(*) in PowerPoint: Ribbon > Insert > Object > Select "Microsoft Word Document".