Hi, Unfortunately merging ppt slides is not as simple. PPT format has a "global" area where it stores the data shared among slides such as image data, fonts, etc. If you copy a slide with an image you must put the image data into this global area. The same thing is with text boxes. While copying text data you need to make sure all the fonts are registered in the ppt. So you see, it's not just copying of the raw data from source into the output.
Anyway, I think HSLF has enough capabilities to do what you need. To me the task looks like replicating the source ppt. For each of the source slides you need to read shapes and re-create them in the target ppt. As you noticed, we don't yet support all the different shapes but it's not an issue for you. You don't need to interpret the shape properties and know the meaning of each of them. All you need is to copy ALL the shape props. If you are willing to contribute, welcome! It's not very hard to implement although it requires some knowledge of the ppt format. You can count on my help. Regards, Yegor JTS> Hi! JTS> We need to merge several PPTs into a single PPT -- each of the JTS> original PPTs has a single slide with some simple shapes and images, JTS> and each slide just needs to go straight into the output PPT. I JTS> noticed an earlier thread on this topic saying that it's not quite JTS> supported because HSLF doesn't yet support all the different complex JTS> shapes. How close is it now? We're willing to contribute code if it's JTS> close. In particular, I'm curious, is it possible to just copy the raw JTS> data pretty directly from each source PPT into the output, without JTS> necessarily knowing anything about the particular shapes and images JTS> being used? That is, can we achieve the specific need of merging PPTs JTS> without actually implementing all the different shapes and images in JTS> HSLF? JTS> Cheers, JTS> Justin Sampson JTS> (apologies if this comes through twice -- I suspect it was rejected JTS> from another email address) JTS> --------------------------------------------------------------------- JTS> To unsubscribe, e-mail: [EMAIL PROTECTED] JTS> Mailing List: http://jakarta.apache.org/site/mail2.html#poi JTS> The Apache Jakarta Poi Project: http://jakarta.apache.org/poi/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] Mailing List: http://jakarta.apache.org/site/mail2.html#poi The Apache Jakarta Poi Project: http://jakarta.apache.org/poi/
