You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@whimsical.apache.org by Craig Russell <ap...@gmail.com> on 2021/07/09 21:58:01 UTC

E-mail parsing on ICLA.pdf

I notice that the secretary workbench doesn't parse the E-mail field from the pdf although it can parse full name and public name.

I cannot find the code that is supposed to parse the ICLA.pdf form fields.

I've looked in whimsy lib and whimsy www and cannot find it.

Where is this code hiding?

Craig L Russell
clr@apache.org


Re: E-mail parsing on ICLA.pdf

Posted by Craig Russell <ap...@gmail.com>.
Thanks to Sebb, it looks like the code to parse the pdf form is in whimsy/www/secretary/iclaparser.rb

But I cannot figure out how it works, since the pdf form field names are not in the code, just the form field names stripped of blanks and special characters. I looked at the raw .pdf file and it does contain stuff like [1].

And after Sebb's recent changes, the pdf form field for E-mail now works (again?)

So I guess we can now talk about how to implement the secretary creating accounts?

Craig


[1] 13 0 obj
<</Type/Annot/Subtype/Widget/F 4
/Rect[197.3 469.2 421.5 481.3]
/FT/Tx
/P 1 0 R
/T(Public Name)
/V <FEFF>
/DV <FEFF>
/MaxLen 66
/DR<</Font 6 0 R>>
/DA(0 0 0 rg /F3 10 Tf)
/AP<<
/N 45 0 R
>>
>>
endobj

> On Jul 9, 2021, at 2:58 PM, Craig Russell <ap...@gmail.com> wrote:
> 
> I notice that the secretary workbench doesn't parse the E-mail field from the pdf although it can parse full name and public name.
> 
> I cannot find the code that is supposed to parse the ICLA.pdf form fields.
> 
> I've looked in whimsy lib and whimsy www and cannot find it.
> 
> Where is this code hiding?
> 
> Craig L Russell
> clr@apache.org
> 

Craig L Russell
clr@apache.org