从Plone内容类型生成PDF [英] Generate PDF from Plone content types

查看:91
本文介绍了从Plone内容类型生成PDF的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要根据内容类型(如果需要,可以灵活地创建)来创建PDF,以便用户创建一个新文档,并在填写表格后生成PDF并准备下载.因此,基本上,在创建/修改文档之后,应该创建一个PDF并将其存储在ZODB中(实际上,我使用的是Blob),以便可以将视图链接到下载为PDF".

I need to create PDFs from content types (made with dexerity if that matters) so that the user creates a new document and after filling the form a PDF is generated and ready to be downloaded. So basically after creating/modifying the document a PDF should be created and stored in ZODB (actually I'm using blobs) so that I could link the view with a "Download as PDF".

我见过 PDFNode ,但这似乎不是我想要的.还有产品和服务;发布,但这是一个Web服务(?),我打算为其开发此应用的公司不希望(出于隐私目的)将数据发送到其数据中心之外.

I've seen PDFNode but it doesn't seem to be what I'm looking for. There's also Produce & Publish but it's a webservice(?) and the company I'm going to develop this for doesn't want (for privacy) to send data outside their datacenters.

有什么主意吗?

推荐答案

似乎您正在搜索以下内容:

It seems that you are searching for these:

  • Reportlab (official site) for a custom solution
  • collective.sendaspdf for an ootb solution

这篇关于从Plone内容类型生成PDF的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆