0
0
mirror of https://github.com/fralx/LimeReport.git synced 2024-12-25 17:14:40 +03:00

#IS_FIRST_PAGEFOOTER has been fixed

This commit is contained in:
Arin Alexander 2017-07-24 22:44:57 +03:00
commit da3a182e11

View File

@ -1233,9 +1233,8 @@ void ReportRender::moveTearOffBand(){
void ReportRender::savePage(bool isLast) void ReportRender::savePage(bool isLast)
{ {
m_datasources->setReportVariable("#IS_LAST_PAGEFOOTER",isLast); m_datasources->setReportVariable("#IS_LAST_PAGEFOOTER",isLast);
m_datasources->setReportVariable("#IS_FISRT_PAGEFOOTER",m_datasources->variable("#PAGE").toInt()==1); m_datasources->setReportVariable("#IS_FIRST_PAGEFOOTER",m_datasources->variable("#PAGE").toInt()==1);
renderPageItems(m_patternPageItem); renderPageItems(m_patternPageItem);
checkFooterGroup(m_lastDataBand); checkFooterGroup(m_lastDataBand);