Page items have been fixed

This commit is contained in:
Arin Alexander 2017-06-23 09:57:02 +03:00
parent 04ee8ce5d3
commit a43739e91a

View File

@ -247,8 +247,6 @@ void ReportRender::renderPage(PageDesignIntf* patternPage)
clearPageMap(); clearPageMap();
startNewPage(); startNewPage();
renderBand(m_patternPageItem->bandByType(BandDesignIntf::ReportHeader), 0, StartNewPageAsNeeded); renderBand(m_patternPageItem->bandByType(BandDesignIntf::ReportHeader), 0, StartNewPageAsNeeded);
BandDesignIntf* lastRenderedBand = 0; BandDesignIntf* lastRenderedBand = 0;
@ -1096,7 +1094,7 @@ void ReportRender::startNewPage()
checkLostHeadersOnPrevPage(); checkLostHeadersOnPrevPage();
pasteGroups(); pasteGroups();
renderPageItems(m_patternPageItem);
} }
void ReportRender::resetPageNumber(ResetPageNuberType resetType) void ReportRender::resetPageNumber(ResetPageNuberType resetType)
@ -1229,6 +1227,7 @@ void ReportRender::moveTearOffBand(){
void ReportRender::savePage(bool isLast) void ReportRender::savePage(bool isLast)
{ {
renderPageItems(m_patternPageItem);
checkFooterGroup(m_lastDataBand); checkFooterGroup(m_lastDataBand);
cutGroups(); cutGroups();
rearrangeColumnsItems(); rearrangeColumnsItems();