python - 我们可以使用 reportlab 创建交互式 PDF 表单吗?

标签 python django pdf reportlab

我们可以使用 reportlab 创建交互式 PDF 表单吗?即,一种从读者那里获取数据并将其保存到数据库中的表单。

最佳答案

reportlab.pdfbase.pdfform.py 暗示你可以,但它听起来不像是一个成熟的功能。

Support for Acrobat Forms in ReportLab documents

This module is somewhat experimental at this time.

Includes basic support for
    textfields,
    select fields (drop down lists), and
    check buttons.

The public interface consists of functions at the moment.
At some later date these operations may be made into canvas
methods. (comments?)

The ...Absolute(...) functions position the fields with respect
to the absolute canvas coordinate space -- that is, they do not
respect any coordinate transforms in effect for the canvas.

关于python - 我们可以使用 reportlab 创建交互式 PDF 表单吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3929408/

相关文章:

php - PHP 中的 PDFLib 占用资源而不刷新到文件

python - scikit-learn 多维特征

python - tf.image.resize_bilinear() - 当 align_corners=False 时

python - IntegrityError :NOT NULL constraint failed: chatapp_chat. 消息

django - 我如何从views.py编辑/更改模型字段的值

java - 在 Spring 中定义 PDF 访问类的范围和正确方法是什么?

处理 PDF 文件的 Java MapReduce 程序

python - 用python练习BDD

python - 如何在OpenCV中改变照片的曝光度

python - 如何引发多个非字段错误