@syncfusion/ej2-pdf 23.1.36 → 23.1.39

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.
@@ -14390,6 +14390,9 @@ class PdfAnnotation {
14390
14390
  if (typeof this._rotate === 'undefined' && this._dictionary.has('Rotate')) {
14391
14391
  this._rotate = (this._dictionary.get('Rotate') / 90);
14392
14392
  }
14393
+ if (this._rotate === null || typeof this._rotate === 'undefined') {
14394
+ this._rotate = PdfRotationAngle.angle0;
14395
+ }
14393
14396
  return this._rotate;
14394
14397
  }
14395
14398
  /**
@@ -19851,6 +19854,7 @@ class PdfInkAnnotation extends PdfComment {
19851
19854
  super();
19852
19855
  this._inkPointsCollection = [];
19853
19856
  this._previousCollection = [];
19857
+ this._isModified = false;
19854
19858
  this._dictionary = new _PdfDictionary();
19855
19859
  this._dictionary.update('Type', _PdfName.get('Annot'));
19856
19860
  this._dictionary.update('Subtype', _PdfName.get('Ink'));
@@ -19914,6 +19918,7 @@ class PdfInkAnnotation extends PdfComment {
19914
19918
  set inkPointsCollection(value) {
19915
19919
  if (Array.isArray(value) && value.length > 0 && value !== this._inkPointsCollection) {
19916
19920
  this._inkPointsCollection = value;
19921
+ this._isModified = true;
19917
19922
  if (this._isLoaded) {
19918
19923
  this._dictionary.update('InkList', value);
19919
19924
  }
@@ -20044,10 +20049,6 @@ class PdfInkAnnotation extends PdfComment {
20044
20049
  }
20045
20050
  }
20046
20051
  }
20047
- this._previousCollection.forEach((element) => {
20048
- this._inkPointsCollection.push(element);
20049
- });
20050
- this._previousCollection = [];
20051
20052
  }
20052
20053
  if (typeof this.flattenPopups !== 'undefined' && this.flattenPopups) {
20053
20054
  if (this._isLoaded) {
@@ -20212,32 +20213,32 @@ class PdfInkAnnotation extends PdfComment {
20212
20213
  return vector;
20213
20214
  }
20214
20215
  _addInkPoints() {
20215
- if (this._inkPointsCollection.length > 0) {
20216
- this._inkPointsCollection.forEach((inkList) => {
20217
- this._previousCollection.push(inkList);
20218
- });
20219
- }
20220
- const _inkCollection = [];
20221
- if (this._linePoints !== null) {
20216
+ const inkCollection = [];
20217
+ if (this._linePoints !== null && (this._previousCollection.length === 0 || this._isModified)) {
20222
20218
  this._inkPointsCollection.unshift(this._linePoints);
20219
+ this._isModified = false;
20223
20220
  }
20224
- if (this._inkPointsCollection !== null) {
20221
+ const isEqual = _checkInkPoints(this._inkPointsCollection, this._previousCollection);
20222
+ if (this._inkPointsCollection !== null && !isEqual) {
20225
20223
  for (let i = 0; i < this._inkPointsCollection.length; i++) {
20226
20224
  const inkList = this._inkPointsCollection[Number.parseInt(i.toString(), 10)];
20227
- _inkCollection.push(inkList);
20225
+ inkCollection.push(inkList);
20228
20226
  }
20227
+ this._dictionary.update('InkList', inkCollection);
20228
+ }
20229
+ if (this._inkPointsCollection.length > 0) {
20230
+ this._inkPointsCollection.forEach((inkList) => {
20231
+ this._previousCollection.push(inkList);
20232
+ });
20229
20233
  }
20230
- this._dictionary.update('InkList', _inkCollection);
20231
20234
  return this._getInkBoundsValue();
20232
20235
  }
20233
20236
  _getInkBoundsValue() {
20234
20237
  let bounds = [0, 0, 0, 0];
20235
- if (typeof this.bounds === 'undefined') {
20236
- bounds = [this._points[0], this._points[1], this._points[2], this._points[3]];
20237
- }
20238
- else {
20239
- bounds = [this.bounds.x, this.bounds.y, this.bounds.width, this.bounds.height];
20238
+ if (this._points) {
20239
+ this.bounds = { x: this._points[0], y: this._points[1], width: this._points[2], height: this._points[3] };
20240
20240
  }
20241
+ bounds = [this.bounds.x, this.bounds.y, this.bounds.width, this.bounds.height];
20241
20242
  const borderWidth = this.border.width;
20242
20243
  if (this._inkPointsCollection !== null) {
20243
20244
  if (this._inkPointsCollection.length > 0) {
@@ -20640,7 +20641,7 @@ class PdfPopupAnnotation extends PdfComment {
20640
20641
  }
20641
20642
  _postProcess() {
20642
20643
  if (typeof this.bounds === 'undefined' || this.bounds === null) {
20643
- throw new Error('Bounds cannot be null or undefined');
20644
+ this._bounds = { x: 0, y: 0, width: 0, height: 0 };
20644
20645
  }
20645
20646
  let borderWidth;
20646
20647
  if (this._dictionary.has('BS')) {
@@ -22956,7 +22957,7 @@ class PdfRubberStampAnnotation extends PdfComment {
22956
22957
  }
22957
22958
  else {
22958
22959
  this._iconString = this._obtainIconName(this._icon);
22959
- this._dictionary.update('Name', _PdfName.get('#' + this._iconString));
22960
+ this._dictionary.update('Name', _PdfName.get('#23' + this._iconString));
22960
22961
  appearance = new PdfAppearance(this, nativeRectangle);
22961
22962
  appearance.normal = new PdfTemplate(nativeRectangle, this._crossReference);
22962
22963
  }
@@ -27262,7 +27263,18 @@ class PdfAnnotationCollection {
27262
27263
  const index = this._annotations.length;
27263
27264
  this._annotations.push(reference);
27264
27265
  this._parsedAnnotations.set(index, annotation);
27265
- this._page._pageDictionary.set('Annots', this._annotations);
27266
+ let isAdded = false;
27267
+ if (this._page._pageDictionary.has('Annots')) {
27268
+ const collection = this._page._pageDictionary.get('Annots');
27269
+ if (collection !== null && typeof collection !== 'undefined' && collection.indexOf(reference) === -1) {
27270
+ collection.push(reference);
27271
+ this._page._pageDictionary.set('Annots', collection);
27272
+ isAdded = true;
27273
+ }
27274
+ }
27275
+ if (!isAdded) {
27276
+ this._page._pageDictionary.set('Annots', this._annotations);
27277
+ }
27266
27278
  this._page._pageDictionary._updated = true;
27267
27279
  if (annotation instanceof PdfComment) {
27268
27280
  this._addCommentsAndReview(annotation, annotation._dictionary.get('F'));
@@ -34635,6 +34647,24 @@ function _tryParseFontStream(widgetDictionary, crossReference, annotation) {
34635
34647
  }
34636
34648
  return fontData;
34637
34649
  }
34650
+ /**
34651
+ * Gets the boolean if two arrays are equal.
34652
+ *
34653
+ * @param {Array<number[]>} inkPointsCollection Ink points collection.
34654
+ * @param {Array<number[]>} previousCollection Previous collection.
34655
+ * @returns {boolean} result.
34656
+ */
34657
+ function _checkInkPoints(inkPointsCollection, previousCollection) {
34658
+ if (inkPointsCollection.length !== previousCollection.length) {
34659
+ return false;
34660
+ }
34661
+ for (let i = 0; i < inkPointsCollection.length; i++) {
34662
+ if (!_areArrayEqual(inkPointsCollection[Number.parseInt(i.toString(), 10)], previousCollection[Number.parseInt(i.toString(), 10)])) {
34663
+ return false;
34664
+ }
34665
+ }
34666
+ return true;
34667
+ }
34638
34668
 
34639
34669
  /* eslint-disable */
34640
34670
  let nameCache = Object.create(null);
@@ -37431,21 +37461,21 @@ class _PdfEncryptor {
37431
37461
  else {
37432
37462
  algorithm = new _BasicEncryption();
37433
37463
  }
37434
- let password;
37464
+ let p;
37435
37465
  if (passwordBytes) {
37436
- password = passwordBytes.subarray(0, Math.min(127, passwordBytes.length));
37466
+ p = passwordBytes.subarray(0, Math.min(127, passwordBytes.length));
37437
37467
  }
37438
37468
  else {
37439
- password = new Uint8Array([]);
37469
+ p = new Uint8Array([]);
37440
37470
  }
37441
- if (algorithm._checkUserPassword(password, userValidationSalt, userPassword)) {
37442
- encryptionKey = this._createEncryptionKey(true, password, ownerKeySalt, uBytes, userKeySalt, ownerEncryption, userEncryption, algorithm);
37471
+ if (algorithm._checkUserPassword(p, userValidationSalt, userPassword)) {
37472
+ encryptionKey = this._createEncryptionKey(true, p, ownerKeySalt, uBytes, userKeySalt, ownerEncryption, userEncryption, algorithm);
37443
37473
  this._isUserPassword = true;
37444
- if (password.length && algorithm._checkOwnerPassword(password, ownerValidationSalt, uBytes, ownerPassword)) {
37474
+ if (password.length && algorithm._checkOwnerPassword(p, ownerValidationSalt, uBytes, ownerPassword)) {
37445
37475
  this._hasUserPasswordOnly = true;
37446
37476
  }
37447
37477
  }
37448
- else if (password.length && algorithm._checkOwnerPassword(password, ownerValidationSalt, uBytes, ownerPassword)) {
37478
+ else if (password.length && algorithm._checkOwnerPassword(p, ownerValidationSalt, uBytes, ownerPassword)) {
37449
37479
  encryptionKey = this._createEncryptionKey(false, passwordBytes, ownerKeySalt, uBytes, userKeySalt, ownerEncryption, userEncryption, algorithm);
37450
37480
  this._isUserPassword = false;
37451
37481
  }
@@ -37460,7 +37490,6 @@ class _PdfEncryptor {
37460
37490
  throw new Error('Cannot open an encrypted document. The password is invalid.');
37461
37491
  }
37462
37492
  }
37463
- this._encryptionKey = encryptionKey;
37464
37493
  if (algorithm >= 4) {
37465
37494
  const cipherDictionary = dictionary.get('CF');
37466
37495
  if (cipherDictionary) {
@@ -37480,6 +37509,10 @@ class _PdfEncryptor {
37480
37509
  this._string = dictionary.get('StrF') || _PdfName.get('Identity');
37481
37510
  this._eff = dictionary.get('EFF') || this._stream;
37482
37511
  }
37512
+ if (!encryptionKey && !this._encryptOnlyAttachment) {
37513
+ throw new Error('Cannot open an encrypted document. The password is invalid.');
37514
+ }
37515
+ this._encryptionKey = encryptionKey;
37483
37516
  }
37484
37517
  get _md5() {
37485
37518
  if (typeof this._messageDigest === 'undefined') {
@@ -38820,7 +38853,7 @@ class _AdvancedEncryption256Cipher extends _AdvancedEncryptionBaseCipher {
38820
38853
  }
38821
38854
  }
38822
38855
  for (let n = 0; n < 4; ++n) {
38823
- result[Number.parseInt(i.toString(), 10)] = t1 ^= result[j - 32];
38856
+ result[Number.parseInt(j.toString(), 10)] = t1 ^= result[j - 32];
38824
38857
  result[j + 1] = t2 ^= result[j - 31];
38825
38858
  result[j + 2] = t3 ^= result[j - 30];
38826
38859
  result[j + 3] = t4 ^= result[j - 29];
@@ -39807,7 +39840,7 @@ class _PdfCrossReference {
39807
39840
  }
39808
39841
  _writeValue(value, buffer, transform, isCrossReference) {
39809
39842
  if (value instanceof _PdfName) {
39810
- this._writeString(`/${_escapePdfName(value.name)}`, buffer);
39843
+ this._writeString(`/${value.name}`, buffer);
39811
39844
  }
39812
39845
  else if (value instanceof _PdfReference) {
39813
39846
  this._writeString(`${value.toString()} R`, buffer);
@@ -43718,7 +43751,7 @@ class _XfdfDocument extends _ExportHelper {
43718
43751
  if (measurement) {
43719
43752
  measureDictionary.update('Type', _PdfName.get('Measure'));
43720
43753
  if (measurement.hasAttribute('rateValue')) {
43721
- const attribute = measurement.getAttribute['rateValue'];
43754
+ const attribute = measurement.getAttribute('rateValue');
43722
43755
  if (attribute && attribute !== '') {
43723
43756
  measureDictionary.update('R', attribute);
43724
43757
  }
@@ -46970,7 +47003,7 @@ class _XmlDocument extends _ExportHelper {
46970
47003
  if (isAcrobat) {
46971
47004
  this._table.forEach((value, key) => {
46972
47005
  if (key.includes(' ')) {
46973
- const text = key.replace(' ', '');
47006
+ const text = key.replace(/ /g, '');
46974
47007
  writer._writeStartElement(text.toString());
46975
47008
  writer._writeAttributeString('original', key.toString(), 'xfdf', null);
46976
47009
  }
@@ -46984,7 +47017,7 @@ class _XmlDocument extends _ExportHelper {
46984
47017
  else {
46985
47018
  this._table.forEach((value, key) => {
46986
47019
  if (key.includes(' ')) {
46987
- key = key.replace(' ', '_x0020_');
47020
+ key = key.replace(/ /g, '_x0020_');
46988
47021
  }
46989
47022
  writer._writeStartElement(key.toString());
46990
47023
  writer._writeString(value.toString());
@@ -47043,7 +47076,7 @@ class _XmlDocument extends _ExportHelper {
47043
47076
  }
47044
47077
  let text = key.toString();
47045
47078
  if (text.indexOf('_x0020_') !== -1) {
47046
- text = text.replace('_x0020_', ' ');
47079
+ text = text.replace(/_x0020_/g, ' ');
47047
47080
  }
47048
47081
  const index = form._getFieldIndex(text);
47049
47082
  if (index !== -1 && index < count) {
@@ -48079,8 +48112,11 @@ class _ImageDecoder {
48079
48112
  */
48080
48113
  constructor(stream) {
48081
48114
  this._format = _ImageFormat.unknown;
48115
+ this._height = 0;
48116
+ this._width = 0;
48082
48117
  this._bitsPerComponent = 8;
48083
48118
  this._position = 0;
48119
+ this._noOfComponents = -1;
48084
48120
  this._stream = stream;
48085
48121
  this._initialize();
48086
48122
  }
@@ -48108,19 +48144,32 @@ class _ImageDecoder {
48108
48144
  this._read(imgData, 0, imgData.byteLength);
48109
48145
  let i = 4;
48110
48146
  let length = this._getBuffer(i) * 256 + this._getBuffer(i + 1);
48147
+ let isLengthExceed = false;
48111
48148
  while (i < imgData.byteLength) {
48112
48149
  i += length;
48113
48150
  if (i < imgData.byteLength) {
48114
48151
  if (this._getBuffer(i + 1) === 192) {
48115
48152
  this._height = this._getBuffer(i + 5) * 256 + this._getBuffer(i + 6);
48116
48153
  this._width = this._getBuffer(i + 7) * 256 + this._getBuffer(i + 8);
48117
- return;
48154
+ this._noOfComponents = this._getBuffer(i + 9);
48155
+ if (this._width !== 0 && this._height !== 0) {
48156
+ return;
48157
+ }
48118
48158
  }
48119
48159
  else {
48120
48160
  i += 2;
48121
48161
  length = this._getBuffer(i) * 256 + this._getBuffer(i + 1);
48122
48162
  }
48123
48163
  }
48164
+ else {
48165
+ isLengthExceed = true;
48166
+ break;
48167
+ }
48168
+ }
48169
+ if (isLengthExceed) {
48170
+ this._reset();
48171
+ this._seek(2);
48172
+ this._readExceededJpegImage();
48124
48173
  }
48125
48174
  }
48126
48175
  _checkIfJpeg() {
@@ -48178,6 +48227,12 @@ class _ImageDecoder {
48178
48227
  return this._imageStream;
48179
48228
  }
48180
48229
  _getColorSpace() {
48230
+ if (this._noOfComponents === 1) {
48231
+ return 'DeviceGray';
48232
+ }
48233
+ else if (this._noOfComponents === 4) {
48234
+ return 'DeviceCMYK';
48235
+ }
48181
48236
  return 'DeviceRGB';
48182
48237
  }
48183
48238
  _getDecodeParams() {
@@ -48189,6 +48244,81 @@ class _ImageDecoder {
48189
48244
  decodeParams.set('BitsPerComponent', this._bitsPerComponent);
48190
48245
  return decodeParams;
48191
48246
  }
48247
+ _seek(length) {
48248
+ this._position += length;
48249
+ }
48250
+ _readByte() {
48251
+ if (this._position < this._stream.byteLength) {
48252
+ const value = this._getBuffer(this._position);
48253
+ this._position += 1;
48254
+ return value;
48255
+ }
48256
+ else {
48257
+ throw new Error('Error decoding JPEG image. Invalid offset.');
48258
+ }
48259
+ }
48260
+ _skipStream() {
48261
+ let length = this._getBuffer(this._position) << 8 | this._getBuffer(this._position + 1);
48262
+ this._seek(2);
48263
+ if (length < 2) {
48264
+ throw new Error('Error decoding JPEG image');
48265
+ }
48266
+ else if (length > 0) {
48267
+ this._seek(length - 2);
48268
+ }
48269
+ }
48270
+ _readExceededJpegImage() {
48271
+ let isContinueReading = true;
48272
+ while (isContinueReading) {
48273
+ let marker = this._getMarker();
48274
+ switch (marker) {
48275
+ case 0x00C0:
48276
+ case 0x00C1:
48277
+ case 0x00C2:
48278
+ case 0x00C3:
48279
+ case 0x00C5:
48280
+ case 0x00C6:
48281
+ case 0x00C7:
48282
+ case 0x00C9:
48283
+ case 0x00CA:
48284
+ case 0x00CB:
48285
+ case 0x00CD:
48286
+ case 0x00CE:
48287
+ case 0x00CF:
48288
+ this._seek(3);
48289
+ this._height = this._getBuffer(this._position) << 8 | this._getBuffer(this._position + 1);
48290
+ this._seek(2);
48291
+ this._width = this._getBuffer(this._position) << 8 | this._getBuffer(this._position + 1);
48292
+ this._seek(2);
48293
+ this._noOfComponents = this._getBuffer(this._position);
48294
+ this._seek(1);
48295
+ isContinueReading = false;
48296
+ break;
48297
+ default:
48298
+ this._skipStream();
48299
+ break;
48300
+ }
48301
+ }
48302
+ }
48303
+ _toUnsigned16(value) {
48304
+ value = value & 0xFFFF;
48305
+ return value < 0 ? (value + 0x10000) : value;
48306
+ }
48307
+ _getMarker() {
48308
+ let skippedByte = 0;
48309
+ let marker = this._readByte();
48310
+ while (marker != 255) {
48311
+ skippedByte++;
48312
+ marker = this._readByte();
48313
+ }
48314
+ do {
48315
+ marker = this._readByte();
48316
+ } while (marker == 255);
48317
+ if (skippedByte != 0) {
48318
+ throw new Error('Error decoding JPEG image');
48319
+ }
48320
+ return this._toUnsigned16(marker);
48321
+ }
48192
48322
  }
48193
48323
  _ImageDecoder._jpegHeader = [255, 216];
48194
48324
 
@@ -48241,5 +48371,5 @@ class PdfBitmap extends PdfImage {
48241
48371
  }
48242
48372
  }
48243
48373
 
48244
- 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 };
48374
+ 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 };
48245
48375
  //# sourceMappingURL=ej2-pdf.es2015.js.map