mirror of
https://github.com/python-LimeReport/LimeReport.git
synced 2025-10-09 05:57:15 +03:00
startFromNewPage property has been added to Data band
This commit is contained in:
@@ -381,7 +381,8 @@ void ReportRender::renderDataBand(BandDesignIntf *dataBand)
|
||||
|
||||
while(!bandDatasource->eof() && !m_renderCanceled){
|
||||
|
||||
if (!firstTime && dataBand->startNewPage()) {
|
||||
if ((firstTime && dataBand->startFromNewPage()) ||
|
||||
(!firstTime && dataBand->startNewPage())) {
|
||||
savePage();
|
||||
startNewPage();
|
||||
}
|
||||
|
Reference in New Issue
Block a user