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 little code snippet:
 
            [...]
            PdfField curField = curPage->GetField(i);
 
            switch (curField.GetType())
            {
                case ePdfField_PushButton:
                case ePdfField_RadioButton:
                case ePdfField_CheckBox:
                {
                    PdfButton   bt = static_cast<PdfButton>(curField);
 
                    if (bt.IsCheckBox())
                        logMsg += "Type: Checkbox\n";
                    else if (bt.IsRadioButton())
                        logMsg += "Type: Radiobutton\n";
                    else if (bt.IsPushButton())
                        logMsg += "Type: Pushbutton\n";
                }; break;
 
With PoDoFo 0.9.6 and this code all the radio buttons in my PDF document 
are reported as Checkbox. Is this known behavior?
 
Thanks,
Stefan

_______________________________________________
Podofo-users mailing list
Podofo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/podofo-users

Reply via email to