add picture height / width to PicturesManager arguments

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1180744 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Sergey Vladimirov 2011-10-09 23:22:46 +00:00
parent 871070a8e1
commit 67655200c5

View File

@ -673,9 +673,8 @@ public abstract class AbstractWordConverter
// usual shape? // usual shape?
return; return;
float width = officeDrawing.getRectangleRight() float width = ( officeDrawing.getRectangleRight() - officeDrawing
- officeDrawing.getRectangleLeft() .getRectangleLeft() ) / AbstractWordUtils.TWIPS_PER_INCH;
/ AbstractWordUtils.TWIPS_PER_INCH;
float height = ( officeDrawing.getRectangleBottom() - officeDrawing float height = ( officeDrawing.getRectangleBottom() - officeDrawing
.getRectangleTop() ) / AbstractWordUtils.TWIPS_PER_INCH; .getRectangleTop() ) / AbstractWordUtils.TWIPS_PER_INCH;