AlivePDF
AlivePDF copied to clipboard
Patch addGrid() in PDF.as
Correct a problem with page breaking on headerRow. The addGrid function doesn't
consider the padding on y axis. (y variable)
replace:
if ( checkPageBreak(rect.height) )
by :
if ( checkPageBreak(y+rect.height) )
Original issue reported on code.google.com by [email protected] on 15 Jul 2011 at 3:54
It's just for the headerRow. lines:
var rect:Rectangle = getRect ( columnNames, currentGrid.headerHeight );
if ( checkPageBreak(y+rect.height) )
addPage();
Original comment by [email protected] on 15 Jul 2011 at 3:58