什么是好的企业级 pdf 生成解决方案?

发布于 2024-08-22 21:05:14 字数 663 浏览 9 评论 0原文

我想找到 Crystal Reports 的替代品。哦,我多么不喜欢CR。

情况下,我想找到一个具有以下功能的 PDF 生成工具:

  • .NET 中的可靠 API
  • 速度:我们希望每天生成 1000-2500 个 pdf
  • 所见即所得编辑器
  • 热链接图像文件(徽标)
  • 良好的寡/孤儿控制
  • 理想 良好的排版控制(字距调整)
  • 可重复字段(就像您在银行对账单中看到的那样)
  • 易于从 xml 数据、数据集或直接 SQL 查询中推送数据
  • 大小:pdf 文件的最终大小很重要,因为这些文件最终会进入数据库
  • 价格:免费并不总是一个好的价格;为正确的解决方案付费远比付钱给开发人员从几乎正确的解决方案构建正确的解决方案要好得多。

所见即所得编辑器尤其重要。我希望能够将一个工具交给我的设计师人员,让他们构建文档并将数据库字段放置在应该的位置,然后将其交还给我,以便我可以将其链接到数据库。

类似于 这个问题,但我觉得这个问题太模糊

I'd like to find a replacement for Crystal Reports. Oh how I dislike CR.

Ideally I'd like to find a PDF generation tool that has the following:

  • Solid API in .NET
  • Speed: we'd like to generate 1000-2500 pdfs per day
  • WYSIWYG editor
  • hotlinking of image files (logos)
  • good widow/orphan control
  • reasonably good typography control (kerning)
  • repeatable fields (like you'd see in a bank statement)
  • easy to push data in from xml data, datasets or direct sql queries
  • size: final size of the pdf files matters because these will go in a database eventually
  • price: free is not always a good price; paying for the right solution is far better than paying developers to build the right solution from an almost-right solution

The WYSIWYG editor is especially important. I'd prefer to be able to hand a tool to my designer-ish person, have them build the document and place the database fields where they are supposed to be, then hand it back to me so I can link it up to the database.

Similar to this question, but I felt that question was too vague

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

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

发布评论

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

评论(9

心是晴朗的。 2024-08-29 21:05:14

JasperReports 没有满足您的要求?

(如果您的报告始终包含相同类型的数据,您可以使用 iText(Sharp)。您花了一些时间通过代码调整设计 - 我知道这很乏味 - 但之后只需导入数据即可)

JasperReports doesn't do what you want?

(If your reports contains always the same type of data, you could use iText(Sharp). You spend some time tuning the design by code - tedious, i know -, but afterwards it's only a matter of importing data)

烟火散人牵绊 2024-08-29 21:05:14

DevExpress XtraReports 可以生成出色的报告,显然可以保存为 pdf 格式。我用它在我从事的项目之一中生成医疗报告。您可以通过编程方式或通过设计时 GUI 来构建报告(他们还有一个最终用户 GUI,可以创建/编辑报告)。

http://devexpress.com/Products/NET/Reporting/

DevExpress XtraReports do fantastic report generation, savable in pdf obviously. I use it to generate Medical reports in one of the programs that I work on. You can build the reports programmatically or via their design time GUI (They also have an end user GUI that lets reports be created/edited).

http://devexpress.com/Products/NET/Reporting/

梦幻的心爱 2024-08-29 21:05:14

我认为这里有两个不同的东西:

  1. PDF 编辑器。不妨走一走
    与 Acrobat。
  2. PDF服务器
    技术。这确实取决于
    堆栈的其余部分看起来是什么样子
    类似,但我们使用 PDFSharp
    成功地。如果你不这样做
    太多的操纵或者更多
    通用,我认为 Adob​​e 使“Adobe
    Distiller Server”。你应该看看
    两者皆有。

I think you have two different things here:

  1. A PDF editor. Might as well go
    with Acrobat.
  2. PDF server
    technology. This really depends on
    what the rest of your stack looks
    like but we use PDFSharp
    successfully. If your not doing that
    much manipulation or it's more
    generic, I think Adobe makes "Adobe
    Distiller Server". You should look
    at both.
甜嗑 2024-08-29 21:05:14

由于您使用的是 Windows,因此 SQL Server Reporting Services 非常出色,并且与 SQL Server 一起免费。您可以在 Visual Studio 或独立设计工具中执行所见即所得,它会创建 PDF 以及其他类型的报告(例如 Excel)。

报表设计完成后,它只是一个驻留在报表服务器上的 XML 文件,可以在 C# 应用程序中使用 SOAP 或 URL 进行调用。

很可能您已经拥有使用它所需的一切。

Since you are in Windows then SQL Server Reporting Services is great and free with SQL Server. You can do the WYSIWYG in Visual Studio or the stand-alone design tool and it creates PDF along with other types of reports like Excel.

Once the report is designed it is just an XML file that resides on the Reporting Server and is called in your C# application with either SOAP or URL.

Chances are you already have everything you need to use it.

甜点 2024-08-29 21:05:14

iTextSharp,非常强大&越来越受欢迎。我过去曾使用过它&推荐它。它是开源的,具有合并字段等强大的功能,可以在报告中使用。

iTextSharp, very powerful & gaining popularity. I have used it in the past & recommend it. It's opensource, has great features like merge fields etc, can be used in reports.

夏雨凉 2024-08-29 21:05:14

我不记得 iTextSharp 是否支持它,但我确信它具有获取 HTML 表示并从中生成 PDF 的功能。如果您想要的是 WYSIWYG 界面的功能和成本效益,那么您就不能真正跳过您最喜欢的 IDE 来设计 HTML 页面,并从库中以 PDF 格式输出该页面。

I can't remember or not if iTextSharp supports it or not, but I'm sure it had/has a feature for taking a HTML representation and producing a PDF from that. If what you want is power, cost-benefit with a WYSIWYG interface, you can't really go past your favourite IDE for designing a HTML page, and outputing that in PDF format from a library.

总攻大人 2024-08-29 21:05:14

Prince XML (http://www.princexml.com/) 和 ABCPdf.net (http://websupergoo.com/linktous.htm) 都会执行此操作。就我个人而言,我更喜欢 ABCPDF,因为它是一个托管的 .Net 组件,而不是一个不确定的 .exe 包装。 WMD 内容编辑器。

Prince XML (http://www.princexml.com/) and ABCPdf.net (http://websupergoo.com/linktous.htm) will both do this. Personally I prefer ABCPDF as it is a managed .Net component not an iffy .exe wrapped up. WMD editor for the content.

此刻的回忆 2024-08-29 21:05:14

所见即所得编辑器尤其重要。

我会在这里推荐CxReports

可视化编辑器允许创建非常复杂的报告。所有其他要求也得到支持。

The WYSIWYG editor is especially important.

I would recommend CxReports here.

The visual editor allows the creation of very sophisticated reports. All other requirements are supported too.

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