2010-10-14 16 views
10

Chúng tôi có thể tạo các biểu mẫu PDF tương tác bằng cách sử dụng reportlab không? Đó là, một hình thức lấy dữ liệu từ người đọc và lưu chúng vào cơ sở dữ liệu.Chúng tôi có thể tạo các biểu mẫu PDF tương tác bằng cách sử dụng reportlab không?

+1

Để làm rõ những câu hỏi về những gì một hình thức tương tác là - http://help.adobe.com/en_US/Acrobat/9.0/Standard/WS58a04a822e3e50102bd615109794195ff-7dd2.w.html và ví dụ này http: // help .adobe.com/en_US/Acrobat/9.0/Samples/interactiveform_enabled.pdf và vâng, tôi cũng cần điều này từ reportlab ;-) – user288299

+1

Bạn có ý gì với các mẫu PDF tương tác? – Seitaridis

Trả lời

7

reportlab.pdfbase.pdfform.py ngụ ý rằng bạn có thể, nhưng nó không giống như một tính năng trưởng thành.

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. 
Các vấn đề liên quan