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

Free Support Forum - aspose.com

Support of WPS Document to DOCX Conversion using Java

I use OFFICE to export word is ok ,but when i use WPS to export word is throw a exception

Caused by: com.aspose.words.UnsupportedFileFormatException: Unsupported file format: Unknown
	at com.aspose.words.zzZhH.zzWXs(Unknown Source)
	at com.aspose.words.Document.zzYl6(Unknown Source)
	at com.aspose.words.Document.zzWXs(Unknown Source)
	at com.aspose.words.Document.<init>(Unknown Source)
	at com.aspose.words.Document.<init>(Unknown Source)
	at com.thunisoft.optimus.convert.word.api.WordConverter.createDocument(WordConverter.java:68)

please tell what a situation can throw this exception?

@guofeiming

Please note that Aspose.Words does not support WPS file format. You can find the supported document formats by Aspose.Words from here:

For support of WPS document format, we logged a ticket as WORDSNET-21706 in our issue tracking system. We will inform you via this forum thread once this file format is supported by Aspose.Words. We apologize for your inconvenience.

thanks for your repley