Hello all,
I start using PoDoFo 0.9.6 and overall I'm really happy with it - Thanks
for your efforts!
So far I could not get Radio Buttons in AcroForms to work.
- Are radio buttons supported already?
- How to I retrieve information about the grouping of particular radio
buttons?
Just my l
Currently I'm working on parsing existing PDF files, not generating new PDF
documents.
> If you are sure that you have some radio buttons then check what is
returning curField.GetType().
> I am sure that GetType() will return correctly ePdfField_RadioButton for
radio buttons as I am
> using it
Thanks for pointing this out Michal!
> To read acroforms correctly using current podofo
> you need to check whether has annotation Parent key
> and if yes then create PdfField instance from it instead
> of from annotation itself. As also states pdf reference
> Ff key is inheritable like FT and so
> In this way can be used curField.GetType()
> or one can manually read FT, Ff and other keys
> by traversing through "Parent path" if specified key in actual node is
> missing (as pdf reference does not says that also Parent
> cannot have another Parent and so on).
Thank you very much Michal! Th
> I would be cautious about calling GetField with "annotation" index.
> It is possible that there are annotations that are not acroform fields
> so these indexes would not match and there can be different number
> of annotations and acroform fields. Better would be ...
Thank you for pointing this