https://issues.apache.org/bugzilla/show_bug.cgi?id=55967
Andreas Beeker <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #5 from Andreas Beeker <[email protected]> --- Thank you for the patch. I've moved the code to the common model for HSSF/XSSF. The resizing is now based on the anchor, i.e. relative on how the picture was displayed before in the sheet, and not anymore solely on the embedded image dimensions. If one wants to scale relatively to the embedded image, the resize() method without parameters needs to be called before the actual resize() with a parameter. The resizing gave different results with HSSF/XSSF before, so I think it's ok to generalize it now and make it relatively to the anchor. Now the initial position (top left corner) is kept. I haven't changed the side effect of getPreferredSize(), although it actually sets something in the picture instead of just returning a dimension ... Applied with r1638623 -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
