如何使用Apache POI将.docx转换为.doc [英] How to convert .docx to .doc using apache poi

查看:1435
本文介绍了如何使用Apache POI将.docx转换为.doc的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要知道如何使用apache poi(可能使用XWPFDocumentHWPFDocument类)将.docx转换为.doc,如果无法实现,请提供替代解决方案.

I need to know how to convert .docx to .doc using apache poi, maybe using XWPFDocument ,HWPFDocument classes, if not achievable please provide alternative solutions.

推荐答案

使用通过JODConverter驱动的LibreOffice.

Use LibreOffice, driven via JODConverter.

这篇关于如何使用Apache POI将.docx转换为.doc的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆