Files @ 13c66e8ce296
Branch filter:

Location: NPO-Accounting/conservancy_beancount/tests/pdfforms/form1.fdf

Brett Smith
pdfforms: Initial module and tool to extract PDF form data to YAML.

Next steps:

* A tool to fill the PDF form based on values written to that YAML.
* An extension to fill some of those values with numbers queried from the
books (which is why we need something more involved than FDF).
%FDF-1.2
%âãÏÓ
1 0 obj
<<
/FDF
<<
/Fields [
<<
/T (topform)
/Kids [
    <<
        /T (text1_0)
        /FT /Tx
        /V ()
    >>
    <<
        /T (button1)
        /Kids [
            <<
                /FT /Btn
                /T (button1_0)
                /AP << /N << /1 1 0 R >> >>
            >>
            <<
                /FT /Btn
                /T (button1_1)
                /AP << /N << /2 1 0 R >> >>
            >>
        ]
    >>
    <<
        /T (text1_1)
        /FT /Tx
        /V ()
    >>
    <<
        /T (text2_0)
        /FT /Tx
        /V ()
    >>
    <<
        /T (button2)
        /Kids [
            <<
                /FT /Btn
                /T (button2_0)
                /AP << /N << /1 1 0 R >> >>
            >>
            <<
                /FT /Btn
                /T (button2_1)
                /AP << /N << /2 1 0 R >> >>
            >>
        ]
    >>
    <<
        % Readonly
        /T (text2_R)
        /FT /Tx
        /Ff 1
    >>
]
>>]
>>
>>
endobj
trailer

<<
/Root 1 0 R
>>
%%EOF