[Podofo-users] Support for Radio Buttons?

2019-03-17 Thread stefa...@t-online.de
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

Re: [Podofo-users] Support for Radio Buttons?

2019-03-19 Thread stefa...@t-online.de
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

Re: [Podofo-users] Support for Radio Buttons?

2019-03-20 Thread stefa...@t-online.de
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

Re: [Podofo-users] Support for Radio Buttons?

2019-03-25 Thread stefa...@t-online.de
> 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

Re: [Podofo-users] Support for Radio Buttons?

2019-03-26 Thread stefa...@t-online.de
> 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