From 83fbfb76332070568cf30cf2dc47c61fd9518d84 Mon Sep 17 00:00:00 2001 From: Andreas Beeker Date: Thu, 9 Jun 2016 23:06:42 +0000 Subject: [PATCH] #59686 - Error when trying to access XSLFTableCell properties like textHeight, lineWidth, etc. git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1747605 13f79535-47bb-0310-9956-ffa450edef68 --- .../poi/xslf/usermodel/XSLFTableCell.java | 14 ++++++++++++++ .../poi/xslf/usermodel/TestXSLFTable.java | 19 +++++++++++++++++++ 2 files changed, 33 insertions(+) diff --git a/src/ooxml/java/org/apache/poi/xslf/usermodel/XSLFTableCell.java b/src/ooxml/java/org/apache/poi/xslf/usermodel/XSLFTableCell.java index fc77468731..9a309157a1 100644 --- a/src/ooxml/java/org/apache/poi/xslf/usermodel/XSLFTableCell.java +++ b/src/ooxml/java/org/apache/poi/xslf/usermodel/XSLFTableCell.java @@ -41,6 +41,7 @@ import org.openxmlformats.schemas.drawingml.x2006.main.CTPoint2D; import org.openxmlformats.schemas.drawingml.x2006.main.CTPositiveSize2D; import org.openxmlformats.schemas.drawingml.x2006.main.CTRegularTextRun; import org.openxmlformats.schemas.drawingml.x2006.main.CTSchemeColor; +import org.openxmlformats.schemas.drawingml.x2006.main.CTShapeProperties; import org.openxmlformats.schemas.drawingml.x2006.main.CTSolidColorFillProperties; import org.openxmlformats.schemas.drawingml.x2006.main.CTTable; import org.openxmlformats.schemas.drawingml.x2006.main.CTTableCell; @@ -670,6 +671,19 @@ public class XSLFTableCell extends XSLFTextShape implements TableCell