mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-22 16:18:08 +02:00
Named actions implementation
This commit is contained in:
parent
e2993a7251
commit
75035a2970
2 changed files with 53 additions and 1 deletions
|
@ -629,6 +629,8 @@ var LinkAnnotation = (function LinkAnnotationClosure() {
|
|||
}
|
||||
data.url = url;
|
||||
data.dest = action.get('D');
|
||||
} else if (linkType === 'Named') {
|
||||
data.action = action.get('N').name;
|
||||
} else {
|
||||
TODO('unrecognized link type: ' + linkType);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue