poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 51173] XSSFClientAnchor.setDx1() has no effect
Date Wed, 11 May 2011 13:53:55 GMT

--- Comment #5 from at13@online.de 2011-05-11 13:53:55 UTC ---
The secret is solved!
You have to calculate everything in pixels, the anchor-width and -height, the
image-width and -height and with that the margin values (dx and dy).
In the setDx.../setDy... methods you have to multiply the dx/dy pixel-values
with the constant XSSFShape.EMU_PER_PIXEL and voila, everything works!
Pleeeeeaaaase write JavaDocs for those secret things! I like the apache
libraries and APIs very much and you guys make a great job, but documentation
is very important for using the libraries.

Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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

View raw message