Page 1 of 1

HOWTO insert picture

PostPosted: Sat Oct 08, 2011 3:20 pm
by jason
See for how to add an image to a slide.

Note this will need to be modified if you use anything earlier than today's nightly (which I'm still to create) or docx4j 2.7.1, since it is only from yesterday that BinaryPartAbstractImage.createImagePart has had a File signature. If you use byte[], you'll be able to use this with earlier versions of pptx4j.

Re: HOWTO insert picture

PostPosted: Tue Oct 11, 2011 11:55 pm
by jason
rc2 of todays date in is what will become 2.7.1, in the absence of any show stoppers.

The recipe for inserting a picture provided here should work with rc2.