1.JODConverter介绍:
JODConverter automates conversions between office document formats using OpenOffice.org or LibreOffice.
Supported formats include OpenDocument, PDF, RTF, HTML, Word, Excel, PowerPoint, and Flash.
It can be used as a Java library, a command line tool, or a web application.
JODConverter可以将一般格式的文档转换为PDF格式。
官网地址:http://code.google.com/p/jodconverter/
下载地址:http://download.csdn.net/detail/jolingogo/5074520
2.示例
这里用的是3.0的版本
OfficeManager officeManager = new DefaultOfficeManagerConfiguration().buildOfficeManager();
officeManager.start();
OfficeDocumentConverter converter = new