Can I convert doc to docx, ppt to pptx, xls to xlsx and vice versa with okapi and java?

506 views Asked by At

I'd like to ask can I convert MS-office files using java and okapi? Such as doc to docx, ppt to pptx, xls to xlsx and vice versa. Maybe convert the file to xliff and then convert the xliff to the required format?

Thanks in advance.

1

There are 1 answers

2
paulsm4 On

No.

OKAPI Supported File Formats

Per the documentation, Okapi supports MS-Office OpenXML formats (like .docx and .xlsx), but it is NOT intended to convert between legacy MS-Office formats and OpenXML:

Between OpenXML and OpenOffice, or Doxygen, or many, many other document formats - yes. Interconvert MS-Office formats: no.

SUGGESTION:

You might wish to consider purchasing commercial libraries, such as Aspose:

http://www.aspose.com/products/words/java