Open
Bug 1724398
Opened 3 years ago
Updated 2 years ago
[meta] [XFA] Support basic JS actions
Categories
(Firefox :: PDF Viewer, enhancement)
Firefox
PDF Viewer
Tracking
()
NEW
People
(Reporter: marco, Unassigned)
References
(Depends on 4 open bugs, Blocks 1 open bug)
Details
(Keywords: meta)
Attachments
(1 file)
1.84 MB,
application/pdf
|
Details |
In a Canadian form, the printing, saving and resetting buttons are pretty simple JS actions that don't require to recompute the layout:
- Printing:
xfa.host.print(1, "0", (xfa.host.numPages -1).toString(), 0, 0, 0, 0, 0);
- Saving:
app.execMenuItem("SaveAs");
- Resetting:
xfa.host.resetData();
- Showing message box:
xfa.host.messageBox
- Setting focus:
xfa.host.setFocus
We could start by implementing JS support only for running these specific actions.
Reporter | ||
Comment 1•3 years ago
|
||
Reporter | ||
Comment 2•3 years ago
|
||
Maybe links (bug 1716758) are also basic JS actions, we should figure it out.
See Also: → 1716758
Reporter | ||
Updated•3 years ago
|
Keywords: meta
Summary: [XFA] Support basic JS actions → [meta] [XFA] Support basic JS actions
You need to log in
before you can comment on or make changes to this bug.
Description
•