I’m using your free trial of aspose cells to evaluate if aspose is a good fit to convert excel files to word. According to your documentation the conversion seems to be quite straightforward, but every docx I convert gives an error when opening on Word(Microsoft Office cannot open this file because some parts are missing or invalid). If I ignore this error (clicking OK), then I get a warning (Word found unreadable content in Book.docx. Do you want to recover the contents of this document?..) and if I click Yes then the document seems to open fine.
My code is quite simple (using v22.8 on Java):
Workbook workbook = new Workbook("Book.xlsx"); workbook.save("Book.docx");
I’m using OpenJDK 64-Bit Server VM Microsoft-31205 (build 184.108.40.206+1-LTS, mixed mode).
I also attached the files I used for one of my tests along with the resulting docx.
Strangely if I use you online converter then the resulting docx opens fine.
Can you please help?
Thank you.Book.zip (56.1 KB)