使用 Antennahouse 相对于 Apache FOP 有什么好处?

发布于 2024-08-23 16:57:00 字数 1431 浏览 6 评论 0原文

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

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

发布评论

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

评论(3

站稳脚跟 2024-08-30 16:57:00

我已经评估所有商业引擎近一年了,其中 6 个月我与 FOP 一起工作;我看到的主要区别是:

FOP:

  • 开源、免费
  • 用 JAVA 编写,它应该可以在任何有 Java 的平台上运行(至少 Windows、Linux、Solaris)
  • 是 pre-alpha 版本(最后版本是 0.95)
  • 仍然 到今天为止,开源社区已经快两年没有发布任何东西了!
  • 如果您有基本报告,那就太好了;不支持更高级的东西(比如 table-layout="auto",检索表头/页脚中的标记 - XSL-FO 1.1 的一部分,适合小计等)。
  • 一些功能有错误(尤其是脚注周围,破坏跨页表格等)。这些更难跟踪,并且会在您编写完 XSLT 后弹出。
  • 会消耗大量内存 - 如果您想同时运行多个报告(例如,如果您有一个网站),这就是一个问题。

所有商业产品都具有以下功能:

  • 技术支持(一些供应商甚至会帮助您解决性能问题并调试样式表)。
  • 是 Unicode(可以处理大多数脚本,如阿拉伯语、希伯来语、中文、俄语、日语、泰语、越南语等)
  • 与 XSL-FO 1.1 兼容。

Antenna House

  • 商业版,4000-5000 美元范围(第一个 CPU)
  • 用 C++ 编写,跨平台(至少可以在 Windows 和Linux)
  • 独特的功能包括:对 MathML 的支持、对日语书写的良好支持(从上到下垂直书写)
  • 扩展(条形码、mathml)需额外付费

Ecrion

  • 商业版,1500-3500 美元范围(任何 CPU)
  • 用 C++ 编写,跨平台(至少可以在 Windows 和 Linux 上运行)
  • 独特的功能包括:良好的视觉设计器、Silverlight Word 和 PowerPoint 输出、PDF形式
  • 非常快,提供标准扩展

RenderX

  • 商业,3000-4000 美元范围(第一个 CPU)
  • 用 JAVA 编写
  • 独特的功能:AFP 支持、PDF 表格

如果您的报告很简单,您可以尝试一下。
但我个人的观点是:如果你有钱买商业引擎,就不要选择 FOP。我曾经认为开源很酷,因为我可以自己改变它——改变并不那么容易,而且我的观点是这也非常危险,因为你不知道哪些功能会受到影响。该功能实际上相当复杂,这就是为什么不再积极改进的原因。

I have been evaluating all commercial engines for almost 1 year now out of which 6 months I spent working with FOP; the main differences that I see are:

FOP:

  • Open source, free
  • Written in JAVA, it should work on anything that has Java on it (at least Windows, Linux, Solaris)
  • Is still pre-alpha release (last version is 0.95)
  • As of today, nobody in the open source community has released anything for almost 2 years!
  • Good if you have basic reports; doesn't support the more advanced stuff (like table-layout="auto", retrieving markers in table headers/footers - part of XSL-FO 1.1 and good for subtotals, etc.)
  • Some features are buggy (especially around footnotes, breaking tables across pages, etc). These are harder to track and will pop-up later on when you have already written your XSLTs.
  • Will consume a lot of memory - this is an issue if you want to run multiple reports in the same time (for example if you have a web site).

All commercial products have the following:

  • Technical support (some vendors will even help you troubleshoot performance issues and debug your stylesheets).
  • Are Unicode (can handle most scripts like Arabic, Hebrew, Chinese, Russian, Japanese, Thai, Vienamese, etc.)
  • Are XSL-FO 1.1 compatible.

Antenna House

  • Commercial, $4000-$5000 range (1st CPU)
  • Written in C++, cross platform (works at least on Windows and Linux)
  • Among unique features: support for MathML, good support for Japanese writing (top to bottom vertical writing)
  • Extensions (barcodes, mathml) are provided at extra charge

Ecrion

  • Commercial, $1500-$3500 range (any CPU)
  • Written in C++, cross platform (works at least on Windows and Linux)
  • Among unique features: a good Visual Designer, Silverlight Word and PowerPoint output, PDF forms
  • Very fast, extensions are provided standard

RenderX

  • Commercial, $3000-$4000 range (1st CPU)
  • Written in JAVA
  • Among unique features: AFP support, PDF forms

If your reports are simple, you can give it a shot.
But my personal opinion is: don't go with FOP if you have the money to spend on a commercial engine. I used to think that being open source is cool because I can change it myself - it is not that easy to change, and my opinion is that is also very risky because you don't know what functionality will be affected. The functionality is actually quite complex, and that is why is not being actively improved anymore.

温暖的光 2024-08-30 16:57:00

我喜欢 XMLDUDE 的概述
与此同时,Apache FOP 1.0 已经发布。多年来,Apache FOP 得到了很大改进。
但竞争也没有停止。每个供应商都有自己的专长。

什么对你来说重要?

价格 FOP 是开源的,但例如我们现在“免费”获得 RenderX XEP,因为它包含在我们的 XMetal 套件中。

速度
如果您批量运行从 XML 到 PDF 的转换,您可能有足够的时间。
如果您在网站上“实时”运行转换,则转换必须尽可能快。

增强
您只想使用 XSL-FO 标准吗?一些供应商有很多扩展元素,这些元素在竞争对手的 XSL-FO 软件中不起作用。

AntennaHouse过去有一种FO预览,这对于调试非常有用。

I like the overview of XMLDUDE
In the mean time Apache FOP 1.0 has been released. Over the years Apache FOP improved a lot.
But the competition didn't stop either. Each of those vendors have their specialties.

What's important for you?

Price FOP is open-source, but for example we get RenderX XEP now for "free" because it is included in our XMetal suite.

Speed
If you run your conversion from XML to PDF in a batch, you maybe have plenty of time.
If you run your conversion at "real-time" on a website, it must be as quick as possible.

Enhancements
Do you want to use only the XSL-FO standards? Some vendors very much extension elements which will not work in the competitor XSL-FO software.

AntennaHouse, in the past had a kind of FO preview which was very useful for debugging.

多情癖 2024-08-30 16:57:00

值得记住的是,如果您的要求只是从 XML 生成 PDF,您可以使用 XSLT 和 LaTeX 来完成此操作,而无需涉及 FO。缺点是你需要了解一些 LaTeX;好处是 LaTeX 已经了解文档(XeLaTeX 本身就是 UTF-8),可以在任何东西上运行,带有格式化插件(包),并且对商业和志愿者都有强大的支持。

Worth remembering that if your requirement is just to produce PDF from XML, you can do this with XSLT and LaTeX without any need to involve FO. The downside is you need to know some LaTeX; the upside is LaTeX already knows about documents (XeLaTeX is natively UTF-8), runs on anything, with plugins for formatting (packages), and strong support both commercial and volunteer.

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