Skip to content

Commit 264a909

Browse files
Update pdf.js
1 parent d2ce662 commit 264a909

6 files changed

Lines changed: 755 additions & 52 deletions

File tree

build/pdf.mjs

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
/**
2424
* pdfjsVersion = 5.4.0
25-
* pdfjsBuild = 2cc809a
25+
* pdfjsBuild = 57334bd
2626
*/
2727
/******/ // The require scope
2828
/******/ var __webpack_require__ = {};
@@ -14666,6 +14666,9 @@ class PDFDocumentProxy {
1466614666
saveDocument() {
1466714667
return this._transport.saveDocument();
1466814668
}
14669+
extractPages(pageInfos) {
14670+
return this._transport.extractPages(pageInfos);
14671+
}
1466914672
getDownloadInfo() {
1467014673
return this._transport.downloadInfoCapability.promise;
1467114674
}
@@ -15734,6 +15737,11 @@ class WorkerTransport {
1573415737
this.annotationStorage.resetModified();
1573515738
});
1573615739
}
15740+
extractPages(pageInfos) {
15741+
return this.messageHandler.sendWithPromise("ExtractPages", {
15742+
pageInfos
15743+
});
15744+
}
1573715745
getPage(pageNumber) {
1573815746
if (!Number.isInteger(pageNumber) || pageNumber <= 0 || pageNumber > this._numPages) {
1573915747
return Promise.reject(new Error("Invalid page request."));
@@ -16065,7 +16073,7 @@ class InternalRenderTask {
1606516073
}
1606616074
}
1606716075
const version = "5.4.0";
16068-
const build = "2cc809a";
16076+
const build = "57334bd";
1606916077

1607016078
;// ./src/display/editor/color_picker.js
1607116079

build/pdf.mjs.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/pdf.sandbox.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
/**
2424
* pdfjsVersion = 5.4.0
25-
* pdfjsBuild = 2cc809a
25+
* pdfjsBuild = 57334bd
2626
*/
2727
/******/ // The require scope
2828
/******/ var __webpack_require__ = {};

0 commit comments

Comments
 (0)