itext itextpdf 版本概要介绍

生成PDF报表的Java组件--iText

网上介绍的多是一些实例和使用方法,对于这个版本的使用需要注意的点主要是版本问题。

iText版本历史 

http://itextpdf.com/history/ 

2.*直接过渡到5.*,命名空间等完全变化

版本文件

旧版 itext2.1.7.jar itext-rtf-2.1.7.jar iTextAsian.jar

新版本 itextpdf.5.*.jar itext-asian.jar  http://sourceforge.net/projects/itext/files/iText/ 这个上面的每个发行包有详细说明

其中*asian*是处理CJK文字的

 

以前处理WORD的组件也发生了很大变化

http://stackoverflow.com/questions/1876678/itext-5-0-0-where-did-rtf-and-html-go

According to the iText website, in v5.0.0 they deliberately removed the RTF and HTML writers. On their history page (http://itextpdf.com/history/)

First, visit http://mirrors.ibiblio.org/pub/mirrors/maven2/com/lowagie/itext-rtf/2.1.7/itext-rtf-2.1.7.jar to get itext-rtf.jar. This has the entire rtf package, however it is not sufficient to work with RTF documents. One class needed quite commonly when using the rtf package is com.lowagie.text.Document which is not included in the itext-rtf.jar distribution.

Secondly, visit http://grepcode.com/snapshot/repo1.maven.org/maven2/com.lowagie/itext/2.1.7. Here you want to download itext-2.1.7.jar. This is the itext jar file you will need in order to work with the iText-rtf library. This is different than the current iText which now manages only pdf documents. At 5.0.0, rtf broke off and pdf kept the current numbering system. The rtf version number restarted and the rtf package now requires a different iText which will have the same version number as the rtf version number.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值