We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Aspose.Words can't read .DOC files created by Apple Pages

Hi,



It seems that any .DOC created by doing an export from within Pages can’t be read. These .DOC files can be opened fine by Microsoft Word, and resaving them from Word results in a file that is only about 100 bytes different in size, and then works fine with Aspose.Words.



/Mark.



The error message is:



Exception in thread “main” com.aspose.words.FileCorruptedException: The document appears to be corrupted and cannot be loaded.

at com.aspose.words.Document.a(Unknown Source)

at com.aspose.words.Document.a(Unknown Source)

at com.aspose.words.Document.(Unknown Source)

at com.aspose.words.Document.(Unknown Source)

at DocConverter.main(DocConverter.java:18)

Caused by: java.lang.IllegalArgumentException: value

at com.aspose.words.DocumentProperties.dv(Unknown Source)

at com.aspose.words.w.a(Unknown Source)

at com.aspose.words.w.a(Unknown Source)

at com.aspose.words.bn.read(Unknown Source)

… 5 more

Hi<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thanks for your inquiry. This problem is already fixed in the current codebase. The next release will be published within week I think.

Best regards.

Hi Alex!



Wonderful - thanks! Is this a fix for the Java version as well or just .NET? I’m currently using Java.



Regards,

Mark.

Hi Mark,<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thanks for your inquiry. This will be release of Aspose.Words for Java and include all fixes ported from .NET baseline.

Best regards.