2010-10-14 6 views
10

Können wir interaktive PDF-Formulare mit reportlab erstellen? Das heißt, ein Formular, das Daten von Lesern aufnimmt und in der Datenbank speichert.Können wir interaktive PDF-Formulare mit reportlab erstellen?

+1

Um die Frage, was ein interaktives Formular ist zu klären - http://help.adobe.com/en_US/Acrobat/9.0/Standard/WS58a04a822e3e50102bd615109794195ff-7dd2.w.html und dieses Beispiel http: // Hilfe .adobe.com/de_DE/Acrobat/9.0/Samples/interactiveform_enabled.pdf und ja, ich brauche das auch von reportlab ;-) – user288299

+1

Was meinst du mit interaktiven PDF-Formularen? – Seitaridis

Antwort

7

reportlab.pdfbase.pdfform.py bedeutet, dass Sie können, aber es klingt nicht wie ein ausgereiftes Feature.

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