mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-09 17:55:37 +02:00
Add the possibility to collect Javascript actions
This commit is contained in:
parent
fd1d9cc85f
commit
71ecc3129b
7 changed files with 383 additions and 3 deletions
|
@ -144,6 +144,28 @@ const AnnotationBorderStyleType = {
|
|||
UNDERLINE: 5,
|
||||
};
|
||||
|
||||
const AnnotationActionEventType = {
|
||||
E: "MouseEnter",
|
||||
X: "MouseExit",
|
||||
D: "MouseDown",
|
||||
U: "MouseUp",
|
||||
Fo: "Focus",
|
||||
Bl: "Blur",
|
||||
PO: "PageOpen",
|
||||
PC: "PageClose",
|
||||
PV: "PageVisible",
|
||||
PI: "PageInvisible",
|
||||
K: "Keystroke",
|
||||
F: "Format",
|
||||
V: "Validate",
|
||||
C: "Calculate",
|
||||
WC: "WillClose",
|
||||
WS: "WillSave",
|
||||
DS: "DidSave",
|
||||
WP: "WillPrint",
|
||||
DP: "DidPrint",
|
||||
};
|
||||
|
||||
const StreamType = {
|
||||
UNKNOWN: "UNKNOWN",
|
||||
FLATE: "FLATE",
|
||||
|
@ -971,6 +993,7 @@ export {
|
|||
OPS,
|
||||
VerbosityLevel,
|
||||
UNSUPPORTED_FEATURES,
|
||||
AnnotationActionEventType,
|
||||
AnnotationBorderStyleType,
|
||||
AnnotationFieldFlag,
|
||||
AnnotationFlag,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue