startFromNewPage property has been added to Data band

This commit is contained in:
Arin Alexander
2016-05-31 15:07:57 +03:00
parent 54278cdb37
commit d1f33e095b
4 changed files with 19 additions and 2 deletions

View File

@@ -142,7 +142,8 @@ BandDesignIntf::BandDesignIntf(BandsType bandType, const QString &xmlTypeName, Q
m_columnIndex(0),
m_columnsFillDirection(Horizontal),
m_reprintOnEachPage(false),
m_startNewPage(false)
m_startNewPage(false),
m_startFromNewPage(false)
{
setPosibleResizeDirectionFlags(ResizeBottom);
setPosibleMoveFlags(TopBotom);
@@ -698,6 +699,16 @@ void BandDesignIntf::childBandDeleted(QObject *band)
m_childBands.removeAt(m_childBands.indexOf(reinterpret_cast<BandDesignIntf*>(band)));
}
bool BandDesignIntf::startFromNewPage() const
{
return m_startFromNewPage;
}
void BandDesignIntf::setStartFromNewPage(bool startWithNewPage)
{
m_startFromNewPage = startWithNewPage;
}
bool BandDesignIntf::startNewPage() const
{
return m_startNewPage;