|
@@ -24,8 +24,8 @@
|
|
|
}(this, function (exports) {
|
|
|
// Use strict in our context only - users might not want it
|
|
|
'use strict';
|
|
|
- var pdfjsVersion = '1.6.299';
|
|
|
- var pdfjsBuild = 'fe3c12b';
|
|
|
+ var pdfjsVersion = '1.6.302';
|
|
|
+ var pdfjsBuild = '1d82521';
|
|
|
var pdfjsFilePath = typeof document !== 'undefined' && document.currentScript ? document.currentScript.src : null;
|
|
|
var pdfjsLibs = {};
|
|
|
(function pdfjsWrapper() {
|
|
@@ -53514,7 +53514,6 @@
|
|
|
var pageLabels = new Array(this.numPages);
|
|
|
var style = null;
|
|
|
var prefix = '';
|
|
|
- var start = 1;
|
|
|
var numberTree = new NumberTree(obj, this.xref);
|
|
|
var nums = numberTree.getAll();
|
|
|
var currentLabel = '', currentIndex = 1;
|
|
@@ -53527,11 +53526,12 @@
|
|
|
var s = labelDict.get('S');
|
|
|
assert(!s || isName(s), 'Invalid style in PageLabel dictionary.');
|
|
|
style = s ? s.name : null;
|
|
|
- prefix = labelDict.get('P') || '';
|
|
|
- assert(isString(prefix), 'Invalid prefix in PageLabel dictionary.');
|
|
|
- start = labelDict.get('St') || 1;
|
|
|
- assert(isInt(start), 'Invalid start in PageLabel dictionary.');
|
|
|
- currentIndex = start;
|
|
|
+ var p = labelDict.get('P');
|
|
|
+ assert(!p || isString(p), 'Invalid prefix in PageLabel dictionary.');
|
|
|
+ prefix = p ? stringToPDFString(p) : '';
|
|
|
+ var st = labelDict.get('St');
|
|
|
+ assert(!st || isInt(st) && st >= 1, 'Invalid start in PageLabel dictionary.');
|
|
|
+ currentIndex = st || 1;
|
|
|
}
|
|
|
switch (style) {
|
|
|
case 'D':
|