Background color rendering has been fixed

This commit is contained in:
Arin Alex 2024-06-06 22:44:02 +03:00
parent 86df3b179a
commit 0d12ce50e5
3 changed files with 345 additions and 118 deletions

View File

@ -1,34 +1,38 @@
<?xml version="1.0" encoding="UTF8"?> <?xml version="1.0" encoding="UTF8"?>
<Report> <Report>
<object Type="Object" ClassName="LimeReport::ReportEnginePrivate"> <object ClassName="LimeReport::ReportEnginePrivate" Type="Object">
<objectName Type="QString"></objectName> <objectName Type="QString"></objectName>
<pages Type="Collection"> <pages Type="Collection">
<item Type="Object" ClassName="LimeReport::PageDesignIntf"> <item ClassName="LimeReport::PageDesignIntf" Type="Object">
<objectName Type="QString">page1</objectName> <objectName Type="QString">page1</objectName>
<sceneRect Type="QRect" y="-50" x="-50" width="2200" height="3070"/> <itemIndexMethod Type="enumAndFlags" Value="0"/>
<sceneRect Type="QRect" height="2899" width="2259" x="-50" y="-50"/>
<bspTreeDepth Type="int" Value="5"/> <bspTreeDepth Type="int" Value="5"/>
<font stylename="" italic="0" weight="50" underline="0" pointSize="8" Type="QFont" family="MS Shell Dlg 2"/> <font Type="QFont" family="MS Shell Dlg 2" italic="0" pointSize="8" underline="0" weight="50"/>
<sortCacheEnabled Type="bool" Value="0"/>
<stickyFocus Type="bool" Value="0"/> <stickyFocus Type="bool" Value="0"/>
<minimumRenderSize Type="qreal" Value="0"/> <minimumRenderSize Type="qreal" Value="0"/>
<pageItem Type="Object" ClassName="PageItem"> <focusOnTouch Type="bool" Value="1"/>
<pageItem ClassName="PageItem" Type="Object">
<objectName Type="QString">ReportPage1</objectName> <objectName Type="QString">ReportPage1</objectName>
<geometry Type="QRect" y="0" x="0" width="2100" height="2970"/> <geometry Type="QRect" height="2794" width="2159" x="0" y="0"/>
<children Type="Collection"> <children Type="Collection">
<item Type="Object" ClassName="Data"> <item ClassName="Data" Type="Object">
<objectName Type="QString">DataBand1</objectName> <objectName Type="QString">DataBand1</objectName>
<geometry Type="QRect" y="258" x="50" width="2000" height="100"/> <geometry Type="QRect" height="100" width="2059" x="50" y="250"/>
<children Type="Collection"> <children Type="Collection">
<item Type="Object" ClassName="TextItem"> <item ClassName="TextItem" Type="Object">
<objectName Type="QString">TextItem2</objectName> <objectName Type="QString">TextItem2</objectName>
<geometry Type="QRect" y="24" x="20" width="618" height="50"/> <geometry Type="QRect" height="50" width="618" x="20" y="24"/>
<children Type="Collection"/> <children Type="Collection"/>
<zOrder Type="qreal" Value="0"/> <zOrder Type="qreal" Value="0"/>
<borders Type="enumAndFlags" Value="0"/> <borders Type="enumAndFlags" Value="0"/>
<parentName Type="QString">DataBand1</parentName> <parentName Type="QString">DataBand1</parentName>
<borderLineSize Type="int" Value="0"/> <borderLineSize Type="qreal" Value="0"/>
<isVisible Type="bool" Value="1"/> <isVisible Type="bool" Value="1"/>
<shadow Type="bool" Value="0"/>
<borderColor Type="QColor" Value="#000000"/> <borderColor Type="QColor" Value="#000000"/>
<geometryLocked Type="bool" Value="0"/>
<borderStyle Type="enumAndFlags" Value="1"/>
<itemLocation Type="enumAndFlags" Value="0"/> <itemLocation Type="enumAndFlags" Value="0"/>
<stretchToMaxHeight Type="bool" Value="0"/> <stretchToMaxHeight Type="bool" Value="0"/>
<itemAlign Type="enumAndFlags" Value="4"/> <itemAlign Type="enumAndFlags" Value="4"/>
@ -37,7 +41,7 @@
<alignment Type="enumAndFlags" Value="33"/> <alignment Type="enumAndFlags" Value="33"/>
<autoWidth Type="enumAndFlags" Value="0"/> <autoWidth Type="enumAndFlags" Value="0"/>
<autoHeight Type="bool" Value="0"/> <autoHeight Type="bool" Value="0"/>
<font stylename="" italic="0" weight="50" underline="0" pointSize="9" Type="QFont" family="Arial"/> <font Type="QFont" family="Arial" italic="0" pointSize="9" underline="0" weight="50"/>
<backgroundOpacity Type="int" Value="100"/> <backgroundOpacity Type="int" Value="100"/>
<backgroundMode Type="enumAndFlags" Value="0"/> <backgroundMode Type="enumAndFlags" Value="0"/>
<backgroundColor Type="QColor" Value="#ffffff"/> <backgroundColor Type="QColor" Value="#ffffff"/>
@ -57,17 +61,25 @@
<backgroundBrushStyle Type="enumAndFlags" Value="1"/> <backgroundBrushStyle Type="enumAndFlags" Value="1"/>
<textIndent Type="qreal" Value="0"/> <textIndent Type="qreal" Value="0"/>
<textLayoutDirection Type="enumAndFlags" Value="2"/> <textLayoutDirection Type="enumAndFlags" Value="2"/>
<fillInSecondPass Type="bool" Value="0"/>
<watermark Type="bool" Value="0"/>
<replaceCRwithBR Type="bool" Value="0"/>
<hideIfEmpty Type="bool" Value="0"/>
<fontLetterSpacing Type="int" Value="0"/>
</item> </item>
<item Type="Object" ClassName="TextItem"> <item ClassName="TextItem" Type="Object">
<objectName Type="QString">TextItem3</objectName> <objectName Type="QString">TextItem3</objectName>
<geometry Type="QRect" y="24" x="642" width="462" height="50"/> <geometry Type="QRect" height="50" width="462" x="642" y="24"/>
<children Type="Collection"/> <children Type="Collection"/>
<zOrder Type="qreal" Value="0"/> <zOrder Type="qreal" Value="0"/>
<borders Type="enumAndFlags" Value="0"/> <borders Type="enumAndFlags" Value="0"/>
<parentName Type="QString">DataBand1</parentName> <parentName Type="QString">DataBand1</parentName>
<borderLineSize Type="int" Value="0"/> <borderLineSize Type="qreal" Value="0"/>
<isVisible Type="bool" Value="1"/> <isVisible Type="bool" Value="1"/>
<shadow Type="bool" Value="0"/>
<borderColor Type="QColor" Value="#000000"/> <borderColor Type="QColor" Value="#000000"/>
<geometryLocked Type="bool" Value="0"/>
<borderStyle Type="enumAndFlags" Value="1"/>
<itemLocation Type="enumAndFlags" Value="0"/> <itemLocation Type="enumAndFlags" Value="0"/>
<stretchToMaxHeight Type="bool" Value="0"/> <stretchToMaxHeight Type="bool" Value="0"/>
<itemAlign Type="enumAndFlags" Value="4"/> <itemAlign Type="enumAndFlags" Value="4"/>
@ -76,7 +88,7 @@
<alignment Type="enumAndFlags" Value="33"/> <alignment Type="enumAndFlags" Value="33"/>
<autoWidth Type="enumAndFlags" Value="0"/> <autoWidth Type="enumAndFlags" Value="0"/>
<autoHeight Type="bool" Value="0"/> <autoHeight Type="bool" Value="0"/>
<font stylename="" italic="0" weight="50" underline="0" pointSize="9" Type="QFont" family="Arial"/> <font Type="QFont" family="Arial" italic="0" pointSize="9" underline="0" weight="50"/>
<backgroundOpacity Type="int" Value="100"/> <backgroundOpacity Type="int" Value="100"/>
<backgroundMode Type="enumAndFlags" Value="0"/> <backgroundMode Type="enumAndFlags" Value="0"/>
<backgroundColor Type="QColor" Value="#ffffff"/> <backgroundColor Type="QColor" Value="#ffffff"/>
@ -96,17 +108,25 @@
<backgroundBrushStyle Type="enumAndFlags" Value="1"/> <backgroundBrushStyle Type="enumAndFlags" Value="1"/>
<textIndent Type="qreal" Value="0"/> <textIndent Type="qreal" Value="0"/>
<textLayoutDirection Type="enumAndFlags" Value="2"/> <textLayoutDirection Type="enumAndFlags" Value="2"/>
<fillInSecondPass Type="bool" Value="0"/>
<watermark Type="bool" Value="0"/>
<replaceCRwithBR Type="bool" Value="0"/>
<hideIfEmpty Type="bool" Value="0"/>
<fontLetterSpacing Type="int" Value="0"/>
</item> </item>
<item Type="Object" ClassName="TextItem"> <item ClassName="TextItem" Type="Object">
<objectName Type="QString">TextItem4</objectName> <objectName Type="QString">TextItem4</objectName>
<geometry Type="QRect" y="24" x="1110" width="328" height="50"/> <geometry Type="QRect" height="50" width="328" x="1110" y="24"/>
<children Type="Collection"/> <children Type="Collection"/>
<zOrder Type="qreal" Value="0"/> <zOrder Type="qreal" Value="0"/>
<borders Type="enumAndFlags" Value="0"/> <borders Type="enumAndFlags" Value="0"/>
<parentName Type="QString">DataBand1</parentName> <parentName Type="QString">DataBand1</parentName>
<borderLineSize Type="int" Value="0"/> <borderLineSize Type="qreal" Value="0"/>
<isVisible Type="bool" Value="1"/> <isVisible Type="bool" Value="1"/>
<shadow Type="bool" Value="0"/>
<borderColor Type="QColor" Value="#000000"/> <borderColor Type="QColor" Value="#000000"/>
<geometryLocked Type="bool" Value="0"/>
<borderStyle Type="enumAndFlags" Value="1"/>
<itemLocation Type="enumAndFlags" Value="0"/> <itemLocation Type="enumAndFlags" Value="0"/>
<stretchToMaxHeight Type="bool" Value="0"/> <stretchToMaxHeight Type="bool" Value="0"/>
<itemAlign Type="enumAndFlags" Value="4"/> <itemAlign Type="enumAndFlags" Value="4"/>
@ -115,7 +135,7 @@
<alignment Type="enumAndFlags" Value="33"/> <alignment Type="enumAndFlags" Value="33"/>
<autoWidth Type="enumAndFlags" Value="0"/> <autoWidth Type="enumAndFlags" Value="0"/>
<autoHeight Type="bool" Value="0"/> <autoHeight Type="bool" Value="0"/>
<font stylename="" italic="0" weight="50" underline="0" pointSize="9" Type="QFont" family="Arial"/> <font Type="QFont" family="Arial" italic="0" pointSize="9" underline="0" weight="50"/>
<backgroundOpacity Type="int" Value="100"/> <backgroundOpacity Type="int" Value="100"/>
<backgroundMode Type="enumAndFlags" Value="0"/> <backgroundMode Type="enumAndFlags" Value="0"/>
<backgroundColor Type="QColor" Value="#ffffff"/> <backgroundColor Type="QColor" Value="#ffffff"/>
@ -135,17 +155,25 @@
<backgroundBrushStyle Type="enumAndFlags" Value="1"/> <backgroundBrushStyle Type="enumAndFlags" Value="1"/>
<textIndent Type="qreal" Value="0"/> <textIndent Type="qreal" Value="0"/>
<textLayoutDirection Type="enumAndFlags" Value="2"/> <textLayoutDirection Type="enumAndFlags" Value="2"/>
<fillInSecondPass Type="bool" Value="0"/>
<watermark Type="bool" Value="0"/>
<replaceCRwithBR Type="bool" Value="0"/>
<hideIfEmpty Type="bool" Value="0"/>
<fontLetterSpacing Type="int" Value="0"/>
</item> </item>
<item Type="Object" ClassName="TextItem"> <item ClassName="TextItem" Type="Object">
<objectName Type="QString">TextItem5</objectName> <objectName Type="QString">TextItem5</objectName>
<geometry Type="QRect" y="24" x="1450" width="250" height="50"/> <geometry Type="QRect" height="50" width="250" x="1450" y="24"/>
<children Type="Collection"/> <children Type="Collection"/>
<zOrder Type="qreal" Value="0"/> <zOrder Type="qreal" Value="0"/>
<borders Type="enumAndFlags" Value="0"/> <borders Type="enumAndFlags" Value="0"/>
<parentName Type="QString">DataBand1</parentName> <parentName Type="QString">DataBand1</parentName>
<borderLineSize Type="int" Value="0"/> <borderLineSize Type="qreal" Value="0"/>
<isVisible Type="bool" Value="1"/> <isVisible Type="bool" Value="1"/>
<shadow Type="bool" Value="0"/>
<borderColor Type="QColor" Value="#000000"/> <borderColor Type="QColor" Value="#000000"/>
<geometryLocked Type="bool" Value="0"/>
<borderStyle Type="enumAndFlags" Value="1"/>
<itemLocation Type="enumAndFlags" Value="0"/> <itemLocation Type="enumAndFlags" Value="0"/>
<stretchToMaxHeight Type="bool" Value="0"/> <stretchToMaxHeight Type="bool" Value="0"/>
<itemAlign Type="enumAndFlags" Value="4"/> <itemAlign Type="enumAndFlags" Value="4"/>
@ -154,7 +182,7 @@
<alignment Type="enumAndFlags" Value="33"/> <alignment Type="enumAndFlags" Value="33"/>
<autoWidth Type="enumAndFlags" Value="0"/> <autoWidth Type="enumAndFlags" Value="0"/>
<autoHeight Type="bool" Value="0"/> <autoHeight Type="bool" Value="0"/>
<font stylename="" italic="0" weight="50" underline="0" pointSize="9" Type="QFont" family="Arial"/> <font Type="QFont" family="Arial" italic="0" pointSize="9" underline="0" weight="50"/>
<backgroundOpacity Type="int" Value="100"/> <backgroundOpacity Type="int" Value="100"/>
<backgroundMode Type="enumAndFlags" Value="0"/> <backgroundMode Type="enumAndFlags" Value="0"/>
<backgroundColor Type="QColor" Value="#ffffff"/> <backgroundColor Type="QColor" Value="#ffffff"/>
@ -174,17 +202,25 @@
<backgroundBrushStyle Type="enumAndFlags" Value="1"/> <backgroundBrushStyle Type="enumAndFlags" Value="1"/>
<textIndent Type="qreal" Value="0"/> <textIndent Type="qreal" Value="0"/>
<textLayoutDirection Type="enumAndFlags" Value="2"/> <textLayoutDirection Type="enumAndFlags" Value="2"/>
<fillInSecondPass Type="bool" Value="0"/>
<watermark Type="bool" Value="0"/>
<replaceCRwithBR Type="bool" Value="0"/>
<hideIfEmpty Type="bool" Value="0"/>
<fontLetterSpacing Type="int" Value="0"/>
</item> </item>
<item Type="Object" ClassName="TextItem"> <item ClassName="TextItem" Type="Object">
<objectName Type="QString">TextItem6</objectName> <objectName Type="QString">TextItem6</objectName>
<geometry Type="QRect" y="24" x="1710" width="250" height="50"/> <geometry Type="QRect" height="50" width="250" x="1710" y="24"/>
<children Type="Collection"/> <children Type="Collection"/>
<zOrder Type="qreal" Value="0"/> <zOrder Type="qreal" Value="0"/>
<borders Type="enumAndFlags" Value="0"/> <borders Type="enumAndFlags" Value="0"/>
<parentName Type="QString">DataBand1</parentName> <parentName Type="QString">DataBand1</parentName>
<borderLineSize Type="int" Value="0"/> <borderLineSize Type="qreal" Value="0"/>
<isVisible Type="bool" Value="1"/> <isVisible Type="bool" Value="1"/>
<shadow Type="bool" Value="0"/>
<borderColor Type="QColor" Value="#000000"/> <borderColor Type="QColor" Value="#000000"/>
<geometryLocked Type="bool" Value="0"/>
<borderStyle Type="enumAndFlags" Value="1"/>
<itemLocation Type="enumAndFlags" Value="0"/> <itemLocation Type="enumAndFlags" Value="0"/>
<stretchToMaxHeight Type="bool" Value="0"/> <stretchToMaxHeight Type="bool" Value="0"/>
<itemAlign Type="enumAndFlags" Value="4"/> <itemAlign Type="enumAndFlags" Value="4"/>
@ -193,7 +229,7 @@
<alignment Type="enumAndFlags" Value="33"/> <alignment Type="enumAndFlags" Value="33"/>
<autoWidth Type="enumAndFlags" Value="0"/> <autoWidth Type="enumAndFlags" Value="0"/>
<autoHeight Type="bool" Value="0"/> <autoHeight Type="bool" Value="0"/>
<font stylename="" italic="0" weight="50" underline="0" pointSize="9" Type="QFont" family="Arial"/> <font Type="QFont" family="Arial" italic="0" pointSize="9" underline="0" weight="50"/>
<backgroundOpacity Type="int" Value="100"/> <backgroundOpacity Type="int" Value="100"/>
<backgroundMode Type="enumAndFlags" Value="0"/> <backgroundMode Type="enumAndFlags" Value="0"/>
<backgroundColor Type="QColor" Value="#ffffff"/> <backgroundColor Type="QColor" Value="#ffffff"/>
@ -213,21 +249,33 @@
<backgroundBrushStyle Type="enumAndFlags" Value="1"/> <backgroundBrushStyle Type="enumAndFlags" Value="1"/>
<textIndent Type="qreal" Value="0"/> <textIndent Type="qreal" Value="0"/>
<textLayoutDirection Type="enumAndFlags" Value="2"/> <textLayoutDirection Type="enumAndFlags" Value="2"/>
<fillInSecondPass Type="bool" Value="0"/>
<watermark Type="bool" Value="0"/>
<replaceCRwithBR Type="bool" Value="0"/>
<hideIfEmpty Type="bool" Value="0"/>
<fontLetterSpacing Type="int" Value="0"/>
</item> </item>
</children> </children>
<zOrder Type="qreal" Value="0"/> <zOrder Type="qreal" Value="0"/>
<borders Type="enumAndFlags" Value="0"/> <borders Type="enumAndFlags" Value="0"/>
<parentName Type="QString">ReportPage1</parentName> <parentName Type="QString">ReportPage1</parentName>
<borderLineSize Type="int" Value="0"/> <borderLineSize Type="qreal" Value="0"/>
<isVisible Type="bool" Value="1"/> <isVisible Type="bool" Value="1"/>
<shadow Type="bool" Value="0"/>
<borderColor Type="QColor" Value="#000000"/> <borderColor Type="QColor" Value="#000000"/>
<geometryLocked Type="bool" Value="0"/>
<borderStyle Type="enumAndFlags" Value="1"/>
<autoHeight Type="bool" Value="1"/> <autoHeight Type="bool" Value="1"/>
<bandIndex Type="int" Value="5"/> <bandIndex Type="int" Value="5"/>
<keepBottomSpace Type="bool" Value="0"/> <keepBottomSpace Type="bool" Value="0"/>
<keepTopSpace Type="bool" Value="1"/>
<parentBand Type="QString"></parentBand> <parentBand Type="QString"></parentBand>
<backgroundColor Type="QColor" Value="#ffffff"/> <backgroundColor Type="QColor" Value="#ffffff"/>
<backgroundBrushStyle Type="enumAndFlags" Value="1"/> <backgroundBrushStyle Type="enumAndFlags" Value="1"/>
<printIfEmpty Type="bool" Value="0"/> <printIfEmpty Type="bool" Value="0"/>
<backgroundMode Type="enumAndFlags" Value="0"/>
<backgroundOpacity Type="int" Value="100"/>
<shiftItems Type="int" Value="0"/>
<datasource Type="QString">customers</datasource> <datasource Type="QString">customers</datasource>
<keepSubdetailTogether Type="bool" Value="0"/> <keepSubdetailTogether Type="bool" Value="0"/>
<splittable Type="bool" Value="0"/> <splittable Type="bool" Value="0"/>
@ -238,21 +286,25 @@
<startNewPage Type="bool" Value="0"/> <startNewPage Type="bool" Value="0"/>
<startFromNewPage Type="bool" Value="0"/> <startFromNewPage Type="bool" Value="0"/>
<alternateBackgroundColor Type="QColor" Value="#e6e6e6"/> <alternateBackgroundColor Type="QColor" Value="#e6e6e6"/>
<useAlternateBackgroundColor Type="bool" Value="0"/>
</item> </item>
<item Type="Object" ClassName="DataHeader"> <item ClassName="DataHeader" Type="Object">
<objectName Type="QString">DataHeaderBand1</objectName> <objectName Type="QString">DataHeaderBand1</objectName>
<geometry Type="QRect" y="154" x="50" width="2000" height="100"/> <geometry Type="QRect" height="100" width="2059" x="50" y="150"/>
<children Type="Collection"> <children Type="Collection">
<item Type="Object" ClassName="TextItem"> <item ClassName="TextItem" Type="Object">
<objectName Type="QString">TextItem7</objectName> <objectName Type="QString">TextItem7</objectName>
<geometry Type="QRect" y="32" x="20" width="618" height="50"/> <geometry Type="QRect" height="50" width="618" x="20" y="32"/>
<children Type="Collection"/> <children Type="Collection"/>
<zOrder Type="qreal" Value="0"/> <zOrder Type="qreal" Value="0"/>
<borders Type="enumAndFlags" Value="2"/> <borders Type="enumAndFlags" Value="2"/>
<parentName Type="QString">DataHeaderBand1</parentName> <parentName Type="QString">DataHeaderBand1</parentName>
<borderLineSize Type="int" Value="0"/> <borderLineSize Type="qreal" Value="0"/>
<isVisible Type="bool" Value="1"/> <isVisible Type="bool" Value="1"/>
<shadow Type="bool" Value="0"/>
<borderColor Type="QColor" Value="#000000"/> <borderColor Type="QColor" Value="#000000"/>
<geometryLocked Type="bool" Value="0"/>
<borderStyle Type="enumAndFlags" Value="1"/>
<itemLocation Type="enumAndFlags" Value="0"/> <itemLocation Type="enumAndFlags" Value="0"/>
<stretchToMaxHeight Type="bool" Value="0"/> <stretchToMaxHeight Type="bool" Value="0"/>
<itemAlign Type="enumAndFlags" Value="4"/> <itemAlign Type="enumAndFlags" Value="4"/>
@ -261,7 +313,7 @@
<alignment Type="enumAndFlags" Value="33"/> <alignment Type="enumAndFlags" Value="33"/>
<autoWidth Type="enumAndFlags" Value="0"/> <autoWidth Type="enumAndFlags" Value="0"/>
<autoHeight Type="bool" Value="0"/> <autoHeight Type="bool" Value="0"/>
<font stylename="" italic="0" weight="75" underline="0" pointSize="9" Type="QFont" family="Arial"/> <font Type="QFont" family="Arial" italic="0" pointSize="9" underline="0" weight="75"/>
<backgroundOpacity Type="int" Value="100"/> <backgroundOpacity Type="int" Value="100"/>
<backgroundMode Type="enumAndFlags" Value="1"/> <backgroundMode Type="enumAndFlags" Value="1"/>
<backgroundColor Type="QColor" Value="#ffffff"/> <backgroundColor Type="QColor" Value="#ffffff"/>
@ -281,17 +333,25 @@
<backgroundBrushStyle Type="enumAndFlags" Value="1"/> <backgroundBrushStyle Type="enumAndFlags" Value="1"/>
<textIndent Type="qreal" Value="0"/> <textIndent Type="qreal" Value="0"/>
<textLayoutDirection Type="enumAndFlags" Value="2"/> <textLayoutDirection Type="enumAndFlags" Value="2"/>
<fillInSecondPass Type="bool" Value="0"/>
<watermark Type="bool" Value="0"/>
<replaceCRwithBR Type="bool" Value="0"/>
<hideIfEmpty Type="bool" Value="0"/>
<fontLetterSpacing Type="int" Value="0"/>
</item> </item>
<item Type="Object" ClassName="TextItem"> <item ClassName="TextItem" Type="Object">
<objectName Type="QString">TextItem8</objectName> <objectName Type="QString">TextItem8</objectName>
<geometry Type="QRect" y="32" x="642" width="462" height="50"/> <geometry Type="QRect" height="50" width="462" x="642" y="32"/>
<children Type="Collection"/> <children Type="Collection"/>
<zOrder Type="qreal" Value="0"/> <zOrder Type="qreal" Value="0"/>
<borders Type="enumAndFlags" Value="2"/> <borders Type="enumAndFlags" Value="2"/>
<parentName Type="QString">DataHeaderBand1</parentName> <parentName Type="QString">DataHeaderBand1</parentName>
<borderLineSize Type="int" Value="0"/> <borderLineSize Type="qreal" Value="0"/>
<isVisible Type="bool" Value="1"/> <isVisible Type="bool" Value="1"/>
<shadow Type="bool" Value="0"/>
<borderColor Type="QColor" Value="#000000"/> <borderColor Type="QColor" Value="#000000"/>
<geometryLocked Type="bool" Value="0"/>
<borderStyle Type="enumAndFlags" Value="1"/>
<itemLocation Type="enumAndFlags" Value="0"/> <itemLocation Type="enumAndFlags" Value="0"/>
<stretchToMaxHeight Type="bool" Value="0"/> <stretchToMaxHeight Type="bool" Value="0"/>
<itemAlign Type="enumAndFlags" Value="4"/> <itemAlign Type="enumAndFlags" Value="4"/>
@ -300,7 +360,7 @@
<alignment Type="enumAndFlags" Value="33"/> <alignment Type="enumAndFlags" Value="33"/>
<autoWidth Type="enumAndFlags" Value="0"/> <autoWidth Type="enumAndFlags" Value="0"/>
<autoHeight Type="bool" Value="0"/> <autoHeight Type="bool" Value="0"/>
<font stylename="" italic="0" weight="75" underline="0" pointSize="9" Type="QFont" family="Arial"/> <font Type="QFont" family="Arial" italic="0" pointSize="9" underline="0" weight="75"/>
<backgroundOpacity Type="int" Value="100"/> <backgroundOpacity Type="int" Value="100"/>
<backgroundMode Type="enumAndFlags" Value="1"/> <backgroundMode Type="enumAndFlags" Value="1"/>
<backgroundColor Type="QColor" Value="#ffffff"/> <backgroundColor Type="QColor" Value="#ffffff"/>
@ -320,17 +380,25 @@
<backgroundBrushStyle Type="enumAndFlags" Value="1"/> <backgroundBrushStyle Type="enumAndFlags" Value="1"/>
<textIndent Type="qreal" Value="0"/> <textIndent Type="qreal" Value="0"/>
<textLayoutDirection Type="enumAndFlags" Value="2"/> <textLayoutDirection Type="enumAndFlags" Value="2"/>
<fillInSecondPass Type="bool" Value="0"/>
<watermark Type="bool" Value="0"/>
<replaceCRwithBR Type="bool" Value="0"/>
<hideIfEmpty Type="bool" Value="0"/>
<fontLetterSpacing Type="int" Value="0"/>
</item> </item>
<item Type="Object" ClassName="TextItem"> <item ClassName="TextItem" Type="Object">
<objectName Type="QString">TextItem9</objectName> <objectName Type="QString">TextItem9</objectName>
<geometry Type="QRect" y="32" x="1112" width="328" height="50"/> <geometry Type="QRect" height="50" width="328" x="1112" y="32"/>
<children Type="Collection"/> <children Type="Collection"/>
<zOrder Type="qreal" Value="0"/> <zOrder Type="qreal" Value="0"/>
<borders Type="enumAndFlags" Value="2"/> <borders Type="enumAndFlags" Value="2"/>
<parentName Type="QString">DataHeaderBand1</parentName> <parentName Type="QString">DataHeaderBand1</parentName>
<borderLineSize Type="int" Value="0"/> <borderLineSize Type="qreal" Value="0"/>
<isVisible Type="bool" Value="1"/> <isVisible Type="bool" Value="1"/>
<shadow Type="bool" Value="0"/>
<borderColor Type="QColor" Value="#000000"/> <borderColor Type="QColor" Value="#000000"/>
<geometryLocked Type="bool" Value="0"/>
<borderStyle Type="enumAndFlags" Value="1"/>
<itemLocation Type="enumAndFlags" Value="0"/> <itemLocation Type="enumAndFlags" Value="0"/>
<stretchToMaxHeight Type="bool" Value="0"/> <stretchToMaxHeight Type="bool" Value="0"/>
<itemAlign Type="enumAndFlags" Value="4"/> <itemAlign Type="enumAndFlags" Value="4"/>
@ -339,7 +407,7 @@
<alignment Type="enumAndFlags" Value="33"/> <alignment Type="enumAndFlags" Value="33"/>
<autoWidth Type="enumAndFlags" Value="0"/> <autoWidth Type="enumAndFlags" Value="0"/>
<autoHeight Type="bool" Value="0"/> <autoHeight Type="bool" Value="0"/>
<font stylename="" italic="0" weight="75" underline="0" pointSize="9" Type="QFont" family="Arial"/> <font Type="QFont" family="Arial" italic="0" pointSize="9" underline="0" weight="75"/>
<backgroundOpacity Type="int" Value="100"/> <backgroundOpacity Type="int" Value="100"/>
<backgroundMode Type="enumAndFlags" Value="1"/> <backgroundMode Type="enumAndFlags" Value="1"/>
<backgroundColor Type="QColor" Value="#ffffff"/> <backgroundColor Type="QColor" Value="#ffffff"/>
@ -359,17 +427,25 @@
<backgroundBrushStyle Type="enumAndFlags" Value="1"/> <backgroundBrushStyle Type="enumAndFlags" Value="1"/>
<textIndent Type="qreal" Value="0"/> <textIndent Type="qreal" Value="0"/>
<textLayoutDirection Type="enumAndFlags" Value="2"/> <textLayoutDirection Type="enumAndFlags" Value="2"/>
<fillInSecondPass Type="bool" Value="0"/>
<watermark Type="bool" Value="0"/>
<replaceCRwithBR Type="bool" Value="0"/>
<hideIfEmpty Type="bool" Value="0"/>
<fontLetterSpacing Type="int" Value="0"/>
</item> </item>
<item Type="Object" ClassName="TextItem"> <item ClassName="TextItem" Type="Object">
<objectName Type="QString">TextItem10</objectName> <objectName Type="QString">TextItem10</objectName>
<geometry Type="QRect" y="32" x="1452" width="250" height="50"/> <geometry Type="QRect" height="50" width="250" x="1452" y="32"/>
<children Type="Collection"/> <children Type="Collection"/>
<zOrder Type="qreal" Value="0"/> <zOrder Type="qreal" Value="0"/>
<borders Type="enumAndFlags" Value="2"/> <borders Type="enumAndFlags" Value="2"/>
<parentName Type="QString">DataHeaderBand1</parentName> <parentName Type="QString">DataHeaderBand1</parentName>
<borderLineSize Type="int" Value="0"/> <borderLineSize Type="qreal" Value="0"/>
<isVisible Type="bool" Value="1"/> <isVisible Type="bool" Value="1"/>
<shadow Type="bool" Value="0"/>
<borderColor Type="QColor" Value="#000000"/> <borderColor Type="QColor" Value="#000000"/>
<geometryLocked Type="bool" Value="0"/>
<borderStyle Type="enumAndFlags" Value="1"/>
<itemLocation Type="enumAndFlags" Value="0"/> <itemLocation Type="enumAndFlags" Value="0"/>
<stretchToMaxHeight Type="bool" Value="0"/> <stretchToMaxHeight Type="bool" Value="0"/>
<itemAlign Type="enumAndFlags" Value="4"/> <itemAlign Type="enumAndFlags" Value="4"/>
@ -378,7 +454,7 @@
<alignment Type="enumAndFlags" Value="33"/> <alignment Type="enumAndFlags" Value="33"/>
<autoWidth Type="enumAndFlags" Value="0"/> <autoWidth Type="enumAndFlags" Value="0"/>
<autoHeight Type="bool" Value="0"/> <autoHeight Type="bool" Value="0"/>
<font stylename="" italic="0" weight="75" underline="0" pointSize="9" Type="QFont" family="Arial"/> <font Type="QFont" family="Arial" italic="0" pointSize="9" underline="0" weight="75"/>
<backgroundOpacity Type="int" Value="100"/> <backgroundOpacity Type="int" Value="100"/>
<backgroundMode Type="enumAndFlags" Value="1"/> <backgroundMode Type="enumAndFlags" Value="1"/>
<backgroundColor Type="QColor" Value="#ffffff"/> <backgroundColor Type="QColor" Value="#ffffff"/>
@ -398,17 +474,25 @@
<backgroundBrushStyle Type="enumAndFlags" Value="1"/> <backgroundBrushStyle Type="enumAndFlags" Value="1"/>
<textIndent Type="qreal" Value="0"/> <textIndent Type="qreal" Value="0"/>
<textLayoutDirection Type="enumAndFlags" Value="2"/> <textLayoutDirection Type="enumAndFlags" Value="2"/>
<fillInSecondPass Type="bool" Value="0"/>
<watermark Type="bool" Value="0"/>
<replaceCRwithBR Type="bool" Value="0"/>
<hideIfEmpty Type="bool" Value="0"/>
<fontLetterSpacing Type="int" Value="0"/>
</item> </item>
<item Type="Object" ClassName="TextItem"> <item ClassName="TextItem" Type="Object">
<objectName Type="QString">TextItem11</objectName> <objectName Type="QString">TextItem11</objectName>
<geometry Type="QRect" y="32" x="1712" width="250" height="50"/> <geometry Type="QRect" height="50" width="250" x="1712" y="32"/>
<children Type="Collection"/> <children Type="Collection"/>
<zOrder Type="qreal" Value="0"/> <zOrder Type="qreal" Value="0"/>
<borders Type="enumAndFlags" Value="2"/> <borders Type="enumAndFlags" Value="2"/>
<parentName Type="QString">DataHeaderBand1</parentName> <parentName Type="QString">DataHeaderBand1</parentName>
<borderLineSize Type="int" Value="0"/> <borderLineSize Type="qreal" Value="0"/>
<isVisible Type="bool" Value="1"/> <isVisible Type="bool" Value="1"/>
<shadow Type="bool" Value="0"/>
<borderColor Type="QColor" Value="#000000"/> <borderColor Type="QColor" Value="#000000"/>
<geometryLocked Type="bool" Value="0"/>
<borderStyle Type="enumAndFlags" Value="1"/>
<itemLocation Type="enumAndFlags" Value="0"/> <itemLocation Type="enumAndFlags" Value="0"/>
<stretchToMaxHeight Type="bool" Value="0"/> <stretchToMaxHeight Type="bool" Value="0"/>
<itemAlign Type="enumAndFlags" Value="4"/> <itemAlign Type="enumAndFlags" Value="4"/>
@ -417,7 +501,7 @@
<alignment Type="enumAndFlags" Value="33"/> <alignment Type="enumAndFlags" Value="33"/>
<autoWidth Type="enumAndFlags" Value="0"/> <autoWidth Type="enumAndFlags" Value="0"/>
<autoHeight Type="bool" Value="0"/> <autoHeight Type="bool" Value="0"/>
<font stylename="" italic="0" weight="75" underline="0" pointSize="9" Type="QFont" family="Arial"/> <font Type="QFont" family="Arial" italic="0" pointSize="9" underline="0" weight="75"/>
<backgroundOpacity Type="int" Value="100"/> <backgroundOpacity Type="int" Value="100"/>
<backgroundMode Type="enumAndFlags" Value="1"/> <backgroundMode Type="enumAndFlags" Value="1"/>
<backgroundColor Type="QColor" Value="#ffffff"/> <backgroundColor Type="QColor" Value="#ffffff"/>
@ -437,41 +521,56 @@
<backgroundBrushStyle Type="enumAndFlags" Value="1"/> <backgroundBrushStyle Type="enumAndFlags" Value="1"/>
<textIndent Type="qreal" Value="0"/> <textIndent Type="qreal" Value="0"/>
<textLayoutDirection Type="enumAndFlags" Value="2"/> <textLayoutDirection Type="enumAndFlags" Value="2"/>
<fillInSecondPass Type="bool" Value="0"/>
<watermark Type="bool" Value="0"/>
<replaceCRwithBR Type="bool" Value="0"/>
<hideIfEmpty Type="bool" Value="0"/>
<fontLetterSpacing Type="int" Value="0"/>
</item> </item>
</children> </children>
<zOrder Type="qreal" Value="0"/> <zOrder Type="qreal" Value="0"/>
<borders Type="enumAndFlags" Value="0"/> <borders Type="enumAndFlags" Value="0"/>
<parentName Type="QString">ReportPage1</parentName> <parentName Type="QString">ReportPage1</parentName>
<borderLineSize Type="int" Value="0"/> <borderLineSize Type="qreal" Value="0"/>
<isVisible Type="bool" Value="1"/> <isVisible Type="bool" Value="1"/>
<shadow Type="bool" Value="0"/>
<borderColor Type="QColor" Value="#000000"/> <borderColor Type="QColor" Value="#000000"/>
<geometryLocked Type="bool" Value="0"/>
<borderStyle Type="enumAndFlags" Value="1"/>
<autoHeight Type="bool" Value="1"/> <autoHeight Type="bool" Value="1"/>
<bandIndex Type="int" Value="4"/> <bandIndex Type="int" Value="4"/>
<keepBottomSpace Type="bool" Value="0"/> <keepBottomSpace Type="bool" Value="0"/>
<keepTopSpace Type="bool" Value="1"/>
<parentBand Type="QString">DataBand1</parentBand> <parentBand Type="QString">DataBand1</parentBand>
<backgroundColor Type="QColor" Value="#ffffff"/> <backgroundColor Type="QColor" Value="#ffffff"/>
<backgroundBrushStyle Type="enumAndFlags" Value="1"/> <backgroundBrushStyle Type="enumAndFlags" Value="1"/>
<printIfEmpty Type="bool" Value="0"/> <printIfEmpty Type="bool" Value="0"/>
<backgroundMode Type="enumAndFlags" Value="0"/>
<backgroundOpacity Type="int" Value="100"/>
<shiftItems Type="int" Value="0"/>
<reprintOnEachPage Type="bool" Value="0"/> <reprintOnEachPage Type="bool" Value="0"/>
<columnsCount Type="int" Value="1"/> <columnsCount Type="int" Value="1"/>
<columnsFillDirection Type="enumAndFlags" Value="0"/> <columnsFillDirection Type="enumAndFlags" Value="0"/>
<printAlways Type="bool" Value="0"/> <printAlways Type="bool" Value="0"/>
<repeatOnEachRow Type="bool" Value="0"/> <repeatOnEachRow Type="bool" Value="0"/>
</item> </item>
<item Type="Object" ClassName="ReportHeader"> <item ClassName="ReportHeader" Type="Object">
<objectName Type="QString">ReportHeader1</objectName> <objectName Type="QString">ReportHeader1</objectName>
<geometry Type="QRect" y="50" x="50" width="2000" height="100"/> <geometry Type="QRect" height="100" width="2059" x="50" y="50"/>
<children Type="Collection"> <children Type="Collection">
<item Type="Object" ClassName="TextItem"> <item ClassName="TextItem" Type="Object">
<objectName Type="QString">TextItem1</objectName> <objectName Type="QString">TextItem1</objectName>
<geometry Type="QRect" y="20" x="12" width="1964" height="50"/> <geometry Type="QRect" height="50" width="1964" x="12" y="20"/>
<children Type="Collection"/> <children Type="Collection"/>
<zOrder Type="qreal" Value="0"/> <zOrder Type="qreal" Value="0"/>
<borders Type="enumAndFlags" Value="0"/> <borders Type="enumAndFlags" Value="0"/>
<parentName Type="QString">ReportHeader1</parentName> <parentName Type="QString">ReportHeader1</parentName>
<borderLineSize Type="int" Value="0"/> <borderLineSize Type="qreal" Value="0"/>
<isVisible Type="bool" Value="1"/> <isVisible Type="bool" Value="1"/>
<shadow Type="bool" Value="0"/>
<borderColor Type="QColor" Value="#000000"/> <borderColor Type="QColor" Value="#000000"/>
<geometryLocked Type="bool" Value="0"/>
<borderStyle Type="enumAndFlags" Value="1"/>
<itemLocation Type="enumAndFlags" Value="0"/> <itemLocation Type="enumAndFlags" Value="0"/>
<stretchToMaxHeight Type="bool" Value="0"/> <stretchToMaxHeight Type="bool" Value="0"/>
<itemAlign Type="enumAndFlags" Value="4"/> <itemAlign Type="enumAndFlags" Value="4"/>
@ -480,7 +579,7 @@
<alignment Type="enumAndFlags" Value="132"/> <alignment Type="enumAndFlags" Value="132"/>
<autoWidth Type="enumAndFlags" Value="0"/> <autoWidth Type="enumAndFlags" Value="0"/>
<autoHeight Type="bool" Value="0"/> <autoHeight Type="bool" Value="0"/>
<font stylename="" italic="0" weight="75" underline="0" pointSize="10" Type="QFont" family="Arial"/> <font Type="QFont" family="Arial" italic="0" pointSize="10" underline="0" weight="75"/>
<backgroundOpacity Type="int" Value="100"/> <backgroundOpacity Type="int" Value="100"/>
<backgroundMode Type="enumAndFlags" Value="1"/> <backgroundMode Type="enumAndFlags" Value="1"/>
<backgroundColor Type="QColor" Value="#7d7d7d"/> <backgroundColor Type="QColor" Value="#7d7d7d"/>
@ -500,37 +599,53 @@
<backgroundBrushStyle Type="enumAndFlags" Value="1"/> <backgroundBrushStyle Type="enumAndFlags" Value="1"/>
<textIndent Type="qreal" Value="0"/> <textIndent Type="qreal" Value="0"/>
<textLayoutDirection Type="enumAndFlags" Value="2"/> <textLayoutDirection Type="enumAndFlags" Value="2"/>
<fillInSecondPass Type="bool" Value="0"/>
<watermark Type="bool" Value="0"/>
<replaceCRwithBR Type="bool" Value="0"/>
<hideIfEmpty Type="bool" Value="0"/>
<fontLetterSpacing Type="int" Value="0"/>
</item> </item>
</children> </children>
<zOrder Type="qreal" Value="0"/> <zOrder Type="qreal" Value="0"/>
<borders Type="enumAndFlags" Value="0"/> <borders Type="enumAndFlags" Value="0"/>
<parentName Type="QString">ReportPage1</parentName> <parentName Type="QString">ReportPage1</parentName>
<borderLineSize Type="int" Value="0"/> <borderLineSize Type="qreal" Value="0"/>
<isVisible Type="bool" Value="1"/> <isVisible Type="bool" Value="1"/>
<shadow Type="bool" Value="0"/>
<borderColor Type="QColor" Value="#000000"/> <borderColor Type="QColor" Value="#000000"/>
<geometryLocked Type="bool" Value="0"/>
<borderStyle Type="enumAndFlags" Value="1"/>
<autoHeight Type="bool" Value="1"/> <autoHeight Type="bool" Value="1"/>
<bandIndex Type="int" Value="1"/> <bandIndex Type="int" Value="1"/>
<keepBottomSpace Type="bool" Value="0"/> <keepBottomSpace Type="bool" Value="0"/>
<keepTopSpace Type="bool" Value="1"/>
<parentBand Type="QString"></parentBand> <parentBand Type="QString"></parentBand>
<backgroundColor Type="QColor" Value="#ffffff"/> <backgroundColor Type="QColor" Value="#ffffff"/>
<backgroundBrushStyle Type="enumAndFlags" Value="1"/> <backgroundBrushStyle Type="enumAndFlags" Value="1"/>
<printIfEmpty Type="bool" Value="0"/> <printIfEmpty Type="bool" Value="0"/>
<backgroundMode Type="enumAndFlags" Value="0"/>
<backgroundOpacity Type="int" Value="100"/>
<shiftItems Type="int" Value="0"/>
<splittable Type="bool" Value="0"/> <splittable Type="bool" Value="0"/>
<printBeforePageHeader Type="bool" Value="0"/>
</item> </item>
<item Type="Object" ClassName="PageFooter"> <item ClassName="PageFooter" Type="Object">
<objectName Type="QString">PageFooter11</objectName> <objectName Type="QString">PageFooter11</objectName>
<geometry Type="QRect" y="362" x="50" width="2000" height="84"/> <geometry Type="QRect" height="84" width="2059" x="50" y="350"/>
<children Type="Collection"> <children Type="Collection">
<item Type="Object" ClassName="ShapeItem"> <item ClassName="ShapeItem" Type="Object">
<objectName Type="QString">ShapeItem11</objectName> <objectName Type="QString">ShapeItem11</objectName>
<geometry Type="QRect" y="-4" x="16" width="1962" height="22"/> <geometry Type="QRect" height="22" width="1962" x="16" y="-4"/>
<children Type="Collection"/> <children Type="Collection"/>
<zOrder Type="qreal" Value="0"/> <zOrder Type="qreal" Value="0"/>
<borders Type="enumAndFlags" Value="0"/> <borders Type="enumAndFlags" Value="0"/>
<parentName Type="QString">PageFooter11</parentName> <parentName Type="QString">PageFooter11</parentName>
<borderLineSize Type="int" Value="0"/> <borderLineSize Type="qreal" Value="0"/>
<isVisible Type="bool" Value="1"/> <isVisible Type="bool" Value="1"/>
<shadow Type="bool" Value="0"/>
<borderColor Type="QColor" Value="#000000"/> <borderColor Type="QColor" Value="#000000"/>
<geometryLocked Type="bool" Value="0"/>
<borderStyle Type="enumAndFlags" Value="1"/>
<itemLocation Type="enumAndFlags" Value="0"/> <itemLocation Type="enumAndFlags" Value="0"/>
<stretchToMaxHeight Type="bool" Value="0"/> <stretchToMaxHeight Type="bool" Value="0"/>
<itemAlign Type="enumAndFlags" Value="4"/> <itemAlign Type="enumAndFlags" Value="4"/>
@ -543,16 +658,19 @@
<opacity Type="int" Value="100"/> <opacity Type="int" Value="100"/>
<cornerRadius Type="int" Value="0"/> <cornerRadius Type="int" Value="0"/>
</item> </item>
<item Type="Object" ClassName="TextItem"> <item ClassName="TextItem" Type="Object">
<objectName Type="QString">TextItem12</objectName> <objectName Type="QString">TextItem12</objectName>
<geometry Type="QRect" y="20" x="1614" width="364" height="50"/> <geometry Type="QRect" height="50" width="364" x="1614" y="20"/>
<children Type="Collection"/> <children Type="Collection"/>
<zOrder Type="qreal" Value="0"/> <zOrder Type="qreal" Value="0"/>
<borders Type="enumAndFlags" Value="0"/> <borders Type="enumAndFlags" Value="0"/>
<parentName Type="QString">PageFooter11</parentName> <parentName Type="QString">PageFooter11</parentName>
<borderLineSize Type="int" Value="0"/> <borderLineSize Type="qreal" Value="0"/>
<isVisible Type="bool" Value="1"/> <isVisible Type="bool" Value="1"/>
<shadow Type="bool" Value="0"/>
<borderColor Type="QColor" Value="#000000"/> <borderColor Type="QColor" Value="#000000"/>
<geometryLocked Type="bool" Value="0"/>
<borderStyle Type="enumAndFlags" Value="1"/>
<itemLocation Type="enumAndFlags" Value="0"/> <itemLocation Type="enumAndFlags" Value="0"/>
<stretchToMaxHeight Type="bool" Value="0"/> <stretchToMaxHeight Type="bool" Value="0"/>
<itemAlign Type="enumAndFlags" Value="4"/> <itemAlign Type="enumAndFlags" Value="4"/>
@ -561,7 +679,7 @@
<alignment Type="enumAndFlags" Value="34"/> <alignment Type="enumAndFlags" Value="34"/>
<autoWidth Type="enumAndFlags" Value="0"/> <autoWidth Type="enumAndFlags" Value="0"/>
<autoHeight Type="bool" Value="0"/> <autoHeight Type="bool" Value="0"/>
<font stylename="" italic="0" weight="50" underline="0" pointSize="9" Type="QFont" family="Arial"/> <font Type="QFont" family="Arial" italic="0" pointSize="9" underline="0" weight="50"/>
<backgroundOpacity Type="int" Value="100"/> <backgroundOpacity Type="int" Value="100"/>
<backgroundMode Type="enumAndFlags" Value="1"/> <backgroundMode Type="enumAndFlags" Value="1"/>
<backgroundColor Type="QColor" Value="#ffffff"/> <backgroundColor Type="QColor" Value="#ffffff"/>
@ -581,48 +699,76 @@
<backgroundBrushStyle Type="enumAndFlags" Value="1"/> <backgroundBrushStyle Type="enumAndFlags" Value="1"/>
<textIndent Type="qreal" Value="0"/> <textIndent Type="qreal" Value="0"/>
<textLayoutDirection Type="enumAndFlags" Value="2"/> <textLayoutDirection Type="enumAndFlags" Value="2"/>
<fillInSecondPass Type="bool" Value="0"/>
<watermark Type="bool" Value="0"/>
<replaceCRwithBR Type="bool" Value="0"/>
<hideIfEmpty Type="bool" Value="0"/>
<fontLetterSpacing Type="int" Value="0"/>
</item> </item>
</children> </children>
<zOrder Type="qreal" Value="0"/> <zOrder Type="qreal" Value="0"/>
<borders Type="enumAndFlags" Value="0"/> <borders Type="enumAndFlags" Value="0"/>
<parentName Type="QString">ReportPage1</parentName> <parentName Type="QString">ReportPage1</parentName>
<borderLineSize Type="int" Value="0"/> <borderLineSize Type="qreal" Value="0"/>
<isVisible Type="bool" Value="1"/> <isVisible Type="bool" Value="1"/>
<shadow Type="bool" Value="0"/>
<borderColor Type="QColor" Value="#000000"/> <borderColor Type="QColor" Value="#000000"/>
<geometryLocked Type="bool" Value="0"/>
<borderStyle Type="enumAndFlags" Value="1"/>
<autoHeight Type="bool" Value="1"/> <autoHeight Type="bool" Value="1"/>
<bandIndex Type="int" Value="6"/> <bandIndex Type="int" Value="6"/>
<keepBottomSpace Type="bool" Value="0"/> <keepBottomSpace Type="bool" Value="0"/>
<keepTopSpace Type="bool" Value="1"/>
<parentBand Type="QString"></parentBand> <parentBand Type="QString"></parentBand>
<backgroundColor Type="QColor" Value="#ffffff"/> <backgroundColor Type="QColor" Value="#ffffff"/>
<backgroundBrushStyle Type="enumAndFlags" Value="1"/> <backgroundBrushStyle Type="enumAndFlags" Value="1"/>
<printIfEmpty Type="bool" Value="0"/> <printIfEmpty Type="bool" Value="0"/>
<backgroundMode Type="enumAndFlags" Value="0"/>
<backgroundOpacity Type="int" Value="100"/>
<shiftItems Type="int" Value="0"/>
<printOnFirstPage Type="bool" Value="1"/> <printOnFirstPage Type="bool" Value="1"/>
<printOnLastPage Type="bool" Value="1"/> <printOnLastPage Type="bool" Value="1"/>
<removeGap Type="bool" Value="0"/>
</item> </item>
</children> </children>
<zOrder Type="qreal" Value="0"/> <zOrder Type="qreal" Value="0"/>
<borders Type="enumAndFlags" Value="0"/> <borders Type="enumAndFlags" Value="0"/>
<parentName Type="QString"></parentName> <parentName Type="QString"></parentName>
<borderLineSize Type="int" Value="0"/> <borderLineSize Type="qreal" Value="0"/>
<isVisible Type="bool" Value="1"/> <isVisible Type="bool" Value="1"/>
<shadow Type="bool" Value="0"/>
<borderColor Type="QColor" Value="#000000"/> <borderColor Type="QColor" Value="#000000"/>
<geometryLocked Type="bool" Value="0"/>
<borderStyle Type="enumAndFlags" Value="1"/>
<topMargin Type="int" Value="5"/> <topMargin Type="int" Value="5"/>
<bottomMargin Type="int" Value="5"/> <bottomMargin Type="int" Value="5"/>
<rightMargin Type="int" Value="5"/> <rightMargin Type="int" Value="5"/>
<leftMargin Type="int" Value="5"/> <leftMargin Type="int" Value="5"/>
<pageOrientation Type="enumAndFlags" Value="0"/> <pageOrientation Type="enumAndFlags" Value="0"/>
<pageSize Type="enumAndFlags" Value="0"/> <pageSize Type="enumAndFlags" Value="0"/>
<gridStep Type="int" Value="2"/> <gridStep Type="int" Value="1"/>
<fullPage Type="bool" Value="0"/> <fullPage Type="bool" Value="0"/>
<oldPrintMode Type="bool" Value="0"/> <oldPrintMode Type="bool" Value="0"/>
<resetPageNumber Type="bool" Value="0"/> <resetPageNumber Type="bool" Value="0"/>
<isExtendedInDesignMode Type="bool" Value="0"/>
<extendedHeight Type="int" Value="1000"/>
<pageIsTOC Type="bool" Value="0"/>
<setPageSizeToPrinter Type="bool" Value="0"/>
<endlessHeight Type="bool" Value="0"/>
<printable Type="bool" Value="1"/>
<printerName Type="QString"></printerName>
<units Type="enumAndFlags" Value="0"/>
<printBehavior Type="enumAndFlags" Value="1"/>
<dropPrinterMargins Type="bool" Value="0"/>
<notPrintIfEmpty Type="bool" Value="0"/>
<mixWithPriorPage Type="bool" Value="0"/>
</pageItem> </pageItem>
</item> </item>
</pages> </pages>
<datasourcesManager Type="Object" ClassName="LimeReport::DataSourceManager"> <datasourcesManager ClassName="LimeReport::DataSourceManager" Type="Object">
<objectName Type="QString">datasources</objectName> <objectName Type="QString">datasources</objectName>
<connections Type="Collection"> <connections Type="Collection">
<item Type="Object" ClassName="LimeReport::ConnectionDesc"> <item ClassName="LimeReport::ConnectionDesc" Type="Object">
<objectName Type="QString"></objectName> <objectName Type="QString"></objectName>
<name Type="QString">db</name> <name Type="QString">db</name>
<driver Type="QString">QSQLITE</driver> <driver Type="QString">QSQLITE</driver>
@ -632,10 +778,11 @@
<host Type="QString"></host> <host Type="QString"></host>
<autoconnect Type="bool" Value="1"/> <autoconnect Type="bool" Value="1"/>
<keepDBCredentials Type="bool" Value="1"/> <keepDBCredentials Type="bool" Value="1"/>
<port Type="QString"></port>
</item> </item>
</connections> </connections>
<queries Type="Collection"> <queries Type="Collection">
<item Type="Object" ClassName="LimeReport::QueryDesc"> <item ClassName="LimeReport::QueryDesc" Type="Object">
<objectName Type="QString"></objectName> <objectName Type="QString"></objectName>
<queryName Type="QString">customers</queryName> <queryName Type="QString">customers</queryName>
<queryText Type="QString">Select * from customer</queryText> <queryText Type="QString">Select * from customer</queryText>
@ -645,12 +792,22 @@
<subqueries Type="Collection"/> <subqueries Type="Collection"/>
<subproxies Type="Collection"/> <subproxies Type="Collection"/>
<variables Type="Collection"/> <variables Type="Collection"/>
<csvs Type="Collection"/>
</datasourcesManager> </datasourcesManager>
<scriptContext Type="Object" ClassName="LimeReport::ScriptEngineContext"> <scriptContext ClassName="LimeReport::ScriptEngineContext" Type="Object">
<objectName Type="QString"></objectName> <objectName Type="QString"></objectName>
<dialogs Type="Collection"/> <dialogs Type="Collection"/>
<initScript Type="QString"></initScript> <initScript Type="QString">function BeforeDataRender(){
setVariable("TEMP", "11")
if (getField("customers.Company") === "Unisco") {
ReportPage1_DataBand1.backgroundColor = LimeReport.color("red")
setVariable("TEMP","FIIL")
}
}
DataBand1.beforeRender.connect(BeforeDataRender)</initScript>
</scriptContext> </scriptContext>
<suppressFieldAndVarError Type="bool" Value="0"/> <suppressFieldAndVarError Type="bool" Value="0"/>
<translation Type="Translation"/>
</object> </object>
</Report> </Report>

View File

@ -1,44 +1,51 @@
<?xml version="1.0" encoding="UTF8"?> <?xml version="1.0" encoding="UTF8"?>
<Report> <Report>
<object Type="Object" ClassName="LimeReport::ReportEnginePrivate"> <object ClassName="LimeReport::ReportEnginePrivate" Type="Object">
<objectName Type="QString"></objectName> <objectName Type="QString"></objectName>
<pages Type="Collection"> <pages Type="Collection">
<item Type="Object" ClassName="LimeReport::PageDesignIntf"> <item ClassName="LimeReport::PageDesignIntf" Type="Object">
<objectName Type="QString">page1</objectName> <objectName Type="QString">page1</objectName>
<sceneRect Type="QRect" x="-50" y="-50" height="3070" width="2200"/> <itemIndexMethod Type="enumAndFlags" Value="0"/>
<sceneRect Type="QRect" height="2899" width="2259" x="-50" y="-50"/>
<bspTreeDepth Type="int" Value="5"/> <bspTreeDepth Type="int" Value="5"/>
<font Type="QFont" family="Noto Sans" weight="50" underline="0" italic="0" pointSize="9" stylename=""/> <font Type="QFont" family="Noto Sans" italic="0" pointSize="9" underline="0" weight="50"/>
<sortCacheEnabled Type="bool" Value="0"/>
<stickyFocus Type="bool" Value="0"/> <stickyFocus Type="bool" Value="0"/>
<minimumRenderSize Type="qreal" Value="0"/> <minimumRenderSize Type="qreal" Value="0"/>
<pageItem Type="Object" ClassName="PageItem"> <focusOnTouch Type="bool" Value="1"/>
<pageItem ClassName="PageItem" Type="Object">
<objectName Type="QString">ReportPage1</objectName> <objectName Type="QString">ReportPage1</objectName>
<geometry Type="QRect" x="0" y="0" height="2970" width="2100"/> <geometry Type="QRect" height="2794" width="2159" x="0" y="0"/>
<children Type="Collection"> <children Type="Collection">
<item Type="Object" ClassName="Data"> <item ClassName="Data" Type="Object">
<objectName Type="QString">DataBand1</objectName> <objectName Type="QString">DataBand1</objectName>
<geometry Type="QRect" x="50" y="50" height="100" width="2000"/> <geometry Type="QRect" height="100" width="2059" x="50" y="50"/>
<children Type="Collection"> <children Type="Collection">
<item Type="Object" ClassName="TextItem"> <item ClassName="TextItem" Type="Object">
<objectName Type="QString">TextItem2</objectName> <objectName Type="QString">TextItem2</objectName>
<geometry Type="QRect" x="20" y="22" height="50" width="746"/> <geometry Type="QRect" height="50" width="746" x="20" y="22"/>
<children Type="Collection"/> <children Type="Collection"/>
<zOrder Type="qreal" Value="0"/> <zOrder Type="qreal" Value="0"/>
<borders Type="enumAndFlags" Value="0"/> <borders Type="enumAndFlags" Value="0"/>
<parentName Type="QString">DataBand1</parentName> <parentName Type="QString">DataBand1</parentName>
<borderLineSize Type="int" Value="0"/> <borderLineSize Type="qreal" Value="0"/>
<isVisible Type="bool" Value="1"/> <isVisible Type="bool" Value="1"/>
<shadow Type="bool" Value="0"/>
<borderColor Type="QColor" Value="#000000"/> <borderColor Type="QColor" Value="#000000"/>
<geometryLocked Type="bool" Value="0"/>
<borderStyle Type="enumAndFlags" Value="1"/>
<itemLocation Type="enumAndFlags" Value="0"/> <itemLocation Type="enumAndFlags" Value="0"/>
<stretchToMaxHeight Type="bool" Value="0"/> <stretchToMaxHeight Type="bool" Value="0"/>
<itemAlign Type="enumAndFlags" Value="4"/> <itemAlign Type="enumAndFlags" Value="4"/>
<content Type="QString">$S{ <content Type="QString">$S{
if ( $D{master.CustomerID} == "ALFKI") THIS.fontColor=QColor("red");""}$D{master.CompanyName}</content> if ( $D{master.CustomerID} == "ALFKI")
THIS.fontColor=LimeReport.color("red");""}
$D{master.CompanyName}
}</content>
<margin Type="int" Value="4"/> <margin Type="int" Value="4"/>
<alignment Type="enumAndFlags" Value="33"/> <alignment Type="enumAndFlags" Value="33"/>
<autoWidth Type="enumAndFlags" Value="0"/> <autoWidth Type="enumAndFlags" Value="0"/>
<autoHeight Type="bool" Value="0"/> <autoHeight Type="bool" Value="0"/>
<font Type="QFont" family="Sans Serif" weight="50" underline="0" italic="0" pointSize="9" stylename=""/> <font Type="QFont" family="Sans Serif" italic="0" pointSize="9" underline="0" weight="50"/>
<backgroundOpacity Type="int" Value="100"/> <backgroundOpacity Type="int" Value="100"/>
<backgroundMode Type="enumAndFlags" Value="1"/> <backgroundMode Type="enumAndFlags" Value="1"/>
<backgroundColor Type="QColor" Value="#ffffff"/> <backgroundColor Type="QColor" Value="#ffffff"/>
@ -58,17 +65,25 @@ if ( $D{master.CustomerID} == "ALFKI") THIS.fontColor=QColor("red");""}$D{master
<backgroundBrushStyle Type="enumAndFlags" Value="1"/> <backgroundBrushStyle Type="enumAndFlags" Value="1"/>
<textIndent Type="qreal" Value="0"/> <textIndent Type="qreal" Value="0"/>
<textLayoutDirection Type="enumAndFlags" Value="2"/> <textLayoutDirection Type="enumAndFlags" Value="2"/>
<fillInSecondPass Type="bool" Value="0"/>
<watermark Type="bool" Value="0"/>
<replaceCRwithBR Type="bool" Value="0"/>
<hideIfEmpty Type="bool" Value="0"/>
<fontLetterSpacing Type="int" Value="0"/>
</item> </item>
<item Type="Object" ClassName="TextItem"> <item ClassName="TextItem" Type="Object">
<objectName Type="QString">TextItem1</objectName> <objectName Type="QString">TextItem1</objectName>
<geometry Type="QRect" x="776" y="22" height="50" width="426"/> <geometry Type="QRect" height="50" width="426" x="776" y="22"/>
<children Type="Collection"/> <children Type="Collection"/>
<zOrder Type="qreal" Value="0"/> <zOrder Type="qreal" Value="0"/>
<borders Type="enumAndFlags" Value="0"/> <borders Type="enumAndFlags" Value="0"/>
<parentName Type="QString">DataBand1</parentName> <parentName Type="QString">DataBand1</parentName>
<borderLineSize Type="int" Value="0"/> <borderLineSize Type="qreal" Value="0"/>
<isVisible Type="bool" Value="1"/> <isVisible Type="bool" Value="1"/>
<shadow Type="bool" Value="0"/>
<borderColor Type="QColor" Value="#000000"/> <borderColor Type="QColor" Value="#000000"/>
<geometryLocked Type="bool" Value="0"/>
<borderStyle Type="enumAndFlags" Value="1"/>
<itemLocation Type="enumAndFlags" Value="0"/> <itemLocation Type="enumAndFlags" Value="0"/>
<stretchToMaxHeight Type="bool" Value="0"/> <stretchToMaxHeight Type="bool" Value="0"/>
<itemAlign Type="enumAndFlags" Value="4"/> <itemAlign Type="enumAndFlags" Value="4"/>
@ -77,7 +92,7 @@ if ( $D{master.CustomerID} == "ALFKI") THIS.fontColor=QColor("red");""}$D{master
<alignment Type="enumAndFlags" Value="33"/> <alignment Type="enumAndFlags" Value="33"/>
<autoWidth Type="enumAndFlags" Value="0"/> <autoWidth Type="enumAndFlags" Value="0"/>
<autoHeight Type="bool" Value="0"/> <autoHeight Type="bool" Value="0"/>
<font Type="QFont" family="Arial" weight="50" underline="0" italic="0" pointSize="10" stylename=""/> <font Type="QFont" family="Arial" italic="0" pointSize="10" underline="0" weight="50"/>
<backgroundOpacity Type="int" Value="100"/> <backgroundOpacity Type="int" Value="100"/>
<backgroundMode Type="enumAndFlags" Value="1"/> <backgroundMode Type="enumAndFlags" Value="1"/>
<backgroundColor Type="QColor" Value="#ffffff"/> <backgroundColor Type="QColor" Value="#ffffff"/>
@ -97,21 +112,33 @@ if ( $D{master.CustomerID} == "ALFKI") THIS.fontColor=QColor("red");""}$D{master
<backgroundBrushStyle Type="enumAndFlags" Value="1"/> <backgroundBrushStyle Type="enumAndFlags" Value="1"/>
<textIndent Type="qreal" Value="0"/> <textIndent Type="qreal" Value="0"/>
<textLayoutDirection Type="enumAndFlags" Value="2"/> <textLayoutDirection Type="enumAndFlags" Value="2"/>
<fillInSecondPass Type="bool" Value="0"/>
<watermark Type="bool" Value="0"/>
<replaceCRwithBR Type="bool" Value="0"/>
<hideIfEmpty Type="bool" Value="0"/>
<fontLetterSpacing Type="int" Value="0"/>
</item> </item>
</children> </children>
<zOrder Type="qreal" Value="0"/> <zOrder Type="qreal" Value="0"/>
<borders Type="enumAndFlags" Value="0"/> <borders Type="enumAndFlags" Value="0"/>
<parentName Type="QString">ReportPage1</parentName> <parentName Type="QString">ReportPage1</parentName>
<borderLineSize Type="int" Value="0"/> <borderLineSize Type="qreal" Value="0"/>
<isVisible Type="bool" Value="1"/> <isVisible Type="bool" Value="1"/>
<shadow Type="bool" Value="0"/>
<borderColor Type="QColor" Value="#000000"/> <borderColor Type="QColor" Value="#000000"/>
<geometryLocked Type="bool" Value="0"/>
<borderStyle Type="enumAndFlags" Value="1"/>
<autoHeight Type="bool" Value="1"/> <autoHeight Type="bool" Value="1"/>
<bandIndex Type="int" Value="4"/> <bandIndex Type="int" Value="4"/>
<keepBottomSpace Type="bool" Value="0"/> <keepBottomSpace Type="bool" Value="0"/>
<keepTopSpace Type="bool" Value="1"/>
<parentBand Type="QString"></parentBand> <parentBand Type="QString"></parentBand>
<backgroundColor Type="QColor" Value="#ffffff"/> <backgroundColor Type="QColor" Value="#ffffff"/>
<backgroundBrushStyle Type="enumAndFlags" Value="1"/> <backgroundBrushStyle Type="enumAndFlags" Value="1"/>
<printIfEmpty Type="bool" Value="0"/> <printIfEmpty Type="bool" Value="0"/>
<backgroundMode Type="enumAndFlags" Value="0"/>
<backgroundOpacity Type="int" Value="100"/>
<shiftItems Type="int" Value="0"/>
<datasource Type="QString">master</datasource> <datasource Type="QString">master</datasource>
<keepSubdetailTogether Type="bool" Value="0"/> <keepSubdetailTogether Type="bool" Value="0"/>
<splittable Type="bool" Value="0"/> <splittable Type="bool" Value="0"/>
@ -122,21 +149,25 @@ if ( $D{master.CustomerID} == "ALFKI") THIS.fontColor=QColor("red");""}$D{master
<startNewPage Type="bool" Value="0"/> <startNewPage Type="bool" Value="0"/>
<startFromNewPage Type="bool" Value="0"/> <startFromNewPage Type="bool" Value="0"/>
<alternateBackgroundColor Type="QColor" Value="#ffffff"/> <alternateBackgroundColor Type="QColor" Value="#ffffff"/>
<useAlternateBackgroundColor Type="bool" Value="0"/>
</item> </item>
<item Type="Object" ClassName="SubDetail"> <item ClassName="SubDetail" Type="Object">
<objectName Type="QString">SubDetailBand1</objectName> <objectName Type="QString">SubDetailBand1</objectName>
<geometry Type="QRect" x="50" y="154" height="100" width="2000"/> <geometry Type="QRect" height="100" width="2059" x="50" y="150"/>
<children Type="Collection"> <children Type="Collection">
<item Type="Object" ClassName="TextItem"> <item ClassName="TextItem" Type="Object">
<objectName Type="QString">TextItem5</objectName> <objectName Type="QString">TextItem5</objectName>
<geometry Type="QRect" x="98" y="16" height="50" width="250"/> <geometry Type="QRect" height="50" width="250" x="98" y="16"/>
<children Type="Collection"/> <children Type="Collection"/>
<zOrder Type="qreal" Value="0"/> <zOrder Type="qreal" Value="0"/>
<borders Type="enumAndFlags" Value="0"/> <borders Type="enumAndFlags" Value="0"/>
<parentName Type="QString">SubDetailBand1</parentName> <parentName Type="QString">SubDetailBand1</parentName>
<borderLineSize Type="int" Value="0"/> <borderLineSize Type="qreal" Value="0"/>
<isVisible Type="bool" Value="1"/> <isVisible Type="bool" Value="1"/>
<shadow Type="bool" Value="0"/>
<borderColor Type="QColor" Value="#000000"/> <borderColor Type="QColor" Value="#000000"/>
<geometryLocked Type="bool" Value="0"/>
<borderStyle Type="enumAndFlags" Value="1"/>
<itemLocation Type="enumAndFlags" Value="0"/> <itemLocation Type="enumAndFlags" Value="0"/>
<stretchToMaxHeight Type="bool" Value="0"/> <stretchToMaxHeight Type="bool" Value="0"/>
<itemAlign Type="enumAndFlags" Value="4"/> <itemAlign Type="enumAndFlags" Value="4"/>
@ -145,7 +176,7 @@ if ( $D{master.CustomerID} == "ALFKI") THIS.fontColor=QColor("red");""}$D{master
<alignment Type="enumAndFlags" Value="33"/> <alignment Type="enumAndFlags" Value="33"/>
<autoWidth Type="enumAndFlags" Value="0"/> <autoWidth Type="enumAndFlags" Value="0"/>
<autoHeight Type="bool" Value="0"/> <autoHeight Type="bool" Value="0"/>
<font Type="QFont" family="Sans Serif" weight="50" underline="0" italic="0" pointSize="9" stylename=""/> <font Type="QFont" family="Sans Serif" italic="0" pointSize="9" underline="0" weight="50"/>
<backgroundOpacity Type="int" Value="100"/> <backgroundOpacity Type="int" Value="100"/>
<backgroundMode Type="enumAndFlags" Value="0"/> <backgroundMode Type="enumAndFlags" Value="0"/>
<backgroundColor Type="QColor" Value="#ffffff"/> <backgroundColor Type="QColor" Value="#ffffff"/>
@ -165,17 +196,25 @@ if ( $D{master.CustomerID} == "ALFKI") THIS.fontColor=QColor("red");""}$D{master
<backgroundBrushStyle Type="enumAndFlags" Value="1"/> <backgroundBrushStyle Type="enumAndFlags" Value="1"/>
<textIndent Type="qreal" Value="0"/> <textIndent Type="qreal" Value="0"/>
<textLayoutDirection Type="enumAndFlags" Value="2"/> <textLayoutDirection Type="enumAndFlags" Value="2"/>
<fillInSecondPass Type="bool" Value="0"/>
<watermark Type="bool" Value="0"/>
<replaceCRwithBR Type="bool" Value="0"/>
<hideIfEmpty Type="bool" Value="0"/>
<fontLetterSpacing Type="int" Value="0"/>
</item> </item>
<item Type="Object" ClassName="TextItem"> <item ClassName="TextItem" Type="Object">
<objectName Type="QString">TextItem6</objectName> <objectName Type="QString">TextItem6</objectName>
<geometry Type="QRect" x="360" y="16" height="50" width="250"/> <geometry Type="QRect" height="50" width="250" x="360" y="16"/>
<children Type="Collection"/> <children Type="Collection"/>
<zOrder Type="qreal" Value="0"/> <zOrder Type="qreal" Value="0"/>
<borders Type="enumAndFlags" Value="0"/> <borders Type="enumAndFlags" Value="0"/>
<parentName Type="QString">SubDetailBand1</parentName> <parentName Type="QString">SubDetailBand1</parentName>
<borderLineSize Type="int" Value="0"/> <borderLineSize Type="qreal" Value="0"/>
<isVisible Type="bool" Value="1"/> <isVisible Type="bool" Value="1"/>
<shadow Type="bool" Value="0"/>
<borderColor Type="QColor" Value="#000000"/> <borderColor Type="QColor" Value="#000000"/>
<geometryLocked Type="bool" Value="0"/>
<borderStyle Type="enumAndFlags" Value="1"/>
<itemLocation Type="enumAndFlags" Value="0"/> <itemLocation Type="enumAndFlags" Value="0"/>
<stretchToMaxHeight Type="bool" Value="0"/> <stretchToMaxHeight Type="bool" Value="0"/>
<itemAlign Type="enumAndFlags" Value="4"/> <itemAlign Type="enumAndFlags" Value="4"/>
@ -184,7 +223,7 @@ if ( $D{master.CustomerID} == "ALFKI") THIS.fontColor=QColor("red");""}$D{master
<alignment Type="enumAndFlags" Value="33"/> <alignment Type="enumAndFlags" Value="33"/>
<autoWidth Type="enumAndFlags" Value="0"/> <autoWidth Type="enumAndFlags" Value="0"/>
<autoHeight Type="bool" Value="0"/> <autoHeight Type="bool" Value="0"/>
<font Type="QFont" family="Sans Serif" weight="50" underline="0" italic="0" pointSize="9" stylename=""/> <font Type="QFont" family="Sans Serif" italic="0" pointSize="9" underline="0" weight="50"/>
<backgroundOpacity Type="int" Value="100"/> <backgroundOpacity Type="int" Value="100"/>
<backgroundMode Type="enumAndFlags" Value="0"/> <backgroundMode Type="enumAndFlags" Value="0"/>
<backgroundColor Type="QColor" Value="#ffffff"/> <backgroundColor Type="QColor" Value="#ffffff"/>
@ -204,65 +243,94 @@ if ( $D{master.CustomerID} == "ALFKI") THIS.fontColor=QColor("red");""}$D{master
<backgroundBrushStyle Type="enumAndFlags" Value="1"/> <backgroundBrushStyle Type="enumAndFlags" Value="1"/>
<textIndent Type="qreal" Value="0"/> <textIndent Type="qreal" Value="0"/>
<textLayoutDirection Type="enumAndFlags" Value="2"/> <textLayoutDirection Type="enumAndFlags" Value="2"/>
<fillInSecondPass Type="bool" Value="0"/>
<watermark Type="bool" Value="0"/>
<replaceCRwithBR Type="bool" Value="0"/>
<hideIfEmpty Type="bool" Value="0"/>
<fontLetterSpacing Type="int" Value="0"/>
</item> </item>
</children> </children>
<zOrder Type="qreal" Value="0"/> <zOrder Type="qreal" Value="0"/>
<borders Type="enumAndFlags" Value="0"/> <borders Type="enumAndFlags" Value="0"/>
<parentName Type="QString">ReportPage1</parentName> <parentName Type="QString">ReportPage1</parentName>
<borderLineSize Type="int" Value="0"/> <borderLineSize Type="qreal" Value="0"/>
<isVisible Type="bool" Value="1"/> <isVisible Type="bool" Value="1"/>
<shadow Type="bool" Value="0"/>
<borderColor Type="QColor" Value="#000000"/> <borderColor Type="QColor" Value="#000000"/>
<geometryLocked Type="bool" Value="0"/>
<borderStyle Type="enumAndFlags" Value="1"/>
<autoHeight Type="bool" Value="1"/> <autoHeight Type="bool" Value="1"/>
<bandIndex Type="int" Value="5"/> <bandIndex Type="int" Value="5"/>
<keepBottomSpace Type="bool" Value="0"/> <keepBottomSpace Type="bool" Value="0"/>
<keepTopSpace Type="bool" Value="1"/>
<parentBand Type="QString">DataBand1</parentBand> <parentBand Type="QString">DataBand1</parentBand>
<backgroundColor Type="QColor" Value="#aaff7f"/> <backgroundColor Type="QColor" Value="#aaff7f"/>
<backgroundBrushStyle Type="enumAndFlags" Value="1"/> <backgroundBrushStyle Type="enumAndFlags" Value="1"/>
<printIfEmpty Type="bool" Value="0"/> <printIfEmpty Type="bool" Value="0"/>
<backgroundMode Type="enumAndFlags" Value="0"/>
<backgroundOpacity Type="int" Value="100"/>
<shiftItems Type="int" Value="0"/>
<datasource Type="QString"></datasource> <datasource Type="QString"></datasource>
<splittable Type="bool" Value="0"/> <splittable Type="bool" Value="0"/>
<columnsCount Type="int" Value="1"/> <columnsCount Type="int" Value="1"/>
<columnsFillDirection Type="enumAndFlags" Value="0"/> <columnsFillDirection Type="enumAndFlags" Value="0"/>
<keepFooterTogether Type="bool" Value="0"/> <keepFooterTogether Type="bool" Value="0"/>
<alternateBackgroundColor Type="QColor" Value="#aaff7f"/> <alternateBackgroundColor Type="QColor" Value="#aaff7f"/>
<useAlternateBackgroundColor Type="bool" Value="0"/>
</item> </item>
</children> </children>
<zOrder Type="qreal" Value="0"/> <zOrder Type="qreal" Value="0"/>
<borders Type="enumAndFlags" Value="0"/> <borders Type="enumAndFlags" Value="0"/>
<parentName Type="QString"></parentName> <parentName Type="QString"></parentName>
<borderLineSize Type="int" Value="0"/> <borderLineSize Type="qreal" Value="0"/>
<isVisible Type="bool" Value="1"/> <isVisible Type="bool" Value="1"/>
<shadow Type="bool" Value="0"/>
<borderColor Type="QColor" Value="#000000"/> <borderColor Type="QColor" Value="#000000"/>
<geometryLocked Type="bool" Value="0"/>
<borderStyle Type="enumAndFlags" Value="1"/>
<topMargin Type="int" Value="5"/> <topMargin Type="int" Value="5"/>
<bottomMargin Type="int" Value="5"/> <bottomMargin Type="int" Value="5"/>
<rightMargin Type="int" Value="5"/> <rightMargin Type="int" Value="5"/>
<leftMargin Type="int" Value="5"/> <leftMargin Type="int" Value="5"/>
<pageOrientation Type="enumAndFlags" Value="0"/> <pageOrientation Type="enumAndFlags" Value="0"/>
<pageSize Type="enumAndFlags" Value="0"/> <pageSize Type="enumAndFlags" Value="0"/>
<gridStep Type="int" Value="2"/> <gridStep Type="int" Value="1"/>
<fullPage Type="bool" Value="0"/> <fullPage Type="bool" Value="0"/>
<oldPrintMode Type="bool" Value="0"/> <oldPrintMode Type="bool" Value="0"/>
<resetPageNumber Type="bool" Value="0"/> <resetPageNumber Type="bool" Value="0"/>
<isExtendedInDesignMode Type="bool" Value="0"/>
<extendedHeight Type="int" Value="1000"/>
<pageIsTOC Type="bool" Value="0"/>
<setPageSizeToPrinter Type="bool" Value="0"/>
<endlessHeight Type="bool" Value="0"/>
<printable Type="bool" Value="1"/>
<printerName Type="QString"></printerName>
<units Type="enumAndFlags" Value="0"/>
<printBehavior Type="enumAndFlags" Value="1"/>
<dropPrinterMargins Type="bool" Value="0"/>
<notPrintIfEmpty Type="bool" Value="0"/>
<mixWithPriorPage Type="bool" Value="0"/>
</pageItem> </pageItem>
</item> </item>
</pages> </pages>
<datasourcesManager Type="Object" ClassName="LimeReport::DataSourceManager"> <datasourcesManager ClassName="LimeReport::DataSourceManager" Type="Object">
<objectName Type="QString">datasources</objectName> <objectName Type="QString">datasources</objectName>
<connections Type="Collection"> <connections Type="Collection">
<item Type="Object" ClassName="LimeReport::ConnectionDesc"> <item ClassName="LimeReport::ConnectionDesc" Type="Object">
<objectName Type="QString"></objectName> <objectName Type="QString"></objectName>
<name Type="QString">db</name> <name Type="QString">db</name>
<driver Type="QString">QSQLITE</driver> <driver Type="QString">QSQLITE</driver>
<databaseName Type="QString">./demo_reports/northwind.db</databaseName> <databaseName Type="QString">/home/alex/Work/C++/Projects/LimeReport/demo_r1/demo_reports/northwind.db</databaseName>
<userName Type="QString"></userName> <userName Type="QString"></userName>
<password Type="QString" Value=""/> <password Type="QString" Value=""/>
<host Type="QString"></host> <host Type="QString"></host>
<autoconnect Type="bool" Value="1"/> <autoconnect Type="bool" Value="1"/>
<keepDBCredentials Type="bool" Value="1"/> <keepDBCredentials Type="bool" Value="1"/>
<port Type="QString"></port>
</item> </item>
</connections> </connections>
<queries Type="Collection"> <queries Type="Collection">
<item Type="Object" ClassName="LimeReport::QueryDesc"> <item ClassName="LimeReport::QueryDesc" Type="Object">
<objectName Type="QString"></objectName> <objectName Type="QString"></objectName>
<queryName Type="QString">master</queryName> <queryName Type="QString">master</queryName>
<queryText Type="QString">Select * from customers limit 5</queryText> <queryText Type="QString">Select * from customers limit 5</queryText>
@ -272,24 +340,26 @@ if ( $D{master.CustomerID} == "ALFKI") THIS.fontColor=QColor("red");""}$D{master
<subqueries Type="Collection"/> <subqueries Type="Collection"/>
<subproxies Type="Collection"/> <subproxies Type="Collection"/>
<variables Type="Collection"/> <variables Type="Collection"/>
<csvs Type="Collection"/>
</datasourcesManager> </datasourcesManager>
<scriptContext Type="Object" ClassName="LimeReport::ScriptEngineContext"> <scriptContext ClassName="LimeReport::ScriptEngineContext" Type="Object">
<objectName Type="QString"></objectName> <objectName Type="QString"></objectName>
<dialogs Type="Collection"/> <dialogs Type="Collection"/>
<initScript Type="QString">SubDetailBand1.afterData.connect(SB1AfterData); <initScript Type="QString">ReportPage1_SubDetailBand1.afterData.connect(SB1AfterData);
function SB1AfterData(){ function SB1AfterData(){
if (getField("master.CustomerID")=="ALFKI") { if (getField("master.CustomerID")=="ALFKI") {
SubDetailBand1.isVisible = false; SubDetailBand1.isVisible = false;
TextItem2.fontColor = QColor("red"); TextItem2.fontColor = LimeReport.color("red");
TextItem1.content = "sub band is not visible" TextItem1.content = "sub band is not visible"
} else { } else {
TextItem5.fontColor = QColor("red"); TextItem5.fontColor = LimeReport.color("red");
TextItem1.content = "sub band is visible" TextItem1.content = "sub band is visible"
} }
} }
</initScript> </initScript>
</scriptContext> </scriptContext>
<suppressFieldAndVarError Type="bool" Value="0"/> <suppressFieldAndVarError Type="bool" Value="0"/>
<translation Type="Translation"/>
</object> </object>
</Report> </Report>

View File

@ -606,7 +606,7 @@ BandDesignIntf* ReportRender::renderBand(BandDesignIntf *patternBand, BandDesign
if (patternBand->isFooter()) if (patternBand->isFooter())
m_lastRenderedFooter = patternBand; m_lastRenderedFooter = patternBand;
bandClone->setBackgroundColor(makeBackgroundColor(patternBand)); bandClone->setBackgroundColor(makeBackgroundColor(bandClone));
patternBand->emitBandRendered(bandClone); patternBand->emitBandRendered(bandClone);
m_scriptEngineContext->setCurrentBand(bandClone); m_scriptEngineContext->setCurrentBand(bandClone);