poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 58216] provide picture-shape resize that maintains the aspect ratio
Date Mon, 21 Sep 2015 00:16:05 GMT
https://bz.apache.org/bugzilla/show_bug.cgi?id=58216

Andreas Beeker <kiwiwings@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #1 from Andreas Beeker <kiwiwings@apache.org> ---
Thank you for the patch - applied with r1704206

I've moved the functionality to Common SL, i.e. DrawPictureShape.
As the X/HSLF classes only implement an interface, opposed to abstract base 
classes of X/HSSF, I needed to find a location to place the code.
As resize is kind of drawing related, I though DrawPictureShape is a good 
place.

Apart of that I've reworked the PictureData.getImageDimension() - now the size 
is returned in points, as all other methods return points too.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


Mime
View raw message