Можем ли мы создавать интерактивные PDF-формы, используя reportlab? - PullRequest
11 голосов
/ 14 октября 2010

Можем ли мы создавать интерактивные PDF-формы, используя reportlab? Это форма, которая принимает данные от читателей и сохраняет их в базе данных.

1 Ответ

8 голосов
/ 05 июня 2011

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.
...