okular/core/script
Alexis Murzeau 2609f4001a Add support for app.popUpMenu and submenus in popUpMenuEx
These functions from `app` are JS functions that can be used by PDF
files.

Based on popUpMenuEx, the implementation of popUpMenu converts arguments
to app.popUpMenuEx format and then call it.

The popMenuEx function is improved to handle submenus as well using
`oSubMenu`.

app.popUpMenu is used in Altium Designer and EasyEDA exported PDFs.
See an example here:
https://www.st.com/en/evaluation-tools/32f723ediscovery.html#cad-resources
https://www.st.com/resource/en/schematic_pack/mb1260-f723e-d03_schematic.pdf

BUGS: 479777
2024-01-17 19:01:08 +00:00
..
builtin.js Add support for app.popUpMenu and submenus in popUpMenuEx 2024-01-17 19:01:08 +00:00
builtin.qrc Add initial support for built-in javascript functs 2018-02-22 00:12:44 +01:00
event.cpp Initial implementation of app.popUpMenuEx 2023-08-05 18:20:54 +00:00
event_p.h Initial implementation of app.popUpMenuEx 2023-08-05 18:20:54 +00:00
executor_js.cpp Remove the last references to kjs from the JS executor 2023-06-22 17:45:08 +02:00
executor_js_p.h Remove the last references to kjs from the JS executor 2023-06-22 17:45:08 +02:00
js_app.cpp Add support for app.popUpMenu and submenus in popUpMenuEx 2024-01-17 19:01:08 +00:00
js_app_p.h Add support for app.popUpMenu and submenus in popUpMenuEx 2024-01-17 19:01:08 +00:00
js_console.cpp Rename JS scripting files to no longer mention kjs 2023-06-22 17:40:50 +02:00
js_console_p.h Rename JS scripting files to no longer mention kjs 2023-06-22 17:40:50 +02:00
js_data.cpp Rename JS scripting files to no longer mention kjs 2023-06-22 17:40:50 +02:00
js_data_p.h Rename JS scripting files to no longer mention kjs 2023-06-22 17:40:50 +02:00
js_display.cpp Rename JS scripting files to no longer mention kjs 2023-06-22 17:40:50 +02:00
js_display_p.h Rename JS scripting files to no longer mention kjs 2023-06-22 17:40:50 +02:00
js_document.cpp s/qAsConst/std::as_const/ 2023-12-19 11:46:24 +00:00
js_document_p.h Rename JS scripting files to no longer mention kjs 2023-06-22 17:40:50 +02:00
js_event.cpp Initial implementation of app.popUpMenuEx 2023-08-05 18:20:54 +00:00
js_event_p.h Rename JS scripting files to no longer mention kjs 2023-06-22 17:40:50 +02:00
js_field.cpp Fix creation of new JS objects 2023-09-11 17:36:01 +00:00
js_field_p.h The nFace argument in PDF JS button icon methods is optional 2023-09-11 17:36:01 +00:00
js_fullscreen.cpp Rename JS scripting files to no longer mention kjs 2023-06-22 17:40:50 +02:00
js_fullscreen_p.h Rename JS scripting files to no longer mention kjs 2023-06-22 17:40:50 +02:00
js_ocg.cpp Rename JS scripting files to no longer mention kjs 2023-06-22 17:40:50 +02:00
js_ocg_p.h Rename JS scripting files to no longer mention kjs 2023-06-22 17:40:50 +02:00
js_spell.cpp Rename JS scripting files to no longer mention kjs 2023-06-22 17:40:50 +02:00
js_spell_p.h Rename JS scripting files to no longer mention kjs 2023-06-22 17:40:50 +02:00
js_util.cpp Rename JS scripting files to no longer mention kjs 2023-06-22 17:40:50 +02:00
js_util_p.h Rename JS scripting files to no longer mention kjs 2023-06-22 17:40:50 +02:00