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?
|
// 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;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user