1
0
Fork 0
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:
Tim van der Meij 2013-08-08 21:59:59 +02:00
parent e2993a7251
commit 75035a2970
2 changed files with 53 additions and 1 deletions

View file

@ -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);
}