0
0
mirror of https://github.com/fralx/LimeReport.git synced 2025-11-25 00:18:06 +03:00

Watermark property has been added to TextItem and ImageItem

This commit is contained in:
Arin Alex
2018-03-22 17:17:04 +03:00
parent ec9eef654a
commit 24c9fa1827
5 changed files with 25 additions and 2 deletions

View File

@@ -640,7 +640,10 @@ void ReportRender::renderPageItems(PageItemDesignIntf* patternPage)
m_renderPageItem->restoreLinks();
m_renderPageItem->updateSubItemsSize(FirstPass,m_datasources);
foreach(BaseDesignIntf* item, pageItems){
item->setZValue(item->zValue()-100000);
if (!item->isWatermark())
item->setZValue(item->zValue()-100000);
else
item->setZValue(item->zValue()+100000);
}
}