On Wed, 1 Jun 2016, Murphy, Mark wrote:
Then write to a different file:FileOutputStream out = new FileOutputStream(new File( "createdocument.docx")); document.write(out); out.close(); document.close();
There's an issue with close and things opened from files with X??F, I'd suggest not doing that...
Nick --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org For additional commands, e-mail: dev-h...@poi.apache.org