Hi Andi, I have used a nightly [1] and run your program [2], I found description displays out of red bordered box. I think calculation of: XSLFSlide slide =... // a red bordered box in the background, to show/verify the table dimensions XSLFAutoShape as = slide.createAutoShape(); as.setShapeType(ShapeType.RECT); as.setStrokeStyle(Color.RED, 2., StrokeStyle.LineDash.LG_DASH);
XSLFTable tab = slide.createTable(1, data[0].length); .... tab.updateCellAnchor(); .... tab.updateCellAnchor(); as.setAnchor(tab.getAnchor()); It seems not work well. It should calculate the text wrapping too. You can look at image in attachment. <http://apache-poi.1045710.n5.nabble.com/file/t340639/updateCellAnchor_result.png> [1] https://builds.apache.org/view/P/view/POI/job/POI-DSL-1.8/lastSuccessfulBuild/artifact/build/dist/ [2] https://svn.apache.org/viewvc/poi/trunk/src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestXSLFTable.java?view=markup&pathrev=1849244 -- Sent from: http://apache-poi.1045710.n5.nabble.com/POI-User-f2280730.html --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@poi.apache.org For additional commands, e-mail: user-h...@poi.apache.org