https://bugs.kde.org/show_bug.cgi?id=506196

Nicolas Fella <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #1 from Nicolas Fella <[email protected]> ---
Created attachment 198284
  --> https://bugs.kde.org/attachment.cgi?id=198284&action=edit
Cleaned up sample file

Looking at this cleaned-up version of the file, we have a script object

51 0 obj
<<
  /JS (AFSimple_Calculate\("SUM", new Array \("Betrag bruttoRow1", "Betrag
bruttoRow2", "Betrag bruttoRow3", "Betrag bruttoRow4", "Betrag
bruttoRow5"\)\);)
  /S /JavaScript
>>
endobj

but as far as I can tell that never runs (or is even parsed).

The acroform is 

3 0 obj
<<
  /CO [
    8 0 R
  ]
  /DA (/Helv 0 Tf 0 g )
  /DR <<
    /Encoding <<
      /PDFDocEncoding 9 0 R
    >>
    /Font <<
      /Helv 10 0 R
      /ZaDb 11 0 R
    >>
  >>
  /Fields [
    12 0 R
    13 0 R
    14 0 R
    15 0 R
    16 0 R
    17 0 R
    18 0 R
    19 0 R
    20 0 R
    21 0 R
    22 0 R
    23 0 R
    24 0 R
    25 0 R
    26 0 R
    27 0 R
    28 0 R
    29 0 R
    30 0 R
    31 0 R
    32 0 R
    33 0 R
    34 0 R
    35 0 R
    36 0 R
    37 0 R
    38 0 R
    39 0 R
    40 0 R
    41 0 R
    42 0 R
    43 0 R
    8 0 R
    44 0 R
    45 0 R
    46 0 R
  ]
  /SigFlags 2
>>
endobj

The object with the calculate script is 

8 0 obj
<<
  /AA <<
    /C 51 0 R
    /F 52 0 R
    /K 53 0 R
  >>
  /DA (/Helv 10 Tf 0 g)
  /FT /Tx
  /Ff 8388609
  /Kids [
    54 0 R
    55 0 R
  ]
  /Q 2
  /T (Betrag bruttoSumme)
  /TU (Betrag \(brutto\)_Summe:)
  /V (0)
>>
endobj

But the field object is not a annotation itself (but has two annotation Kids). 

Poppler seems to parse /AA only for annotations, not for fields with separate
annotations. I think that's the missing piece

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to