Skip to content

qt5: Add option to get choice for export value

Albert Astals Cid requested to merge aacid/poppler:choice_export_value into master

Allows me to get 0,1 and 0,25 from the hidden choice values from https://www.skatteetaten.no/globalassets/skjema/alltid/1-refusjonsskjema-skatteavtale-person so i can use them in JavaScript to calculate the 10% and the 25%

i.e. pdf has /Opt [ [ (0,1) (10%) ] ] /T (RE_drop)

and then the JavaScript does event.value=AFMakeNumber\(getField\("Gross1"\).value\)*AFMakeNumber\(getField\("RE_drop"\).value\))

Merge request reports