pdf.js 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. /* Copyright 2017 Mozilla Foundation
  2. *
  3. * Licensed under the Apache License, Version 2.0 (the "License");
  4. * you may not use this file except in compliance with the License.
  5. * You may obtain a copy of the License at
  6. *
  7. * http://www.apache.org/licenses/LICENSE-2.0
  8. *
  9. * Unless required by applicable law or agreed to in writing, software
  10. * distributed under the License is distributed on an "AS IS" BASIS,
  11. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  12. * See the License for the specific language governing permissions and
  13. * limitations under the License.
  14. */
  15. 'use strict';
  16. var pdfjsVersion = '1.7.344';
  17. var pdfjsBuild = 'c2905614';
  18. var pdfjsSharedUtil = require('./shared/util.js');
  19. var pdfjsDisplayGlobal = require('./display/global.js');
  20. var pdfjsDisplayAPI = require('./display/api.js');
  21. var pdfjsDisplayTextLayer = require('./display/text_layer.js');
  22. var pdfjsDisplayAnnotationLayer = require('./display/annotation_layer.js');
  23. var pdfjsDisplayDOMUtils = require('./display/dom_utils.js');
  24. var pdfjsDisplaySVG = require('./display/svg.js');
  25. exports.PDFJS = pdfjsDisplayGlobal.PDFJS;
  26. exports.build = pdfjsDisplayAPI.build;
  27. exports.version = pdfjsDisplayAPI.version;
  28. exports.getDocument = pdfjsDisplayAPI.getDocument;
  29. exports.PDFDataRangeTransport = pdfjsDisplayAPI.PDFDataRangeTransport;
  30. exports.PDFWorker = pdfjsDisplayAPI.PDFWorker;
  31. exports.renderTextLayer = pdfjsDisplayTextLayer.renderTextLayer;
  32. exports.AnnotationLayer = pdfjsDisplayAnnotationLayer.AnnotationLayer;
  33. exports.CustomStyle = pdfjsDisplayDOMUtils.CustomStyle;
  34. exports.createPromiseCapability = pdfjsSharedUtil.createPromiseCapability;
  35. exports.PasswordResponses = pdfjsSharedUtil.PasswordResponses;
  36. exports.InvalidPDFException = pdfjsSharedUtil.InvalidPDFException;
  37. exports.MissingPDFException = pdfjsSharedUtil.MissingPDFException;
  38. exports.SVGGraphics = pdfjsDisplaySVG.SVGGraphics;
  39. exports.UnexpectedResponseException = pdfjsSharedUtil.UnexpectedResponseException;
  40. exports.OPS = pdfjsSharedUtil.OPS;
  41. exports.UNSUPPORTED_FEATURES = pdfjsSharedUtil.UNSUPPORTED_FEATURES;
  42. exports.isValidUrl = pdfjsDisplayDOMUtils.isValidUrl;
  43. exports.createValidAbsoluteUrl = pdfjsSharedUtil.createValidAbsoluteUrl;
  44. exports.createObjectURL = pdfjsSharedUtil.createObjectURL;
  45. exports.removeNullCharacters = pdfjsSharedUtil.removeNullCharacters;
  46. exports.shadow = pdfjsSharedUtil.shadow;
  47. exports.createBlob = pdfjsSharedUtil.createBlob;
  48. exports.getFilenameFromUrl = pdfjsDisplayDOMUtils.getFilenameFromUrl;
  49. exports.addLinkAttributes = pdfjsDisplayDOMUtils.addLinkAttributes;