On Fri, Apr 25, 2014 at 6:56 AM, Leonard Rosenthol <lrose...@adobe.com>wrote:
> The FT key can be inherited from it’s parent when they are organized in
> a hierarchy (ISO 32000-1, 12.7.3.1).
>
> Yes, checking the Subtype is the correct way to identify a form field.
> HOWEVER, you should probably also look at adding inheritance support (as a
> generalization) to some/all of the field related APIs.
>
> Leonard
>
>
> 2) Should PoDoFo be changed to not require the presence of the "FT" key
> and simply accept the presence of the "/n Subtype = /Widget" to indicate a
> form field?
>
>
>
Leonard,
Thank you for your insightful feedback. I was going a bit nuts
wondering why the form worked in Adobe reader but lacked the keys. I did
not read the spec as closely as I should have.
Adding "inheritance support" is probably best left to Dominik and
others who are more familiar with the code base than I.
Dominik,
How do you want to tackle this issue? It is fairly easy to remove the
check for HasKey('FT') in PdfPage::GetNumFields() and PdfPage::GetField()...
------------------------------------------------------------------------------
Start Your Social Network Today - Download eXo Platform
Build your Enterprise Intranet with eXo Platform Software
Java Based Open Source Intranet - Social, Extensible, Cloud Ready
Get Started Now And Turn Your Intranet Into A Collaboration Platform
http://p.sf.net/sfu/ExoPlatform
_______________________________________________
Podofo-users mailing list
Podofo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/podofo-users