@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.
- package/CHANGELOG.md +9 -1
- 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 +11 -11
- package/dist/es6/ej2-pdf-export.es2015.js.map +1 -1
- package/dist/es6/ej2-pdf-export.es5.js +11 -11
- 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 +5 -5
- package/src/implementation/structured-elements/grid/layout/grid-layouter.js +11 -11
|
@@ -30008,11 +30008,11 @@ class PdfGridLayouter extends ElementLayouter {
|
|
|
30008
30008
|
this.currentBounds.y = recalHeight;
|
|
30009
30009
|
//this.currentBounds.y = row.NestedGridLayoutResult.bounds.height;
|
|
30010
30010
|
if (startPage != this.currentPage) {
|
|
30011
|
-
let
|
|
30012
|
-
let startIndex =
|
|
30013
|
-
let endIndex =
|
|
30011
|
+
let section = this.currentPage.section;
|
|
30012
|
+
let startIndex = section.indexOf(startPage) + 1;
|
|
30013
|
+
let endIndex = section.indexOf(this.currentPage);
|
|
30014
30014
|
for (let page = startIndex; page < endIndex + 1; page++) {
|
|
30015
|
-
let pageGraphics =
|
|
30015
|
+
let pageGraphics = section.getPages()[page].graphics;
|
|
30016
30016
|
let location = new PointF(format.paginateBounds.x, format.paginateBounds.y);
|
|
30017
30017
|
let height = page == endIndex ? (row.NestedGridLayoutResult.bounds.height - param.bounds.y) :
|
|
30018
30018
|
(this.currentBounds.height - location.y);
|
|
@@ -30034,14 +30034,14 @@ class PdfGridLayouter extends ElementLayouter {
|
|
|
30034
30034
|
else {
|
|
30035
30035
|
totalwidth = cell.width;
|
|
30036
30036
|
}
|
|
30037
|
-
|
|
30038
|
-
|
|
30039
|
-
|
|
30040
|
-
|
|
30041
|
-
|
|
30042
|
-
|
|
30043
|
-
cellWidth = Math.max(totalwidth, row.grid.columns.getColumn(c).width);
|
|
30037
|
+
if (cell.columnSpan > 1) {
|
|
30038
|
+
for (; c < cell.columnSpan; c++)
|
|
30039
|
+
cellWidth += row.grid.columns.getColumn(c).width;
|
|
30040
|
+
}
|
|
30041
|
+
else
|
|
30042
|
+
cellWidth = Math.max(totalwidth, row.grid.columns.getColumn(c).width);
|
|
30044
30043
|
cell.drawCellBorders(pageGraphics, new RectangleF(location, new SizeF(cellWidth, height)));
|
|
30044
|
+
cell.drawCellBorders(pageGraphics, new RectangleF(location, new SizeF(this.Grid.rows.getRow(this.Grid.rows.count - 1).width, height)));
|
|
30045
30045
|
location.x += cellWidth;
|
|
30046
30046
|
c += (cell.columnSpan - 1);
|
|
30047
30047
|
}
|