@syncfusion/ej2-pdf-export 27.1.48 → 27.1.51
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/dist/ej2-pdf-export.min.js +2 -2
- package/dist/ej2-pdf-export.umd.min.js +2 -2
- package/dist/ej2-pdf-export.umd.min.js.map +1 -1
- package/dist/es6/ej2-pdf-export.es2015.js +19 -7
- package/dist/es6/ej2-pdf-export.es2015.js.map +1 -1
- package/dist/es6/ej2-pdf-export.es5.js +19 -7
- package/dist/es6/ej2-pdf-export.es5.js.map +1 -1
- package/dist/global/ej2-pdf-export.min.js +2 -2
- package/dist/global/ej2-pdf-export.min.js.map +1 -1
- package/dist/global/index.d.ts +1 -1
- package/package.json +6 -7
- package/src/implementation/structured-elements/grid/pdf-grid-cell.js +19 -7
|
@@ -27285,19 +27285,31 @@ class PdfGridCell {
|
|
|
27285
27285
|
let returnBounds = new RectangleF(bounds.x, bounds.y, bounds.width, bounds.height);
|
|
27286
27286
|
if (!(this.objectValue instanceof PdfGrid)) {
|
|
27287
27287
|
if (typeof this.style.cellPadding === 'undefined' || this.style.cellPadding == null) {
|
|
27288
|
-
returnBounds.x += this.gridRow.grid.style.cellPadding.left
|
|
27289
|
-
returnBounds.y += this.gridRow.grid.style.cellPadding.top
|
|
27288
|
+
returnBounds.x += this.gridRow.grid.style.cellPadding.left;
|
|
27289
|
+
returnBounds.y += this.gridRow.grid.style.cellPadding.top;
|
|
27290
27290
|
returnBounds.width -= (this.gridRow.grid.style.cellPadding.right + this.gridRow.grid.style.cellPadding.left);
|
|
27291
27291
|
returnBounds.height -= (this.gridRow.grid.style.cellPadding.bottom + this.gridRow.grid.style.cellPadding.top);
|
|
27292
|
-
returnBounds.height -= (this.cellStyle.borders.top.width + this.cellStyle.borders.bottom.width);
|
|
27293
27292
|
}
|
|
27294
27293
|
else {
|
|
27295
|
-
returnBounds.x += this.style.cellPadding.left
|
|
27296
|
-
returnBounds.y += this.style.cellPadding.top
|
|
27294
|
+
returnBounds.x += this.style.cellPadding.left;
|
|
27295
|
+
returnBounds.y += this.style.cellPadding.top;
|
|
27297
27296
|
returnBounds.width -= (this.style.cellPadding.right + this.style.cellPadding.left);
|
|
27298
|
-
returnBounds.width -= (this.cellStyle.borders.left.width + this.cellStyle.borders.right.width);
|
|
27299
27297
|
returnBounds.height -= (this.style.cellPadding.bottom + this.style.cellPadding.top);
|
|
27300
|
-
|
|
27298
|
+
if (this.rowSpan === 1) {
|
|
27299
|
+
returnBounds.width -= (this.style.borders.left.width);
|
|
27300
|
+
}
|
|
27301
|
+
}
|
|
27302
|
+
if (typeof this.style.borders === 'undefined' || this.style.borders == null) {
|
|
27303
|
+
returnBounds.x += this.gridRow.style.border.left.width;
|
|
27304
|
+
returnBounds.y += this.gridRow.style.border.top.width;
|
|
27305
|
+
returnBounds.width -= (this.gridRow.style.border.left.width + this.gridRow.style.border.right.width);
|
|
27306
|
+
returnBounds.height -= (this.gridRow.style.border.top.width + this.gridRow.style.border.bottom.width);
|
|
27307
|
+
}
|
|
27308
|
+
else {
|
|
27309
|
+
returnBounds.x += this.style.borders.left.width;
|
|
27310
|
+
returnBounds.y += this.style.borders.top.width;
|
|
27311
|
+
returnBounds.width -= (this.style.borders.left.width + this.style.borders.right.width);
|
|
27312
|
+
returnBounds.height -= (this.style.borders.top.width + this.style.borders.bottom.width);
|
|
27301
27313
|
if (this.rowSpan === 1) {
|
|
27302
27314
|
returnBounds.width -= (this.style.borders.left.width);
|
|
27303
27315
|
}
|