Hi all:
I'm seeking for a solution of how to populate a pdf template file and finally found one which using pdfrw .That example is quite simple and straightforward by using adobe acrobat as template editing tool and python dict as a render way.
I'm using python3.6 and Adobe Acrobat Pro DC 2018.011.20038 on windows7 platform
But it has its own problems with the result pdf file:
the content of each cell rendered cannot be seen until they got manually clicked .(serious)
the checkbox element in pdf cannot be rendered. (middle)
the cell is not freezed , and anyone who opened the file can edit it freely.(low)
I've tried to investigate , but it seems requires plenty of knowledge about canvas and pdf format which is boring and time consuming .
So , is there any guys who has experienecs of doing things like this ? Appreciate a lot if you don't mind to share .
It's old post but if you're interested see my comment on #84. I've used you're sampe template pdf file to populate first text field. It can fix the first issue.
Hi all: I'm seeking for a solution of how to populate a pdf template file and finally found one which using pdfrw .That example is quite simple and straightforward by using
adobe acrobat
as template editing tool andpython dict
as a render way.This is my gist file and the
sample tempalte file
can be downloaded hereBut it has its own problems with the result pdf file:
checkbox
element in pdf cannot be rendered. (middle)the cell is not freezed , and anyone who opened the file can edit it freely.(low)
I've tried to investigate , but it seems requires plenty of knowledge about canvas and pdf format which is boring and time consuming . So , is there any guys who has experienecs of doing things like this ? Appreciate a lot if you don't mind to share .