Calixte Denizet
6523f8880b
JS -- Plug PageOpen and PageClose actions
2021-01-06 13:31:15 +01:00
Calixte Denizet
7c3facb174
JS -- Add support for buttons
...
* radio buttons
* checkboxes
2020-12-22 16:41:51 +01:00
Calixte Denizet
1e2173f038
JS - Collect and execute actions at doc and pages level
...
* the goal is to execute actions like Open or OpenAction
* can be tested with issue6106.pdf (auto-print)
* once #12701 is merged, we can add page actions
2020-12-18 20:03:59 +01:00
Calixte Denizet
167ff1a7fc
JS -- Actions must be evaluated in global scope
...
* All the public properties of doc are injected into globalThis, in order to make them available through `this`
* Put event in the global scope too.
2020-12-17 22:01:45 +01:00
Calixte Denizet
25bf504ff5
Be sure that CalculationOrder is either null or a non-empty array
2020-12-10 16:02:11 +01:00
Calixte Denizet
2dfac4cb41
JS -- Fix events dispatchment and add tests
...
* dispatch event to take into account calculation order
* use a map for actions in Field
2020-11-10 17:26:29 +01:00
Calixte Denizet
e76a96892a
JS - Add the basic architecture to be able to execute embedded js
2020-10-21 19:00:56 +02:00