Module pdf_ext
source code
Manipulate pdf and fdf files (pdftk recommended).
Notes regarding pdftk, pdf forms and fdf files (form definition file)
fields names can be extracted with:
pdftk orig.pdf generate_fdf output truc.fdf
to merge fdf and pdf:
pdftk orig.pdf fill_form test.fdf output result.pdf [flatten]
without flatten, one could further edit the resulting form.
with flatten, everything is turned into text.
:copyright: 2000-2008 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
:license: General Public License version 2 - http://www.gnu.org/licenses
|
HEAD = ' %FDF-1.2\n%\xe2\xe3\xcf\xd3\n1 0 obj\n<<\n/FDF\n<<\n/F ...
|
|
TAIL = ' ]\n>>\n>>\nendobj\ntrailer\n\n<<\n/Root 1 0 R\n>>\n%%E ...
|
|
__package__ = ' logilab.common '
|
HEAD
- Value:
''' %FDF-1.2
%\xe2\xe3\xcf\xd3
1 0 obj
<<
/FDF
<<
/Fields [
'''
|
|
TAIL
- Value:
''' ]
>>
>>
endobj
trailer
<<
/Root 1 0 R
...
|
|