Dear Support,
I have this code example throws exception while saving attached pdf(having tables) to Output stream using DocSaveOptions.
I get exception com.aspose.pdf.internal.p217.z338: Parsing of table 'GDEF' has failed.
Testing environment
OS: cent os
App server: tomcat 7.0.59
JAVA : JDK7
Aspose pdf version : aspose.pdf-10.6.2.jar
Note : I tested this code example in with OS X Mavericks, this code is working without issue.
//Create DocSaveOptions object
com.aspose.pdf.DocSaveOptions saveOptions = new com.aspose.pdf.DocSaveOptions();
saveOptions.setFormat(SaveFormat.Doc);
//Set the recognition mode as Flow
saveOptions.setMode(com.aspose.pdf.DocSaveOptions.RecognitionMode.Flow);
//Set the Horizontal proximity as 2.5
saveOptions.setRelativeHorizontalProximity(2.5f);
//Enable the value to recognise bullets during conversion process
saveOptions.setRecognizeBullets(true);
document.save(baos, saveOptions);
Please check it and let me know this.