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