@syncfusion/ej2-pdf 23.1.36 → 23.1.38

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -15046,6 +15046,9 @@ var PdfAnnotation = /** @__PURE__ @class */ (function () {
15046
15046
  if (typeof this._rotate === 'undefined' && this._dictionary.has('Rotate')) {
15047
15047
  this._rotate = (this._dictionary.get('Rotate') / 90);
15048
15048
  }
15049
+ if (this._rotate === null || typeof this._rotate === 'undefined') {
15050
+ this._rotate = PdfRotationAngle.angle0;
15051
+ }
15049
15052
  return this._rotate;
15050
15053
  },
15051
15054
  /**
@@ -20661,6 +20664,7 @@ var PdfInkAnnotation = /** @__PURE__ @class */ (function (_super) {
20661
20664
  var _this = _super.call(this) || this;
20662
20665
  _this._inkPointsCollection = [];
20663
20666
  _this._previousCollection = [];
20667
+ _this._isModified = false;
20664
20668
  _this._dictionary = new _PdfDictionary();
20665
20669
  _this._dictionary.update('Type', _PdfName.get('Annot'));
20666
20670
  _this._dictionary.update('Subtype', _PdfName.get('Ink'));
@@ -20726,6 +20730,7 @@ var PdfInkAnnotation = /** @__PURE__ @class */ (function (_super) {
20726
20730
  set: function (value) {
20727
20731
  if (Array.isArray(value) && value.length > 0 && value !== this._inkPointsCollection) {
20728
20732
  this._inkPointsCollection = value;
20733
+ this._isModified = true;
20729
20734
  if (this._isLoaded) {
20730
20735
  this._dictionary.update('InkList', value);
20731
20736
  }
@@ -20789,7 +20794,6 @@ var PdfInkAnnotation = /** @__PURE__ @class */ (function (_super) {
20789
20794
  }
20790
20795
  };
20791
20796
  PdfInkAnnotation.prototype._doPostProcess = function (isFlatten) {
20792
- var _this = this;
20793
20797
  if (isFlatten === void 0) { isFlatten = false; }
20794
20798
  this._isFlatten = isFlatten;
20795
20799
  if (this._isLoaded) {
@@ -20861,10 +20865,6 @@ var PdfInkAnnotation = /** @__PURE__ @class */ (function (_super) {
20861
20865
  }
20862
20866
  }
20863
20867
  }
20864
- this._previousCollection.forEach(function (element) {
20865
- _this._inkPointsCollection.push(element);
20866
- });
20867
- this._previousCollection = [];
20868
20868
  }
20869
20869
  if (typeof this.flattenPopups !== 'undefined' && this.flattenPopups) {
20870
20870
  if (this._isLoaded) {
@@ -21030,32 +21030,32 @@ var PdfInkAnnotation = /** @__PURE__ @class */ (function (_super) {
21030
21030
  };
21031
21031
  PdfInkAnnotation.prototype._addInkPoints = function () {
21032
21032
  var _this = this;
21033
- if (this._inkPointsCollection.length > 0) {
21034
- this._inkPointsCollection.forEach(function (inkList) {
21035
- _this._previousCollection.push(inkList);
21036
- });
21037
- }
21038
- var _inkCollection = [];
21039
- if (this._linePoints !== null) {
21033
+ var inkCollection = [];
21034
+ if (this._linePoints !== null && (this._previousCollection.length === 0 || this._isModified)) {
21040
21035
  this._inkPointsCollection.unshift(this._linePoints);
21036
+ this._isModified = false;
21041
21037
  }
21042
- if (this._inkPointsCollection !== null) {
21038
+ var isEqual = _checkInkPoints(this._inkPointsCollection, this._previousCollection);
21039
+ if (this._inkPointsCollection !== null && !isEqual) {
21043
21040
  for (var i = 0; i < this._inkPointsCollection.length; i++) {
21044
21041
  var inkList = this._inkPointsCollection[Number.parseInt(i.toString(), 10)];
21045
- _inkCollection.push(inkList);
21042
+ inkCollection.push(inkList);
21046
21043
  }
21044
+ this._dictionary.update('InkList', inkCollection);
21045
+ }
21046
+ if (this._inkPointsCollection.length > 0) {
21047
+ this._inkPointsCollection.forEach(function (inkList) {
21048
+ _this._previousCollection.push(inkList);
21049
+ });
21047
21050
  }
21048
- this._dictionary.update('InkList', _inkCollection);
21049
21051
  return this._getInkBoundsValue();
21050
21052
  };
21051
21053
  PdfInkAnnotation.prototype._getInkBoundsValue = function () {
21052
21054
  var bounds = [0, 0, 0, 0];
21053
- if (typeof this.bounds === 'undefined') {
21054
- bounds = [this._points[0], this._points[1], this._points[2], this._points[3]];
21055
- }
21056
- else {
21057
- bounds = [this.bounds.x, this.bounds.y, this.bounds.width, this.bounds.height];
21055
+ if (this._points) {
21056
+ this.bounds = { x: this._points[0], y: this._points[1], width: this._points[2], height: this._points[3] };
21058
21057
  }
21058
+ bounds = [this.bounds.x, this.bounds.y, this.bounds.width, this.bounds.height];
21059
21059
  var borderWidth = this.border.width;
21060
21060
  if (this._inkPointsCollection !== null) {
21061
21061
  if (this._inkPointsCollection.length > 0) {
@@ -21477,7 +21477,7 @@ var PdfPopupAnnotation = /** @__PURE__ @class */ (function (_super) {
21477
21477
  };
21478
21478
  PdfPopupAnnotation.prototype._postProcess = function () {
21479
21479
  if (typeof this.bounds === 'undefined' || this.bounds === null) {
21480
- throw new Error('Bounds cannot be null or undefined');
21480
+ this._bounds = { x: 0, y: 0, width: 0, height: 0 };
21481
21481
  }
21482
21482
  var borderWidth;
21483
21483
  if (this._dictionary.has('BS')) {
@@ -23879,7 +23879,7 @@ var PdfRubberStampAnnotation = /** @__PURE__ @class */ (function (_super) {
23879
23879
  }
23880
23880
  else {
23881
23881
  this._iconString = this._obtainIconName(this._icon);
23882
- this._dictionary.update('Name', _PdfName.get('#' + this._iconString));
23882
+ this._dictionary.update('Name', _PdfName.get('#23' + this._iconString));
23883
23883
  appearance = new PdfAppearance(this, nativeRectangle);
23884
23884
  appearance.normal = new PdfTemplate(nativeRectangle, this._crossReference);
23885
23885
  }
@@ -28408,7 +28408,18 @@ var PdfAnnotationCollection = /** @__PURE__ @class */ (function () {
28408
28408
  var index = this._annotations.length;
28409
28409
  this._annotations.push(reference);
28410
28410
  this._parsedAnnotations.set(index, annotation);
28411
- this._page._pageDictionary.set('Annots', this._annotations);
28411
+ var isAdded = false;
28412
+ if (this._page._pageDictionary.has('Annots')) {
28413
+ var collection = this._page._pageDictionary.get('Annots');
28414
+ if (collection !== null && typeof collection !== 'undefined' && collection.indexOf(reference) === -1) {
28415
+ collection.push(reference);
28416
+ this._page._pageDictionary.set('Annots', collection);
28417
+ isAdded = true;
28418
+ }
28419
+ }
28420
+ if (!isAdded) {
28421
+ this._page._pageDictionary.set('Annots', this._annotations);
28422
+ }
28412
28423
  this._page._pageDictionary._updated = true;
28413
28424
  if (annotation instanceof PdfComment) {
28414
28425
  this._addCommentsAndReview(annotation, annotation._dictionary.get('F'));
@@ -35926,6 +35937,24 @@ function _tryParseFontStream(widgetDictionary, crossReference, annotation) {
35926
35937
  }
35927
35938
  return fontData;
35928
35939
  }
35940
+ /**
35941
+ * Gets the boolean if two arrays are equal.
35942
+ *
35943
+ * @param {Array<number[]>} inkPointsCollection Ink points collection.
35944
+ * @param {Array<number[]>} previousCollection Previous collection.
35945
+ * @returns {boolean} result.
35946
+ */
35947
+ function _checkInkPoints(inkPointsCollection, previousCollection) {
35948
+ if (inkPointsCollection.length !== previousCollection.length) {
35949
+ return false;
35950
+ }
35951
+ for (var i = 0; i < inkPointsCollection.length; i++) {
35952
+ if (!_areArrayEqual(inkPointsCollection[Number.parseInt(i.toString(), 10)], previousCollection[Number.parseInt(i.toString(), 10)])) {
35953
+ return false;
35954
+ }
35955
+ }
35956
+ return true;
35957
+ }
35929
35958
 
35930
35959
  /* eslint-disable */
35931
35960
  var nameCache = Object.create(null);
@@ -41346,7 +41375,7 @@ var _PdfCrossReference = /** @__PURE__ @class */ (function () {
41346
41375
  };
41347
41376
  _PdfCrossReference.prototype._writeValue = function (value, buffer, transform, isCrossReference) {
41348
41377
  if (value instanceof _PdfName) {
41349
- this._writeString("/" + _escapePdfName(value.name), buffer);
41378
+ this._writeString("/" + value.name, buffer);
41350
41379
  }
41351
41380
  else if (value instanceof _PdfReference) {
41352
41381
  this._writeString(value.toString() + " R", buffer);
@@ -45338,7 +45367,7 @@ var _XfdfDocument = /** @__PURE__ @class */ (function (_super) {
45338
45367
  if (measurement) {
45339
45368
  measureDictionary.update('Type', _PdfName.get('Measure'));
45340
45369
  if (measurement.hasAttribute('rateValue')) {
45341
- var attribute = measurement.getAttribute['rateValue'];
45370
+ var attribute = measurement.getAttribute('rateValue');
45342
45371
  if (attribute && attribute !== '') {
45343
45372
  measureDictionary.update('R', attribute);
45344
45373
  }
@@ -48741,7 +48770,7 @@ var _XmlDocument = /** @__PURE__ @class */ (function (_super) {
48741
48770
  if (isAcrobat) {
48742
48771
  this._table.forEach(function (value, key) {
48743
48772
  if (key.includes(' ')) {
48744
- var text = key.replace(' ', '');
48773
+ var text = key.replace(/ /g, '');
48745
48774
  writer._writeStartElement(text.toString());
48746
48775
  writer._writeAttributeString('original', key.toString(), 'xfdf', null);
48747
48776
  }
@@ -48755,7 +48784,7 @@ var _XmlDocument = /** @__PURE__ @class */ (function (_super) {
48755
48784
  else {
48756
48785
  this._table.forEach(function (value, key) {
48757
48786
  if (key.includes(' ')) {
48758
- key = key.replace(' ', '_x0020_');
48787
+ key = key.replace(/ /g, '_x0020_');
48759
48788
  }
48760
48789
  writer._writeStartElement(key.toString());
48761
48790
  writer._writeString(value.toString());
@@ -48815,7 +48844,7 @@ var _XmlDocument = /** @__PURE__ @class */ (function (_super) {
48815
48844
  }
48816
48845
  var text = key.toString();
48817
48846
  if (text.indexOf('_x0020_') !== -1) {
48818
- text = text.replace('_x0020_', ' ');
48847
+ text = text.replace(/_x0020_/g, ' ');
48819
48848
  }
48820
48849
  var index = form._getFieldIndex(text);
48821
48850
  if (index !== -1 && index < count) {
@@ -49937,8 +49966,11 @@ var _ImageDecoder = /** @__PURE__ @class */ (function () {
49937
49966
  */
49938
49967
  function _ImageDecoder(stream) {
49939
49968
  this._format = _ImageFormat.unknown;
49969
+ this._height = 0;
49970
+ this._width = 0;
49940
49971
  this._bitsPerComponent = 8;
49941
49972
  this._position = 0;
49973
+ this._noOfComponents = -1;
49942
49974
  this._stream = stream;
49943
49975
  this._initialize();
49944
49976
  }
@@ -49970,19 +50002,32 @@ var _ImageDecoder = /** @__PURE__ @class */ (function () {
49970
50002
  this._read(imgData, 0, imgData.byteLength);
49971
50003
  var i = 4;
49972
50004
  var length = this._getBuffer(i) * 256 + this._getBuffer(i + 1);
50005
+ var isLengthExceed = false;
49973
50006
  while (i < imgData.byteLength) {
49974
50007
  i += length;
49975
50008
  if (i < imgData.byteLength) {
49976
50009
  if (this._getBuffer(i + 1) === 192) {
49977
50010
  this._height = this._getBuffer(i + 5) * 256 + this._getBuffer(i + 6);
49978
50011
  this._width = this._getBuffer(i + 7) * 256 + this._getBuffer(i + 8);
49979
- return;
50012
+ this._noOfComponents = this._getBuffer(i + 9);
50013
+ if (this._width !== 0 && this._height !== 0) {
50014
+ return;
50015
+ }
49980
50016
  }
49981
50017
  else {
49982
50018
  i += 2;
49983
50019
  length = this._getBuffer(i) * 256 + this._getBuffer(i + 1);
49984
50020
  }
49985
50021
  }
50022
+ else {
50023
+ isLengthExceed = true;
50024
+ break;
50025
+ }
50026
+ }
50027
+ if (isLengthExceed) {
50028
+ this._reset();
50029
+ this._seek(2);
50030
+ this._readExceededJpegImage();
49986
50031
  }
49987
50032
  };
49988
50033
  _ImageDecoder.prototype._checkIfJpeg = function () {
@@ -50040,6 +50085,12 @@ var _ImageDecoder = /** @__PURE__ @class */ (function () {
50040
50085
  return this._imageStream;
50041
50086
  };
50042
50087
  _ImageDecoder.prototype._getColorSpace = function () {
50088
+ if (this._noOfComponents === 1) {
50089
+ return 'DeviceGray';
50090
+ }
50091
+ else if (this._noOfComponents === 4) {
50092
+ return 'DeviceCMYK';
50093
+ }
50043
50094
  return 'DeviceRGB';
50044
50095
  };
50045
50096
  _ImageDecoder.prototype._getDecodeParams = function () {
@@ -50051,6 +50102,81 @@ var _ImageDecoder = /** @__PURE__ @class */ (function () {
50051
50102
  decodeParams.set('BitsPerComponent', this._bitsPerComponent);
50052
50103
  return decodeParams;
50053
50104
  };
50105
+ _ImageDecoder.prototype._seek = function (length) {
50106
+ this._position += length;
50107
+ };
50108
+ _ImageDecoder.prototype._readByte = function () {
50109
+ if (this._position < this._stream.byteLength) {
50110
+ var value = this._getBuffer(this._position);
50111
+ this._position += 1;
50112
+ return value;
50113
+ }
50114
+ else {
50115
+ throw new Error('Error decoding JPEG image. Invalid offset.');
50116
+ }
50117
+ };
50118
+ _ImageDecoder.prototype._skipStream = function () {
50119
+ var length = this._getBuffer(this._position) << 8 | this._getBuffer(this._position + 1);
50120
+ this._seek(2);
50121
+ if (length < 2) {
50122
+ throw new Error('Error decoding JPEG image');
50123
+ }
50124
+ else if (length > 0) {
50125
+ this._seek(length - 2);
50126
+ }
50127
+ };
50128
+ _ImageDecoder.prototype._readExceededJpegImage = function () {
50129
+ var isContinueReading = true;
50130
+ while (isContinueReading) {
50131
+ var marker = this._getMarker();
50132
+ switch (marker) {
50133
+ case 0x00C0:
50134
+ case 0x00C1:
50135
+ case 0x00C2:
50136
+ case 0x00C3:
50137
+ case 0x00C5:
50138
+ case 0x00C6:
50139
+ case 0x00C7:
50140
+ case 0x00C9:
50141
+ case 0x00CA:
50142
+ case 0x00CB:
50143
+ case 0x00CD:
50144
+ case 0x00CE:
50145
+ case 0x00CF:
50146
+ this._seek(3);
50147
+ this._height = this._getBuffer(this._position) << 8 | this._getBuffer(this._position + 1);
50148
+ this._seek(2);
50149
+ this._width = this._getBuffer(this._position) << 8 | this._getBuffer(this._position + 1);
50150
+ this._seek(2);
50151
+ this._noOfComponents = this._getBuffer(this._position);
50152
+ this._seek(1);
50153
+ isContinueReading = false;
50154
+ break;
50155
+ default:
50156
+ this._skipStream();
50157
+ break;
50158
+ }
50159
+ }
50160
+ };
50161
+ _ImageDecoder.prototype._toUnsigned16 = function (value) {
50162
+ value = value & 0xFFFF;
50163
+ return value < 0 ? (value + 0x10000) : value;
50164
+ };
50165
+ _ImageDecoder.prototype._getMarker = function () {
50166
+ var skippedByte = 0;
50167
+ var marker = this._readByte();
50168
+ while (marker != 255) {
50169
+ skippedByte++;
50170
+ marker = this._readByte();
50171
+ }
50172
+ do {
50173
+ marker = this._readByte();
50174
+ } while (marker == 255);
50175
+ if (skippedByte != 0) {
50176
+ throw new Error('Error decoding JPEG image');
50177
+ }
50178
+ return this._toUnsigned16(marker);
50179
+ };
50054
50180
  _ImageDecoder._jpegHeader = [255, 216];
50055
50181
  return _ImageDecoder;
50056
50182
  }());
@@ -50120,5 +50246,5 @@ var PdfBitmap = /** @__PURE__ @class */ (function (_super) {
50120
50246
  return PdfBitmap;
50121
50247
  }(PdfImage));
50122
50248
 
50123
- export { _PdfBaseStream, _PdfStream, _PdfContentStream, _PdfNullStream, _ContentParser, _ContentLexer, _PdfRecord, _PdfDecodeStream, _PdfDecryptStream, PdfAnnotationFlag, PdfLineEndingStyle, PdfLineIntent, PdfLineCaptionType, PdfBorderStyle, PdfBorderEffectStyle, PdfRotationAngle, PdfCrossReferenceType, PdfHighlightMode, PdfTextAlignment, PdfFormFieldVisibility, PdfMeasurementUnit, PdfCircleMeasurementType, PdfRubberStampAnnotationIcon, PdfCheckBoxStyle, PdfTextMarkupAnnotationType, PdfPopupIcon, PdfAnnotationState, PdfAnnotationStateModel, PdfAttachmentIcon, PdfAnnotationIntent, PdfDestinationMode, DataFormat, PdfFormFieldsTabOrder, _PdfAnnotationType, _PdfGraphicsUnit, _FieldFlag, _SignatureFlag, _PdfCheckFieldState, PdfPermissionFlag, PdfPageOrientation, PdfTextDirection, PdfSubSuperScript, PdfBlendMode, PdfFillMode, PdfDashStyle, PdfLineCap, PdfLineJoin, _PdfWordWrapType, _FontDescriptorFlag, _TrueTypeCmapFormat, _TrueTypeCmapEncoding, _TrueTypePlatformID, _TrueTypeMicrosoftEncodingID, _TrueTypeMacintoshEncodingID, _TrueTypeCompositeGlyphFlag, _ImageFormat, _TokenType, PdfTextStyle, _PdfFlateStream, _PdfCatalog, _PdfCrossReference, PdfDocument, PdfAnnotationExportSettings, PdfFormFieldExportSettings, PdfFileStructure, PdfPage, PdfDestination, PdfBookmarkBase, PdfBookmark, PdfNamedDestination, _PdfNamedDestinationCollection, _PdfLexicalOperator, _PdfParser, _Linearization, _PdfName, _PdfCommand, _PdfReference, _PdfReferenceSet, _PdfReferenceSetCache, Dictionary, _PdfDictionary, _PdfNull, _clearPrimitiveCaches, _isName, _isCommand, PdfPredictorStream, _checkRotation, _getPageIndex, _annotationFlagsToString, _stringToAnnotationFlags, _stringToPdfString, _stringToBytes, _convertStringToBytes, _areArrayEqual, _numberToString, _areNotEqual, _bytesToString, _stringToUnicodeArray, _byteArrayToHexString, _hexStringToByteArray, _hexStringToString, _isWhiteSpace, _decode, _encode, _getInheritableProperty, _parseRectangle, _calculateBounds, _toRectangle, _fromRectangle, _getUpdatedBounds, _convertToColor, _parseColor, _mapBorderStyle, _mapBorderEffectStyle, _reverseMapEndingStyle, _mapLineEndingStyle, _mapHighlightMode, _reverseMapHighlightMode, _reverseMapBlendMode, _mapBlendMode, _floatToString, _addProcSet, _getNewGuidString, _escapePdfName, _getBezierArc, _findPage, _checkField, _getItemValue, _getStateTemplate, _getColorValue, _setMatrix, _styleToString, _stringToStyle, _mapMeasurementUnit, _mapMarkupAnnotationType, _reverseMarkupAnnotationType, _mapGraphicsUnit, _mapRubberStampIcon, _mapPopupIcon, _reverseMapAnnotationState, _mapAnnotationState, _reverseMapAnnotationStateModel, _mapAnnotationStateModel, _mapAttachmentIcon, _mapAnnotationIntent, _reverseMapPdfFontStyle, _getSpecialCharacter, _getLatinCharacter, _encodeValue, _getCommentsOrReview, _checkReview, _checkComment, _updateVisibility, _removeDuplicateReference, _removeDuplicateFromResources, _removeReferences, BaseException, FormatError, ParserEndOfFileException, _defaultToString, _obtainFontDetails, _getFontStyle, _mapFont, _tryParseFontStream, PdfAnnotationCollection, PdfPopupAnnotationCollection, PdfAnnotation, PdfComment, PdfLineAnnotation, PdfCircleAnnotation, PdfEllipseAnnotation, PdfSquareAnnotation, PdfRectangleAnnotation, PdfPolygonAnnotation, PdfPolyLineAnnotation, PdfAngleMeasurementAnnotation, PdfInkAnnotation, PdfPopupAnnotation, PdfFileLinkAnnotation, PdfUriAnnotation, PdfDocumentLinkAnnotation, PdfTextWebLinkAnnotation, PdfAttachmentAnnotation, Pdf3DAnnotation, PdfTextMarkupAnnotation, PdfWatermarkAnnotation, PdfRubberStampAnnotation, PdfSoundAnnotation, PdfFreeTextAnnotation, PdfRedactionAnnotation, PdfRichMediaAnnotation, PdfWidgetAnnotation, PdfStateItem, PdfRadioButtonListItem, PdfListFieldItem, PdfAnnotationCaption, PdfAnnotationLineEndingStyle, PdfInteractiveBorder, PdfAnnotationBorder, PdfBorderEffect, _PaintParameter, PdfAppearance, _PdfPaddings, _PdfFontMetrics, _WidthTable, _StandardWidthTable, _CjkWidthTable, _CjkWidth, _CjkSameWidth, _CjkDifferentWidth, PdfFont, PdfStandardFont, PdfCjkStandardFont, PdfTrueTypeFont, _PdfStandardFontMetricsFactory, _PdfCjkStandardFontMetricsFactory, _PdfCjkFontDescriptorFactory, PdfFontStyle, PdfFontFamily, PdfCjkFontFamily, _UnicodeLine, PdfStringFormat, PdfVerticalAlignment, _PdfStringLayouter, _PdfStringLayoutResult, _LineInfo, _LineType, _StringTokenizer, _TrueTypeReader, _TrueTypeNameRecord, _TrueTypeMetrics, _TrueTypeLongHorMetric, _TrueTypeGlyph, _TrueTypeLocaTable, _TrueTypeGlyphHeader, _BigEndianWriter, _TrueTypeTableInfo, _TrueTypeOS2Table, _TrueTypePostTable, _TrueTypeNameTable, _TrueTypeMicrosoftCmapSubTable, _TrueTypeHorizontalHeaderTable, _TrueTypeHeadTable, _TrueTypeCmapTable, _TrueTypeCmapSubTable, _TrueTypeAppleCmapSubTable, _TrueTypeTrimmedCmapSubTable, _UnicodeTrueTypeFont, PdfField, PdfTextBoxField, PdfButtonField, PdfCheckBoxField, PdfRadioButtonListField, PdfListField, PdfComboBoxField, PdfListBoxField, PdfSignatureField, _PdfDefaultAppearance, PdfForm, PdfGraphics, _PdfTransformationMatrix, _Matrix, PdfGraphicsState, _TextRenderingMode, PdfBrush, PdfPen, _PdfUnitConvertor, _PdfPath, _PathPointType, _PdfStreamWriter, PdfTemplate, _Bidirectional, _RtlCharacters, _ArabicShapeRenderer, _ArabicShape, _RtlRenderer, _ImageDecoder, PdfBitmap, PdfImage, _PdfEncryptor, _MD5, _Sha256, _Sha512, _Word64, _EncryptionKey, _BasicEncryption, _AdvancedEncryption, _Cipher, _NormalCipherFour, _AdvancedEncryptionBaseCipher, _AdvancedEncryption128Cipher, _AdvancedEncryption256Cipher, _NullCipher, _CipherTransform, _ExportHelper, _XfdfDocument, _FontStructure, _XmlWriter, _Namespace, _XmlElement, _XmlAttribute, _FdfDocument, _FdfHelper, _JsonDocument, _XmlDocument };
50249
+ export { _PdfBaseStream, _PdfStream, _PdfContentStream, _PdfNullStream, _ContentParser, _ContentLexer, _PdfRecord, _PdfDecodeStream, _PdfDecryptStream, PdfAnnotationFlag, PdfLineEndingStyle, PdfLineIntent, PdfLineCaptionType, PdfBorderStyle, PdfBorderEffectStyle, PdfRotationAngle, PdfCrossReferenceType, PdfHighlightMode, PdfTextAlignment, PdfFormFieldVisibility, PdfMeasurementUnit, PdfCircleMeasurementType, PdfRubberStampAnnotationIcon, PdfCheckBoxStyle, PdfTextMarkupAnnotationType, PdfPopupIcon, PdfAnnotationState, PdfAnnotationStateModel, PdfAttachmentIcon, PdfAnnotationIntent, PdfDestinationMode, DataFormat, PdfFormFieldsTabOrder, _PdfAnnotationType, _PdfGraphicsUnit, _FieldFlag, _SignatureFlag, _PdfCheckFieldState, PdfPermissionFlag, PdfPageOrientation, PdfTextDirection, PdfSubSuperScript, PdfBlendMode, PdfFillMode, PdfDashStyle, PdfLineCap, PdfLineJoin, _PdfWordWrapType, _FontDescriptorFlag, _TrueTypeCmapFormat, _TrueTypeCmapEncoding, _TrueTypePlatformID, _TrueTypeMicrosoftEncodingID, _TrueTypeMacintoshEncodingID, _TrueTypeCompositeGlyphFlag, _ImageFormat, _TokenType, PdfTextStyle, _PdfFlateStream, _PdfCatalog, _PdfCrossReference, PdfDocument, PdfAnnotationExportSettings, PdfFormFieldExportSettings, PdfFileStructure, PdfPage, PdfDestination, PdfBookmarkBase, PdfBookmark, PdfNamedDestination, _PdfNamedDestinationCollection, _PdfLexicalOperator, _PdfParser, _Linearization, _PdfName, _PdfCommand, _PdfReference, _PdfReferenceSet, _PdfReferenceSetCache, Dictionary, _PdfDictionary, _PdfNull, _clearPrimitiveCaches, _isName, _isCommand, PdfPredictorStream, _checkRotation, _getPageIndex, _annotationFlagsToString, _stringToAnnotationFlags, _stringToPdfString, _stringToBytes, _convertStringToBytes, _areArrayEqual, _numberToString, _areNotEqual, _bytesToString, _stringToUnicodeArray, _byteArrayToHexString, _hexStringToByteArray, _hexStringToString, _isWhiteSpace, _decode, _encode, _getInheritableProperty, _parseRectangle, _calculateBounds, _toRectangle, _fromRectangle, _getUpdatedBounds, _convertToColor, _parseColor, _mapBorderStyle, _mapBorderEffectStyle, _reverseMapEndingStyle, _mapLineEndingStyle, _mapHighlightMode, _reverseMapHighlightMode, _reverseMapBlendMode, _mapBlendMode, _floatToString, _addProcSet, _getNewGuidString, _escapePdfName, _getBezierArc, _findPage, _checkField, _getItemValue, _getStateTemplate, _getColorValue, _setMatrix, _styleToString, _stringToStyle, _mapMeasurementUnit, _mapMarkupAnnotationType, _reverseMarkupAnnotationType, _mapGraphicsUnit, _mapRubberStampIcon, _mapPopupIcon, _reverseMapAnnotationState, _mapAnnotationState, _reverseMapAnnotationStateModel, _mapAnnotationStateModel, _mapAttachmentIcon, _mapAnnotationIntent, _reverseMapPdfFontStyle, _getSpecialCharacter, _getLatinCharacter, _encodeValue, _getCommentsOrReview, _checkReview, _checkComment, _updateVisibility, _removeDuplicateReference, _removeDuplicateFromResources, _removeReferences, BaseException, FormatError, ParserEndOfFileException, _defaultToString, _obtainFontDetails, _getFontStyle, _mapFont, _tryParseFontStream, _checkInkPoints, PdfAnnotationCollection, PdfPopupAnnotationCollection, PdfAnnotation, PdfComment, PdfLineAnnotation, PdfCircleAnnotation, PdfEllipseAnnotation, PdfSquareAnnotation, PdfRectangleAnnotation, PdfPolygonAnnotation, PdfPolyLineAnnotation, PdfAngleMeasurementAnnotation, PdfInkAnnotation, PdfPopupAnnotation, PdfFileLinkAnnotation, PdfUriAnnotation, PdfDocumentLinkAnnotation, PdfTextWebLinkAnnotation, PdfAttachmentAnnotation, Pdf3DAnnotation, PdfTextMarkupAnnotation, PdfWatermarkAnnotation, PdfRubberStampAnnotation, PdfSoundAnnotation, PdfFreeTextAnnotation, PdfRedactionAnnotation, PdfRichMediaAnnotation, PdfWidgetAnnotation, PdfStateItem, PdfRadioButtonListItem, PdfListFieldItem, PdfAnnotationCaption, PdfAnnotationLineEndingStyle, PdfInteractiveBorder, PdfAnnotationBorder, PdfBorderEffect, _PaintParameter, PdfAppearance, _PdfPaddings, _PdfFontMetrics, _WidthTable, _StandardWidthTable, _CjkWidthTable, _CjkWidth, _CjkSameWidth, _CjkDifferentWidth, PdfFont, PdfStandardFont, PdfCjkStandardFont, PdfTrueTypeFont, _PdfStandardFontMetricsFactory, _PdfCjkStandardFontMetricsFactory, _PdfCjkFontDescriptorFactory, PdfFontStyle, PdfFontFamily, PdfCjkFontFamily, _UnicodeLine, PdfStringFormat, PdfVerticalAlignment, _PdfStringLayouter, _PdfStringLayoutResult, _LineInfo, _LineType, _StringTokenizer, _TrueTypeReader, _TrueTypeNameRecord, _TrueTypeMetrics, _TrueTypeLongHorMetric, _TrueTypeGlyph, _TrueTypeLocaTable, _TrueTypeGlyphHeader, _BigEndianWriter, _TrueTypeTableInfo, _TrueTypeOS2Table, _TrueTypePostTable, _TrueTypeNameTable, _TrueTypeMicrosoftCmapSubTable, _TrueTypeHorizontalHeaderTable, _TrueTypeHeadTable, _TrueTypeCmapTable, _TrueTypeCmapSubTable, _TrueTypeAppleCmapSubTable, _TrueTypeTrimmedCmapSubTable, _UnicodeTrueTypeFont, PdfField, PdfTextBoxField, PdfButtonField, PdfCheckBoxField, PdfRadioButtonListField, PdfListField, PdfComboBoxField, PdfListBoxField, PdfSignatureField, _PdfDefaultAppearance, PdfForm, PdfGraphics, _PdfTransformationMatrix, _Matrix, PdfGraphicsState, _TextRenderingMode, PdfBrush, PdfPen, _PdfUnitConvertor, _PdfPath, _PathPointType, _PdfStreamWriter, PdfTemplate, _Bidirectional, _RtlCharacters, _ArabicShapeRenderer, _ArabicShape, _RtlRenderer, _ImageDecoder, PdfBitmap, PdfImage, _PdfEncryptor, _MD5, _Sha256, _Sha512, _Word64, _EncryptionKey, _BasicEncryption, _AdvancedEncryption, _Cipher, _NormalCipherFour, _AdvancedEncryptionBaseCipher, _AdvancedEncryption128Cipher, _AdvancedEncryption256Cipher, _NullCipher, _CipherTransform, _ExportHelper, _XfdfDocument, _FontStructure, _XmlWriter, _Namespace, _XmlElement, _XmlAttribute, _FdfDocument, _FdfHelper, _JsonDocument, _XmlDocument };
50124
50250
  //# sourceMappingURL=ej2-pdf.es5.js.map