You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If a table is the first item on a new page (either because keepTogether determined it wouldn't fit, or because a new page was added manually) skipFirstHeader=true gets ignored.
Find:
var skipHeader: Boolean = ( !firstPass && table.skipFirstHeader && listIdx <= headerRows );
Line 1154 ColumnText.as
Not sure why !firstPass is there. Issue resolved when that condition is removed.
If that is there for a reason, Find:
if (currentHeight > 0) {
var p: Paragraph = new Paragraph(null);
p.leading = 0;
ct.addElement( p );
}
Line 2120 PdfDocument.as
Adds an empty paragraph element before any table that is NOT started at the top of the page. Removing the if and allowing the element to be added every time also resolves the issue.
The text was updated successfully, but these errors were encountered:
If a table is the first item on a new page (either because keepTogether determined it wouldn't fit, or because a new page was added manually) skipFirstHeader=true gets ignored.
Find:
var skipHeader: Boolean = ( !firstPass && table.skipFirstHeader && listIdx <= headerRows );
Line 1154 ColumnText.as
Not sure why
!firstPass
is there. Issue resolved when that condition is removed.If that is there for a reason, Find:
if (currentHeight > 0) {
var p: Paragraph = new Paragraph(null);
p.leading = 0;
ct.addElement( p );
}
Line 2120 PdfDocument.as
Adds an empty paragraph element before any table that is NOT started at the top of the page. Removing the
if
and allowing the element to be added every time also resolves the issue.The text was updated successfully, but these errors were encountered: