mirror of
https://github.com/fralx/LimeReport.git
synced 2024-12-25 00:54:39 +03:00
Finish 1.4.134
# Conflicts: # limereport/lrreportrender.cpp
This commit is contained in:
commit
e868616213
@ -127,7 +127,7 @@ RCC_DIR = $${ARCH_DIR}/$${BUILD_TYPE}/rcc
|
|||||||
|
|
||||||
LIMEREPORT_VERSION_MAJOR = 1
|
LIMEREPORT_VERSION_MAJOR = 1
|
||||||
LIMEREPORT_VERSION_MINOR = 4
|
LIMEREPORT_VERSION_MINOR = 4
|
||||||
LIMEREPORT_VERSION_RELEASE = 132
|
LIMEREPORT_VERSION_RELEASE = 134
|
||||||
|
|
||||||
LIMEREPORT_VERSION = '$${LIMEREPORT_VERSION_MAJOR}.$${LIMEREPORT_VERSION_MINOR}.$${LIMEREPORT_VERSION_RELEASE}'
|
LIMEREPORT_VERSION = '$${LIMEREPORT_VERSION_MAJOR}.$${LIMEREPORT_VERSION_MINOR}.$${LIMEREPORT_VERSION_RELEASE}'
|
||||||
DEFINES *= LIMEREPORT_VERSION_STR=\\\"$${LIMEREPORT_VERSION}\\\"
|
DEFINES *= LIMEREPORT_VERSION_STR=\\\"$${LIMEREPORT_VERSION}\\\"
|
||||||
|
@ -668,7 +668,7 @@ void ReportRender::renderPageFooter(PageItemDesignIntf *patternPage)
|
|||||||
BandDesignIntf* bandClone = dynamic_cast<BandDesignIntf*>(band->cloneItem(PreviewMode, m_renderPageItem, m_renderPageItem));
|
BandDesignIntf* bandClone = dynamic_cast<BandDesignIntf*>(band->cloneItem(PreviewMode, m_renderPageItem, m_renderPageItem));
|
||||||
replaceGroupsFunction(bandClone);
|
replaceGroupsFunction(bandClone);
|
||||||
bandClone->updateItemSize(m_datasources);
|
bandClone->updateItemSize(m_datasources);
|
||||||
bandClone->setItemPos(m_patternPageItem->pageRect().x(),m_patternPageItem->pageRect().bottom()-bandClone->height());
|
bandClone->setItemPos(m_renderPageItem->pageRect().x(),m_renderPageItem->pageRect().bottom()-bandClone->height());
|
||||||
bandClone->setHeight(m_pageFooterHeight);
|
bandClone->setHeight(m_pageFooterHeight);
|
||||||
for(int i=0;i<m_maxHeightByColumn.size();++i)
|
for(int i=0;i<m_maxHeightByColumn.size();++i)
|
||||||
m_maxHeightByColumn[i]+=m_pageFooterHeight;
|
m_maxHeightByColumn[i]+=m_pageFooterHeight;
|
||||||
@ -1115,7 +1115,6 @@ BandDesignIntf* ReportRender::sliceBand(BandDesignIntf *band, BandDesignIntf* pa
|
|||||||
if (band->isEmpty()) {
|
if (band->isEmpty()) {
|
||||||
delete band;
|
delete band;
|
||||||
band = 0;
|
band = 0;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return band;
|
return band;
|
||||||
@ -1239,14 +1238,13 @@ void ReportRender::startNewPage(bool isFirst)
|
|||||||
initRenderPage();
|
initRenderPage();
|
||||||
|
|
||||||
m_scriptEngineContext->baseDesignIntfToScript(m_renderPageItem->patternName(), m_renderPageItem);
|
m_scriptEngineContext->baseDesignIntfToScript(m_renderPageItem->patternName(), m_renderPageItem);
|
||||||
|
emit m_patternPageItem->beforeRender();
|
||||||
|
|
||||||
m_renderPageItem->setObjectName(QLatin1String("ReportPage")+QString::number(m_pageCount));
|
m_renderPageItem->setObjectName(QLatin1String("ReportPage")+QString::number(m_pageCount));
|
||||||
m_maxHeightByColumn[m_currentColumn]=m_renderPageItem->pageRect().height();
|
m_maxHeightByColumn[m_currentColumn]=m_renderPageItem->pageRect().height();
|
||||||
m_currentStartDataPos[m_currentColumn]=m_patternPageItem->topMargin()*Const::mmFACTOR;
|
m_currentStartDataPos[m_currentColumn]=m_patternPageItem->topMargin()*Const::mmFACTOR;
|
||||||
m_currentIndex=0;
|
m_currentIndex=0;
|
||||||
|
|
||||||
emit m_patternPageItem->beforeRender();
|
|
||||||
|
|
||||||
if (isFirst) {
|
if (isFirst) {
|
||||||
renderReportHeader(m_patternPageItem, BeforePageHeader);
|
renderReportHeader(m_patternPageItem, BeforePageHeader);
|
||||||
emit m_patternPageItem->beforeFirstPageRendered();
|
emit m_patternPageItem->beforeFirstPageRendered();
|
||||||
|
Loading…
Reference in New Issue
Block a user