On Fri, 18 Feb 2011, criby wrote:
I've been trying to figure this out for a while myself. It would be great if someone that knows could chime in. It is a pretty fundamental piece of a PPT presentation. The problem is that any manual tweaks after the slideshow is created with POI will require many tedious edits. If the Master Layout could be specified per slide, it allows a single edit to apply to all slides using that Master.
I haven't done much write work with HSLF, as my usual requirements are around reading. However, I'd expect that the low level record code for switching to a master or editing a master should be there, even if you can't find a suitable usermodel or model function for it.
What I'd suggest you do is create a simple "before" file in powerpoint. Then, open a copy of that in powerpoint and add the title. Next, use the hslf dev tools to spot what's different between the two (you can probably ignore offsets). Now, see how to re-create that using HSLF records. Finally, please send in a patch to the model / usermodel to correct the gap in doing that :)
Nick --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
