From 1ec6aeef7ee57c6d06804e984fc416a3a0876837 Mon Sep 17 00:00:00 2001 From: fralx Date: Sat, 11 Sep 2021 19:03:03 +0300 Subject: [PATCH] ReportFooter splitting has been fixed --- limereport/lrpagedesignintf.cpp | 3 +++ limereport/lrreportrender.cpp | 2 ++ 2 files changed, 5 insertions(+) diff --git a/limereport/lrpagedesignintf.cpp b/limereport/lrpagedesignintf.cpp index bf10519..d4db356 100644 --- a/limereport/lrpagedesignintf.cpp +++ b/limereport/lrpagedesignintf.cpp @@ -1875,6 +1875,9 @@ void PageDesignIntf::setItemMode(BaseDesignIntf::ItemMode mode) } } } + foreach(PageItemDesignIntf::Ptr page, m_reportPages){ + page->setItemMode(mode); + } } } diff --git a/limereport/lrreportrender.cpp b/limereport/lrreportrender.cpp index 32a9062..60e2adc 100644 --- a/limereport/lrreportrender.cpp +++ b/limereport/lrreportrender.cpp @@ -1259,6 +1259,8 @@ BandDesignIntf *ReportRender::saveUppperPartReturnBottom(BandDesignIntf *band, i upperBandPart->updateItemSize(m_datasources, FirstPass, height); registerBand(upperBandPart); upperBandPart->copyBookmarks(band); + if (patternBand->isFooter()) + closeFooterGroup(m_lastDataBand); } else delete upperBandPart; if (band->columnsCount()>1 &&