[okular] [Bug 271728] Okular does not calculate in PDF forms

Andre Heinecke bugzilla_noreply at kde.org
Wed Jan 24 12:31:52 UTC 2018


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

Andre Heinecke <aheinecke at intevation.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |aheinecke at intevation.de

--- Comment #9 from Andre Heinecke <aheinecke at intevation.de> ---
While working on
https://phabricator.kde.org/T7805

I also looked at the file here it seems to do something to calculate the last
sum that is not handled by poppler. If I use popplers/util/pdfinfo -js I don't
get the JavaScript returned that contains the calculate call. So Okular does
not even evaluate it.

Using pdfextract from the origami-pdf package i can extract the JavaScript
though and it uses AFSimple_Calculate. But I don't see where the JavaScript is
added. It does not appear to be in a calculate action, otherwise poppler would
extract it. Also if I try to edit the PDF in Adobe Acrobat Pro it tells me that
the document uses "advanced features" which are not supported by Acrobat Pro.


So as far as I understand it, while above mentioned Task would fix the
calculation in theory, it does not fix this issue as the JavaScript for the
calculation is injected in a way that poppler / okular don't extract. Yet.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Okular-devel mailing list