易截截图软件、单文件、免安装、纯绿色、仅160KB

Java操作MS Word和Excel文档

能通过Java来操作Word或者Excel的api,据我所知的有这些,都考察了一下,开源的除了Openoffice和officewriter对Word的表格有好的支持外,其他都很不专业,或者不支持。
jacob http://sourceforge.net/projects/jacob-project/
JACOB is a JAVA-COM Bridge that allows you to call COM Automation components from Java. It uses JNI to make native calls to the COM libraries. JACOB runs on x86 and x64 environments supporting 32 bit and 64 bit JVMs
docx4j http://dev.plutext.org/trac/docx4j
docx4j is our library for unzipping a docx "package", and parsing the WordprocessingML XML to create an in-memory representation in Java.
It is available under the Apache License (v2).
This library is used by the plutext collaboration server, and the docx4all editor.
The library is designed to round trip docx files with 100% fidelity, and supports all WordML.
jxl http://jexcelapi.sourceforge.net/
poi http://poi.apache.org/
Aspose.Words http://www.aspose.com/ 付费产品
Aspose.Words for Java, it runs on any OS where Java is installed.
It will output the document to DOC, DOCX or RTF if you need an MS Word output format. All are supported equally well.
Using this API you can create a document from scratch, literally from nodes and set their formatting properties. You can also use a DocumentBuilder which provides higher level methods such as create a table row, insert a field etc. Or you can copy/join/move portions between existing pre created document, say you want to assemble a contract, just grab and copy pieces from several documents and Aspose.Words will merge styles, list formatting etc properly in the resulting document.
You will be able to insert a TOC field using Aspose.Words, but as of today, the TOC field will require a field update when the document is opened in Microsoft Word. However, we are going to release full support for TOC fields early in 2010. E.g. it will build complete TOC as MS Word does it.
openoffice http://www.openoffice.org/
officewriter http://officewriter.sof


相关文档:

Java中接口的作用

接口的作用 
接口的作用简单一点就是:接口是用来标记类的,不同的类属于不同的接口(通过向上转型),管理接口比管理各种各样的类方便多了,接口体现了抽象的观点,什么是抽象?抽象就是"抽去像的部分"。 
使用接口解决问题 
问题:现在我们要写个连接数据库的类给用户使用,有两个函数:一个返回Connection ......

java快速排序

快速排序是对冒泡排序的一种改进。它的基本思想是:通过一躺排序将要排序的数据分割成独立的两部分,其中一部分的所有数据都比另外一不部分的所有数据都要小,然后再按次方法对这两部分数据分别进行快速排序,整个排序过程可以递归进行,以此达到整个数据变成有序序列。
    假设要排序的数组是A[1]&hellip ......

java读取mp3文件

java读取mp3文件 收藏
JMF实际上是Java的一个类包。JMF 2.1.1技术提供了先进的媒体处理能力,从而扩展了Java平台的功能。这些功能包括:媒体捕获、压缩、流转、回放,以及对各种主要媒体形式和编码的支持,如M-JPEG、H.263、MP3、RTP/RTSP (实时传送协议和实时流转协议)、Macromedias Flash、IBM的HotMedia和Beatniks的Ri ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号