0
0
mirror of https://github.com/fralx/LimeReport.git synced 2025-09-23 08:29:07 +03:00

Finish 1.4.98

This commit is contained in:
Arin Alexander
2018-08-09 22:08:44 +03:00
3 changed files with 3 additions and 2 deletions

View File

@@ -54,6 +54,7 @@ PageFooter::PageFooter(QObject *owner, QGraphicsItem *parent)
{
setBandTypeText( tr("Page Footer") );
setMarkerColor(bandColor());
setAutoHeight(false);
}
BaseDesignIntf *PageFooter::createSameTypeItem(QObject *owner, QGraphicsItem *parent)

View File

@@ -1255,7 +1255,7 @@ void ReportRender::startNewPage(bool isFirst)
renderPageHeader(m_patternPageItem);
m_pageFooterHeight = calcPageFooterHeight(m_patternPageItem);
m_pageFooterHeight = calcPageFooterHeight(m_patternPageItem)+2;
m_maxHeightByColumn[m_currentColumn] -= m_pageFooterHeight;
m_currentIndex=10;
m_dataAreaSize = m_maxHeightByColumn[m_currentColumn];