我需要根据内容类型(如果需要,可以灵活地创建)来创建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 (官方网站)以获取自定义解决方案
- collective.sendaspdf 以获得OOTB解决方案
- Reportlab (official site) for a custom solution
- collective.sendaspdf for an ootb solution
更多推荐
从Plone内容类型生成PDF
发布评论