0
0
mirror of https://github.com/fralx/LimeReport.git synced 2025-10-04 12:07:24 +03:00

removeGap property has been added to PageFooterBand

This commit is contained in:
Arin Alexander
2020-04-17 12:28:59 +03:00
parent d738d23446
commit a4acb912a5
9 changed files with 39 additions and 9 deletions

View File

@@ -50,7 +50,7 @@ namespace LimeReport{
PageFooter::PageFooter(QObject *owner, QGraphicsItem *parent)
: BandDesignIntf(LimeReport::BandDesignIntf::PageFooter,xmlTag,owner,parent),
m_printOnFirstPage(true), m_printOnLastPage(true)
m_printOnFirstPage(true), m_printOnLastPage(true), m_removeGap(false)
{
setBandTypeText( tr("Page Footer") );
setMarkerColor(bandColor());
@@ -90,6 +90,16 @@ void PageFooter::processPopUpAction(QAction *action)
BandDesignIntf::processPopUpAction(action);
}
bool PageFooter::removeGap() const
{
return m_removeGap;
}
void PageFooter::setRemoveGap(bool removeGap)
{
m_removeGap = removeGap;
}
bool PageFooter::printOnFirstPage() const
{
return m_printOnFirstPage;