@syncfusion/ej2-pdf 25.1.38 → 25.1.40

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.
@@ -18485,8 +18485,7 @@ var PdfTextBoxField = /** @__PURE__ @class */ (function (_super) {
18485
18485
  }
18486
18486
  }
18487
18487
  parameter.bounds[2] = width;
18488
- format.alignment = PdfTextAlignment.center;
18489
- this._drawTextBox(g, parameter, text, font, format, multiline, scroll);
18488
+ this._drawTextBox(g, parameter, text, font, new PdfStringFormat(PdfTextAlignment.center), multiline, scroll);
18490
18489
  parameter.bounds[0] = parameter.bounds[0] + width;
18491
18490
  if (parameter.borderWidth) {
18492
18491
  g.drawLine(parameter.borderPen, parameter.bounds[0], parameter.bounds[1], parameter.bounds[0], parameter.bounds[1] + parameter.bounds[3]);
@@ -30792,33 +30791,53 @@ var PdfDocumentLinkAnnotation = /** @__PURE__ @class */ (function (_super) {
30792
30791
  }
30793
30792
  if (holder) {
30794
30793
  var index = _getPageIndex(this._crossReference._document, this._crossReference._fetch(holder));
30795
- var page = this._crossReference._document.getPage(index);
30796
- if (array[1] instanceof _PdfName) {
30797
- var mode = array[1];
30798
- if (mode) {
30799
- if (mode.name === 'XYZ') {
30800
- var left = array[2];
30801
- var top_4 = array[3];
30802
- var zoom = array[4];
30803
- var topValue = (typeof top_4 !== 'undefined' && top_4 !== null) ? (page.size[1] - top_4) : 0;
30804
- var leftValue = (typeof left !== 'undefined' && left !== null) ? left : 0;
30805
- this._destination = new PdfDestination(page, [leftValue, topValue]);
30806
- if (typeof zoom !== 'undefined' && zoom !== null) {
30807
- this._destination.zoom = zoom;
30808
- }
30809
- if ((typeof left === 'undefined' && left === null) || (typeof top_4 === 'undefined' && top_4 === null)
30810
- || (typeof zoom === 'undefined' && zoom === null)) {
30811
- this._destination._setValidation(false);
30794
+ if (index >= 0) {
30795
+ var page = this._crossReference._document.getPage(index);
30796
+ if (page && array[1] instanceof _PdfName) {
30797
+ var mode = array[1];
30798
+ if (mode) {
30799
+ if (mode.name === 'XYZ') {
30800
+ var left = array[2];
30801
+ var top_4 = array[3];
30802
+ var zoom = array[4];
30803
+ var topValue = (typeof top_4 !== 'undefined' && top_4 !== null) ? (page.size[1] - top_4) : 0;
30804
+ var leftValue = (typeof left !== 'undefined' && left !== null) ? left : 0;
30805
+ this._destination = new PdfDestination(page, [leftValue, topValue]);
30806
+ if (typeof zoom !== 'undefined' && zoom !== null) {
30807
+ this._destination.zoom = zoom;
30808
+ }
30809
+ if ((typeof left === 'undefined' && left === null) || (typeof top_4 === 'undefined' && top_4 === null)
30810
+ || (typeof zoom === 'undefined' && zoom === null)) {
30811
+ this._destination._setValidation(false);
30812
+ }
30812
30813
  }
30813
- }
30814
- else {
30815
- if (page && mode.name === 'Fit') {
30814
+ else if (mode.name === 'Fit') {
30816
30815
  this._destination = new PdfDestination(page);
30817
30816
  this._destination.mode = PdfDestinationMode.fitToPage;
30818
30817
  }
30819
30818
  }
30820
30819
  }
30821
30820
  }
30821
+ else {
30822
+ this._destination = new PdfDestination();
30823
+ var zoom = array[4];
30824
+ var mode = array[1];
30825
+ if (typeof zoom !== 'undefined' && zoom !== null) {
30826
+ this._destination.zoom = zoom;
30827
+ }
30828
+ if (mode.name === 'Fit') {
30829
+ this._destination.mode = PdfDestinationMode.fitToPage;
30830
+ }
30831
+ else if (mode.name === 'XYZ') {
30832
+ var left = array[2];
30833
+ var topValue = array[3];
30834
+ if ((typeof left === 'undefined' && left === null) || (typeof topValue === 'undefined' && topValue === null)
30835
+ || (typeof zoom === 'undefined' && zoom === null)) {
30836
+ this._destination._setValidation(false);
30837
+ }
30838
+ }
30839
+ this._destination._index = index;
30840
+ }
30822
30841
  }
30823
30842
  }
30824
30843
  else if (this._dictionary.has('A') && !this._destination) {
@@ -32337,6 +32356,7 @@ var PdfRubberStampAnnotation = /** @__PURE__ @class */ (function (_super) {
32337
32356
  }
32338
32357
  else if (bounds) {
32339
32358
  templateDictionary.update('Matrix', [1, 0, 0, 1, -bounds[0], -bounds[1]]);
32359
+ template._size = [bounds[2], bounds[3]];
32340
32360
  }
32341
32361
  template._exportStream(dictionary, this._crossReference);
32342
32362
  }
@@ -37862,7 +37882,10 @@ var PdfPage = /** @__PURE__ @class */ (function () {
37862
37882
  if (this._pageDictionary.has('Annots')) {
37863
37883
  var annots = this._getProperty('Annots');
37864
37884
  if (annots && Array.isArray(annots)) {
37865
- var widgets_1 = this._crossReference._document.form._parseWidgetReferences();
37885
+ var widgets_1;
37886
+ if (this._crossReference._document._catalog._catalogDictionary.has('AcroForm')) {
37887
+ widgets_1 = this._crossReference._document.form._parseWidgetReferences();
37888
+ }
37866
37889
  if (widgets_1 && widgets_1.length > 0) {
37867
37890
  var validAnnotations_1 = [];
37868
37891
  annots.forEach(function (entry) {
@@ -44749,6 +44772,68 @@ function _updateBounds(annotation, bounds) {
44749
44772
  }
44750
44773
  return rect;
44751
44774
  }
44775
+ /**
44776
+ * Decode text.
44777
+ *
44778
+ * @param {string} text Text to decode.
44779
+ * @param {boolean} isColorSpace Color space or not
44780
+ * @param {boolean} isPassword Password or not
44781
+ * @returns {string} Decoded text.
44782
+ */
44783
+ function _decodeText(text, isColorSpace, isPassword) {
44784
+ if (text && typeof text === 'string' && !isColorSpace && !isPassword) {
44785
+ if (text.startsWith('þÿ')) {
44786
+ text = text.substring(2);
44787
+ if (text.endsWith('ÿý')) {
44788
+ text = text.substring(0, text.length - 2);
44789
+ }
44790
+ var bytes = _stringToBytes(text);
44791
+ var result = '';
44792
+ for (var i = 0; i < bytes.length; i += 2) {
44793
+ var x = bytes[Number.parseInt(i.toString(), 10)] << 8;
44794
+ var y = bytes[Number.parseInt((i + 1).toString(), 10)];
44795
+ var codeUnit = x | y;
44796
+ result += String.fromCharCode(codeUnit);
44797
+ }
44798
+ text = result;
44799
+ }
44800
+ }
44801
+ return text;
44802
+ }
44803
+ /**
44804
+ * Number of bytes required to save the number.
44805
+ *
44806
+ * @param {number} input number.
44807
+ * @returns {number} number of bytes.
44808
+ */
44809
+ function _getSize(input) {
44810
+ var size = 0;
44811
+ var uintMaxValue = 0xFFFFFFFF;
44812
+ var ushortMaxValue = 0xFFFF;
44813
+ var byteMaxValue = 0xFF;
44814
+ if (input <= uintMaxValue) {
44815
+ if (input <= ushortMaxValue) {
44816
+ if (input <= byteMaxValue) {
44817
+ size = 1;
44818
+ }
44819
+ else {
44820
+ size = 2;
44821
+ }
44822
+ }
44823
+ else {
44824
+ if (input <= (ushortMaxValue | (ushortMaxValue << 8))) {
44825
+ size = 3;
44826
+ }
44827
+ else {
44828
+ size = 4;
44829
+ }
44830
+ }
44831
+ }
44832
+ else {
44833
+ size = 8;
44834
+ }
44835
+ return size;
44836
+ }
44752
44837
 
44753
44838
  /* eslint-disable */
44754
44839
  var nameCache = Object.create(null);
@@ -46278,6 +46363,8 @@ var _PdfCatalog = /** @__PURE__ @class */ (function () {
46278
46363
  this._crossReference._cacheMap.set(ref, form);
46279
46364
  this._catalogDictionary.set('AcroForm', ref);
46280
46365
  this._catalogDictionary._updated = true;
46366
+ this._crossReference._allowCatalog = true;
46367
+ form._updated = true;
46281
46368
  return form;
46282
46369
  };
46283
46370
  _PdfCatalog.prototype.getPageDictionary = function (pageIndex) {
@@ -47093,6 +47180,7 @@ var _PdfParser = /** @__PURE__ @class */ (function () {
47093
47180
  if (array.length === 0 && _isName(entry, 'Indexed')) {
47094
47181
  this._isColorSpace = true;
47095
47182
  }
47183
+ entry = _decodeText(entry, this._isColorSpace, this._isPassword);
47096
47184
  array.push(entry);
47097
47185
  }
47098
47186
  if (this.first === endOfFile) {
@@ -47121,23 +47209,7 @@ var _PdfParser = /** @__PURE__ @class */ (function () {
47121
47209
  break;
47122
47210
  }
47123
47211
  var value = this.getObject(cipherTransform); // eslint-disable-line
47124
- if (value && typeof value === 'string' && !this._isColorSpace && !this._isPassword) {
47125
- if (value.startsWith('þÿ')) {
47126
- value = value.substring(2);
47127
- if (value.endsWith('ÿý')) {
47128
- value = value.substring(0, value.length - 2);
47129
- }
47130
- var bytes = _stringToBytes(value);
47131
- var result = '';
47132
- for (var i = 0; i < bytes.length; i += 2) {
47133
- var x = bytes[Number.parseInt(i.toString(), 10)] << 8;
47134
- var y = bytes[Number.parseInt((i + 1).toString(), 10)];
47135
- var codeUnit = x | y;
47136
- result += String.fromCharCode(codeUnit);
47137
- }
47138
- value = result;
47139
- }
47140
- }
47212
+ value = _decodeText(value, this._isColorSpace, this._isPassword);
47141
47213
  this._isPassword = false;
47142
47214
  dictionary.set(key, value);
47143
47215
  }
@@ -49993,39 +50065,40 @@ var _PdfCrossReference = /** @__PURE__ @class */ (function () {
49993
50065
  }
49994
50066
  this._writeObject(archiveStream, buffer, archiveRef, cipher_2);
49995
50067
  }
50068
+ var formatValue = Math.max(_getSize(this._stream.bytes.length), _getSize(this._nextReferenceNumber));
49996
50069
  var newRef = this._getNextReference();
49997
50070
  var newStartXref = currentLength + buffer.length;
49998
50071
  var newXref = new _PdfDictionary(this);
49999
50072
  newXref.set('Type', _PdfName.get('XRef'));
50000
50073
  newXref.set('Index', indexes_1);
50001
- newXref.set('W', [1, 3, 1]);
50074
+ newXref.set('W', [1, formatValue, 1]);
50002
50075
  this._copyTrailer(newXref);
50003
50076
  if (this._ids && this._ids.length > 0) {
50004
50077
  newXref.update('ID', [this._ids[0], this._computeMessageDigest(newStartXref)]);
50005
50078
  }
50006
50079
  var newXrefData = [];
50007
50080
  this._writeLong(0, 1, newXrefData);
50008
- this._writeLong(1, 3, newXrefData);
50081
+ this._writeLong(1, formatValue, newXrefData);
50009
50082
  this._writeLong(-1, 1, newXrefData);
50010
50083
  if (uncompressedCount > 0) {
50011
50084
  for (var index = 0; index < uncompressedCount; index++) {
50012
50085
  this._writeLong(1, 1, newXrefData);
50013
- this._writeLong(uncompressedOffsets_1[index], 3, newXrefData); // eslint-disable-line
50086
+ this._writeLong(uncompressedOffsets_1[index], formatValue, newXrefData); // eslint-disable-line
50014
50087
  this._writeLong(0, 1, newXrefData);
50015
50088
  }
50016
50089
  }
50017
50090
  if (updatedCount > 0) {
50018
50091
  for (var index = 0; index < updatedCount; index++) {
50019
50092
  this._writeLong(2, 1, newXrefData);
50020
- this._writeLong(archiveRef.objectNumber, 3, newXrefData);
50093
+ this._writeLong(archiveRef.objectNumber, formatValue, newXrefData);
50021
50094
  this._writeLong(index, 1, newXrefData);
50022
50095
  }
50023
50096
  this._writeLong(1, 1, newXrefData);
50024
- this._writeLong(archiveOffset, 3, newXrefData);
50097
+ this._writeLong(archiveOffset, formatValue, newXrefData);
50025
50098
  this._writeLong(0, 1, newXrefData);
50026
50099
  }
50027
50100
  this._writeLong(1, 1, newXrefData);
50028
- this._writeLong(newStartXref, 3, newXrefData);
50101
+ this._writeLong(newStartXref, formatValue, newXrefData);
50029
50102
  this._writeLong(0, 1, newXrefData);
50030
50103
  newXref.set('Length', newXrefData.length);
50031
50104
  var newXrefStream = new _PdfStream(newXrefData, newXref, 0, newXrefData.length);
@@ -50077,8 +50150,9 @@ var _PdfCrossReference = /** @__PURE__ @class */ (function () {
50077
50150
  return array;
50078
50151
  };
50079
50152
  _PdfCrossReference.prototype._copyTrailer = function (newXref) {
50080
- newXref.set('Size', this._nextReferenceNumber);
50081
- this._document._isEncrypted ? newXref.set('Prev', this._prevXRefOffset) : newXref.set('Prev', this._prevStartXref);
50153
+ var reference = this._getNextReference();
50154
+ newXref.set('Size', reference.objectNumber);
50155
+ newXref.set('Prev', this._prevXRefOffset);
50082
50156
  var root = this._trailer.getRaw('Root'); // eslint-disable-line
50083
50157
  if (typeof root !== 'undefined' && root !== null) {
50084
50158
  newXref.set('Root', root);
@@ -50543,7 +50617,6 @@ var PdfForm = /** @__PURE__ @class */ (function () {
50543
50617
  this._dictionary.update('Fields', this._fields);
50544
50618
  this._parsedFields.set(this._fields.length - 1, field);
50545
50619
  field._form = this;
50546
- this._crossReference._allowCatalog = true;
50547
50620
  this._crossReference._root._updated = true;
50548
50621
  if (field._kidsCount > 0) {
50549
50622
  for (var i = 0; i < field._kidsCount; i++) {
@@ -53880,19 +53953,21 @@ var PdfDocument = /** @__PURE__ @class */ (function () {
53880
53953
  };
53881
53954
  PdfDocument.prototype._doPostProcessOnFormFields = function (isFlatten) {
53882
53955
  if (isFlatten === void 0) { isFlatten = false; }
53883
- this.form._doPostProcess(isFlatten);
53884
- if (isFlatten) {
53885
- var formObject = this._catalog._catalogDictionary.getRaw('AcroForm');
53886
- var dictionary = new _PdfDictionary(this._crossReference);
53887
- dictionary._updated = true;
53888
- if (formObject instanceof _PdfReference) {
53889
- this._crossReference._cacheMap.set(formObject, dictionary);
53890
- }
53891
- else {
53892
- this.form._dictionary = dictionary;
53893
- this._crossReference._allowCatalog = true;
53956
+ if (this._catalog._catalogDictionary.has('AcroForm')) {
53957
+ this.form._doPostProcess(isFlatten);
53958
+ if (isFlatten) {
53959
+ var formObject = this._catalog._catalogDictionary.getRaw('AcroForm');
53960
+ var dictionary = new _PdfDictionary(this._crossReference);
53961
+ dictionary._updated = true;
53962
+ if (formObject instanceof _PdfReference) {
53963
+ this._crossReference._cacheMap.set(formObject, dictionary);
53964
+ }
53965
+ else {
53966
+ this.form._dictionary = dictionary;
53967
+ this._crossReference._allowCatalog = true;
53968
+ }
53969
+ this.form._clear();
53894
53970
  }
53895
- this.form._clear();
53896
53971
  }
53897
53972
  };
53898
53973
  PdfDocument.prototype._doPostProcessOnAnnotations = function (isFlatten) {
@@ -54886,5 +54961,5 @@ var PdfBitmap = /** @__PURE__ @class */ (function (_super) {
54886
54961
  return PdfBitmap;
54887
54962
  }(PdfImage));
54888
54963
 
54889
- 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, _PdfColorSpace, _PdfFlateStream, _PdfCatalog, _PdfCrossReference, PdfDocument, PdfAnnotationExportSettings, PdfFormFieldExportSettings, PdfPageSettings, PdfMargins, PdfFileStructure, PdfPage, PdfDestination, PdfBookmarkBase, PdfBookmark, PdfNamedDestination, _PdfNamedDestinationCollection, _PdfLexicalOperator, _PdfParser, _Linearization, _PdfName, _PdfCommand, _PdfReference, _PdfReferenceSet, _PdfReferenceSetCache, Dictionary, _PdfDictionary, _PdfNull, _clearPrimitiveCaches, _isName, _isCommand, PdfPredictorStream, _toUnsigned, _toSigned16, _toSigned32, _copyRange, _checkType, _getDecoder, _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, _obtainDestination, _updateBounds, 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, _DecompressedOutput, _DeflateStream, _Inflater, _HuffmanTree, _InBuffer, _InflaterState, _BlockType, _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, _PngDecoder, _JpegDecoder, _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 };
54964
+ 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, _PdfColorSpace, _PdfFlateStream, _PdfCatalog, _PdfCrossReference, PdfDocument, PdfAnnotationExportSettings, PdfFormFieldExportSettings, PdfPageSettings, PdfMargins, PdfFileStructure, PdfPage, PdfDestination, PdfBookmarkBase, PdfBookmark, PdfNamedDestination, _PdfNamedDestinationCollection, _PdfLexicalOperator, _PdfParser, _Linearization, _PdfName, _PdfCommand, _PdfReference, _PdfReferenceSet, _PdfReferenceSetCache, Dictionary, _PdfDictionary, _PdfNull, _clearPrimitiveCaches, _isName, _isCommand, PdfPredictorStream, _toUnsigned, _toSigned16, _toSigned32, _copyRange, _checkType, _getDecoder, _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, _obtainDestination, _updateBounds, _decodeText, _getSize, 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, _DecompressedOutput, _DeflateStream, _Inflater, _HuffmanTree, _InBuffer, _InflaterState, _BlockType, _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, _PngDecoder, _JpegDecoder, _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 };
54890
54965
  //# sourceMappingURL=ej2-pdf.es5.js.map