@syncfusion/ej2-pdf 25.1.37 → 25.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.
- package/CHANGELOG.md +14 -0
- package/dist/ej2-pdf.umd.min.js +2 -2
- package/dist/ej2-pdf.umd.min.js.map +1 -1
- package/dist/es6/ej2-pdf.es2015.js +119 -63
- package/dist/es6/ej2-pdf.es2015.js.map +1 -1
- package/dist/es6/ej2-pdf.es5.js +117 -61
- package/dist/es6/ej2-pdf.es5.js.map +1 -1
- package/dist/global/ej2-pdf.min.js +2 -2
- package/dist/global/ej2-pdf.min.js.map +1 -1
- package/dist/global/index.d.ts +1 -1
- package/package.json +5 -5
- package/src/pdf/core/annotations/annotation.js +64 -25
- package/src/pdf/core/base-stream.d.ts +1 -1
- package/src/pdf/core/base-stream.js +5 -15
- package/src/pdf/core/form/field.js +1 -2
- package/src/pdf/core/import-export/json-document.js +14 -2
- package/src/pdf/core/pdf-cross-reference.d.ts +1 -0
- package/src/pdf/core/pdf-cross-reference.js +4 -1
- package/src/pdf/core/pdf-parser.js +3 -18
- package/src/pdf/core/utils.d.ts +9 -0
- package/src/pdf/core/utils.js +28 -0
package/dist/es6/ej2-pdf.es5.js
CHANGED
|
@@ -13613,7 +13613,19 @@ var _JsonDocument = /** @__PURE__ @class */ (function (_super) {
|
|
|
13613
13613
|
var dataTable = new Map(); // eslint-disable-line
|
|
13614
13614
|
var streamTable = new Map(); // eslint-disable-line
|
|
13615
13615
|
var streamDictionary = value.dictionary;
|
|
13616
|
-
var data =
|
|
13616
|
+
var data = void 0;
|
|
13617
|
+
var baseStream = value; // eslint-disable-line
|
|
13618
|
+
var isImageStream = false;
|
|
13619
|
+
if (streamDictionary.has('Subtype') && streamDictionary.get('Subtype').name === 'Image') {
|
|
13620
|
+
isImageStream = true;
|
|
13621
|
+
}
|
|
13622
|
+
if (isImageStream && baseStream.stream && baseStream.stream instanceof _PdfStream) {
|
|
13623
|
+
var stream = baseStream.stream;
|
|
13624
|
+
data = baseStream.getString(true, stream.getByteRange(stream.start, stream.end));
|
|
13625
|
+
}
|
|
13626
|
+
else {
|
|
13627
|
+
data = value.getString(true);
|
|
13628
|
+
}
|
|
13617
13629
|
if (!streamDictionary.has('Length') && data && data !== '') {
|
|
13618
13630
|
streamDictionary.update('Length', value.length);
|
|
13619
13631
|
}
|
|
@@ -18473,8 +18485,7 @@ var PdfTextBoxField = /** @__PURE__ @class */ (function (_super) {
|
|
|
18473
18485
|
}
|
|
18474
18486
|
}
|
|
18475
18487
|
parameter.bounds[2] = width;
|
|
18476
|
-
|
|
18477
|
-
this._drawTextBox(g, parameter, text, font, format, multiline, scroll);
|
|
18488
|
+
this._drawTextBox(g, parameter, text, font, new PdfStringFormat(PdfTextAlignment.center), multiline, scroll);
|
|
18478
18489
|
parameter.bounds[0] = parameter.bounds[0] + width;
|
|
18479
18490
|
if (parameter.borderWidth) {
|
|
18480
18491
|
g.drawLine(parameter.borderPen, parameter.bounds[0], parameter.bounds[1], parameter.bounds[0], parameter.bounds[1] + parameter.bounds[3]);
|
|
@@ -27379,8 +27390,26 @@ var PdfSquareAnnotation = /** @__PURE__ @class */ (function (_super) {
|
|
|
27379
27390
|
}
|
|
27380
27391
|
}
|
|
27381
27392
|
if (isFlatten && this._appearanceTemplate) {
|
|
27382
|
-
var
|
|
27383
|
-
|
|
27393
|
+
var appearanceDictionary = this._appearanceTemplate._content.dictionary;
|
|
27394
|
+
var isValid = appearanceDictionary && appearanceDictionary.has('BBox') && !appearanceDictionary.has('CropBox') && !appearanceDictionary.has('MediaBox');
|
|
27395
|
+
if (isValid && this.measure) {
|
|
27396
|
+
var graphics = this._page.graphics;
|
|
27397
|
+
var state = graphics.save();
|
|
27398
|
+
if (typeof this.opacity !== 'undefined' && this._opacity < 1) {
|
|
27399
|
+
graphics.setTransparency(this._opacity);
|
|
27400
|
+
}
|
|
27401
|
+
var point = this.bounds;
|
|
27402
|
+
var box = this._appearanceTemplate._content.dictionary.getArray('BBox');
|
|
27403
|
+
point.x -= box[0];
|
|
27404
|
+
point.y += box[1];
|
|
27405
|
+
graphics.drawTemplate(this._appearanceTemplate, point);
|
|
27406
|
+
graphics.restore(state);
|
|
27407
|
+
this._removeAnnotationFromPage(this._page, this);
|
|
27408
|
+
}
|
|
27409
|
+
else {
|
|
27410
|
+
var isNormalMatrix = this._validateTemplateMatrix(this._appearanceTemplate._content.dictionary);
|
|
27411
|
+
this._flattenAnnotationTemplate(this._appearanceTemplate, isNormalMatrix);
|
|
27412
|
+
}
|
|
27384
27413
|
}
|
|
27385
27414
|
if (!isFlatten && this._setAppearance && !this.measure) {
|
|
27386
27415
|
var appearance = void 0;
|
|
@@ -27515,16 +27544,16 @@ var PdfSquareAnnotation = /** @__PURE__ @class */ (function (_super) {
|
|
|
27515
27544
|
var converter = new _PdfUnitConvertor();
|
|
27516
27545
|
var value;
|
|
27517
27546
|
if (this.bounds.width === this.bounds.height) {
|
|
27518
|
-
value = this._getEqualPdfGraphicsUnit(this.
|
|
27547
|
+
value = this._getEqualPdfGraphicsUnit(this.unit, this._unitString);
|
|
27519
27548
|
this._unitString = value.unitString;
|
|
27520
27549
|
var width = converter._convertUnits(this.bounds.width, _PdfGraphicsUnit.point, value.graphicsUnit);
|
|
27521
27550
|
area = width * width;
|
|
27522
27551
|
}
|
|
27523
27552
|
else {
|
|
27524
|
-
value = this._getEqualPdfGraphicsUnit(this.
|
|
27553
|
+
value = this._getEqualPdfGraphicsUnit(this.unit, this._unitString);
|
|
27525
27554
|
this._unitString = value.unitString;
|
|
27526
27555
|
var width = converter._convertUnits(this.bounds.width, _PdfGraphicsUnit.point, value.graphicsUnit);
|
|
27527
|
-
value = this._getEqualPdfGraphicsUnit(this.
|
|
27556
|
+
value = this._getEqualPdfGraphicsUnit(this.unit, this._unitString);
|
|
27528
27557
|
this._unitString = value.unitString;
|
|
27529
27558
|
var height = converter._convertUnits(this.bounds.height, _PdfGraphicsUnit.point, value.graphicsUnit);
|
|
27530
27559
|
area = width * height;
|
|
@@ -30762,33 +30791,53 @@ var PdfDocumentLinkAnnotation = /** @__PURE__ @class */ (function (_super) {
|
|
|
30762
30791
|
}
|
|
30763
30792
|
if (holder) {
|
|
30764
30793
|
var index = _getPageIndex(this._crossReference._document, this._crossReference._fetch(holder));
|
|
30765
|
-
|
|
30766
|
-
|
|
30767
|
-
|
|
30768
|
-
|
|
30769
|
-
if (mode
|
|
30770
|
-
|
|
30771
|
-
|
|
30772
|
-
|
|
30773
|
-
|
|
30774
|
-
|
|
30775
|
-
|
|
30776
|
-
|
|
30777
|
-
|
|
30778
|
-
|
|
30779
|
-
|
|
30780
|
-
|| (typeof
|
|
30781
|
-
|
|
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
|
+
}
|
|
30782
30813
|
}
|
|
30783
|
-
|
|
30784
|
-
else {
|
|
30785
|
-
if (page && mode.name === 'Fit') {
|
|
30814
|
+
else if (mode.name === 'Fit') {
|
|
30786
30815
|
this._destination = new PdfDestination(page);
|
|
30787
30816
|
this._destination.mode = PdfDestinationMode.fitToPage;
|
|
30788
30817
|
}
|
|
30789
30818
|
}
|
|
30790
30819
|
}
|
|
30791
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
|
+
}
|
|
30792
30841
|
}
|
|
30793
30842
|
}
|
|
30794
30843
|
else if (this._dictionary.has('A') && !this._destination) {
|
|
@@ -32307,6 +32356,7 @@ var PdfRubberStampAnnotation = /** @__PURE__ @class */ (function (_super) {
|
|
|
32307
32356
|
}
|
|
32308
32357
|
else if (bounds) {
|
|
32309
32358
|
templateDictionary.update('Matrix', [1, 0, 0, 1, -bounds[0], -bounds[1]]);
|
|
32359
|
+
template._size = [bounds[2], bounds[3]];
|
|
32310
32360
|
}
|
|
32311
32361
|
template._exportStream(dictionary, this._crossReference);
|
|
32312
32362
|
}
|
|
@@ -44719,6 +44769,34 @@ function _updateBounds(annotation, bounds) {
|
|
|
44719
44769
|
}
|
|
44720
44770
|
return rect;
|
|
44721
44771
|
}
|
|
44772
|
+
/**
|
|
44773
|
+
* Decode text.
|
|
44774
|
+
*
|
|
44775
|
+
* @param {string} text Text to decode.
|
|
44776
|
+
* @param {boolean} isColorSpace Color space or not
|
|
44777
|
+
* @param {boolean} isPassword Password or not
|
|
44778
|
+
* @returns {string} Decoded text.
|
|
44779
|
+
*/
|
|
44780
|
+
function _decodeText(text, isColorSpace, isPassword) {
|
|
44781
|
+
if (text && typeof text === 'string' && !isColorSpace && !isPassword) {
|
|
44782
|
+
if (text.startsWith('þÿ')) {
|
|
44783
|
+
text = text.substring(2);
|
|
44784
|
+
if (text.endsWith('ÿý')) {
|
|
44785
|
+
text = text.substring(0, text.length - 2);
|
|
44786
|
+
}
|
|
44787
|
+
var bytes = _stringToBytes(text);
|
|
44788
|
+
var result = '';
|
|
44789
|
+
for (var i = 0; i < bytes.length; i += 2) {
|
|
44790
|
+
var x = bytes[Number.parseInt(i.toString(), 10)] << 8;
|
|
44791
|
+
var y = bytes[Number.parseInt((i + 1).toString(), 10)];
|
|
44792
|
+
var codeUnit = x | y;
|
|
44793
|
+
result += String.fromCharCode(codeUnit);
|
|
44794
|
+
}
|
|
44795
|
+
text = result;
|
|
44796
|
+
}
|
|
44797
|
+
}
|
|
44798
|
+
return text;
|
|
44799
|
+
}
|
|
44722
44800
|
|
|
44723
44801
|
/* eslint-disable */
|
|
44724
44802
|
var nameCache = Object.create(null);
|
|
@@ -45103,26 +45181,16 @@ var _PdfBaseStream = /** @__PURE__ @class */ (function () {
|
|
|
45103
45181
|
_PdfBaseStream.prototype.moveStart = function () {
|
|
45104
45182
|
return null;
|
|
45105
45183
|
};
|
|
45106
|
-
_PdfBaseStream.prototype.getString = function (isHex) {
|
|
45184
|
+
_PdfBaseStream.prototype.getString = function (isHex, bytes) {
|
|
45107
45185
|
if (isHex === void 0) { isHex = false; }
|
|
45108
|
-
|
|
45109
|
-
|
|
45110
|
-
throw new Error('Invalid argument for bytesToString');
|
|
45186
|
+
if (typeof bytes === 'undefined' || bytes === null) {
|
|
45187
|
+
bytes = this.getBytes();
|
|
45111
45188
|
}
|
|
45112
45189
|
if (isHex) {
|
|
45113
45190
|
return _byteArrayToHexString(bytes);
|
|
45114
45191
|
}
|
|
45115
45192
|
else {
|
|
45116
|
-
|
|
45117
|
-
var max = 8192;
|
|
45118
|
-
if (len < max) {
|
|
45119
|
-
return String.fromCharCode.apply(null, bytes);
|
|
45120
|
-
}
|
|
45121
|
-
var stringBuffer = [];
|
|
45122
|
-
for (var i = 0; i < len; i += max) {
|
|
45123
|
-
stringBuffer.push(String.fromCharCode.apply(null, bytes.subarray(i, Math.min(i + max, len))));
|
|
45124
|
-
}
|
|
45125
|
-
return stringBuffer.join('');
|
|
45193
|
+
return _bytesToString(bytes);
|
|
45126
45194
|
}
|
|
45127
45195
|
};
|
|
45128
45196
|
_PdfBaseStream.prototype.skip = function (n) {
|
|
@@ -47073,6 +47141,7 @@ var _PdfParser = /** @__PURE__ @class */ (function () {
|
|
|
47073
47141
|
if (array.length === 0 && _isName(entry, 'Indexed')) {
|
|
47074
47142
|
this._isColorSpace = true;
|
|
47075
47143
|
}
|
|
47144
|
+
entry = _decodeText(entry, this._isColorSpace, this._isPassword);
|
|
47076
47145
|
array.push(entry);
|
|
47077
47146
|
}
|
|
47078
47147
|
if (this.first === endOfFile) {
|
|
@@ -47101,23 +47170,7 @@ var _PdfParser = /** @__PURE__ @class */ (function () {
|
|
|
47101
47170
|
break;
|
|
47102
47171
|
}
|
|
47103
47172
|
var value = this.getObject(cipherTransform); // eslint-disable-line
|
|
47104
|
-
|
|
47105
|
-
if (value.startsWith('þÿ')) {
|
|
47106
|
-
value = value.substring(2);
|
|
47107
|
-
if (value.endsWith('ÿý')) {
|
|
47108
|
-
value = value.substring(0, value.length - 2);
|
|
47109
|
-
}
|
|
47110
|
-
var bytes = _stringToBytes(value);
|
|
47111
|
-
var result = '';
|
|
47112
|
-
for (var i = 0; i < bytes.length; i += 2) {
|
|
47113
|
-
var x = bytes[Number.parseInt(i.toString(), 10)] << 8;
|
|
47114
|
-
var y = bytes[Number.parseInt((i + 1).toString(), 10)];
|
|
47115
|
-
var codeUnit = x | y;
|
|
47116
|
-
result += String.fromCharCode(codeUnit);
|
|
47117
|
-
}
|
|
47118
|
-
value = result;
|
|
47119
|
-
}
|
|
47120
|
-
}
|
|
47173
|
+
value = _decodeText(value, this._isColorSpace, this._isPassword);
|
|
47121
47174
|
this._isPassword = false;
|
|
47122
47175
|
dictionary.set(key, value);
|
|
47123
47176
|
}
|
|
@@ -49252,6 +49305,9 @@ var _PdfCrossReference = /** @__PURE__ @class */ (function () {
|
|
|
49252
49305
|
_PdfCrossReference.prototype._setStartXRef = function (startXRef) {
|
|
49253
49306
|
this._startXRefQueue = [startXRef];
|
|
49254
49307
|
this._prevStartXref = startXRef;
|
|
49308
|
+
if (typeof this._prevXRefOffset === 'undefined' || this._prevXRefOffset === null) {
|
|
49309
|
+
this._prevXRefOffset = startXRef;
|
|
49310
|
+
}
|
|
49255
49311
|
};
|
|
49256
49312
|
_PdfCrossReference.prototype._parse = function (recoveryMode) {
|
|
49257
49313
|
var trailerDictionary;
|
|
@@ -50055,7 +50111,7 @@ var _PdfCrossReference = /** @__PURE__ @class */ (function () {
|
|
|
50055
50111
|
};
|
|
50056
50112
|
_PdfCrossReference.prototype._copyTrailer = function (newXref) {
|
|
50057
50113
|
newXref.set('Size', this._nextReferenceNumber);
|
|
50058
|
-
newXref.set('Prev', this.
|
|
50114
|
+
newXref.set('Prev', this._prevXRefOffset);
|
|
50059
50115
|
var root = this._trailer.getRaw('Root'); // eslint-disable-line
|
|
50060
50116
|
if (typeof root !== 'undefined' && root !== null) {
|
|
50061
50117
|
newXref.set('Root', root);
|
|
@@ -54863,5 +54919,5 @@ var PdfBitmap = /** @__PURE__ @class */ (function (_super) {
|
|
|
54863
54919
|
return PdfBitmap;
|
|
54864
54920
|
}(PdfImage));
|
|
54865
54921
|
|
|
54866
|
-
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 };
|
|
54922
|
+
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, 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 };
|
|
54867
54923
|
//# sourceMappingURL=ej2-pdf.es5.js.map
|