从Plone内容类型生成PDF

编程入门 行业动态 更新时间:2024-10-25 22:26:46
本文介绍了从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 (官方网站)以获取自定义解决方案
  • collective.sendaspdf 以获得OOTB解决方案
  • Reportlab (official site) for a custom solution
  • collective.sendaspdf for an ootb solution

更多推荐

从Plone内容类型生成PDF

本文发布于:2023-07-16 22:59:10,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1126823.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:类型   内容   Plone   PDF

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!