我们可以使用reportlab创建交互式PDF表单吗? [英] Can we create interactive PDF forms using reportlab?

查看:163
本文介绍了我们可以使用reportlab创建交互式PDF表单吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

解决方案

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

 在ReportLab文档中支持Acrobat表单

这个模块在这个时候有点实验。

包括
文本框,
选择字段(下拉列表)和
检查按钮的基本支持。

公共接口目前由功能组成。
在稍后的日期,这些操作可以被制成画布
方法。 (评论?)

...绝对(...)函数将相对于
的字段定位到绝对画布坐标空间 - 也就是说,它们不是
尊重对画布有效的任何坐标变换。


Can we create interactive PDF forms using reportlab? That is, a form that takes in data from readers and save them into the database.

解决方案

reportlab.pdfbase.pdfform.py implies that you can, but it doesn't sound like a mature 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.

这篇关于我们可以使用reportlab创建交互式PDF表单吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆