@syncfusion/ej2-pdf 25.1.41 → 25.2.3
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 +10 -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 +148 -45
- package/dist/es6/ej2-pdf.es2015.js.map +1 -1
- package/dist/es6/ej2-pdf.es5.js +149 -44
- 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 +7 -7
- package/src/pdf/core/import-export/json-document.js +6 -8
- package/src/pdf/core/import-export/xfdf-document.js +2 -2
- package/src/pdf/core/pdf-cross-reference.d.ts +1 -0
- package/src/pdf/core/pdf-cross-reference.js +45 -2
- package/src/pdf/core/security/encryptor.js +10 -10
- package/src/pdf/core/utils.d.ts +20 -13
- package/src/pdf/core/utils.js +87 -23
package/dist/es6/ej2-pdf.es5.js
CHANGED
|
@@ -11678,7 +11678,7 @@ var _XfdfDocument = /** @__PURE__ @class */ (function (_super) {
|
|
|
11678
11678
|
this._document = document;
|
|
11679
11679
|
this._crossReference = document._crossReference;
|
|
11680
11680
|
this._isAnnotationExport = false;
|
|
11681
|
-
var xml = _bytesToString(data);
|
|
11681
|
+
var xml = _bytesToString(data, true);
|
|
11682
11682
|
this._xmlDocument = (new DOMParser()).parseFromString(xml, 'text/xml');
|
|
11683
11683
|
this._isAnnotationImport = true;
|
|
11684
11684
|
this._readXmlData(this._xmlDocument.documentElement);
|
|
@@ -11687,7 +11687,7 @@ var _XfdfDocument = /** @__PURE__ @class */ (function (_super) {
|
|
|
11687
11687
|
this._document = document;
|
|
11688
11688
|
this._crossReference = document._crossReference;
|
|
11689
11689
|
this._isAnnotationExport = false;
|
|
11690
|
-
this._xmlDocument = (new DOMParser()).parseFromString(_bytesToString(data), 'text/xml');
|
|
11690
|
+
this._xmlDocument = (new DOMParser()).parseFromString(_bytesToString(data, true), 'text/xml');
|
|
11691
11691
|
this._readXmlData(this._xmlDocument.documentElement);
|
|
11692
11692
|
};
|
|
11693
11693
|
_XfdfDocument.prototype._readXmlData = function (root) {
|
|
@@ -13050,9 +13050,7 @@ var _JsonDocument = /** @__PURE__ @class */ (function (_super) {
|
|
|
13050
13050
|
if (typeof value === 'string' || (Array.isArray(value) && value.length === 1)) {
|
|
13051
13051
|
value = _this._getValidString(typeof value === 'string' ? value : value[0]);
|
|
13052
13052
|
_this._jsonData.push(_this._doubleQuotes, _this._colon, _this._doubleQuotes);
|
|
13053
|
-
|
|
13054
|
-
_this._jsonData.push(value.charCodeAt(i));
|
|
13055
|
-
}
|
|
13053
|
+
_this._jsonData = _stringToBytes(value, true, false, _this._jsonData);
|
|
13056
13054
|
_this._jsonData.push(_this._doubleQuotes);
|
|
13057
13055
|
}
|
|
13058
13056
|
else {
|
|
@@ -13085,7 +13083,7 @@ var _JsonDocument = /** @__PURE__ @class */ (function (_super) {
|
|
|
13085
13083
|
var page = document.getPage(i);
|
|
13086
13084
|
if (page && page.annotations.count > 0) {
|
|
13087
13085
|
this._jsonData.push(i !== 0 && isAnnotationAdded ? this._comma : this._space, this._doubleQuotes);
|
|
13088
|
-
var pageNumber =
|
|
13086
|
+
var pageNumber = _stringToBytes(i.toString(), true, false, []);
|
|
13089
13087
|
pageNumber.forEach(function (entry) {
|
|
13090
13088
|
_this._jsonData.push(entry);
|
|
13091
13089
|
});
|
|
@@ -13101,7 +13099,7 @@ var _JsonDocument = /** @__PURE__ @class */ (function (_super) {
|
|
|
13101
13099
|
}
|
|
13102
13100
|
count++;
|
|
13103
13101
|
this._exportAnnotation(annotation, i);
|
|
13104
|
-
this._jsonData =
|
|
13102
|
+
this._jsonData = _stringToBytes(this._convertToJson(this._table), true, false, this._jsonData);
|
|
13105
13103
|
this._table.clear();
|
|
13106
13104
|
}
|
|
13107
13105
|
}
|
|
@@ -13734,7 +13732,7 @@ var _JsonDocument = /** @__PURE__ @class */ (function (_super) {
|
|
|
13734
13732
|
_JsonDocument.prototype._parseJson = function (document, data) {
|
|
13735
13733
|
this._document = document;
|
|
13736
13734
|
this._crossReference = document._crossReference;
|
|
13737
|
-
var stringData = _bytesToString(data);
|
|
13735
|
+
var stringData = _bytesToString(data, true);
|
|
13738
13736
|
if (stringData.startsWith('{') && !stringData.endsWith('}')) {
|
|
13739
13737
|
while (stringData.length > 0 && !stringData.endsWith('}')) {
|
|
13740
13738
|
stringData = stringData.substring(0, stringData.length - 1);
|
|
@@ -14491,7 +14489,7 @@ var _JsonDocument = /** @__PURE__ @class */ (function (_super) {
|
|
|
14491
14489
|
this._crossReference._cacheMap.set(value, stream);
|
|
14492
14490
|
}
|
|
14493
14491
|
else if (keys.indexOf('unicodeData') !== -1) {
|
|
14494
|
-
value = _bytesToString(_hexStringToByteArray(element.unicodeData,
|
|
14492
|
+
value = _bytesToString(_hexStringToByteArray(element.unicodeData, false));
|
|
14495
14493
|
}
|
|
14496
14494
|
else {
|
|
14497
14495
|
value = null;
|
|
@@ -41142,30 +41140,48 @@ function _stringToPdfString(value) {
|
|
|
41142
41140
|
*
|
|
41143
41141
|
* @private
|
|
41144
41142
|
* @param {string} value string value.
|
|
41145
|
-
* @param {boolean} isDirect Whether to return
|
|
41146
|
-
* @
|
|
41143
|
+
* @param {boolean} isDirect Whether to return a number[] or Uint8Array.
|
|
41144
|
+
* @param {boolean} isPassword Whether the string is a password.
|
|
41145
|
+
* @returns {number[] | Uint8Array} Byte array
|
|
41147
41146
|
*/
|
|
41148
|
-
function _stringToBytes(value, isDirect) {
|
|
41147
|
+
function _stringToBytes(value, isDirect, isPassword, destination) {
|
|
41149
41148
|
if (isDirect === void 0) { isDirect = false; }
|
|
41149
|
+
if (isPassword === void 0) { isPassword = false; }
|
|
41150
41150
|
var bytes = [];
|
|
41151
|
-
|
|
41152
|
-
bytes
|
|
41151
|
+
if (destination) {
|
|
41152
|
+
bytes = destination;
|
|
41153
41153
|
}
|
|
41154
|
-
|
|
41155
|
-
|
|
41156
|
-
|
|
41157
|
-
|
|
41158
|
-
*
|
|
41159
|
-
* @private
|
|
41160
|
-
* @param {string} value string value.
|
|
41161
|
-
* @param {number[]} destination byte array.
|
|
41162
|
-
* @returns {number[]} Byte array
|
|
41163
|
-
*/
|
|
41164
|
-
function _convertStringToBytes(value, destination) {
|
|
41165
|
-
for (var i = 0; i < value.length; ++i) {
|
|
41166
|
-
destination.push(value.charCodeAt(i) & 0xff);
|
|
41154
|
+
if (isPassword) {
|
|
41155
|
+
for (var i = 0; i < value.length; i++) {
|
|
41156
|
+
bytes.push(value.charCodeAt(i));
|
|
41157
|
+
}
|
|
41167
41158
|
}
|
|
41168
|
-
|
|
41159
|
+
else {
|
|
41160
|
+
for (var i = 0; i < value.length; i++) {
|
|
41161
|
+
var charCode = value.charCodeAt(i);
|
|
41162
|
+
if (charCode < 0x80) {
|
|
41163
|
+
bytes.push(charCode);
|
|
41164
|
+
}
|
|
41165
|
+
else if (charCode < 0x800) {
|
|
41166
|
+
bytes.push((charCode >> 6) | 0xC0);
|
|
41167
|
+
bytes.push((charCode & 0x3F) | 0x80);
|
|
41168
|
+
}
|
|
41169
|
+
else if (charCode < 0xD800 || charCode >= 0xE000) {
|
|
41170
|
+
bytes.push((charCode >> 12) | 0xE0);
|
|
41171
|
+
bytes.push(((charCode >> 6) & 0x3F) | 0x80);
|
|
41172
|
+
bytes.push((charCode & 0x3F) | 0x80);
|
|
41173
|
+
}
|
|
41174
|
+
else {
|
|
41175
|
+
i++;
|
|
41176
|
+
charCode = 0x10000 + (((charCode & 0x3FF) << 10) | (value.charCodeAt(i) & 0x3FF));
|
|
41177
|
+
bytes.push((charCode >> 18) | 0xF0);
|
|
41178
|
+
bytes.push(((charCode >> 12) & 0x3F) | 0x80);
|
|
41179
|
+
bytes.push(((charCode >> 6) & 0x3F) | 0x80);
|
|
41180
|
+
bytes.push((charCode & 0x3F) | 0x80);
|
|
41181
|
+
}
|
|
41182
|
+
}
|
|
41183
|
+
}
|
|
41184
|
+
return isDirect ? bytes : new Uint8Array(bytes);
|
|
41169
41185
|
}
|
|
41170
41186
|
/**
|
|
41171
41187
|
* Check equal or not.
|
|
@@ -41227,20 +41243,49 @@ function _areNotEqual(value, current) {
|
|
|
41227
41243
|
* @param {Uint8Array} bytes Input data.
|
|
41228
41244
|
* @returns {string} String value processed from input bytes.
|
|
41229
41245
|
*/
|
|
41230
|
-
function _bytesToString(bytes) {
|
|
41246
|
+
function _bytesToString(bytes, isJson) {
|
|
41247
|
+
if (isJson === void 0) { isJson = false; }
|
|
41231
41248
|
var length = bytes.length;
|
|
41232
41249
|
var max = 8192;
|
|
41250
|
+
var stringBuffer = [];
|
|
41233
41251
|
if (length < max) {
|
|
41234
|
-
return String.fromCharCode.apply(null, bytes);
|
|
41252
|
+
return (isJson ? _decodeUTF8(bytes) : String.fromCharCode.apply(null, bytes));
|
|
41235
41253
|
}
|
|
41236
|
-
var stringBuffer = [];
|
|
41237
41254
|
for (var i = 0; i < length; i += max) {
|
|
41238
41255
|
var chunkEnd = Math.min(i + max, length);
|
|
41239
41256
|
var chunk = bytes.subarray(i, chunkEnd);
|
|
41240
|
-
stringBuffer.push(String.fromCharCode.apply(null, chunk));
|
|
41257
|
+
stringBuffer.push(isJson ? _decodeUTF8(chunk) : String.fromCharCode.apply(null, chunk));
|
|
41241
41258
|
}
|
|
41242
41259
|
return stringBuffer.join('');
|
|
41243
41260
|
}
|
|
41261
|
+
/**
|
|
41262
|
+
* Decode unicode string.
|
|
41263
|
+
*
|
|
41264
|
+
* @private
|
|
41265
|
+
* @param {Uint8Array} bytes Input data.
|
|
41266
|
+
* @returns {string} String value processed from input bytes.
|
|
41267
|
+
*/
|
|
41268
|
+
function _decodeUTF8(bytes) {
|
|
41269
|
+
var result = '';
|
|
41270
|
+
var i = 0;
|
|
41271
|
+
while (i < bytes.length) {
|
|
41272
|
+
var byte = bytes[i++];
|
|
41273
|
+
if (byte < 0x80) {
|
|
41274
|
+
result += String.fromCharCode(byte);
|
|
41275
|
+
}
|
|
41276
|
+
else if (byte < 0xE0) {
|
|
41277
|
+
result += String.fromCharCode(((byte & 0x1F) << 6) | (bytes[i++] & 0x3F));
|
|
41278
|
+
}
|
|
41279
|
+
else if (byte < 0xF0) {
|
|
41280
|
+
result += String.fromCharCode(((byte & 0x0F) << 12) | ((bytes[i++] & 0x3F) << 6) | (bytes[i++] & 0x3F));
|
|
41281
|
+
}
|
|
41282
|
+
else {
|
|
41283
|
+
var codePoint = ((byte & 0x07) << 18) | ((bytes[i++] & 0x3F) << 12) | ((bytes[i++] & 0x3F) << 6) | (bytes[i++] & 0x3F) - 0x10000;
|
|
41284
|
+
result += String.fromCharCode((codePoint >> 10) + 0xD800, (codePoint & 0x03FF) + 0xDC00);
|
|
41285
|
+
}
|
|
41286
|
+
}
|
|
41287
|
+
return result;
|
|
41288
|
+
}
|
|
41244
41289
|
/**
|
|
41245
41290
|
* Convert string to unicode array.
|
|
41246
41291
|
*
|
|
@@ -44860,6 +44905,23 @@ function _getSize(input) {
|
|
|
44860
44905
|
}
|
|
44861
44906
|
return size;
|
|
44862
44907
|
}
|
|
44908
|
+
/**
|
|
44909
|
+
* Convert the string to big endian bytes.
|
|
44910
|
+
*
|
|
44911
|
+
* @param {string} input string.
|
|
44912
|
+
* @returns {number[]} bytes.
|
|
44913
|
+
*/
|
|
44914
|
+
function _stringToBigEndianBytes(input) {
|
|
44915
|
+
var bytes = [];
|
|
44916
|
+
for (var i = 0; i < input.length; i++) {
|
|
44917
|
+
var charCode = input.charCodeAt(Number.parseInt(i.toString(), 10));
|
|
44918
|
+
if (charCode <= 0xFFFF) {
|
|
44919
|
+
bytes.push((charCode >> 8) & 0xFF);
|
|
44920
|
+
bytes.push(charCode & 0xFF);
|
|
44921
|
+
}
|
|
44922
|
+
}
|
|
44923
|
+
return bytes;
|
|
44924
|
+
}
|
|
44863
44925
|
|
|
44864
44926
|
/* eslint-disable */
|
|
44865
44927
|
var nameCache = Object.create(null);
|
|
@@ -47807,12 +47869,12 @@ var _PdfEncryptor = /** @__PURE__ @class */ (function () {
|
|
|
47807
47869
|
if (!Number.isInteger(keyLength) || keyLength < 40 || keyLength % 8 !== 0) {
|
|
47808
47870
|
throw new FormatError('invalid key length');
|
|
47809
47871
|
}
|
|
47810
|
-
var ownerPassword = _stringToBytes(dictionary.get('O')).subarray(0, 32);
|
|
47811
|
-
var userPassword = _stringToBytes(dictionary.get('U')).subarray(0, 32);
|
|
47872
|
+
var ownerPassword = _stringToBytes(dictionary.get('O'), false, true).subarray(0, 32);
|
|
47873
|
+
var userPassword = _stringToBytes(dictionary.get('U'), false, true).subarray(0, 32);
|
|
47812
47874
|
var flag = dictionary.get('P');
|
|
47813
47875
|
var revision = dictionary.get('R');
|
|
47814
47876
|
this._encryptMetaData = (algorithm === 4 || algorithm === 5) && dictionary.get('EncryptMetadata') !== false;
|
|
47815
|
-
var fileIdBytes = _stringToBytes(id);
|
|
47877
|
+
var fileIdBytes = _stringToBytes(id, false, true);
|
|
47816
47878
|
var passwordBytes;
|
|
47817
47879
|
if (password) {
|
|
47818
47880
|
if (revision === 6) {
|
|
@@ -47835,15 +47897,15 @@ var _PdfEncryptor = /** @__PURE__ @class */ (function () {
|
|
|
47835
47897
|
}
|
|
47836
47898
|
}
|
|
47837
47899
|
else {
|
|
47838
|
-
var ownerValidationKey = _stringToBytes(dictionary.get('O'));
|
|
47900
|
+
var ownerValidationKey = _stringToBytes(dictionary.get('O'), false, true);
|
|
47839
47901
|
var ownerValidationSalt = ownerValidationKey.subarray(32, 40);
|
|
47840
47902
|
var ownerKeySalt = ownerValidationKey.subarray(40, 48);
|
|
47841
|
-
var userValidationKey = _stringToBytes(dictionary.get('U'));
|
|
47903
|
+
var userValidationKey = _stringToBytes(dictionary.get('U'), false, true);
|
|
47842
47904
|
var uBytes = userValidationKey.subarray(0, 48);
|
|
47843
47905
|
var userValidationSalt = userValidationKey.subarray(32, 40);
|
|
47844
47906
|
var userKeySalt = userValidationKey.subarray(40, 48);
|
|
47845
|
-
var ownerEncryption = _stringToBytes(dictionary.get('OE'));
|
|
47846
|
-
var userEncryption = _stringToBytes(dictionary.get('UE'));
|
|
47907
|
+
var ownerEncryption = _stringToBytes(dictionary.get('OE'), false, true);
|
|
47908
|
+
var userEncryption = _stringToBytes(dictionary.get('UE'), false, true);
|
|
47847
47909
|
var algorithm_1;
|
|
47848
47910
|
if (revision === 6) {
|
|
47849
47911
|
algorithm_1 = new _AdvancedEncryption();
|
|
@@ -49328,7 +49390,7 @@ var _CipherTransform = /** @__PURE__ @class */ (function () {
|
|
|
49328
49390
|
return new _PdfDecryptStream(stream, length, this._streamCipher);
|
|
49329
49391
|
};
|
|
49330
49392
|
_CipherTransform.prototype.decryptString = function (s) {
|
|
49331
|
-
return _bytesToString(this._stringCipher._decryptBlock(_stringToBytes(s), true));
|
|
49393
|
+
return _bytesToString(this._stringCipher._decryptBlock(_stringToBytes(s, false, true), true));
|
|
49332
49394
|
};
|
|
49333
49395
|
_CipherTransform.prototype.encryptString = function (s) {
|
|
49334
49396
|
if (this._stringCipher instanceof _AdvancedEncryptionBaseCipher) {
|
|
@@ -49344,13 +49406,13 @@ var _CipherTransform = /** @__PURE__ @class */ (function () {
|
|
|
49344
49406
|
iv[Number.parseInt(i.toString(), 10)] = Math.floor(256 * Math.random());
|
|
49345
49407
|
}
|
|
49346
49408
|
}
|
|
49347
|
-
var data = this._stringCipher._encrypt(_stringToBytes(s), iv);
|
|
49409
|
+
var data = this._stringCipher._encrypt(_stringToBytes(s, false, true), iv);
|
|
49348
49410
|
var buffer = new Uint8Array(16 + data.length);
|
|
49349
49411
|
buffer.set(iv);
|
|
49350
49412
|
buffer.set(data, 16);
|
|
49351
49413
|
return _bytesToString(buffer);
|
|
49352
49414
|
}
|
|
49353
|
-
return _bytesToString(this._stringCipher._encrypt(_stringToBytes(s)));
|
|
49415
|
+
return _bytesToString(this._stringCipher._encrypt(_stringToBytes(s, false, true)));
|
|
49354
49416
|
};
|
|
49355
49417
|
return _CipherTransform;
|
|
49356
49418
|
}());
|
|
@@ -50328,7 +50390,19 @@ var _PdfCrossReference = /** @__PURE__ @class */ (function () {
|
|
|
50328
50390
|
if (!isCrossReference && transform) {
|
|
50329
50391
|
value = transform.encryptString(value);
|
|
50330
50392
|
}
|
|
50331
|
-
|
|
50393
|
+
var isUnicode = false;
|
|
50394
|
+
for (var i = 0; i < value.length; i++) {
|
|
50395
|
+
if (value.charCodeAt([i]) > 255) {
|
|
50396
|
+
isUnicode = true;
|
|
50397
|
+
break;
|
|
50398
|
+
}
|
|
50399
|
+
}
|
|
50400
|
+
if (isUnicode) {
|
|
50401
|
+
this._writeUnicodeString(value, buffer);
|
|
50402
|
+
}
|
|
50403
|
+
else {
|
|
50404
|
+
this._writeString("(" + this._escapeString(value) + ")", buffer);
|
|
50405
|
+
}
|
|
50332
50406
|
}
|
|
50333
50407
|
else if (typeof value === 'number') {
|
|
50334
50408
|
this._writeString(_numberToString(value), buffer);
|
|
@@ -50346,6 +50420,37 @@ var _PdfCrossReference = /** @__PURE__ @class */ (function () {
|
|
|
50346
50420
|
this._writeString('null', buffer);
|
|
50347
50421
|
}
|
|
50348
50422
|
};
|
|
50423
|
+
_PdfCrossReference.prototype._writeUnicodeString = function (value, buffer) {
|
|
50424
|
+
var byteValues = _stringToBigEndianBytes(value);
|
|
50425
|
+
byteValues.unshift(254, 255);
|
|
50426
|
+
var data = [];
|
|
50427
|
+
for (var i = 0; i < byteValues.length; i++) {
|
|
50428
|
+
var byte = byteValues[Number.parseInt(i.toString(), 10)];
|
|
50429
|
+
switch (byte) {
|
|
50430
|
+
case 40:
|
|
50431
|
+
case 41:
|
|
50432
|
+
data.push(92);
|
|
50433
|
+
data.push(byte);
|
|
50434
|
+
break;
|
|
50435
|
+
case 13:
|
|
50436
|
+
data.push(92);
|
|
50437
|
+
data.push(114);
|
|
50438
|
+
break;
|
|
50439
|
+
case 92:
|
|
50440
|
+
data.push(92);
|
|
50441
|
+
data.push(byte);
|
|
50442
|
+
break;
|
|
50443
|
+
default:
|
|
50444
|
+
data.push(byte);
|
|
50445
|
+
break;
|
|
50446
|
+
}
|
|
50447
|
+
}
|
|
50448
|
+
buffer.push('('.charCodeAt(0) & 0xff);
|
|
50449
|
+
for (var i = 0; i < data.length; i++) {
|
|
50450
|
+
buffer.push(data[Number.parseInt(i.toString(), 10)] & 0xff);
|
|
50451
|
+
}
|
|
50452
|
+
buffer.push(')'.charCodeAt(0) & 0xff);
|
|
50453
|
+
};
|
|
50349
50454
|
_PdfCrossReference.prototype._writeString = function (value, buffer) {
|
|
50350
50455
|
for (var i = 0; i < value.length; i++) {
|
|
50351
50456
|
buffer.push(value.charCodeAt(i) & 0xff);
|
|
@@ -54987,5 +55092,5 @@ var PdfBitmap = /** @__PURE__ @class */ (function (_super) {
|
|
|
54987
55092
|
return PdfBitmap;
|
|
54988
55093
|
}(PdfImage));
|
|
54989
55094
|
|
|
54990
|
-
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,
|
|
55095
|
+
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, _areArrayEqual, _numberToString, _areNotEqual, _bytesToString, _decodeUTF8, _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, _stringToBigEndianBytes, 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 };
|
|
54991
55096
|
//# sourceMappingURL=ej2-pdf.es5.js.map
|