0
0
mirror of https://github.com/fralx/LimeReport.git synced 2024-12-24 00:33:02 +03:00

ReportFooter splitting has been fixed

This commit is contained in:
fralx 2021-09-11 19:03:03 +03:00
parent 843ecc61b4
commit 1ec6aeef7e
2 changed files with 5 additions and 0 deletions

View File

@ -1875,6 +1875,9 @@ void PageDesignIntf::setItemMode(BaseDesignIntf::ItemMode mode)
} }
} }
} }
foreach(PageItemDesignIntf::Ptr page, m_reportPages){
page->setItemMode(mode);
}
} }
} }

View File

@ -1259,6 +1259,8 @@ BandDesignIntf *ReportRender::saveUppperPartReturnBottom(BandDesignIntf *band, i
upperBandPart->updateItemSize(m_datasources, FirstPass, height); upperBandPart->updateItemSize(m_datasources, FirstPass, height);
registerBand(upperBandPart); registerBand(upperBandPart);
upperBandPart->copyBookmarks(band); upperBandPart->copyBookmarks(band);
if (patternBand->isFooter())
closeFooterGroup(m_lastDataBand);
} else delete upperBandPart; } else delete upperBandPart;
if (band->columnsCount()>1 && if (band->columnsCount()>1 &&