|
|
@ -568,6 +568,13 @@ var PDFDocumentProxy = (function PDFDocumentProxyClosure() { |
|
|
|
getPageLabels: function PDFDocumentProxy_getPageLabels() { |
|
|
|
getPageLabels: function PDFDocumentProxy_getPageLabels() { |
|
|
|
return this.transport.getPageLabels(); |
|
|
|
return this.transport.getPageLabels(); |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
/** |
|
|
|
|
|
|
|
* @return {Promise} A promise that is resolved with a {string} containing |
|
|
|
|
|
|
|
* the PageMode name. |
|
|
|
|
|
|
|
*/ |
|
|
|
|
|
|
|
getPageMode() { |
|
|
|
|
|
|
|
return this.transport.getPageMode(); |
|
|
|
|
|
|
|
}, |
|
|
|
/** |
|
|
|
/** |
|
|
|
* @return {Promise} A promise that is resolved with a lookup table for |
|
|
|
* @return {Promise} A promise that is resolved with a lookup table for |
|
|
|
* mapping named attachments to their content. |
|
|
|
* mapping named attachments to their content. |
|
|
@ -1939,6 +1946,10 @@ var WorkerTransport = (function WorkerTransportClosure() { |
|
|
|
return this.messageHandler.sendWithPromise('GetPageLabels', null); |
|
|
|
return this.messageHandler.sendWithPromise('GetPageLabels', null); |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
getPageMode() { |
|
|
|
|
|
|
|
return this.messageHandler.sendWithPromise('GetPageMode', null); |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
getAttachments: function WorkerTransport_getAttachments() { |
|
|
|
getAttachments: function WorkerTransport_getAttachments() { |
|
|
|
return this.messageHandler.sendWithPromise('GetAttachments', null); |
|
|
|
return this.messageHandler.sendWithPromise('GetAttachments', null); |
|
|
|
}, |
|
|
|
}, |
|
|
|