@syncfusion/ej2-pdf-export 25.1.35 → 25.1.38

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.
@@ -33265,11 +33265,11 @@ var PdfGridLayouter = /** @__PURE__ @class */ (function (_super) {
33265
33265
  this.currentBounds.y = recalHeight;
33266
33266
  //this.currentBounds.y = row.NestedGridLayoutResult.bounds.height;
33267
33267
  if (startPage != this.currentPage) {
33268
- var secion = this.currentPage.section;
33269
- var startIndex = secion.indexOf(startPage) + 1;
33270
- var endIndex = secion.indexOf(this.currentPage);
33268
+ var section = this.currentPage.section;
33269
+ var startIndex = section.indexOf(startPage) + 1;
33270
+ var endIndex = section.indexOf(this.currentPage);
33271
33271
  for (var page = startIndex; page < endIndex + 1; page++) {
33272
- var pageGraphics = this.currentPage.graphics;
33272
+ var pageGraphics = section.getPages()[page].graphics;
33273
33273
  var location_2 = new PointF(format.paginateBounds.x, format.paginateBounds.y);
33274
33274
  var height = page == endIndex ? (row.NestedGridLayoutResult.bounds.height - param.bounds.y) :
33275
33275
  (this.currentBounds.height - location_2.y);
@@ -33291,14 +33291,14 @@ var PdfGridLayouter = /** @__PURE__ @class */ (function (_super) {
33291
33291
  else {
33292
33292
  totalwidth = cell.width;
33293
33293
  }
33294
- // if (cell.columnSpan > 1)
33295
- // {
33296
- // for (; c < cell.columnSpan; c++)
33297
- // cellWidth += row.grid.columns.getColumn(c).width;
33298
- // }
33299
- // else
33300
- cellWidth = Math.max(totalwidth, row.grid.columns.getColumn(c).width);
33294
+ if (cell.columnSpan > 1) {
33295
+ for (; c < cell.columnSpan; c++)
33296
+ cellWidth += row.grid.columns.getColumn(c).width;
33297
+ }
33298
+ else
33299
+ cellWidth = Math.max(totalwidth, row.grid.columns.getColumn(c).width);
33301
33300
  cell.drawCellBorders(pageGraphics, new RectangleF(location_2, new SizeF(cellWidth, height)));
33301
+ cell.drawCellBorders(pageGraphics, new RectangleF(location_2, new SizeF(this.Grid.rows.getRow(this.Grid.rows.count - 1).width, height)));
33302
33302
  location_2.x += cellWidth;
33303
33303
  c += (cell.columnSpan - 1);
33304
33304
  }