@syncfusion/ej2-pdf-export
Advanced tools
Comparing version 23.1.36 to 23.1.39
@@ -9,2 +9,10 @@ # Changelog | ||
- Resolved the linear gradient brush preservation issue. | ||
## 23.1.36 (2023-09-15) | ||
### Pdf Export | ||
#### Bug Fixes | ||
- `#I448711` - Resolved the accessibility issue for PDF viewer preference support. | ||
@@ -11,0 +19,0 @@ |
/*! | ||
* filename: index.d.ts | ||
* version : 23.1.36 | ||
* Copyright Syncfusion Inc. 2001 - 2020. All rights reserved. | ||
* version : 23.1.39 | ||
* Copyright Syncfusion Inc. 2001 - 2023. All rights reserved. | ||
* Use of this code is subject to the terms of our license. | ||
@@ -6,0 +6,0 @@ * A copy of the current license can be obtained at any time by e-mailing |
{ | ||
"_from": "@syncfusion/ej2-pdf-export@*", | ||
"_id": "@syncfusion/ej2-pdf-export@0.38.8", | ||
"_id": "@syncfusion/ej2-pdf-export@23.1.36", | ||
"_inBundle": false, | ||
"_integrity": "sha512-yozt24T0l134UT0EADGD7WIU2L2ZR/OS9DnMflMEEc8vxeIVOsUc8mLsgkm6/F/BdsWcKL3NHN1PrQBYldREEQ==", | ||
"_integrity": "sha512-oS/pB4a+XXB8FR4B6hMtIaUaMhf70Oqbhx2pWu9dP2FOBm9Ce8lNjxV786oZHATAXuRUTaCdZjSdeu0JH4olkQ==", | ||
"_location": "/@syncfusion/ej2-pdf-export", | ||
@@ -31,4 +31,4 @@ "_phantomChildren": {}, | ||
], | ||
"_resolved": "https://nexus.syncfusion.com/repository/ej2-release/@syncfusion/ej2-pdf-export/-/ej2-pdf-export-0.38.8.tgz", | ||
"_shasum": "440676b1545e555dcc63a9dbdb81e37e00445370", | ||
"_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-pdf-export/-/ej2-pdf-export-23.1.36.tgz", | ||
"_shasum": "e6ba03c9ca689767583b498010cd65bffc76a1a2", | ||
"_spec": "@syncfusion/ej2-pdf-export@*", | ||
@@ -52,5 +52,5 @@ "_where": "/jenkins/workspace/elease-automation_release_23.1.1/packages/included", | ||
"typings": "index.d.ts", | ||
"version": "23.1.36", | ||
"version": "23.1.39", | ||
"sideEffects": false, | ||
"homepage": "https://www.syncfusion.com/javascript-ui-controls" | ||
} |
@@ -63,2 +63,3 @@ var __extends = (this && this.__extends) || (function () { | ||
var s = (this.dictionary); | ||
s.isResource = true; | ||
this.dictionary.items.setValue(this.mDictionaryProperties.size, new PdfArray(sizes)); | ||
@@ -65,0 +66,0 @@ this.dictionary.items.setValue(this.mDictionaryProperties.bitsPerSample, new PdfNumber(8)); |
@@ -193,3 +193,3 @@ /** | ||
// Set property used to clone Font every time | ||
this.descendantFont.isFont = true; | ||
this.descendantFont.isResource = true; | ||
this.descendantFont.descendantFontBeginSave = new SaveDescendantFontEventHandler(this); | ||
@@ -213,3 +213,3 @@ this.descendantFont.items.setValue(this.dictionaryProperties.type, new PdfName(this.dictionaryProperties.font)); | ||
// Set property used to clone Font every time | ||
descriptor.isFont = true; | ||
descriptor.isResource = true; | ||
descriptor.items.setValue(this.dictionaryProperties.type, new PdfName(this.dictionaryProperties.fontDescriptor)); | ||
@@ -245,3 +245,3 @@ descriptor.items.setValue(this.dictionaryProperties.fontName, new PdfName(this.subsetName)); | ||
// Set property used to clone Font every time | ||
this.fontDictionary.isFont = true; | ||
this.fontDictionary.isResource = true; | ||
this.fontDictionary.fontDictionaryBeginSave = new SaveFontDictionaryEventHandler(this); | ||
@@ -415,3 +415,3 @@ this.fontDictionary.items.setValue(this.dictionaryProperties.type, new PdfName(this.dictionaryProperties.font)); | ||
this.cmap.clearStream(); | ||
this.cmap.isFont = true; | ||
this.cmap.isResource = true; | ||
this.cmap.write(builder); | ||
@@ -430,3 +430,3 @@ } | ||
this.fontProgram.clearStream(); | ||
this.fontProgram.isFont = true; | ||
this.fontProgram.isResource = true; | ||
this.fontProgram.writeBytes(fontProgram); | ||
@@ -433,0 +433,0 @@ }; |
@@ -286,3 +286,3 @@ /** | ||
this.imageStream = new PdfStream(); | ||
this.imageStream.isImage = true; | ||
this.imageStream.isResource = true; | ||
var tempString = ''; | ||
@@ -289,0 +289,0 @@ var decodedString = ''; |
@@ -139,3 +139,3 @@ /** | ||
*/ | ||
isFont: boolean; | ||
isResource: boolean; | ||
/** | ||
@@ -142,0 +142,0 @@ * Gets or sets the `IPdfSavable` with the specified key. |
@@ -54,3 +54,3 @@ import { Dictionary } from './../collections/dictionary'; | ||
*/ | ||
this.isFont = false; | ||
this.isResource = false; | ||
if (typeof dictionary === 'undefined') { | ||
@@ -57,0 +57,0 @@ this.primitiveItems = new Dictionary(); |
@@ -58,12 +58,2 @@ /** | ||
/** | ||
* @hidden | ||
* @private | ||
*/ | ||
private isImageStream; | ||
/** | ||
* @hidden | ||
* @private | ||
*/ | ||
private isFontStream; | ||
/** | ||
* Event. Raise `before the object saves`. | ||
@@ -94,12 +84,2 @@ * @private | ||
/** | ||
* Gets or sets 'is image' flag. | ||
* @private | ||
*/ | ||
isImage: boolean; | ||
/** | ||
* Gets or sets 'is font' flag. | ||
* @private | ||
*/ | ||
isFont: boolean; | ||
/** | ||
* Gets or sets `compression` flag. | ||
@@ -106,0 +86,0 @@ * @private |
@@ -50,12 +50,2 @@ var __extends = (this && this.__extends) || (function () { | ||
_this.bCompress = true; | ||
/** | ||
* @hidden | ||
* @private | ||
*/ | ||
_this.isImageStream = false; | ||
/** | ||
* @hidden | ||
* @private | ||
*/ | ||
_this.isFontStream = false; | ||
if (typeof dictionary !== 'undefined' || typeof data !== 'undefined') { | ||
@@ -89,30 +79,2 @@ _this.dataStream2 = []; | ||
}); | ||
Object.defineProperty(PdfStream.prototype, "isImage", { | ||
/** | ||
* Gets or sets 'is image' flag. | ||
* @private | ||
*/ | ||
get: function () { | ||
return this.isImageStream; | ||
}, | ||
set: function (value) { | ||
this.isImageStream = value; | ||
}, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
Object.defineProperty(PdfStream.prototype, "isFont", { | ||
/** | ||
* Gets or sets 'is font' flag. | ||
* @private | ||
*/ | ||
get: function () { | ||
return this.isFontStream; | ||
}, | ||
set: function (value) { | ||
this.isFontStream = value; | ||
}, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
Object.defineProperty(PdfStream.prototype, "compress", { | ||
@@ -267,3 +229,3 @@ /** | ||
} | ||
if (data.length > 1 && !this.isImage && !this.isFont) { | ||
if (data.length > 1 && !this.isResource) { | ||
data = 'q\r\n' + data + 'Q\r\n'; | ||
@@ -270,0 +232,0 @@ } |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
13960719
130082