Hi Team,
We are using the Aspose.Words.jdk15.jar for loading the documents. We have tried for XLS and PPT files, we are getting below exception
com.aspose.words.UnsupportedFileFormatException: Unknown file format.
at com.aspose.words.Document.?Y(Unknown Source)
at com.aspose.words.Document.?Z(Unknown Source)
at com.aspose.words.Document.(Unknown Source)
at com.aspose.words.Document.(Unknown Source)
at com.aspose.words.Document.(Unknown Source)
at com.cisco.asit.icn.aspose.util.DocumentUtil.getDocument(DocumentUtil.java:100)
We are using the “com.aspose.words.Document.Document” class to load the documents and if the type is XLS or PPT, we are getting the above error.
Please suggest us workaround for these type of files.
Hi Srinivas,