Open Bug 1724398 Opened 3 years ago Updated 2 years ago

[meta] [XFA] Support basic JS actions

Categories

(Firefox :: PDF Viewer, enhancement)

enhancement

Tracking

()

People

(Reporter: marco, Unassigned)

References

(Depends on 4 open bugs, Blocks 1 open bug)

Details

(Keywords: meta)

Attachments

(1 file)

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.

See Also: → 1724400
See Also: → 1722996

Maybe links (bug 1716758) are also basic JS actions, we should figure it out.

See Also: → 1716758
Depends on: 1724399
Depends on: 1730652
Depends on: 1730653
Depends on: 1730654
Depends on: 1730655
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.

Attachment

General

Created:
Updated:
Size: