aboutsummaryrefslogtreecommitdiffstats
path: root/KEYS
diff options
context:
space:
mode:
authorGreg Woolsey <gwoolsey@apache.org>2017-06-23 05:16:38 +0000
committerGreg Woolsey <gwoolsey@apache.org>2017-06-23 05:16:38 +0000
commit3f9cbe9a38c6b237aba18e75ec41fe878c4ae238 (patch)
treecd815dc7af6755f6625f273b92912cb8aed72546 /KEYS
parent153821e443fec655815944b72a2ca49d1591ef0d (diff)
downloadpoi-3f9cbe9a38c6b237aba18e75ec41fe878c4ae238.tar.gz
poi-3f9cbe9a38c6b237aba18e75ec41fe878c4ae238.zip
Bug 61203 - XSSFDrawing.getAnchorFromParent handles CTOneCellAnchor incorrectly, ignores CTAbsoluteAnchor
This is likely incomplete, but closer to where things should be. It is backward compatible with previous uses of XSSFClientAnchor. This fixes a bug in XSSFGraphicFrame that was hiding the parent class anchor property (which is a protected field set directly from XSSFDrawing). This is a peril of using direct property access - the hiding wasn't obvious because there was no setter being overridden. XSSFGraphicFrame now notices when it relates to a chart, and setts the frame property of the XSSFChart. That was not being set on parse previously, only when creating charts from scratch. That didn't seem right. XSSFClientAnchor now calculates size and position correctly based on initial inputs from the different types of anchors. It DOES NOT update those initial inputs, however. It does properly adjust if the size or initial position are absolute and the corresponding row/column values are requested. Added new class EMUUtils to centralize the measurement constants and conversions since there are so many units in play in the OOXML spec and POI APIs: * EMUs (English Metric Units) * Inches * Centimeters * Points * Pixels * Twips (1/20th of a point) I'm sure there are more conversions that could be done there, I just started with what I needed. git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1799643 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'KEYS')
0 files changed, 0 insertions, 0 deletions