Lines Matching refs:xref

604       return pdfManager.pdfDocument.xref.stats;
11011 function Dict(xref) {
11013 this.xref = xref;
11021 this.xref = newXref;
11025 var xref = this.xref,
11029 return xref ? xref.fetchIfRef(value, suppressEncryption) : value;
11033 return xref ? xref.fetchIfRef(value, suppressEncryption) : value;
11037 return xref ? xref.fetchIfRef(value, suppressEncryption) : value;
11041 var xref = this.xref,
11045 if (xref) {
11046 return xref.fetchIfRefAsync(value, suppressEncryption);
11053 if (xref) {
11054 return xref.fetchIfRefAsync(value, suppressEncryption);
11062 if (xref) {
11063 return xref.fetchIfRefAsync(value, suppressEncryption);
11070 var xref = this.xref,
11073 if (!Array.isArray(value) || !xref) {
11084 value[i] = xref.fetch(value[i], suppressEncryption);
11109 Dict.merge = function (xref, dictArray) {
11110 var mergedDict = new Dict(xref);
11330 return this.ensure(this.pdfDocument.xref, prop, args);
12542 xref = _ref.xref,
12555 this.xref = xref;
12594 return _primitives.Dict.merge(this.xref, value);
12603 var xref = this.xref;
12612 streams.push(xref.fetchIfRef(_stream));
12648 var objectLoader = new _obj.ObjectLoader(_this.resources, keys, _this.xref);
12664 xref: this.xref,
12781 xref: _this3.xref,
12902 …annotationPromises.push(_annotation.AnnotationFactory.create(_this4.xref, annotationRefs[i], _this…
12961 this.xref = new _obj.XRef(stream, pdfManager);
12963 xref: this.xref,
13043 this.xref.setStartXRef(this.startXRef);
13048 this.xref.parse(recoveryMode);
13049 this.catalog = new _obj.Catalog(this.pdfManager, this.xref);
13060 return this.xref.fetchAsync(ref).then(function (obj) {
13094 xref: _this5.xref,
13231 infoDict = this.xref.trailer.get('Info');
13297 var idArray = this.xref.trailer.get('ID');
13392 function Catalog(pdfManager, xref) {
13396 this.xref = xref;
13397 this.catDict = xref.getCatalogObj();
13432 var xref = this.xref,
13437 var outlineDict = xref.fetchIfRef(i.obj);
13505 var encrypt = this.xref.trailer.get('Encrypt');
13547 return new NameTree(obj.getRaw('Dests'), this.xref);
13566 var numberTree = new NumberTree(obj, this.xref);
13725 var xref = this.xref,
13742 xref.fetchAsync(currentNode).then(function (obj) {
13835 var xref = this.xref;
13840 return xref.fetchAsync(kidRef).then(function (node) {
13885 kidPromises.push(xref.fetchAsync(kid).then(function (kid) {
13936 var suppressEncryption = !(this.xref.encrypt && this.xref.encrypt.encryptMetadata);
13937 var stream = this.xref.fetch(streamRef, suppressEncryption);
14257 var destDict = new _primitives.Dict(this.xref);
14284 var nameTree = new NameTree(obj.getRaw('EmbeddedFiles'), this.xref);
14288 var fs = new FileSpec(names[name], this.xref);
14329 var nameTree = new NameTree(obj.getRaw('JavaScript'), this.xref);
14963 xref: this,
15026 xref: this,
15158 xref: this,
15219 xref: this,
15352 function NameOrNumberTree(root, xref, type) {
15360 this.xref = xref;
15373 var xref = this.xref;
15379 var obj = xref.fetchIfRef(queue.shift());
15406 dict[xref.fetchIfRef(entries[_i2])] = xref.fetchIfRef(entries[_i2 + 1]);
15420 var xref = this.xref;
15421 var kidsOrEntries = xref.fetchIfRef(this.root);
15442 var kid = xref.fetchIfRef(kids[m]);
15445 if (key < xref.fetchIfRef(limits[0])) {
15447 } else if (key > xref.fetchIfRef(limits[1])) {
15450 kidsOrEntries = xref.fetchIfRef(kids[m]);
15470 var currentKey = xref.fetchIfRef(entries[_m]);
15477 return xref.fetchIfRef(entries[_m + 1]);
15484 var _currentKey = xref.fetchIfRef(entries[_m2]);
15488 return xref.fetchIfRef(entries[_m2 + 1]);
15505 function NameTree(root, xref) {
15508 …return _possibleConstructorReturn(this, _getPrototypeOf(NameTree).call(this, root, xref, 'Names'));
15519 function NumberTree(root, xref) {
15522 …return _possibleConstructorReturn(this, _getPrototypeOf(NumberTree).call(this, root, xref, 'Nums')…
15529 function FileSpec(root, xref) {
15534 this.xref = xref;
15593 var xref = this.xref;
15594 var fileObj = xref.fetchIfRef(this.contentRef);
15649 function ObjectLoader(dict, keys, xref) {
15652 this.xref = xref;
15661 …if (!(this.xref.stream instanceof _chunked_stream.ChunkedStream) || this.xref.stream.getMissingChu…
15699 currentNode = this.xref.fetch(currentNode);
15738 this.xref.stream.manager.requestRanges(pendingRequests).then(function () {
15816 xref = _ref.xref,
15825 this.xref = xref;
15893 var dict = new _primitives.Dict(this.xref);
16202 var dict = new _primitives.Dict(this.xref);
16230 var filterZero = this.xref.fetchIfRef(filter[0]);
16414 filter = this.xref.fetchIfRef(filterArray[i]);
16423 params = this.xref.fetchIfRef(paramsArray[i]);
16442 var xrefStreamStats = this.xref.stats.streamTypes;
17071 xref: null
27336 value: function parse(cs, xref, res, pdfFunctionFactory) {
27337 var IR = this.parseToIR(cs, xref, res, pdfFunctionFactory);
27402 value: function parseToIR(cs, xref) {
27405 cs = xref.fetchIfRef(cs);
27433 return this.parseToIR(resCS, xref, res, pdfFunctionFactory);
27447 var mode = xref.fetchIfRef(cs[0]).name;
27464 params = xref.fetchIfRef(cs[1]);
27471 params = xref.fetchIfRef(cs[1]);
27479 var stream = xref.fetchIfRef(cs[1]);
27485 var altIR = this.parseToIR(alt, xref, res, pdfFunctionFactory);
27509 basePatternCS = this.parseToIR(basePatternCS, xref, res, pdfFunctionFactory);
27516 var baseIndexedCS = this.parseToIR(cs[1], xref, res, pdfFunctionFactory);
27517 var hiVal = xref.fetchIfRef(cs[2]) + 1;
27518 var lookup = xref.fetchIfRef(cs[3]);
27528 var name = xref.fetchIfRef(cs[1]);
27530 alt = this.parseToIR(cs[2], xref, res, pdfFunctionFactory);
27531 var tintFn = pdfFunctionFactory.create(xref.fetchIfRef(cs[3]));
27535 params = xref.fetchIfRef(cs[1]);
28422 value: function create(xref, ref, pdfManager, idFactory) {
28423 return pdfManager.ensure(this, '_create', [xref, ref, pdfManager, idFactory]);
28427 value: function _create(xref, ref, pdfManager, idFactory) {
28428 var dict = xref.fetchIfRef(ref);
28438 xref: xref,
28732 var objectLoader = new _obj.ObjectLoader(resources, keys, resources.xref);
29251 var xref = params.xref;
29254 var option = xref.fetchIfRef(options[i]);
29257 exportValue: isOptionArray ? xref.fetchIfRef(option[0]) : option,
29258 … displayValue: (0, _util.stringToPDFString)(isOptionArray ? xref.fetchIfRef(option[1]) : option)
29536 var xref = parameters.xref;
29545 x: xref.fetchIfRef(originalInkLists[i][j]),
29546 y: xref.fetchIfRef(originalInkLists[i][j + 1])
29658 var file = new _obj.FileSpec(parameters.dict.get('FS'), parameters.xref);
30383 var xref = _ref.xref,
30392 this.xref = xref;
30553 xref = this.xref;
30591 xObject = xref.fetch(xObject);
30649 …colorSpace = _colorspace.ColorSpace.parse(group.get('CS'), this.xref, resources, this.pdfFunctionF…
30756 xref: this.xref,
30775 …eam.JpegStream && _image_utils.NativeImageDecoder.isSupported(image, this.xref, resources, this.pd…
30809 xref: this.xref,
30821 xref: this.xref,
30913 var patternResources = _primitives.Dict.merge(this.xref, resourcesArray);
31083 xref = this.xref;
31111 font = xref.fetchIfRef(fontRef);
31182 var xrefFontStats = xref.stats.fontTypes;
31196 var xrefFontStats = xref.stats.fontTypes;
31264 …pattern = _pattern.Pattern.parseShading(shading, matrix, this.xref, resources, this.handler, this.…
31305 var xref = this.xref;
31314 var preprocessor = new EvaluatorPreprocessor(stream, xref, stateManager);
31503 …stateManager.state.fillColorSpace = _colorspace.ColorSpace.parse(args[0], xref, resources, self.pd…
31507 …stateManager.state.strokeColorSpace = _colorspace.ColorSpace.parse(args[0], xref, resources, self.…
31593 …var shadingFill = _pattern.Pattern.parseShading(shading, null, xref, resources, self.handler, self…
31714 var xref = this.xref;
31717 var preprocessor = new EvaluatorPreprocessor(stream, xref, stateManager);
32267 var xref = this.xref,
32306 var data = xref.fetchIfRef(diffEncoding[j]);
32565 var xref = this.xref;
32578 start = xref.fetchIfRef(widths[i++]);
32579 code = xref.fetchIfRef(widths[i]);
32583 glyphsWidths[start++] = xref.fetchIfRef(code[j]);
32586 var width = xref.fetchIfRef(widths[++i]);
32602 start = xref.fetchIfRef(vmetrics[i++]);
32603 code = xref.fetchIfRef(vmetrics[i]);
32607 …glyphsVMetrics[start++] = [xref.fetchIfRef(code[j++]), xref.fetchIfRef(code[j++]), xref.fetchIfRef…
32610 …var vmetric = [xref.fetchIfRef(vmetrics[++i]), xref.fetchIfRef(vmetrics[++i]), xref.fetchIfRef(vme…
32627 glyphsWidths[j++] = xref.fetchIfRef(widths[i]);
32744 dict = Array.isArray(df) ? this.xref.fetchIfRef(df[0]) : df;
33624 function EvaluatorPreprocessor(stream, xref, stateManager) {
33628 xref: xref
48740 Pattern.parseShading = function (shading, matrix, xref, res, handler, pdfFunctionFactory) {
48748 return new Shadings.RadialAxial(dict, matrix, xref, res, pdfFunctionFactory);
48754 return new Shadings.Mesh(shading, matrix, xref, res, pdfFunctionFactory);
48780 function RadialAxial(dict, matrix, xref, res, pdfFunctionFactory) {
48786 cs = _colorspace.ColorSpace.parse(cs, xref, res, pdfFunctionFactory);
49511 function Mesh(stream, matrix, xref, res, pdfFunctionFactory) {
49522 cs = _colorspace.ColorSpace.parse(cs, xref, res, pdfFunctionFactory);
52918 var xref = _ref.xref,
52924 this.xref = xref;
52932 xref: this.xref,
52941 xref: this.xref,
53012 var xref = _ref2.xref,
53030 xref: xref,
53037 var xref = _ref3.xref,
53045 xref: xref,
53052 xref: xref,
53059 xref: xref,
53066 xref: xref,
53073 var xref = _ref4.xref,
53077 xref: xref,
53082 xref: xref,
53088 var xref = _ref5.xref,
53094 xref: xref,
53104 xref: xref,
53106 fn: xref.fetchIfRef(fnObj[j])
53117 var xref = _ref6.xref,
53178 var xref = _ref7.xref,
53247 var xref = _ref8.xref,
53264 var xref = _ref9.xref,
53280 var xref = _ref10.xref,
53301 xref: xref,
53303 fn: xref.fetchIfRef(fnRefs[i])
53312 var xref = _ref11.xref,
53358 var xref = _ref12.xref,
53379 var xref = _ref13.xref,
54689 var xref = _ref.xref,
54698 this.xref = xref;
54708 …eof _jpeg_stream.JpegStream && NativeImageDecoder.isDecodable(image, this.xref, this.resources, th…
54715 …colorSpace = _colorspace.ColorSpace.parse(colorSpace, this.xref, this.resources, this.pdfFunctionF…
54725 value: function isSupported(image, xref, res, pdfFunctionFactory) {
54732 …var cs = _colorspace.ColorSpace.parse(dict.get('ColorSpace', 'CS'), xref, res, pdfFunctionFactory);
54738 value: function isDecodable(image, xref, res, pdfFunctionFactory) {
54745 …var cs = _colorspace.ColorSpace.parse(dict.get('ColorSpace', 'CS'), xref, res, pdfFunctionFactory);
54836 var xref = _ref.xref,
54930 … this.colorSpace = _colorspace.ColorSpace.parse(colorSpace, xref, resources, pdfFunctionFactory);
54954 xref: xref,
54969 xref: xref,
54985 xref = _ref2.xref,
55026 xref: xref,