Files
lux/TestDevExpress/Components/Reports/TestReport.repx
T
2026-03-31 16:57:47 +02:00

168 lines
16 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<XtraReportsLayoutSerializer SerializerVersion="25.2.5.0" Ref="1" ControlType="DevExpress.XtraReports.UI.XtraReport, DevExpress.XtraReports.v25.2, Version=25.2.5.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" Name="TestReport" Dpi="96" SnapGridSize="12.5" Bookmark="Details for Customer Order" ReportUnit="Pixels" Margins="72, 72, 72, 72" PageWidthF="816" PageHeightF="1056" Version="25.2" FilterString="[OrderID] = ?orderID" DataMember="OrderDetailsExtended" DataSource="#Ref-0">
<Parameters>
<Item1 Ref="4" Description="OrderID" ValueSourceSettings="#Ref-2" ValueInfo="0" Name="orderID" Type="#Ref-3" />
</Parameters>
<CalculatedFields>
<Item1 Ref="5" Name="isRegularPriceProduct" FieldType="Boolean" Expression="[UnitPrice]&lt;10" DataMember="OrderDetailsExtended" />
</CalculatedFields>
<Bands>
<Item1 Ref="6" ControlType="DetailBand" Name="Detail" Dpi="96" HeightF="90" KeepTogether="true" TextAlignment="TopRight" EvenStyleName="EvenStyle" OddStyleName="OddStyle" Padding="0,0,0,0,96" Borders="Bottom">
<HierarchyPrintOptions Ref="7" Indent="19.2" />
<Controls>
<Item1 Ref="8" ControlType="XRTable" Name="xrTable1" Dpi="96" SizeF="671.7,90" LocationFloat="0.3000488,0" Padding="2,2,0,0,96">
<Rows>
<Item1 Ref="9" ControlType="XRTableRow" Name="xrTableRow1" Dpi="96" Weight="33.541666666666664">
<Cells>
<Item1 Ref="11" ControlType="XRTableCell" Name="xrTableCell1" Dpi="96" Weight="1.7094017746102095" Multiline="true" Text="xrTableCell1" TextAlignment="BottomLeft" Bookmark="[ProductName]" BookmarkParent="#Ref-10" Font="Arial, 9.75pt, style=Bold" Padding="15,5,0,2,96" Borders="None">
<ExpressionBindings>
<Item1 Ref="12" EventName="BeforePrint" PropertyName="Text" Expression="[ProductName]" />
<Item2 Ref="13" EventName="BeforePrint" PropertyName="Bookmark" Expression="[ProductName]" />
</ExpressionBindings>
<StylePriority Ref="14" UseFont="false" UsePadding="false" UseBorders="false" UseTextAlignment="false" />
</Item1>
<Item2 Ref="15" ControlType="XRTableCell" Name="xrTableCell2" Dpi="96" Weight="0.50000042385525179" RowSpan="2" TextFormatString="{0:$#,##.00}" Multiline="true" Text="xrTableCell2" TextAlignment="TopRight" Font="Arial, 9.75pt" Padding="2,15,15,0,96">
<ExpressionBindings>
<Item1 Ref="16" EventName="BeforePrint" PropertyName="Text" Expression="[UnitPrice]" />
</ExpressionBindings>
<StylePriority Ref="17" UseFont="false" UsePadding="false" />
</Item2>
<Item3 Ref="18" ControlType="XRTableCell" Name="xrTableCell3" Dpi="96" Weight="0.43696475232768278" RowSpan="2" Multiline="true" Text="xrTableCell3" TextAlignment="TopRight" Font="Arial, 9.75pt" Padding="2,15,15,0,96">
<ExpressionBindings>
<Item1 Ref="19" EventName="BeforePrint" PropertyName="Text" Expression="[Quantity]" />
</ExpressionBindings>
<StylePriority Ref="20" UseFont="false" UsePadding="false" />
</Item3>
<Item4 Ref="21" ControlType="XRTableCell" Name="xrTableCell4" Dpi="96" Weight="0.44230793683956826" RowSpan="2" TextFormatString="{0:0%}" Multiline="true" Text="xrTableCell4" TextAlignment="TopRight" Font="Arial, 9.75pt" Padding="2,15,15,0,96">
<ExpressionBindings>
<Item1 Ref="22" EventName="BeforePrint" PropertyName="Text" Expression="[Discount]" />
</ExpressionBindings>
<StylePriority Ref="23" UseFont="false" UsePadding="false" />
</Item4>
<Item5 Ref="24" ControlType="XRTableCell" Name="xrTableCell5" Dpi="96" Weight="0.49946587717431218" RowSpan="2" TextFormatString="{0:#.00}" Multiline="true" Text="xrTableCell5" Font="Arial, 9.75pt" Padding="2,15,15,0,96">
<ExpressionBindings>
<Item1 Ref="25" EventName="BeforePrint" PropertyName="Text" Expression="[ExtendedPrice]" />
</ExpressionBindings>
<StylePriority Ref="26" UseFont="false" UsePadding="false" />
</Item5>
</Cells>
</Item1>
<Item2 Ref="27" ControlType="XRTableRow" Name="xrTableRow2" Dpi="96" Weight="52.708333333333336">
<Cells>
<Item1 Ref="28" ControlType="XRTableCell" Name="xrTableCell6" Dpi="96" Weight="1.7094017746102095" CanGrow="false" Multiline="true" TextFitMode="ShrinkOnly" Text="xrTableCell6" TextAlignment="TopLeft" Font="Arial, 9.75pt" Padding="15,5,0,10,96">
<ExpressionBindings>
<Item1 Ref="29" EventName="BeforePrint" PropertyName="Text" Expression="[Supplier]" />
</ExpressionBindings>
<StylePriority Ref="30" UseFont="false" UsePadding="false" UseTextAlignment="false" />
</Item1>
<Item2 Ref="31" ControlType="XRTableCell" Name="xrTableCell7" Dpi="96" Weight="0.50000042385525179" Multiline="true" Text="xrTableCell7" TextAlignment="TopRight" />
<Item3 Ref="32" ControlType="XRTableCell" Name="xrTableCell8" Dpi="96" Weight="0.43696475232768278" Multiline="true" Text="xrTableCell8" TextAlignment="TopRight" />
<Item4 Ref="33" ControlType="XRTableCell" Name="xrTableCell9" Dpi="96" Weight="0.44230793683956826" Multiline="true" Text="xrTableCell9" TextAlignment="TopRight" />
<Item5 Ref="34" ControlType="XRTableCell" Name="xrTableCell10" Dpi="96" Weight="0.49946587717431218" Multiline="true" Text="xrTableCell10" />
</Cells>
</Item2>
</Rows>
</Item1>
</Controls>
<StylePriority Ref="35" UseBorders="false" UseTextAlignment="false" />
</Item1>
<Item2 Ref="36" ControlType="TopMarginBand" Name="TopMargin" Dpi="96" HeightF="72" TextAlignment="TopLeft" Padding="0,0,0,0,96" />
<Item3 Ref="37" ControlType="BottomMarginBand" Name="BottomMargin" Dpi="96" HeightF="72" TextAlignment="TopLeft" Padding="0,0,0,0,96" />
<Item4 Ref="38" ControlType="GroupHeaderBand" Name="GroupHeader1" Dpi="96" RepeatEveryPage="true" Level="1" HeightF="109" StyleName="HeaderStyle" Font="Arial, 9.75pt, style=Bold" Borders="Top, Bottom">
<Controls>
<Item1 Ref="39" ControlType="XRPageInfo" Name="xrPageInfo2" Dpi="96" PageInfo="DateTime" TextFormatString="{0:d MMMM yyyy HH:mm}" TextAlignment="MiddleLeft" SizeF="425.5,30.08003" LocationFloat="0,35" Font="Segoe UI, 10pt, style=Bold" ForeColor="Black" BackColor="Transparent" Padding="2,2,0,0,96">
<StylePriority Ref="40" UseFont="false" UseForeColor="false" UseBackColor="false" UseTextAlignment="false" />
</Item1>
<Item2 Ref="41" ControlType="XRPageInfo" Name="xrPageInfo1" Dpi="96" TextFormatString="Page {0} of {1}" TextAlignment="MiddleRight" SizeF="100,35" LocationFloat="572,0" Font="Segoe UI, 10pt, style=Bold" ForeColor="Black" BackColor="Transparent" Padding="2,15,0,0,96" Borders="None">
<StylePriority Ref="42" UseFont="false" UseForeColor="false" UseBackColor="false" UsePadding="false" UseBorders="false" UseTextAlignment="false" />
</Item2>
<Item3 Ref="10" ControlType="XRLabel" Name="he" Dpi="96" TextFormatString="Details for Customer Order # {0}" Multiline="true" Text="he" SizeF="425.5,35" LocationFloat="0,0" Font="Arial, 18pt, style=Bold" ForeColor="Black" BackColor="Transparent" Padding="2,2,0,0,96" Borders="None">
<ExpressionBindings>
<Item1 Ref="43" EventName="BeforePrint" PropertyName="Text" Expression="[OrderID]" />
<Item2 Ref="44" EventName="BeforePrint" PropertyName="Bookmark" Expression="iif([isRegularPriceProduct],&#xA; 'Products with Regular Price (less than $10)',&#xA; 'Expensive Products ($10 or greater)')" />
</ExpressionBindings>
<StylePriority Ref="45" UseFont="false" UseForeColor="false" UseBackColor="false" UseBorders="false" />
</Item3>
<Item4 Ref="46" ControlType="XRTable" Name="xrTable2" Dpi="96" SizeF="671.7,24" LocationFloat="0,65.08002" Padding="2,2,0,0,96">
<Rows>
<Item1 Ref="47" ControlType="XRTableRow" Name="xrTableRow3" Dpi="96" Weight="23">
<Cells>
<Item1 Ref="48" ControlType="XRTableCell" Name="xrTableCell11" Dpi="96" Weight="1.191592466263544" Multiline="true" Text="Product Name" TextAlignment="MiddleLeft" Padding="15,5,0,0,96">
<StylePriority Ref="49" UsePadding="false" UseTextAlignment="false" />
</Item1>
<Item2 Ref="50" ControlType="XRTableCell" Name="xrTableCell12" Dpi="96" Weight="0.3482146717253185" Multiline="true" Text="Unit Price" TextAlignment="MiddleRight" Padding="0,15,0,0,96">
<StylePriority Ref="51" UsePadding="false" UseTextAlignment="false" />
</Item2>
<Item3 Ref="52" ControlType="XRTableCell" Name="xrTableCell13" Dpi="96" Weight="0.30431477228800463" Multiline="true" Text="Quantity" TextAlignment="MiddleRight" Padding="0,15,0,0,96">
<StylePriority Ref="53" UsePadding="false" UseTextAlignment="false" />
</Item3>
<Item4 Ref="54" ControlType="XRTableCell" Name="xrTableCell14" Dpi="96" Weight="0.30803591864449636" Multiline="true" Text="Discount" TextAlignment="MiddleRight" Padding="0,15,0,0,96">
<StylePriority Ref="55" UsePadding="false" UseTextAlignment="false" />
</Item4>
<Item5 Ref="56" ControlType="XRTableCell" Name="xrTableCell15" Dpi="96" Weight="0.34784217107863658" Multiline="true" Text="Extended Price" TextAlignment="MiddleRight" Padding="0,15,0,0,96">
<StylePriority Ref="57" UsePadding="false" UseTextAlignment="false" />
</Item5>
</Cells>
</Item1>
</Rows>
</Item4>
</Controls>
<StylePriority Ref="58" UseFont="false" UseBorders="false" />
</Item4>
<Item5 Ref="59" ControlType="GroupHeaderBand" Name="groupHeaderBand1" Dpi="96" PageBreak="BeforeBandExceptFirstEntry" RepeatEveryPage="true" HeightF="50.00002">
<GroupFields>
<Item1 Ref="60" FieldName="isRegularPriceProduct" SortOrder="Descending" />
</GroupFields>
<Controls>
<Item1 Ref="61" ControlType="XRLabel" Name="xrLabel1" Dpi="96" Multiline="true" Text="xrLabel1" TextAlignment="MiddleLeft" SizeF="671.7,50.00002" LocationFloat="0.3000488,0" Font="Segoe UI, 16pt" Padding="15,2,0,0,96" Borders="Bottom">
<ExpressionBindings>
<Item1 Ref="62" EventName="BeforePrint" PropertyName="Text" Expression="iif([isRegularPriceProduct],&#xA; 'Products with Regular Price (less than $10)',&#xA; 'Expensive Products ($10 or greater)')" />
</ExpressionBindings>
<StylePriority Ref="63" UseFont="false" UsePadding="false" UseBorders="false" UseTextAlignment="false" />
</Item1>
</Controls>
</Item5>
<Item6 Ref="64" ControlType="GroupFooterBand" Name="groupFooterBand1" Dpi="96" RepeatEveryPage="true" HeightF="96">
<Controls>
<Item1 Ref="65" ControlType="XRLabel" Name="xrLabel3" Dpi="96" TextFormatString="Total Extended Price: {0:$0.00}" Multiline="true" Text="xrLabel3" TextAlignment="MiddleRight" SizeF="672,37.08002" LocationFloat="0,37.08002" Font="Segoe UI, 12pt" Padding="2,15,0,0,96">
<Summary Ref="66" Running="Group" />
<ExpressionBindings>
<Item1 Ref="67" EventName="BeforePrint" PropertyName="Text" Expression="sumSum([ExtendedPrice])" />
</ExpressionBindings>
<StylePriority Ref="68" UseFont="false" UsePadding="false" UseTextAlignment="false" />
</Item1>
<Item2 Ref="69" ControlType="XRLabel" Name="xrLabel2" Dpi="96" TextFormatString="Products Count: {0}" Multiline="true" Text="xrLabel2" TextAlignment="MiddleRight" SizeF="672,37.08" LocationFloat="0,0" Font="Segoe UI, 12pt" Padding="2,15,0,0,96">
<Summary Ref="70" Running="Group" />
<ExpressionBindings>
<Item1 Ref="71" EventName="BeforePrint" PropertyName="Text" Expression="sumCount([ProductID])" />
</ExpressionBindings>
<StylePriority Ref="72" UseFont="false" UsePadding="false" UseTextAlignment="false" />
</Item2>
</Controls>
</Item6>
<Item7 Ref="73" ControlType="ReportHeaderBand" Name="ReportHeader" Dpi="96" HeightF="108.08">
<Controls>
<Item1 Ref="74" ControlType="XRTableOfContents" Name="xrTableOfContents1" Dpi="96" LocationFloat="0,0">
<Levels>
<Item1 Ref="75" Font="Segoe UI, 10pt" Padding="0,0,0,0,96" />
<Item2 Ref="76" Indent="30" Font="Segoe UI, 9pt" Padding="0,0,0,0,96" />
</Levels>
<LevelTitle Ref="77" Text="Details for Customer Order" TextAlignment="MiddleCenter" Height="40" Font="Segoe UI, 22pt" Padding="0,0,0,0,96" />
<LevelDefault Ref="78" Height="22.08" Padding="0,0,0,0,96" />
</Item1>
</Controls>
</Item7>
</Bands>
<StyleSheet>
<Item1 Ref="79" Name="HeaderStyle" BorderStyle="Inset" Padding="0,5,0,0,96" Font="Segoe UI, 8pt, style=Bold" ForeColor="White" BackColor="255,127,127,127" BorderColor="Gray" StringFormat="Near;Near;0;None;Character;GenericDefault" />
<Item2 Ref="80" Name="OddStyle" BorderStyle="Inset" Padding="5,5,0,0,96" Font="Segoe UI, 12pt" ForeColor="Black" BackColor="255,234,245,255" BorderColor="Transparent" StringFormat="Near;Near;0;None;Character;GenericDefault" />
<Item3 Ref="81" Name="EvenStyle" BorderStyle="Inset" Padding="5,5,0,0,96" Font="Segoe UI, 12pt" ForeColor="Black" BackColor="White" BorderColor="Transparent" StringFormat="Near;Near;0;None;Character;GenericDefault" />
</StyleSheet>
<ComponentStorage>
<Item1 Ref="0" ObjectType="DevExpress.DataAccess.Sql.SqlDataSource,DevExpress.DataAccess.v25.2" Name="sqlDataSource1" Base64="PFNxbERhdGFTb3VyY2UgTmFtZT0ic3FsRGF0YVNvdXJjZTEiPjxDb25uZWN0aW9uIE5hbWU9Im53aW5kIiBGcm9tQXBwQ29uZmlnPSJ0cnVlIiAvPjxRdWVyeSBUeXBlPSJTZWxlY3RRdWVyeSIgTmFtZT0iT3JkZXJEZXRhaWxzRXh0ZW5kZWQiPjxUYWJsZXM+PFRhYmxlIE5hbWU9Ik9yZGVyRGV0YWlsc0V4dGVuZGVkIiAvPjwvVGFibGVzPjxDb2x1bW5zPjxDb2x1bW4gVGFibGU9Ik9yZGVyRGV0YWlsc0V4dGVuZGVkIiBOYW1lPSJPcmRlcklEIiAvPjxDb2x1bW4gVGFibGU9Ik9yZGVyRGV0YWlsc0V4dGVuZGVkIiBOYW1lPSJQcm9kdWN0SUQiIC8+PENvbHVtbiBUYWJsZT0iT3JkZXJEZXRhaWxzRXh0ZW5kZ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1ZSIgLz48L1NxbERhdGFTb3VyY2U+" />
</ComponentStorage>
<ObjectStorage>
<Item1 Ref="2" ObjectType="DevExpress.XtraReports.Parameters.DynamicListLookUpSettings, DevExpress.Printing.v25.2.Core" DataSource="#Ref-0" DataMember="OrderDetailsExtended" ValueMember="OrderID" DisplayMember="OrderID" SortMember="OrderID" SortOrder="Ascending" />
<Item2 ObjectType="DevExpress.XtraReports.Serialization.ObjectStorageInfo, DevExpress.XtraReports.v25.2" Ref="3" Content="System.Int64" Type="System.Type" />
</ObjectStorage>
</XtraReportsLayoutSerializer>