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

时间:2010-10-14 01:27:42

标签: python django pdf reportlab

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

1 个答案:

答案 0 :(得分:8)

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.