mirror of
https://github.com/fralx/LimeReport.git
synced 2024-12-25 00:54:39 +03:00
246 lines
13 KiB
Plaintext
246 lines
13 KiB
Plaintext
<Report>
|
|
<object ClassName="LimeReport::ReportEnginePrivate" Type="Object">
|
|
<objectName Type="QString"></objectName>
|
|
<pages Type="Collection">
|
|
<item ClassName="LimeReport::PageDesignIntf" Type="Object">
|
|
<objectName Type="QString">page1</objectName>
|
|
<sceneRect x="-50" Type="QRect" y="-50" height="3070" width="2200"/>
|
|
<bspTreeDepth Type="int" Value="5"/>
|
|
<font bold="0" family="MS Shell Dlg 2" undeline="0" italic="0" Type="QFont" pointSize="8"/>
|
|
<sortCacheEnabled Type="bool" Value="0"/>
|
|
<stickyFocus Type="bool" Value="0"/>
|
|
<minimumRenderSize Type="qreal" Value="0"/>
|
|
<pageItem ClassName="PageItem" Type="Object">
|
|
<objectName Type="QString">ReportPage1</objectName>
|
|
<geometry x="0" Type="QRect" y="0" height="2970" width="2100"/>
|
|
<children Type="Collection">
|
|
<item ClassName="Data" Type="Object">
|
|
<objectName Type="QString">DataBand1</objectName>
|
|
<geometry x="50" Type="QRect" y="154" height="206" width="1000"/>
|
|
<children Type="Collection">
|
|
<item ClassName="TextItem" Type="Object">
|
|
<objectName Type="QString">TextItem1</objectName>
|
|
<geometry x="22" Type="QRect" y="26" height="50" width="250"/>
|
|
<children Type="Collection"/>
|
|
<zOrder Type="qreal" Value="0"/>
|
|
<borders Type="enumAndFlags" Value="0"/>
|
|
<parentName Type="QString">DataBand1</parentName>
|
|
<itemAlign Type="enumAndFlags" Value="4"/>
|
|
<itemLocation Type="enumAndFlags" Value="0"/>
|
|
<stretchToMaxHeight Type="bool" Value="0"/>
|
|
<content Type="QString">$D{orders.OrderID}</content>
|
|
<margin Type="int" Value="4"/>
|
|
<alignment Type="enumAndFlags" Value="33"/>
|
|
<autoWidth Type="enumAndFlags" Value="0"/>
|
|
<autoHeight Type="bool" Value="0"/>
|
|
<font bold="0" family="Arial" undeline="0" italic="0" Type="QFont" pointSize="10"/>
|
|
<backgroundOpacity Type="int" Value="100"/>
|
|
<backgroundMode Type="enumAndFlags" Value="1"/>
|
|
<backgroundColor Type="QColor" Value="#ffffff"/>
|
|
<fontColor Type="QColor" Value="#000000"/>
|
|
<angle Type="enumAndFlags" Value="0"/>
|
|
<foregroundOpacity Type="int" Value="100"/>
|
|
<trimValue Type="bool" Value="1"/>
|
|
</item>
|
|
<item ClassName="TextItem" Type="Object">
|
|
<objectName Type="QString">TextItem2</objectName>
|
|
<geometry x="284" Type="QRect" y="24" height="50" width="360"/>
|
|
<children Type="Collection"/>
|
|
<zOrder Type="qreal" Value="0"/>
|
|
<borders Type="enumAndFlags" Value="0"/>
|
|
<parentName Type="QString">DataBand1</parentName>
|
|
<itemAlign Type="enumAndFlags" Value="4"/>
|
|
<itemLocation Type="enumAndFlags" Value="0"/>
|
|
<stretchToMaxHeight Type="bool" Value="0"/>
|
|
<content Type="QString">$D{orders.OrderDate}</content>
|
|
<margin Type="int" Value="4"/>
|
|
<alignment Type="enumAndFlags" Value="33"/>
|
|
<autoWidth Type="enumAndFlags" Value="0"/>
|
|
<autoHeight Type="bool" Value="0"/>
|
|
<font bold="0" family="Arial" undeline="0" italic="0" Type="QFont" pointSize="10"/>
|
|
<backgroundOpacity Type="int" Value="100"/>
|
|
<backgroundMode Type="enumAndFlags" Value="1"/>
|
|
<backgroundColor Type="QColor" Value="#ffffff"/>
|
|
<fontColor Type="QColor" Value="#000000"/>
|
|
<angle Type="enumAndFlags" Value="0"/>
|
|
<foregroundOpacity Type="int" Value="100"/>
|
|
<trimValue Type="bool" Value="1"/>
|
|
</item>
|
|
<item ClassName="BarcodeItem" Type="Object">
|
|
<objectName Type="QString">BarcodeItem1</objectName>
|
|
<geometry x="716" Type="QRect" y="16" height="166" width="254"/>
|
|
<children Type="Collection"/>
|
|
<zOrder Type="qreal" Value="0"/>
|
|
<borders Type="enumAndFlags" Value="0"/>
|
|
<parentName Type="QString">DataBand1</parentName>
|
|
<itemAlign Type="enumAndFlags" Value="4"/>
|
|
<itemLocation Type="enumAndFlags" Value="0"/>
|
|
<stretchToMaxHeight Type="bool" Value="0"/>
|
|
<content Type="QString">$D{orders.OrderID}</content>
|
|
<barcodeType Type="enumAndFlags" Value="20"/>
|
|
<testValue Type="QString">1</testValue>
|
|
<foregroundColor Type="QColor" Value="#000000"/>
|
|
<backgroundColor Type="QColor" Value="#ffffff"/>
|
|
<whitespace Type="int" Value="10"/>
|
|
<angle Type="enumAndFlags" Value="0"/>
|
|
<barcodeWidth Type="int" Value="0"/>
|
|
<securityLevel Type="int" Value="0"/>
|
|
<pdf417CodeWords Type="int" Value="928"/>
|
|
</item>
|
|
<item ClassName="TextItem" Type="Object">
|
|
<objectName Type="QString">TextItem4</objectName>
|
|
<geometry x="20" Type="QRect" y="86" height="50" width="624"/>
|
|
<children Type="Collection"/>
|
|
<zOrder Type="qreal" Value="0"/>
|
|
<borders Type="enumAndFlags" Value="0"/>
|
|
<parentName Type="QString">DataBand1</parentName>
|
|
<itemAlign Type="enumAndFlags" Value="4"/>
|
|
<itemLocation Type="enumAndFlags" Value="0"/>
|
|
<stretchToMaxHeight Type="bool" Value="0"/>
|
|
<content Type="QString">$D{orders.ShipName}</content>
|
|
<margin Type="int" Value="4"/>
|
|
<alignment Type="enumAndFlags" Value="33"/>
|
|
<autoWidth Type="enumAndFlags" Value="0"/>
|
|
<autoHeight Type="bool" Value="0"/>
|
|
<font bold="0" family="Arial" undeline="0" italic="0" Type="QFont" pointSize="10"/>
|
|
<backgroundOpacity Type="int" Value="100"/>
|
|
<backgroundMode Type="enumAndFlags" Value="1"/>
|
|
<backgroundColor Type="QColor" Value="#ffffff"/>
|
|
<fontColor Type="QColor" Value="#000000"/>
|
|
<angle Type="enumAndFlags" Value="0"/>
|
|
<foregroundOpacity Type="int" Value="100"/>
|
|
<trimValue Type="bool" Value="1"/>
|
|
</item>
|
|
<item ClassName="TextItem" Type="Object">
|
|
<objectName Type="QString">TextItem5</objectName>
|
|
<geometry x="18" Type="QRect" y="142" height="50" width="626"/>
|
|
<children Type="Collection"/>
|
|
<zOrder Type="qreal" Value="0"/>
|
|
<borders Type="enumAndFlags" Value="0"/>
|
|
<parentName Type="QString">DataBand1</parentName>
|
|
<itemAlign Type="enumAndFlags" Value="4"/>
|
|
<itemLocation Type="enumAndFlags" Value="0"/>
|
|
<stretchToMaxHeight Type="bool" Value="0"/>
|
|
<content Type="QString">$D{orders.ShipPostalCode}</content>
|
|
<margin Type="int" Value="4"/>
|
|
<alignment Type="enumAndFlags" Value="33"/>
|
|
<autoWidth Type="enumAndFlags" Value="0"/>
|
|
<autoHeight Type="bool" Value="0"/>
|
|
<font bold="0" family="Arial" undeline="0" italic="0" Type="QFont" pointSize="10"/>
|
|
<backgroundOpacity Type="int" Value="100"/>
|
|
<backgroundMode Type="enumAndFlags" Value="1"/>
|
|
<backgroundColor Type="QColor" Value="#ffffff"/>
|
|
<fontColor Type="QColor" Value="#000000"/>
|
|
<angle Type="enumAndFlags" Value="0"/>
|
|
<foregroundOpacity Type="int" Value="100"/>
|
|
<trimValue Type="bool" Value="1"/>
|
|
</item>
|
|
</children>
|
|
<zOrder Type="qreal" Value="0"/>
|
|
<borders Type="enumAndFlags" Value="15"/>
|
|
<parentName Type="QString">ReportPage1</parentName>
|
|
<itemAlign Type="enumAndFlags" Value="4"/>
|
|
<autoHeight Type="bool" Value="1"/>
|
|
<bandIndex Type="int" Value="4"/>
|
|
<keepBottomSpace Type="bool" Value="0"/>
|
|
<parentBand Type="QString"></parentBand>
|
|
<backgroundColor Type="QColor" Value="#ffffff"/>
|
|
<printIfEmpty Type="bool" Value="0"/>
|
|
<datasource Type="QString">orders</datasource>
|
|
<keepSubdetailTogether Type="bool" Value="0"/>
|
|
<splittable Type="bool" Value="0"/>
|
|
<keepFooterTogether Type="bool" Value="0"/>
|
|
<sliceLastRow Type="bool" Value="0"/>
|
|
<columnsCount Type="int" Value="2"/>
|
|
<columnsFillDirection Type="enumAndFlags" Value="0"/>
|
|
</item>
|
|
<item ClassName="ReportHeader" Type="Object">
|
|
<objectName Type="QString">ReportHeader1</objectName>
|
|
<geometry x="50" Type="QRect" y="50" height="100" width="2000"/>
|
|
<children Type="Collection">
|
|
<item ClassName="TextItem" Type="Object">
|
|
<objectName Type="QString">TextItem3</objectName>
|
|
<geometry x="18" Type="QRect" y="28" height="50" width="1002"/>
|
|
<children Type="Collection"/>
|
|
<zOrder Type="qreal" Value="0"/>
|
|
<borders Type="enumAndFlags" Value="0"/>
|
|
<parentName Type="QString">ReportHeader1</parentName>
|
|
<itemAlign Type="enumAndFlags" Value="4"/>
|
|
<itemLocation Type="enumAndFlags" Value="0"/>
|
|
<stretchToMaxHeight Type="bool" Value="0"/>
|
|
<content Type="QString">Orders selected by condition used variable OrdersDate</content>
|
|
<margin Type="int" Value="4"/>
|
|
<alignment Type="enumAndFlags" Value="33"/>
|
|
<autoWidth Type="enumAndFlags" Value="0"/>
|
|
<autoHeight Type="bool" Value="0"/>
|
|
<font bold="0" family="Arial" undeline="0" italic="0" Type="QFont" pointSize="10"/>
|
|
<backgroundOpacity Type="int" Value="100"/>
|
|
<backgroundMode Type="enumAndFlags" Value="1"/>
|
|
<backgroundColor Type="QColor" Value="#ffffff"/>
|
|
<fontColor Type="QColor" Value="#000000"/>
|
|
<angle Type="enumAndFlags" Value="0"/>
|
|
<foregroundOpacity Type="int" Value="100"/>
|
|
<trimValue Type="bool" Value="1"/>
|
|
</item>
|
|
</children>
|
|
<zOrder Type="qreal" Value="0"/>
|
|
<borders Type="enumAndFlags" Value="0"/>
|
|
<parentName Type="QString">ReportPage1</parentName>
|
|
<itemAlign Type="enumAndFlags" Value="4"/>
|
|
<autoHeight Type="bool" Value="1"/>
|
|
<bandIndex Type="int" Value="1"/>
|
|
<keepBottomSpace Type="bool" Value="0"/>
|
|
<parentBand Type="QString"></parentBand>
|
|
<backgroundColor Type="QColor" Value="#ffffff"/>
|
|
<printIfEmpty Type="bool" Value="0"/>
|
|
<splittable Type="bool" Value="0"/>
|
|
</item>
|
|
</children>
|
|
<zOrder Type="qreal" Value="0"/>
|
|
<borders Type="enumAndFlags" Value="0"/>
|
|
<parentName Type="QString"></parentName>
|
|
<itemAlign Type="enumAndFlags" Value="4"/>
|
|
<topMargin Type="int" Value="5"/>
|
|
<bottomMargin Type="int" Value="5"/>
|
|
<rightMargin Type="int" Value="5"/>
|
|
<leftMargin Type="int" Value="5"/>
|
|
<pageOrientation Type="enumAndFlags" Value="0"/>
|
|
<pageSize Type="enumAndFlags" Value="0"/>
|
|
</pageItem>
|
|
</item>
|
|
</pages>
|
|
<datasourcesManager ClassName="LimeReport::DataSourceManager" Type="Object">
|
|
<objectName Type="QString">datasources</objectName>
|
|
<connections Type="Collection">
|
|
<item ClassName="LimeReport::ConnectionDesc" Type="Object">
|
|
<objectName Type="QString"></objectName>
|
|
<name Type="QString">northwind.db</name>
|
|
<driver Type="QString">QSQLITE</driver>
|
|
<databaseName Type="QString">./demo_reports/northwind.db</databaseName>
|
|
<userName Type="QString"></userName>
|
|
<password Type="QString" Value=""/>
|
|
<host Type="QString"></host>
|
|
<autoconnect Type="bool" Value="1"/>
|
|
</item>
|
|
</connections>
|
|
<queries Type="Collection">
|
|
<item ClassName="LimeReport::QueryDesc" Type="Object">
|
|
<objectName Type="QString"></objectName>
|
|
<queryName Type="QString">orders</queryName>
|
|
<queryText Type="QString">Select * from orders where OrderDate = $V{OrdersDate}</queryText>
|
|
<connectionName Type="QString">northwind.db</connectionName>
|
|
</item>
|
|
</queries>
|
|
<subqueries Type="Collection"/>
|
|
<subproxies Type="Collection"/>
|
|
<variables Type="Collection">
|
|
<item ClassName="LimeReport::VarDesc" Type="Object">
|
|
<objectName Type="QString"></objectName>
|
|
<name Type="QString">OrdersDate</name>
|
|
<value Type="QString">2005-03-22</value>
|
|
</item>
|
|
</variables>
|
|
</datasourcesManager>
|
|
</object>
|
|
</Report>
|