@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.
- package/CHANGELOG.md +19 -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 +138 -63
- package/dist/es6/ej2-pdf.es2015.js.map +1 -1
- package/dist/es6/ej2-pdf.es5.js +137 -62
- 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 +41 -20
- package/src/pdf/core/form/field.js +1 -2
- package/src/pdf/core/form/form.js +0 -1
- package/src/pdf/core/pdf-catalog.js +2 -0
- package/src/pdf/core/pdf-cross-reference.js +11 -9
- package/src/pdf/core/pdf-document.js +14 -12
- package/src/pdf/core/pdf-page.js +4 -1
- package/src/pdf/core/pdf-parser.js +3 -18
- package/src/pdf/core/utils.d.ts +16 -0
- package/src/pdf/core/utils.js +62 -0
|
@@ -17806,8 +17806,7 @@ class PdfTextBoxField extends PdfField {
|
|
|
17806
17806
|
}
|
|
17807
17807
|
}
|
|
17808
17808
|
parameter.bounds[2] = width;
|
|
17809
|
-
|
|
17810
|
-
this._drawTextBox(g, parameter, text, font, format, multiline, scroll);
|
|
17809
|
+
this._drawTextBox(g, parameter, text, font, new PdfStringFormat(PdfTextAlignment.center), multiline, scroll);
|
|
17811
17810
|
parameter.bounds[0] = parameter.bounds[0] + width;
|
|
17812
17811
|
if (parameter.borderWidth) {
|
|
17813
17812
|
g.drawLine(parameter.borderPen, parameter.bounds[0], parameter.bounds[1], parameter.bounds[0], parameter.bounds[1] + parameter.bounds[3]);
|
|
@@ -29698,33 +29697,53 @@ class PdfDocumentLinkAnnotation extends PdfAnnotation {
|
|
|
29698
29697
|
}
|
|
29699
29698
|
if (holder) {
|
|
29700
29699
|
const index = _getPageIndex(this._crossReference._document, this._crossReference._fetch(holder));
|
|
29701
|
-
|
|
29702
|
-
|
|
29703
|
-
|
|
29704
|
-
|
|
29705
|
-
if (mode
|
|
29706
|
-
|
|
29707
|
-
|
|
29708
|
-
|
|
29709
|
-
|
|
29710
|
-
|
|
29711
|
-
|
|
29712
|
-
|
|
29713
|
-
|
|
29714
|
-
|
|
29715
|
-
|
|
29716
|
-
|| (typeof
|
|
29717
|
-
|
|
29700
|
+
if (index >= 0) {
|
|
29701
|
+
const page = this._crossReference._document.getPage(index);
|
|
29702
|
+
if (page && array[1] instanceof _PdfName) {
|
|
29703
|
+
const mode = array[1];
|
|
29704
|
+
if (mode) {
|
|
29705
|
+
if (mode.name === 'XYZ') {
|
|
29706
|
+
const left = array[2];
|
|
29707
|
+
const top = array[3];
|
|
29708
|
+
const zoom = array[4];
|
|
29709
|
+
const topValue = (typeof top !== 'undefined' && top !== null) ? (page.size[1] - top) : 0;
|
|
29710
|
+
const leftValue = (typeof left !== 'undefined' && left !== null) ? left : 0;
|
|
29711
|
+
this._destination = new PdfDestination(page, [leftValue, topValue]);
|
|
29712
|
+
if (typeof zoom !== 'undefined' && zoom !== null) {
|
|
29713
|
+
this._destination.zoom = zoom;
|
|
29714
|
+
}
|
|
29715
|
+
if ((typeof left === 'undefined' && left === null) || (typeof top === 'undefined' && top === null)
|
|
29716
|
+
|| (typeof zoom === 'undefined' && zoom === null)) {
|
|
29717
|
+
this._destination._setValidation(false);
|
|
29718
|
+
}
|
|
29718
29719
|
}
|
|
29719
|
-
|
|
29720
|
-
else {
|
|
29721
|
-
if (page && mode.name === 'Fit') {
|
|
29720
|
+
else if (mode.name === 'Fit') {
|
|
29722
29721
|
this._destination = new PdfDestination(page);
|
|
29723
29722
|
this._destination.mode = PdfDestinationMode.fitToPage;
|
|
29724
29723
|
}
|
|
29725
29724
|
}
|
|
29726
29725
|
}
|
|
29727
29726
|
}
|
|
29727
|
+
else {
|
|
29728
|
+
this._destination = new PdfDestination();
|
|
29729
|
+
const zoom = array[4];
|
|
29730
|
+
const mode = array[1];
|
|
29731
|
+
if (typeof zoom !== 'undefined' && zoom !== null) {
|
|
29732
|
+
this._destination.zoom = zoom;
|
|
29733
|
+
}
|
|
29734
|
+
if (mode.name === 'Fit') {
|
|
29735
|
+
this._destination.mode = PdfDestinationMode.fitToPage;
|
|
29736
|
+
}
|
|
29737
|
+
else if (mode.name === 'XYZ') {
|
|
29738
|
+
const left = array[2];
|
|
29739
|
+
const topValue = array[3];
|
|
29740
|
+
if ((typeof left === 'undefined' && left === null) || (typeof topValue === 'undefined' && topValue === null)
|
|
29741
|
+
|| (typeof zoom === 'undefined' && zoom === null)) {
|
|
29742
|
+
this._destination._setValidation(false);
|
|
29743
|
+
}
|
|
29744
|
+
}
|
|
29745
|
+
this._destination._index = index;
|
|
29746
|
+
}
|
|
29728
29747
|
}
|
|
29729
29748
|
}
|
|
29730
29749
|
else if (this._dictionary.has('A') && !this._destination) {
|
|
@@ -31187,6 +31206,7 @@ class PdfRubberStampAnnotation extends PdfComment {
|
|
|
31187
31206
|
}
|
|
31188
31207
|
else if (bounds) {
|
|
31189
31208
|
templateDictionary.update('Matrix', [1, 0, 0, 1, -bounds[0], -bounds[1]]);
|
|
31209
|
+
template._size = [bounds[2], bounds[3]];
|
|
31190
31210
|
}
|
|
31191
31211
|
template._exportStream(dictionary, this._crossReference);
|
|
31192
31212
|
}
|
|
@@ -36468,7 +36488,10 @@ class PdfPage {
|
|
|
36468
36488
|
if (this._pageDictionary.has('Annots')) {
|
|
36469
36489
|
const annots = this._getProperty('Annots');
|
|
36470
36490
|
if (annots && Array.isArray(annots)) {
|
|
36471
|
-
|
|
36491
|
+
let widgets;
|
|
36492
|
+
if (this._crossReference._document._catalog._catalogDictionary.has('AcroForm')) {
|
|
36493
|
+
widgets = this._crossReference._document.form._parseWidgetReferences();
|
|
36494
|
+
}
|
|
36472
36495
|
if (widgets && widgets.length > 0) {
|
|
36473
36496
|
const validAnnotations = [];
|
|
36474
36497
|
annots.forEach((entry) => {
|
|
@@ -43205,6 +43228,68 @@ function _updateBounds(annotation, bounds) {
|
|
|
43205
43228
|
}
|
|
43206
43229
|
return rect;
|
|
43207
43230
|
}
|
|
43231
|
+
/**
|
|
43232
|
+
* Decode text.
|
|
43233
|
+
*
|
|
43234
|
+
* @param {string} text Text to decode.
|
|
43235
|
+
* @param {boolean} isColorSpace Color space or not
|
|
43236
|
+
* @param {boolean} isPassword Password or not
|
|
43237
|
+
* @returns {string} Decoded text.
|
|
43238
|
+
*/
|
|
43239
|
+
function _decodeText(text, isColorSpace, isPassword) {
|
|
43240
|
+
if (text && typeof text === 'string' && !isColorSpace && !isPassword) {
|
|
43241
|
+
if (text.startsWith('þÿ')) {
|
|
43242
|
+
text = text.substring(2);
|
|
43243
|
+
if (text.endsWith('ÿý')) {
|
|
43244
|
+
text = text.substring(0, text.length - 2);
|
|
43245
|
+
}
|
|
43246
|
+
const bytes = _stringToBytes(text);
|
|
43247
|
+
let result = '';
|
|
43248
|
+
for (let i = 0; i < bytes.length; i += 2) {
|
|
43249
|
+
const x = bytes[Number.parseInt(i.toString(), 10)] << 8;
|
|
43250
|
+
const y = bytes[Number.parseInt((i + 1).toString(), 10)];
|
|
43251
|
+
const codeUnit = x | y;
|
|
43252
|
+
result += String.fromCharCode(codeUnit);
|
|
43253
|
+
}
|
|
43254
|
+
text = result;
|
|
43255
|
+
}
|
|
43256
|
+
}
|
|
43257
|
+
return text;
|
|
43258
|
+
}
|
|
43259
|
+
/**
|
|
43260
|
+
* Number of bytes required to save the number.
|
|
43261
|
+
*
|
|
43262
|
+
* @param {number} input number.
|
|
43263
|
+
* @returns {number} number of bytes.
|
|
43264
|
+
*/
|
|
43265
|
+
function _getSize(input) {
|
|
43266
|
+
let size = 0;
|
|
43267
|
+
const uintMaxValue = 0xFFFFFFFF;
|
|
43268
|
+
const ushortMaxValue = 0xFFFF;
|
|
43269
|
+
const byteMaxValue = 0xFF;
|
|
43270
|
+
if (input <= uintMaxValue) {
|
|
43271
|
+
if (input <= ushortMaxValue) {
|
|
43272
|
+
if (input <= byteMaxValue) {
|
|
43273
|
+
size = 1;
|
|
43274
|
+
}
|
|
43275
|
+
else {
|
|
43276
|
+
size = 2;
|
|
43277
|
+
}
|
|
43278
|
+
}
|
|
43279
|
+
else {
|
|
43280
|
+
if (input <= (ushortMaxValue | (ushortMaxValue << 8))) {
|
|
43281
|
+
size = 3;
|
|
43282
|
+
}
|
|
43283
|
+
else {
|
|
43284
|
+
size = 4;
|
|
43285
|
+
}
|
|
43286
|
+
}
|
|
43287
|
+
}
|
|
43288
|
+
else {
|
|
43289
|
+
size = 8;
|
|
43290
|
+
}
|
|
43291
|
+
return size;
|
|
43292
|
+
}
|
|
43208
43293
|
|
|
43209
43294
|
/* eslint-disable */
|
|
43210
43295
|
let nameCache = Object.create(null);
|
|
@@ -44586,6 +44671,8 @@ class _PdfCatalog {
|
|
|
44586
44671
|
this._crossReference._cacheMap.set(ref, form);
|
|
44587
44672
|
this._catalogDictionary.set('AcroForm', ref);
|
|
44588
44673
|
this._catalogDictionary._updated = true;
|
|
44674
|
+
this._crossReference._allowCatalog = true;
|
|
44675
|
+
form._updated = true;
|
|
44589
44676
|
return form;
|
|
44590
44677
|
}
|
|
44591
44678
|
getPageDictionary(pageIndex) {
|
|
@@ -45378,10 +45465,11 @@ class _PdfParser {
|
|
|
45378
45465
|
case '[':
|
|
45379
45466
|
const array = []; // eslint-disable-line
|
|
45380
45467
|
while (!_isCommand(this.first, ']') && this.first !== endOfFile) {
|
|
45381
|
-
|
|
45468
|
+
let entry = this.getObject(cipherTransform); // eslint-disable-line
|
|
45382
45469
|
if (array.length === 0 && _isName(entry, 'Indexed')) {
|
|
45383
45470
|
this._isColorSpace = true;
|
|
45384
45471
|
}
|
|
45472
|
+
entry = _decodeText(entry, this._isColorSpace, this._isPassword);
|
|
45385
45473
|
array.push(entry);
|
|
45386
45474
|
}
|
|
45387
45475
|
if (this.first === endOfFile) {
|
|
@@ -45410,23 +45498,7 @@ class _PdfParser {
|
|
|
45410
45498
|
break;
|
|
45411
45499
|
}
|
|
45412
45500
|
let value = this.getObject(cipherTransform); // eslint-disable-line
|
|
45413
|
-
|
|
45414
|
-
if (value.startsWith('þÿ')) {
|
|
45415
|
-
value = value.substring(2);
|
|
45416
|
-
if (value.endsWith('ÿý')) {
|
|
45417
|
-
value = value.substring(0, value.length - 2);
|
|
45418
|
-
}
|
|
45419
|
-
const bytes = _stringToBytes(value);
|
|
45420
|
-
let result = '';
|
|
45421
|
-
for (let i = 0; i < bytes.length; i += 2) {
|
|
45422
|
-
const x = bytes[Number.parseInt(i.toString(), 10)] << 8;
|
|
45423
|
-
const y = bytes[Number.parseInt((i + 1).toString(), 10)];
|
|
45424
|
-
const codeUnit = x | y;
|
|
45425
|
-
result += String.fromCharCode(codeUnit);
|
|
45426
|
-
}
|
|
45427
|
-
value = result;
|
|
45428
|
-
}
|
|
45429
|
-
}
|
|
45501
|
+
value = _decodeText(value, this._isColorSpace, this._isPassword);
|
|
45430
45502
|
this._isPassword = false;
|
|
45431
45503
|
dictionary.set(key, value);
|
|
45432
45504
|
}
|
|
@@ -48203,39 +48275,40 @@ class _PdfCrossReference {
|
|
|
48203
48275
|
}
|
|
48204
48276
|
this._writeObject(archiveStream, buffer, archiveRef, cipher);
|
|
48205
48277
|
}
|
|
48278
|
+
const formatValue = Math.max(_getSize(this._stream.bytes.length), _getSize(this._nextReferenceNumber));
|
|
48206
48279
|
const newRef = this._getNextReference();
|
|
48207
48280
|
const newStartXref = currentLength + buffer.length;
|
|
48208
48281
|
const newXref = new _PdfDictionary(this);
|
|
48209
48282
|
newXref.set('Type', _PdfName.get('XRef'));
|
|
48210
48283
|
newXref.set('Index', indexes);
|
|
48211
|
-
newXref.set('W', [1,
|
|
48284
|
+
newXref.set('W', [1, formatValue, 1]);
|
|
48212
48285
|
this._copyTrailer(newXref);
|
|
48213
48286
|
if (this._ids && this._ids.length > 0) {
|
|
48214
48287
|
newXref.update('ID', [this._ids[0], this._computeMessageDigest(newStartXref)]);
|
|
48215
48288
|
}
|
|
48216
48289
|
const newXrefData = [];
|
|
48217
48290
|
this._writeLong(0, 1, newXrefData);
|
|
48218
|
-
this._writeLong(1,
|
|
48291
|
+
this._writeLong(1, formatValue, newXrefData);
|
|
48219
48292
|
this._writeLong(-1, 1, newXrefData);
|
|
48220
48293
|
if (uncompressedCount > 0) {
|
|
48221
48294
|
for (let index = 0; index < uncompressedCount; index++) {
|
|
48222
48295
|
this._writeLong(1, 1, newXrefData);
|
|
48223
|
-
this._writeLong(uncompressedOffsets[index],
|
|
48296
|
+
this._writeLong(uncompressedOffsets[index], formatValue, newXrefData); // eslint-disable-line
|
|
48224
48297
|
this._writeLong(0, 1, newXrefData);
|
|
48225
48298
|
}
|
|
48226
48299
|
}
|
|
48227
48300
|
if (updatedCount > 0) {
|
|
48228
48301
|
for (let index = 0; index < updatedCount; index++) {
|
|
48229
48302
|
this._writeLong(2, 1, newXrefData);
|
|
48230
|
-
this._writeLong(archiveRef.objectNumber,
|
|
48303
|
+
this._writeLong(archiveRef.objectNumber, formatValue, newXrefData);
|
|
48231
48304
|
this._writeLong(index, 1, newXrefData);
|
|
48232
48305
|
}
|
|
48233
48306
|
this._writeLong(1, 1, newXrefData);
|
|
48234
|
-
this._writeLong(archiveOffset,
|
|
48307
|
+
this._writeLong(archiveOffset, formatValue, newXrefData);
|
|
48235
48308
|
this._writeLong(0, 1, newXrefData);
|
|
48236
48309
|
}
|
|
48237
48310
|
this._writeLong(1, 1, newXrefData);
|
|
48238
|
-
this._writeLong(newStartXref,
|
|
48311
|
+
this._writeLong(newStartXref, formatValue, newXrefData);
|
|
48239
48312
|
this._writeLong(0, 1, newXrefData);
|
|
48240
48313
|
newXref.set('Length', newXrefData.length);
|
|
48241
48314
|
const newXrefStream = new _PdfStream(newXrefData, newXref, 0, newXrefData.length);
|
|
@@ -48287,8 +48360,9 @@ class _PdfCrossReference {
|
|
|
48287
48360
|
return array;
|
|
48288
48361
|
}
|
|
48289
48362
|
_copyTrailer(newXref) {
|
|
48290
|
-
|
|
48291
|
-
|
|
48363
|
+
const reference = this._getNextReference();
|
|
48364
|
+
newXref.set('Size', reference.objectNumber);
|
|
48365
|
+
newXref.set('Prev', this._prevXRefOffset);
|
|
48292
48366
|
const root = this._trailer.getRaw('Root'); // eslint-disable-line
|
|
48293
48367
|
if (typeof root !== 'undefined' && root !== null) {
|
|
48294
48368
|
newXref.set('Root', root);
|
|
@@ -48724,7 +48798,6 @@ class PdfForm {
|
|
|
48724
48798
|
this._dictionary.update('Fields', this._fields);
|
|
48725
48799
|
this._parsedFields.set(this._fields.length - 1, field);
|
|
48726
48800
|
field._form = this;
|
|
48727
|
-
this._crossReference._allowCatalog = true;
|
|
48728
48801
|
this._crossReference._root._updated = true;
|
|
48729
48802
|
if (field._kidsCount > 0) {
|
|
48730
48803
|
for (let i = 0; i < field._kidsCount; i++) {
|
|
@@ -51886,19 +51959,21 @@ class PdfDocument {
|
|
|
51886
51959
|
this._doPostProcessOnAnnotations(isFlatten);
|
|
51887
51960
|
}
|
|
51888
51961
|
_doPostProcessOnFormFields(isFlatten = false) {
|
|
51889
|
-
this.
|
|
51890
|
-
|
|
51891
|
-
|
|
51892
|
-
|
|
51893
|
-
|
|
51894
|
-
|
|
51895
|
-
|
|
51896
|
-
|
|
51897
|
-
|
|
51898
|
-
|
|
51899
|
-
|
|
51962
|
+
if (this._catalog._catalogDictionary.has('AcroForm')) {
|
|
51963
|
+
this.form._doPostProcess(isFlatten);
|
|
51964
|
+
if (isFlatten) {
|
|
51965
|
+
const formObject = this._catalog._catalogDictionary.getRaw('AcroForm');
|
|
51966
|
+
const dictionary = new _PdfDictionary(this._crossReference);
|
|
51967
|
+
dictionary._updated = true;
|
|
51968
|
+
if (formObject instanceof _PdfReference) {
|
|
51969
|
+
this._crossReference._cacheMap.set(formObject, dictionary);
|
|
51970
|
+
}
|
|
51971
|
+
else {
|
|
51972
|
+
this.form._dictionary = dictionary;
|
|
51973
|
+
this._crossReference._allowCatalog = true;
|
|
51974
|
+
}
|
|
51975
|
+
this.form._clear();
|
|
51900
51976
|
}
|
|
51901
|
-
this.form._clear();
|
|
51902
51977
|
}
|
|
51903
51978
|
}
|
|
51904
51979
|
_doPostProcessOnAnnotations(isFlatten = false) {
|
|
@@ -52817,5 +52892,5 @@ class PdfBitmap extends PdfImage {
|
|
|
52817
52892
|
}
|
|
52818
52893
|
}
|
|
52819
52894
|
|
|
52820
|
-
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 };
|
|
52895
|
+
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 };
|
|
52821
52896
|
//# sourceMappingURL=ej2-pdf.es2015.js.map
|