Open Microsoft Word docx file with Java

后端 未结 6 1853
灰色年华
灰色年华 2021-01-20 15:46

How can I open a Microsoft Word docx file in Java? furthermore, how can I open it if it is password protected?

For instance,

File f = new File(\"hell         


        
6条回答
  •  借酒劲吻你
    2021-01-20 16:17

    Have you tried to open it using the Open Office api? It can work with a lot of documents types.

    I used it with MS Excel files .xls ( old version ) format.

    Hope this can help you.

提交回复
热议问题