wordpress hit counter
Merge Power Point Presentation. - PresentationML - Formats - OpenXML Developer

Merge Power Point Presentation.

Formats

Discussions about working with different Open XML Formats

Merge Power Point Presentation.

  • rated by 0 users
  • This post has 6 Replies |
  • 0 Followers
  • 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.

     

  • Hi Eunice,

    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 Eunice & Goodol,

    I am also having almost similar issue with PresentationML. Below is the detail of the my project and I need to have some solution, it is getting crazier everyday.

    We use OpenXML SDK 1.0 to parse the PPTX files. My Client is not open to move to SDK 2.0 as we have change existing code. I am doing this project for a school which teaches the art work.

    1. We will be uploading individual slide to server in the form of PPTX only. These will be parsed as XML and kept in the DB. These files will be having different art work and text.

    2. Each user who is having access to these Slides, can arrange these slides and make their own presentations. The UI is done in SilverLight. I am not sure how they show the Slide content on the screen.

    3. Once the user created his presentation using his different slides from the server UI, I will get bunch of Slide identifier numbers using which I get the respective slide from the DB as individual PPTX file.

    4. Using PresentationML, I will start merging the slides to make it as single PPTX.

    5. I am having issue in handlling the fonts on different slides, It will always takes the Default Text box attributes of the first slide and other slide text will either be blown up or shrunked. This is a major road block for me to continue. I tried to use the "Keep Source Format" feature of PPTX, but not sure how this can be done with OpenXML.

    I cannot use the SDK 2.0 as shown by Goodol, but looking for your help to resolve the issue with different font size & styles. I have checked all the slide attributes to set the Font for each of the text entry, but not able to find a generic solution to address the problem.

    Any help on the this issue will be of great help as it saves my project. Please let me know the solution or which relation to check to resolve the different fonts on different slides.

    Thanks in advance
    Jintax, ML
  • Hi,
    I have one simple question for the sample code http://blogs.msdn.com/brian_jones/archive/2009/03/05/how-to-assemble-multiple-powerpoint-decks.aspx.

    Is it possible to get the whole presentation as function argument?

    Thanks for your answers
  • 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.

     

Page 1 of 1 (7 items)