@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
|
@@ -30308,19 +30308,31 @@ var PdfGridCell = /** @__PURE__ @class */ (function () {
|
|
|
30308
30308
|
var returnBounds = new RectangleF(bounds.x, bounds.y, bounds.width, bounds.height);
|
|
30309
30309
|
if (!(this.objectValue instanceof PdfGrid)) {
|
|
30310
30310
|
if (typeof this.style.cellPadding === 'undefined' || this.style.cellPadding == null) {
|
|
30311
|
-
returnBounds.x += this.gridRow.grid.style.cellPadding.left
|
|
30312
|
-
returnBounds.y += this.gridRow.grid.style.cellPadding.top
|
|
30311
|
+
returnBounds.x += this.gridRow.grid.style.cellPadding.left;
|
|
30312
|
+
returnBounds.y += this.gridRow.grid.style.cellPadding.top;
|
|
30313
30313
|
returnBounds.width -= (this.gridRow.grid.style.cellPadding.right + this.gridRow.grid.style.cellPadding.left);
|
|
30314
30314
|
returnBounds.height -= (this.gridRow.grid.style.cellPadding.bottom + this.gridRow.grid.style.cellPadding.top);
|
|
30315
|
-
returnBounds.height -= (this.cellStyle.borders.top.width + this.cellStyle.borders.bottom.width);
|
|
30316
30315
|
}
|
|
30317
30316
|
else {
|
|
30318
|
-
returnBounds.x += this.style.cellPadding.left
|
|
30319
|
-
returnBounds.y += this.style.cellPadding.top
|
|
30317
|
+
returnBounds.x += this.style.cellPadding.left;
|
|
30318
|
+
returnBounds.y += this.style.cellPadding.top;
|
|
30320
30319
|
returnBounds.width -= (this.style.cellPadding.right + this.style.cellPadding.left);
|
|
30321
|
-
returnBounds.width -= (this.cellStyle.borders.left.width + this.cellStyle.borders.right.width);
|
|
30322
30320
|
returnBounds.height -= (this.style.cellPadding.bottom + this.style.cellPadding.top);
|
|
30323
|
-
|
|
30321
|
+
if (this.rowSpan === 1) {
|
|
30322
|
+
returnBounds.width -= (this.style.borders.left.width);
|
|
30323
|
+
}
|
|
30324
|
+
}
|
|
30325
|
+
if (typeof this.style.borders === 'undefined' || this.style.borders == null) {
|
|
30326
|
+
returnBounds.x += this.gridRow.style.border.left.width;
|
|
30327
|
+
returnBounds.y += this.gridRow.style.border.top.width;
|
|
30328
|
+
returnBounds.width -= (this.gridRow.style.border.left.width + this.gridRow.style.border.right.width);
|
|
30329
|
+
returnBounds.height -= (this.gridRow.style.border.top.width + this.gridRow.style.border.bottom.width);
|
|
30330
|
+
}
|
|
30331
|
+
else {
|
|
30332
|
+
returnBounds.x += this.style.borders.left.width;
|
|
30333
|
+
returnBounds.y += this.style.borders.top.width;
|
|
30334
|
+
returnBounds.width -= (this.style.borders.left.width + this.style.borders.right.width);
|
|
30335
|
+
returnBounds.height -= (this.style.borders.top.width + this.style.borders.bottom.width);
|
|
30324
30336
|
if (this.rowSpan === 1) {
|
|
30325
30337
|
returnBounds.width -= (this.style.borders.left.width);
|
|
30326
30338
|
}
|