A similar question was answered last week: A slide contents consists of two components: 1. shapes that actually present on the slide 2. shapes defined on the slide master. For example, if slide master has a picture background then all slides that follow it will show this picture even if the picture is not physically defined on the slide.
Slide#importContent imports (1), that is, it imports only the actual slide contents. In theory this approach can be used for master sheets too, but it wasn't tested. Try to get slide's layout and slide's master and call importContent on them. What is the result? Yegor On Tue, Jun 12, 2012 at 12:54 PM, rohit_sh1 <[email protected]> wrote: > Hi Yegor, > > importContent seems to be missing slide background information while > merging. > > I am trying a workaround as well i.e. remove all the shapes from source > slide, save the slide as png and then apply the PNG file as background. > > This method works for HSLF but not with XSLF. > > Please help. > > Thanks > > -- > View this message in context: > http://apache-poi.1045710.n5.nabble.com/XSLF-copy-slides-tp5147500p5710130.html > Sent from the POI - User mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
