FlyingSaucer R8兼容的Itext最高是多少?

发布于 2024-10-31 17:20:54 字数 120 浏览 4 评论 0原文

FS 发行版与 IText 2.0.8 捆绑在一起,并且考虑到 2.xx 范围内有许多更新的版本,我想知道是否有人在更新的版本中有任何经验。我猜测 FS 也可能与 3.xxx + 兼容...

有人知道/确认吗?

The FS distro comes bundled with IText 2.0.8 and given that are many more recent releases in the 2.x.x range i was wondering if anyone had any experiences in more recent releases. I am guesssing there is a chance FS might also be compatible with 3.x.x.x +...

Anybody know/confirm ?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

围归者 2024-11-07 17:20:54

我刚刚尝试了 2.1.7,它有一些类 (API) 更改,导致 Flying Saucer 出现链接错误...所以简而言之,2.0.8 似乎是最新支持的版本。

I just tried 2.1.7 and it has some class (API) changes which cause Flying Saucer to get linkageerrors...so i n short no it would appear that 2.0.8 is the latest supported version.

寂寞陪衬 2024-11-07 17:20:54

要回答是否有任何版本的flyingsaucer与iText 5.x兼容的相关问题,答案是肯定的。

我相信,自从 ollo 的回答以来,对该项目进行了重组,使其更加 Maven 友好,而不是有一个单独的 itext5 分支,现在有一个单独的 itext5 maven 工件。在这里找到它:http://mvnrepository.com/artifact/org.xhtmlrenderer

我认为 core-renderer 神器是他们使用的旧神器,可以替换为 Flying-saucer-pdf-itext5 以实现 iText5 兼容性。这个新工件有一个外部依赖项,即组 com.itextpdf、工件 itextpdf 和版本 5.x。我尝试使用 5.4.5 版本,这对我来说效果很好。

To answer a related question of whether there is any version of flyingsaucer which is compatible with iText 5.x, the answer is yes.

I believe that, since ollo's answer, there has been a restructuring of the project to make it more maven friendly, and instead of there being a separate itext5 branch, there is now a separate itext5 maven artifact. Find it here: http://mvnrepository.com/artifact/org.xhtmlrenderer.

I think the core-renderer artifact is the old artifact they used, and can be replaced with flying-saucer-pdf-itext5 for iText5 compatibility. This new artifact has a single external dependency, and that is group com.itextpdf, artifact itextpdf and version 5.x. I tried with version 5.4.5, and that worked fine for me.

回心转意 2024-11-07 17:20:54

通过 itext5 分支,也可以将 Flying Saucer 与 iText 5.x 一起使用。

Release 8 支持 iText 2.x 版本,随 2.0.8 一起发布,我们
有用户报告使用 2.1.7;我们认为 2.1.7 应该更多或
与 4.2.0 不太相同。

对于 iText 5.x 支持,我们确实有一个贡献的 itext5 分支
GitHub 适合任何使用 iText 5+ 的人。变化大多只是
包重命名以及其他一些调整。我们保留
itext5 分支与 master 同步,因此它应该始终是最新的。

来源: http://code.google。 com/p/flying-saucer/wiki/FAQPDF#Versions_of_iText_Supported

另请参阅:https:/ /github.com/flyingsaucerproject/flyingsaucer/tree/itext5

With the itext5 branch it's possible to use Flying Saucer with iText 5.x too.

Release 8 supports version 2.x of iText, was shipped with 2.0.8 and we
have users who report using 2.1.7; we believe 2.1.7 should be more or
less identical to 4.2.0.

For iText 5.x support, we do have a contributed itext5 branch on
GitHub though for anybody using iText 5+. The changes were mostly just
package renames along with a couple of other tweaks. We keep the
itext5 branch in sync with master so it should always be current.

source: http://code.google.com/p/flying-saucer/wiki/FAQPDF#Versions_of_iText_Supported

See also: https://github.com/flyingsaucerproject/flyingsaucer/tree/itext5

滥情哥ㄟ 2024-11-07 17:20:54

请注意,iText 5.x 随 AGPL 许可证一起分发,该许可证限制了您可以执行的操作(请参阅 http://itextpdf.com/terms-of-use/)。
iText 2.1.7 / 4.2.0 使用 LGPL / MPL 许可证分发,使用更安全。

此外,还有一个较新版本的 Flying Saucer Renderer 使用 iText 2.1.7。


http://mvnrepository.com/artifact/org.xhtmlrenderer/flying -saucer-pdf/9.0.1

maven依赖是:

<dependency>
    <groupId>org.xhtmlrenderer</groupId>
    <artifactId>flying-saucer-pdf</artifactId>
    <version>9.0.1</version>
</dependency>

Note that iText 5.x is distributed with the AGPL license which is restrictive with what you are allowed to do (see http://itextpdf.com/terms-of-use/).
iText 2.1.7 / 4.2.0 is distributed with the LGPL / MPL license and are safer to use.

Also, there is a newer version of Flying Saucer Renderer which uses iText 2.1.7.

See
http://mvnrepository.com/artifact/org.xhtmlrenderer/flying-saucer-pdf/9.0.1

The maven dependency is:

<dependency>
    <groupId>org.xhtmlrenderer</groupId>
    <artifactId>flying-saucer-pdf</artifactId>
    <version>9.0.1</version>
</dependency>
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文