mirror of https://github.com/apache/poi.git
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
f92821eb1c
commit
e483b6c41d
|
@ -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