@syncfusion/ej2-pdf-export
Advanced tools
Comparing version 17.2.28-beta to 17.2.29-beta
@@ -5,4 +5,2 @@ # Changelog | ||
## 17.1.48 (2019-05-21) | ||
### Pdf Export | ||
@@ -12,4 +10,10 @@ | ||
- Iterative constructor call issue has been resolved. | ||
- Preservation issue in headers and footers with section is fixed. | ||
- Super constructor may only be called once exception has been resolved. | ||
- Preservation issue in page orientation is fixed. | ||
## 17.1.1-beta (2019-01-29) | ||
@@ -16,0 +20,0 @@ |
@@ -1,10 +0,1 @@ | ||
/*! | ||
* filename: index.d.ts | ||
* version : 17.2.28-beta | ||
* Copyright Syncfusion Inc. 2001 - 2019. All rights reserved. | ||
* Use of this code is subject to the terms of our license. | ||
* A copy of the current license can be obtained at any time by e-mailing | ||
* licensing@syncfusion.com. Any infringement will be prosecuted under | ||
* applicable laws. | ||
*/ | ||
import * as _pdfexport from '@syncfusion/ej2-pdf-export'; | ||
@@ -11,0 +2,0 @@ |
{ | ||
"_from": "@syncfusion/ej2-pdf-export@*", | ||
"_id": "@syncfusion/ej2-pdf-export@17.1.48", | ||
"_id": "@syncfusion/ej2-pdf-export@17.1.1", | ||
"_inBundle": false, | ||
"_integrity": "sha512-XqRw63YTr/dZaYkNFzm0N0cgorTGCx5gOr8WaSFdkZjnYKfMoqf3O/cGFReAfky+5yfyaX9Y7pNnrsAeynnT8w==", | ||
"_integrity": "sha512-ojC0H/HQCWy6sh4bMjAuHjwrt93tUZF5dj+ZLQT7LAmzs5Qa2f6mVsFaJYFSbUChgWMdcOnM8H6yMDQZepbV4Q==", | ||
"_location": "/@syncfusion/ej2-pdf-export", | ||
@@ -28,4 +28,4 @@ "_phantomChildren": {}, | ||
], | ||
"_resolved": "http://nexus.syncfusion.com/repository/ej2-release/@syncfusion/ej2-pdf-export/-/ej2-pdf-export-17.1.48.tgz", | ||
"_shasum": "fc5673cf7b2047403224a053d8986e263482eaa8", | ||
"_resolved": "http://nexus.syncfusion.com/repository/ej2-production/@syncfusion/ej2-pdf-export/-/ej2-pdf-export-17.1.1.tgz", | ||
"_shasum": "f3441d6a37c3f961fd4f7e0ce22b246c57ea2552", | ||
"_spec": "@syncfusion/ej2-pdf-export@*", | ||
@@ -41,3 +41,3 @@ "_where": "/jenkins/workspace/ation_hotfix_16.4.0.42_Vol4-CJVRBFC7Z7RSISPRJNEMNQSRMCB6XTG67IJD6R2DVNXFIKQEITTQ/packages/included", | ||
"dependencies": { | ||
"@syncfusion/ej2-compression": "~17.2.28-beta" | ||
"@syncfusion/ej2-compression": "17.2.29-beta" | ||
}, | ||
@@ -57,4 +57,4 @@ "deprecated": false, | ||
}, | ||
"version": "17.2.28-beta", | ||
"version": "17.2.29-beta", | ||
"sideEffects": false | ||
} |
@@ -23,10 +23,3 @@ var __extends = (this && this.__extends) || (function () { | ||
function PdfLinkAnnotation(rectangle) { | ||
var _this = this; | ||
if (typeof rectangle === 'undefined') { | ||
_this = _super.call(this) || this; | ||
} | ||
else { | ||
_this = _super.call(this, rectangle) || this; | ||
} | ||
return _this; | ||
return _super.call(this, rectangle) || this; | ||
} | ||
@@ -33,0 +26,0 @@ // Implementation |
@@ -43,3 +43,3 @@ /** | ||
*/ | ||
private document; | ||
document: PdfDocument; | ||
/** | ||
@@ -46,0 +46,0 @@ * Initializes a new instance of the `PdfDocumentBase` class. |
@@ -62,22 +62,24 @@ var __extends = (this && this.__extends) || (function () { | ||
_this.streamWriter = null; | ||
_this = _super.call(this, _this) || this; | ||
if (isMerging === true || isMerging === false || typeof isMerging !== 'undefined') { | ||
var objects = new PdfMainObjectCollection(); | ||
_this.setMainObjectCollection(objects); | ||
var crossTable = new PdfCrossTable(); | ||
crossTable.isMerging = isMerging; | ||
crossTable.document = _this; | ||
_this.setCrossTable(crossTable); | ||
var catalog = new PdfCatalog(); | ||
_this.setCatalog(catalog); | ||
objects.add(catalog); | ||
catalog.position = -1; | ||
_this.sectionCollection = new PdfSectionCollection(_this); | ||
_this.documentPageCollection = new PdfDocumentPageCollection(_this); | ||
catalog.pages = _this.sectionCollection; | ||
_this.document = _this; | ||
var isMerge = false; | ||
if (typeof isMerging === 'undefined') { | ||
PdfDocument.cacheCollection = new PdfCacheCollection(); | ||
isMerge = false; | ||
} | ||
else { | ||
PdfDocument.cacheCollection = new PdfCacheCollection(); | ||
_this.constructor(false); | ||
isMerge = isMerging; | ||
} | ||
var objects = new PdfMainObjectCollection(); | ||
_this.setMainObjectCollection(objects); | ||
var crossTable = new PdfCrossTable(); | ||
crossTable.isMerging = isMerge; | ||
crossTable.document = _this; | ||
_this.setCrossTable(crossTable); | ||
var catalog = new PdfCatalog(); | ||
_this.setCatalog(catalog); | ||
objects.add(catalog); | ||
catalog.position = -1; | ||
_this.sectionCollection = new PdfSectionCollection(_this); | ||
_this.documentPageCollection = new PdfDocumentPageCollection(_this); | ||
catalog.pages = _this.sectionCollection; | ||
return _this; | ||
@@ -84,0 +86,0 @@ } |
@@ -49,13 +49,9 @@ import { PointF, RectangleF } from './../drawing/pdf-drawing'; | ||
this.array = new PdfArray(); | ||
if (typeof arg2 === 'undefined') { | ||
var angle = PdfPageRotateAngle.RotateAngle0; | ||
this.destinationLocation = new PointF(0, this.destinationLocation.y); | ||
this.pdfPage = arg1; | ||
} | ||
else if (arg2 instanceof PointF) { | ||
this.constructor(arg1); | ||
var angle = PdfPageRotateAngle.RotateAngle0; | ||
this.destinationLocation = new PointF(0, this.destinationLocation.y); | ||
this.pdfPage = arg1; | ||
if (arg2 instanceof PointF) { | ||
this.destinationLocation = arg2; | ||
} | ||
else { | ||
this.constructor(arg1); | ||
this.bounds = arg2; | ||
@@ -62,0 +58,0 @@ } |
@@ -66,3 +66,2 @@ var __extends = (this && this.__extends) || (function () { | ||
else if (typeof arg1 === 'string' && typeof arg2 === 'undefined') { | ||
_this = _super.call(this) || this; | ||
_this.content = arg1; | ||
@@ -72,3 +71,2 @@ _this.elementValue = arg1; | ||
else if (typeof arg1 === 'string' && arg2 instanceof PdfFont && typeof arg3 === 'undefined') { | ||
_this = _super.call(this) || this; | ||
_this.content = arg1; | ||
@@ -79,3 +77,2 @@ _this.elementValue = arg1; | ||
else if (typeof arg1 === 'string' && arg2 instanceof PdfFont && arg3 instanceof PdfPen && typeof arg4 === 'undefined') { | ||
_this = _super.call(this) || this; | ||
_this.content = arg1; | ||
@@ -87,3 +84,2 @@ _this.elementValue = arg1; | ||
else if (typeof arg1 === 'string' && arg2 instanceof PdfFont && arg3 instanceof PdfBrush && typeof arg4 === 'undefined') { | ||
_this = _super.call(this) || this; | ||
_this.content = arg1; | ||
@@ -95,3 +91,2 @@ _this.elementValue = arg1; | ||
else { | ||
_this = _super.call(this) || this; | ||
_this.content = arg1; | ||
@@ -98,0 +93,0 @@ _this.elementValue = arg1; |
@@ -46,3 +46,3 @@ var __extends = (this && this.__extends) || (function () { | ||
function PdfStandardFont(fontFamilyPrototype, size, style) { | ||
var _this = _super.call(this, size, style) || this; | ||
var _this = _super.call(this, size, (typeof style === 'undefined') ? ((fontFamilyPrototype instanceof PdfStandardFont) ? fontFamilyPrototype.style : PdfFontStyle.Regular) : style) || this; | ||
/** | ||
@@ -60,20 +60,17 @@ * Gets `ascent` of the font. | ||
'WinAnsiEncoding', 'PDFDocEncoding', 'IdentityH']; | ||
if ((typeof fontFamilyPrototype === 'number') && (typeof style === 'undefined')) { | ||
_this.constructor(fontFamilyPrototype, size, PdfFontStyle.Regular); | ||
if (typeof fontFamilyPrototype === 'undefined') { | ||
_this.pdfFontFamily = PdfFontFamily.Helvetica; | ||
} | ||
else if ((typeof fontFamilyPrototype === 'number') && (typeof style !== 'undefined')) { | ||
_this = _super.call(this, size, style) || this; | ||
else if ((fontFamilyPrototype instanceof PdfStandardFont)) { | ||
_this.pdfFontFamily = fontFamilyPrototype.fontFamily; | ||
} | ||
else { | ||
_this.pdfFontFamily = fontFamilyPrototype; | ||
_this.checkStyle(); | ||
_this.initializeInternals(); | ||
} | ||
else if ((fontFamilyPrototype instanceof PdfStandardFont) && (typeof style === 'undefined')) { | ||
_this.constructor(fontFamilyPrototype.fontFamily, size, fontFamilyPrototype.style); | ||
} | ||
else if ((fontFamilyPrototype instanceof PdfStandardFont) && (typeof style !== 'undefined')) { | ||
_this.constructor(fontFamilyPrototype.fontFamily, size, style); | ||
} | ||
_this.checkStyle(); | ||
_this.initializeInternals(); | ||
return _this; | ||
} | ||
Object.defineProperty(PdfStandardFont.prototype, "fontFamily", { | ||
/* tslint:enable */ | ||
//Properties | ||
@@ -80,0 +77,0 @@ /** |
@@ -45,19 +45,10 @@ /** | ||
this.wordWrapType = PdfWordWrapType.Word; | ||
if (typeof arg1 === 'undefined') { | ||
this.internalLineLimit = true; | ||
this.wordWrapType = PdfWordWrapType.Word; | ||
this.internalLineLimit = true; | ||
this.wordWrapType = PdfWordWrapType.Word; | ||
if ((typeof arg1 !== 'undefined') && (typeof arg1 !== 'string')) { | ||
this.textAlignment = arg1; | ||
} | ||
else if (typeof arg1 === 'string') { | ||
this.constructor(); | ||
if (typeof arg2 !== 'undefined') { | ||
this.verticalAlignment = arg2; | ||
} | ||
else { | ||
if (typeof arg2 === 'undefined') { | ||
this.constructor(); | ||
this.textAlignment = arg1; | ||
} | ||
else { | ||
this.constructor(arg1); | ||
this.verticalAlignment = arg2; | ||
} | ||
} | ||
} | ||
@@ -64,0 +55,0 @@ Object.defineProperty(PdfStringFormat.prototype, "alignment", { |
@@ -40,18 +40,25 @@ import { PdfColorSpace } from './enum'; | ||
} | ||
else if (typeof color1 === 'number' && typeof color2 === 'number' && typeof color3 === 'number' && | ||
typeof color4 === 'undefined') { | ||
this.constructor(PdfColor.maxColourChannelValue, color1, color2, color3); //doubt-byte/float | ||
} | ||
else if (typeof color1 === 'number' && typeof color2 === 'number' && typeof color3 === 'number' && typeof color4 === 'number') { | ||
this.redColor = color2; | ||
else { | ||
this.cyanColor = 0; | ||
this.greenColor = color3; | ||
this.magentaColor = 0; | ||
this.blueColor = color4; | ||
this.yellowColor = 0; | ||
this.blackColor = 0; | ||
this.grayColor = 0; | ||
this.alpha = color1; | ||
this.filled = true; | ||
this.assignCMYK(color2, color3, color4); | ||
if (typeof color4 === 'undefined') { | ||
//doubt-byte/float | ||
this.redColor = color1; | ||
this.greenColor = color2; | ||
this.blueColor = color3; | ||
this.alpha = PdfColor.maxColourChannelValue; | ||
this.filled = true; | ||
this.assignCMYK(color1, color2, color3); | ||
} | ||
else { | ||
this.redColor = color2; | ||
this.greenColor = color3; | ||
this.blueColor = color4; | ||
this.alpha = color1; | ||
this.filled = true; | ||
this.assignCMYK(color2, color3, color4); | ||
} | ||
} | ||
@@ -58,0 +65,0 @@ } |
@@ -82,12 +82,11 @@ /** | ||
this.colorSpace = PdfColorSpace.Rgb; | ||
if (typeof arg2 === 'number') { | ||
this.constructor(arg1); | ||
this.width = arg2; | ||
} | ||
else if (typeof arg2 === 'undefined' && arg1 instanceof PdfBrush) { | ||
if (arg1 instanceof PdfBrush) { | ||
this.setBrush(arg1); | ||
} | ||
else if (typeof arg2 === 'undefined' && arg1 instanceof PdfColor) { | ||
else if (arg1 instanceof PdfColor) { | ||
this.color = arg1; | ||
} | ||
if (typeof arg2 === 'number') { | ||
this.width = arg2; | ||
} | ||
} | ||
@@ -94,0 +93,0 @@ Object.defineProperty(PdfPen.prototype, "color", { |
@@ -36,3 +36,3 @@ var __extends = (this && this.__extends) || (function () { | ||
function PdfResources(baseDictionary) { | ||
var _this = _super.call(this) || this; | ||
var _this = _super.call(this, baseDictionary) || this; | ||
/** | ||
@@ -43,5 +43,2 @@ * Dictionary for the `properties names`. | ||
_this.properties = new PdfDictionary(); | ||
if (baseDictionary instanceof PdfDictionary) { | ||
_this = _super.call(this, baseDictionary) || this; | ||
} | ||
return _this; | ||
@@ -48,0 +45,0 @@ } |
@@ -128,3 +128,3 @@ /** | ||
else if (typeof arg1 === 'number') { | ||
this.constructor(); | ||
this.metrixElements = []; | ||
this.metrixElements.push(arg1); | ||
@@ -131,0 +131,0 @@ this.metrixElements.push(arg2); |
@@ -430,15 +430,11 @@ import { ObjectStatus } from './../input-output/enum'; | ||
function RegisteredObject(offset, reference, free) { | ||
var tempOffset = offset; | ||
this.offsetNumber = tempOffset; | ||
var tempReference = reference; | ||
this.generation = tempReference.genNumber; | ||
this.object = tempReference.objNumber; | ||
if (typeof free === 'undefined') { | ||
var tempOffset = offset; | ||
this.offsetNumber = tempOffset; | ||
var tempReference = reference; | ||
this.generation = tempReference.genNumber; | ||
this.object = tempReference.objNumber; | ||
this.type = ObjectType.Normal; | ||
} | ||
else { | ||
var tempOffset = offset; | ||
var tempReference = reference; | ||
this.constructor(tempOffset, tempReference); | ||
var tempFree = free; | ||
this.type = ObjectType.Free; | ||
@@ -445,0 +441,0 @@ } |
@@ -22,8 +22,2 @@ import { PdfDocument } from './../document/pdf-document'; | ||
/** | ||
* Stores the previous pages's `orientation`. | ||
* @default PdfPageOrientation.Portrait | ||
* @private | ||
*/ | ||
private previousPageOrientation; | ||
/** | ||
* Internal variable for `page added event`. | ||
@@ -30,0 +24,0 @@ * @private |
import { PdfPage } from './pdf-page'; | ||
import { Dictionary } from './../collections/dictionary'; | ||
import { PdfPageOrientation } from './enum'; | ||
/** | ||
@@ -20,8 +19,2 @@ * Represents a virtual collection of all the pages in the document. | ||
this.pdfPageCollectionIndex = new Dictionary(); | ||
/** | ||
* Stores the previous pages's `orientation`. | ||
* @default PdfPageOrientation.Portrait | ||
* @private | ||
*/ | ||
this.previousPageOrientation = PdfPageOrientation.Portrait; | ||
this.document = document; | ||
@@ -60,6 +53,2 @@ } | ||
var section = this.getLastSection(); | ||
if (section.pageSettings.orientation !== this.previousPageOrientation) { | ||
section = this.document.sections.add(); | ||
section.pageSettings.orientation = this.document.pageSettings.orientation; | ||
} | ||
section.add(page); | ||
@@ -66,0 +55,0 @@ } |
@@ -41,19 +41,18 @@ import { PdfStream } from './../primitives/pdf-stream'; | ||
this.dictionaryProperties = new DictionaryProperties(); | ||
if (page === null) { | ||
throw new Error('ArgumentNullException:page'); | ||
} | ||
this.pdfPage = page; | ||
this.clipPageTemplates = true; | ||
if (typeof streamClipPageTemplates === 'undefined') { | ||
this.pdfPage = page; | ||
this.clipPageTemplates = true; | ||
this.content = new PdfStream(); | ||
} | ||
else if (streamClipPageTemplates instanceof PdfStream || streamClipPageTemplates === null) { | ||
if (page == null) { | ||
throw new Error('ArgumentNullException:page'); | ||
} | ||
if (streamClipPageTemplates == null) { | ||
if (streamClipPageTemplates === null) { | ||
throw new Error('ArgumentNullException:stream'); | ||
} | ||
this.pdfPage = page; | ||
this.content = streamClipPageTemplates; | ||
} | ||
else { | ||
this.constructor(page); | ||
this.content = new PdfStream(); | ||
this.clipPageTemplates = streamClipPageTemplates; | ||
@@ -60,0 +59,0 @@ } |
@@ -176,2 +176,7 @@ /** | ||
/** | ||
* `Initialize Bounds` Initialize the bounds value of the template. | ||
* @private | ||
*/ | ||
private InitiateBounds; | ||
/** | ||
* `Updates Dock` property if template is used as header/footer. | ||
@@ -178,0 +183,0 @@ * @private |
@@ -16,31 +16,27 @@ /** | ||
if (arg1 instanceof RectangleF && typeof arg2 === 'undefined') { | ||
this.constructor(arg1.x, arg1.y, arg1.width, arg1.height); | ||
this.InitiateBounds(arg1.x, arg1.y, arg1.width, arg1.height, null); | ||
} | ||
else if (arg1 instanceof RectangleF && arg2 instanceof PdfPage && typeof arg3 === 'undefined') { | ||
this.constructor(arg1.x, arg1.y, arg1.width, arg1.height, arg2); | ||
this.InitiateBounds(arg1.x, arg1.y, arg1.width, arg1.height, arg2); | ||
} | ||
else if (arg1 instanceof PointF && arg2 instanceof SizeF && typeof arg3 === 'undefined') { | ||
this.constructor(arg1.x, arg1.y, arg2.width, arg2.height); | ||
this.InitiateBounds(arg1.x, arg1.y, arg2.width, arg2.height, null); | ||
} | ||
else if (arg1 instanceof PointF && arg2 instanceof SizeF && arg3 instanceof PdfPage && typeof arg4 === 'undefined') { | ||
this.constructor(arg1.x, arg1.y, arg2.width, arg2.height, arg3); | ||
this.InitiateBounds(arg1.x, arg1.y, arg2.width, arg2.height, arg3); | ||
} | ||
else if (arg1 instanceof SizeF && typeof arg2 === 'undefined') { | ||
this.constructor(arg1.width, arg1.height); | ||
this.InitiateBounds(0, 0, arg1.width, arg1.height, null); | ||
} | ||
else if (typeof arg1 === 'number' && typeof arg2 === 'number' && typeof arg3 === 'undefined') { | ||
this.constructor(0, 0, arg1, arg2); | ||
this.InitiateBounds(0, 0, arg1, arg2, null); | ||
} | ||
else if (typeof arg1 === 'number' && typeof arg2 === 'number' && arg3 instanceof PdfPage && typeof arg4 === 'undefined') { | ||
this.constructor(0, 0, arg1, arg2, arg3); | ||
this.InitiateBounds(0, 0, arg1, arg2, arg3); | ||
} | ||
else if (typeof arg1 === 'number' && typeof arg2 === 'number' && typeof arg3 === 'number' && typeof arg4 === 'number' && typeof arg5 === 'undefined') { | ||
this.x = arg1; | ||
this.y = arg2; | ||
this.pdfTemplate = new PdfTemplate(arg3, arg4); | ||
this.InitiateBounds(arg1, arg2, arg3, arg4, null); | ||
} | ||
else { | ||
this.x = arg1; | ||
this.y = arg2; | ||
this.pdfTemplate = new PdfTemplate(arg3, arg4); | ||
this.InitiateBounds(arg1, arg2, arg3, arg4, null); | ||
// this.graphics.colorSpace = this.page.document.colorSpace; | ||
@@ -284,2 +280,12 @@ } | ||
/** | ||
* `Initialize Bounds` Initialize the bounds value of the template. | ||
* @private | ||
*/ | ||
PdfPageTemplateElement.prototype.InitiateBounds = function (arg1, arg2, arg3, arg4, arg5) { | ||
this.x = arg1; | ||
this.y = arg2; | ||
this.pdfTemplate = new PdfTemplate(arg3, arg4); | ||
// this.graphics.colorSpace = this.page.document.colorSpace; | ||
}; | ||
/** | ||
* `Updates Dock` property if template is used as header/footer. | ||
@@ -286,0 +292,0 @@ * @private |
@@ -179,3 +179,2 @@ /** | ||
* @param page The parent page. | ||
* @param headers If true - return headers/footers, if false - return simple templates. | ||
* @param foreground If true - return foreground templates, if false - return background templates. | ||
@@ -182,0 +181,0 @@ * @returns Returns array of the document templates. |
@@ -36,11 +36,12 @@ import { PdfPage } from './pdf-page'; | ||
this.dictionaryProperties = new DictionaryProperties(); | ||
this.pdfDocument = document; | ||
if (typeof pageSettings === 'undefined') { | ||
this.constructor(document, document.pageSettings); | ||
this.settings = document.pageSettings.clone(); | ||
this.initialSettings = this.settings.clone(); | ||
} | ||
else { | ||
this.pdfDocument = document; | ||
this.settings = pageSettings.clone(); | ||
this.initialSettings = this.settings.clone(); | ||
this.initialize(); | ||
} | ||
this.initialize(); | ||
} | ||
@@ -219,3 +220,2 @@ Object.defineProperty(PdfSection.prototype, "parent", { | ||
* @param page The parent page. | ||
* @param headers If true - return headers/footers, if false - return simple templates. | ||
* @param foreground If true - return foreground templates, if false - return background templates. | ||
@@ -222,0 +222,0 @@ * @returns Returns array of the document templates. |
@@ -212,2 +212,3 @@ /** | ||
constructor(obj1: PdfReference, obj2: PdfCrossTable); | ||
private initialize; | ||
/** | ||
@@ -214,0 +215,0 @@ * `Writes` a reference into a PDF document. |
@@ -172,22 +172,3 @@ import { DictionaryProperties } from './../input-output/pdf-dictionary-properties'; | ||
// if (typeof obj2 === 'undefined') { | ||
if (obj1 instanceof PdfArray | ||
|| obj1 instanceof PdfDictionary | ||
|| obj1 instanceof PdfName | ||
|| obj1 instanceof PdfNumber | ||
|| obj1 instanceof PdfStream | ||
|| obj1 instanceof PdfReference | ||
|| obj1 instanceof PdfString) { | ||
// if (obj1 === null) { | ||
// throw new Error('ArgumentNullException : obj'); | ||
// } | ||
this.primitiveObject = obj1; | ||
// } else if (obj1 instanceof PdfPageBase | ||
// || obj1 instanceof PdfPage | ||
// || obj1 instanceof PdfSection | ||
// || obj1 instanceof PdfSectionCollection) { | ||
} | ||
else { | ||
var tempObj = obj1; | ||
this.constructor(tempObj.element); | ||
} | ||
this.initialize(obj1); | ||
// } | ||
@@ -327,2 +308,17 @@ // else { | ||
}); | ||
PdfReferenceHolder.prototype.initialize = function (obj1) { | ||
if (obj1 instanceof PdfArray | ||
|| obj1 instanceof PdfDictionary | ||
|| obj1 instanceof PdfName | ||
|| obj1 instanceof PdfNumber | ||
|| obj1 instanceof PdfStream | ||
|| obj1 instanceof PdfReference | ||
|| obj1 instanceof PdfString) { | ||
this.primitiveObject = obj1; | ||
} | ||
else { | ||
var tempObj = obj1; | ||
this.initialize(tempObj.element); | ||
} | ||
}; | ||
/** | ||
@@ -329,0 +325,0 @@ * `Writes` a reference into a PDF document. |
@@ -65,8 +65,5 @@ import { PdfGrid } from './pdf-grid'; | ||
this.present = false; | ||
if (typeof row === 'undefined') { | ||
this.gridRowSpan = 1; | ||
this.colSpan = 1; | ||
} | ||
else { | ||
this.constructor(); | ||
this.gridRowSpan = 1; | ||
this.colSpan = 1; | ||
if (typeof row !== 'undefined') { | ||
this.gridRow = row; | ||
@@ -73,0 +70,0 @@ } |
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
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
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
10495317
102640
+ Added@syncfusion/ej2-compression@17.2.29-beta(transitive)
+ Added@syncfusion/ej2-file-utils@17.2.29-beta(transitive)
- Removed@syncfusion/ej2-compression@17.2.47(transitive)
- Removed@syncfusion/ej2-file-utils@17.2.47(transitive)