Created attachment 27440 [details] ppt file I want to render a slide to an image following the example I found on apache POI site: http://poi.apache.org/slideshow/how-to-shapes.html#Render and everything is working ok, but every element in the slide is render with a black border around it. I didn't tried fancy shapes, just text and images.
Created attachment 27441 [details] ppt file
Imho, this bug should is a showstopper, as currently poi doesn't even render the simplest powerpoint slide correctly: 1) open powerpoint 2007/11/12 2) put some text into the title shape 3) save it, and render it with poi. The fix seems easy to me, as the default bounding box width should be set to zero if not present, and the box should not be painted if the width is 0. Here's a simple patch: http://dl.dropbox.com/u/422074/don_t_draw_empty_bounding_boxes.patch
Should be fixed in r1292247. The fix is more complex than in the proposed patch and has to do with interpreting boolean shape properties. Yegor (In reply to comment #2) > Imho, this bug should is a showstopper, as currently poi doesn't even render > the simplest powerpoint slide correctly: > 1) open powerpoint 2007/11/12 > 2) put some text into the title shape > 3) save it, and render it with poi. > > The fix seems easy to me, as the default bounding box width should be set to > zero if not present, and the box should not be painted if the width is 0. > Here's a simple patch: > > http://dl.dropbox.com/u/422074/don_t_draw_empty_bounding_boxes.patch