Skip to content

Add support for text format and numbers in forms.

Joao Oliveira requested to merge joliveira/okular:gsoc2019_format into master

This feature will support for Text Format depending on the format scripts on the PDF.

A more detailed reading of AFNumber_Format can be seen in:

https://phabricator.kde.org/T8886

I also extended the patch to support all the formatting scripts defined in the Acrobat Forms API Reference, which can be seen here:

https://www.pdfill.com/download/FormsAPIReference.pdf

Namely: AFNumber_Format, AFNumber_Keystroke, AFDate_Format, AFDate_Keystroke, AFTime_Format, AFTime_Keystroke, AFSpecial_Format, AFSpecial_Keystroke.

These fields are formatted depending on the parameters given to the function, they are well explained in the builtin.js file.

Edited by Joao Oliveira

Merge request reports