| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165 | 
							- /* Copyright 2017 Mozilla Foundation
 
-  *
 
-  * Licensed under the Apache License, Version 2.0 (the "License");
 
-  * you may not use this file except in compliance with the License.
 
-  * You may obtain a copy of the License at
 
-  *
 
-  *     http://www.apache.org/licenses/LICENSE-2.0
 
-  *
 
-  * Unless required by applicable law or agreed to in writing, software
 
-  * distributed under the License is distributed on an "AS IS" BASIS,
 
-  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 
-  * See the License for the specific language governing permissions and
 
-  * limitations under the License.
 
-  */
 
- 'use strict';
 
- var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
 
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
 
- var IPDFLinkService = function () {
 
-   function IPDFLinkService() {
 
-     _classCallCheck(this, IPDFLinkService);
 
-   }
 
-   _createClass(IPDFLinkService, [{
 
-     key: 'navigateTo',
 
-     value: function navigateTo(dest) {}
 
-   }, {
 
-     key: 'getDestinationHash',
 
-     value: function getDestinationHash(dest) {}
 
-   }, {
 
-     key: 'getAnchorUrl',
 
-     value: function getAnchorUrl(hash) {}
 
-   }, {
 
-     key: 'setHash',
 
-     value: function setHash(hash) {}
 
-   }, {
 
-     key: 'executeNamedAction',
 
-     value: function executeNamedAction(action) {}
 
-   }, {
 
-     key: 'onFileAttachmentAnnotation',
 
-     value: function onFileAttachmentAnnotation(_ref) {
 
-       var id = _ref.id,
 
-           filename = _ref.filename,
 
-           content = _ref.content;
 
-     }
 
-   }, {
 
-     key: 'cachePageRef',
 
-     value: function cachePageRef(pageNum, pageRef) {}
 
-   }, {
 
-     key: 'page',
 
-     get: function get() {},
 
-     set: function set(value) {}
 
-   }, {
 
-     key: 'rotation',
 
-     get: function get() {},
 
-     set: function set(value) {}
 
-   }]);
 
-   return IPDFLinkService;
 
- }();
 
- var IPDFHistory = function () {
 
-   function IPDFHistory() {
 
-     _classCallCheck(this, IPDFHistory);
 
-   }
 
-   _createClass(IPDFHistory, [{
 
-     key: 'initialize',
 
-     value: function initialize(fingerprint) {
 
-       var resetHistory = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
 
-     }
 
-   }, {
 
-     key: 'push',
 
-     value: function push(_ref2) {
 
-       var namedDest = _ref2.namedDest,
 
-           explicitDest = _ref2.explicitDest,
 
-           pageNumber = _ref2.pageNumber;
 
-     }
 
-   }, {
 
-     key: 'pushCurrentPosition',
 
-     value: function pushCurrentPosition() {}
 
-   }, {
 
-     key: 'back',
 
-     value: function back() {}
 
-   }, {
 
-     key: 'forward',
 
-     value: function forward() {}
 
-   }]);
 
-   return IPDFHistory;
 
- }();
 
- var IRenderableView = function () {
 
-   function IRenderableView() {
 
-     _classCallCheck(this, IRenderableView);
 
-   }
 
-   _createClass(IRenderableView, [{
 
-     key: 'draw',
 
-     value: function draw() {}
 
-   }, {
 
-     key: 'resume',
 
-     value: function resume() {}
 
-   }, {
 
-     key: 'renderingId',
 
-     get: function get() {}
 
-   }, {
 
-     key: 'renderingState',
 
-     get: function get() {}
 
-   }]);
 
-   return IRenderableView;
 
- }();
 
- var IPDFTextLayerFactory = function () {
 
-   function IPDFTextLayerFactory() {
 
-     _classCallCheck(this, IPDFTextLayerFactory);
 
-   }
 
-   _createClass(IPDFTextLayerFactory, [{
 
-     key: 'createTextLayerBuilder',
 
-     value: function createTextLayerBuilder(textLayerDiv, pageIndex, viewport) {
 
-       var enhanceTextSelection = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : false;
 
-     }
 
-   }]);
 
-   return IPDFTextLayerFactory;
 
- }();
 
- var IPDFAnnotationLayerFactory = function () {
 
-   function IPDFAnnotationLayerFactory() {
 
-     _classCallCheck(this, IPDFAnnotationLayerFactory);
 
-   }
 
-   _createClass(IPDFAnnotationLayerFactory, [{
 
-     key: 'createAnnotationLayerBuilder',
 
-     value: function createAnnotationLayerBuilder(pageDiv, pdfPage) {
 
-       var renderInteractiveForms = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
 
-       var l10n = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : undefined;
 
-     }
 
-   }]);
 
-   return IPDFAnnotationLayerFactory;
 
- }();
 
- var IL10n = function () {
 
-   function IL10n() {
 
-     _classCallCheck(this, IL10n);
 
-   }
 
-   _createClass(IL10n, [{
 
-     key: 'getDirection',
 
-     value: function getDirection() {}
 
-   }, {
 
-     key: 'get',
 
-     value: function get(key, args, fallback) {}
 
-   }, {
 
-     key: 'translate',
 
-     value: function translate(element) {}
 
-   }]);
 
-   return IL10n;
 
- }();
 
 
  |