As in case of word document we can merge word document using alternate chunk.
Is there a similar route for merging Presentations?
Hi Eunice,
Here's some sample code: http://blogs.msdn.com/brian_jones/archive/2009/03/05/how-to-assemble-multiple-powerpoint-decks.aspx. Is it helpful?
Btw, could you tell me your user scenario? Are you doing some king of content reuse work by merging slides? Are you doing it on server? If so, how do you get the slides, are they from client uploading? How will the merged presentataion be used, view, download, send email...? Are you using some other technologies, like Sharepoint, Flash, Sliverlight...?
Thanks a lot!
Shuangshuang (MS)
Hi Shuangshuang,
Thank you for you quick reply.
The sample code provided above (is based on ver2.0 of OpenXML) i.e. the link. We have implemented a similar funtionality with version 1.0 of OpenXML.
We are doing content resuse work by merging slides. It is done on the server. We get the slides similar to the sample code described in the sample code link mentioned above.
The presentation will be used for View and Download too.
We are only working with ASP.net 2.0 and OpenXML-SDK version 1.
Here the DefaultTextStyle of the two presentations are different. Due to this reason the font and allignment gets messed up.
We need to know how to rectify this messed up slide information for both font and allignment.
Thanks for your information. I want to understand the details more clearly, could you help me on that:)
Why do you use V1?Do you need to release your product with SDK? Who are the target users (which industry are the people in)? What's the data source of your solution? Are these slides from user uploading or document library?Is "merging slides" the only operation on the documents? Do you use some other features as well?Do you use other technologies, such as database, sharepoint, and flash/sliverlight for viewing online?
The more deails, the better, thanks:)
Regarding how to use DefaultTextStyle , you may refer to ECMA spec and Implementer notes of Office 2007, there are many details.
Hi,
Yes, for example, the argument for PresentationDocument.Open function could be a string (represents the path of the file), a stream or a System.IO.Packaging.Package--a presentation package fits here.