"-format", "null" ... means there wasn't any rendering of POI saved to disc. And you wrote you've opened the xslfTableDemo.pptx in PowerPoint and the description was out of bounds.
The problem with text rendering is, ... * that POI doesn't know about hyphenation * the linebreak calculation of AWT is different to Office * the line spacing is slightly different * sometimes also the resolution of your desktop has side effects * and on which operating system you execute the test - Macs for instance have some strange font handling with certain fonts Therefore I can't provide you a solution which accurately calculate the bounding box - if someone else knows some tricks to be more accurate and platform independent, have a look at [3] for test set. So you need to work with that inaccuracy and use some space below the table before you continue with further text. ... and remove that red border ;) Andi [3] https://svn.apache.org/viewvc/poi/trunk/src/ooxml/testcases/org/apache/poi/sl/TestFonts.java?view=markup -- Sent from: http://apache-poi.1045710.n5.nabble.com/POI-User-f2280730.html --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
