aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/poi
diff options
context:
space:
mode:
authorAndreas Beeker <kiwiwings@apache.org>2016-12-31 21:54:32 +0000
committerAndreas Beeker <kiwiwings@apache.org>2016-12-31 21:54:32 +0000
commit14c98d456ab50f94f39c8d3cf0d32ae870d086c8 (patch)
tree64f534abd21c8614246f7e796dc000c9083f4b6c /src/java/org/apache/poi
parent6a4428260860c2dab150c03c4ca7579f6a1cc518 (diff)
downloadpoi-14c98d456ab50f94f39c8d3cf0d32ae870d086c8.tar.gz
poi-14c98d456ab50f94f39c8d3cf0d32ae870d086c8.zip
#60521 - Enable nested XSSF GroupShapes and fix calculation of Client-/ChildAnchor
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1776820 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/poi')
-rw-r--r--src/java/org/apache/poi/ss/util/ImageUtils.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/java/org/apache/poi/ss/util/ImageUtils.java b/src/java/org/apache/poi/ss/util/ImageUtils.java
index 991a2efab3..13c07c3533 100644
--- a/src/java/org/apache/poi/ss/util/ImageUtils.java
+++ b/src/java/org/apache/poi/ss/util/ImageUtils.java
@@ -277,7 +277,7 @@ public class ImageUtils {
}
- private static double getRowHeightInPixels(Sheet sheet, int rowNum) {
+ public static double getRowHeightInPixels(Sheet sheet, int rowNum) {
Row r = sheet.getRow(rowNum);
double points = (r == null) ? sheet.getDefaultRowHeightInPoints() : r.getHeightInPoints();
return Units.toEMU(points)/(double)EMU_PER_PIXEL;