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:
parent
871070a8e1
commit
67655200c5
@ -673,9 +673,8 @@ public abstract class AbstractWordConverter
|
||||
// usual shape?
|
||||
return;
|
||||
|
||||
float width = officeDrawing.getRectangleRight()
|
||||
- officeDrawing.getRectangleLeft()
|
||||
/ AbstractWordUtils.TWIPS_PER_INCH;
|
||||
float width = ( officeDrawing.getRectangleRight() - officeDrawing
|
||||
.getRectangleLeft() ) / AbstractWordUtils.TWIPS_PER_INCH;
|
||||
float height = ( officeDrawing.getRectangleBottom() - officeDrawing
|
||||
.getRectangleTop() ) / AbstractWordUtils.TWIPS_PER_INCH;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user