<?xml version="1.0" encoding="utf-8" standalone="yes"?><root type="PerpetuumSoft.Reporting.DOM.Document" id="1" version="2" Name="celldouble_A4" IsTemplate="true" Title="Этикетка балки (двойная)" DocumentGuid="ca340eea-798b-4c9c-bae3-eae23b83ea6b" MetricUnit="Millimeter" CommonScript="string Side;" ScriptLanguage="CSharp" GridStep="11.8110237"><Parameters type="PerpetuumSoft.Reporting.DOM.ParameterCollection" id="2" /><PageContent type="PerpetuumSoft.Reporting.DOM.Wrappers.ContentParametersDictionary" id="3" /><Pages type="PerpetuumSoft.Reporting.DOM.PageCollection" id="4"><Item type="PerpetuumSoft.Reporting.DOM.Page" id="5" Margins="35.43307; 35.43307; 59.05512; 59.05512" Size="2480.315;3507.874" StyleName="Normal" CustomSize="2480.315;3507.874" Name="page" Location="0;0" PaperKind="Custom"><DataBindings type="PerpetuumSoft.Reporting.DOM.ReportDataBindingCollection" id="6" /><Controls type="PerpetuumSoft.Reporting.DOM.ReportControlCollection" id="7"><Item type="PerpetuumSoft.Reporting.DOM.DataBand" id="8" Location="0;94.488189697265625" Size="2480.315;1535.4329833984375" Name="data" ColumnsGap="0" DataSource="DATA" GenerateScript="if(data[&quot;SIDE&quot;] != null &amp;&amp; data[&quot;SIDE&quot;].ToString().ToUpper() == &quot;RIGHT&quot;)&#xD;&#xA;{&#xD;&#xA; Side = &quot;321&quot;;&#xD;&#xA;}&#xD;&#xA;else&#xD;&#xA;{&#xD;&#xA; Side = &quot;123&quot;;&#xD;&#xA;}"><Sort type="PerpetuumSoft.Reporting.DOM.DataBandSortCollection" id="9" /><Controls type="PerpetuumSoft.Reporting.DOM.ReportControlCollection" id="10"><Item type="PerpetuumSoft.Reporting.DOM.Detail" id="11" Location="0;59.055118560791016" Size="2480.315;5.9055118560791016" Name="detailtop"><DataBindings type="PerpetuumSoft.Reporting.DOM.ReportDataBindingCollection" id="12" /><Controls type="PerpetuumSoft.Reporting.DOM.ReportControlCollection" id="13"><Item type="PerpetuumSoft.Reporting.DOM.Shape" id="14" Line="0 None Black" Name="topDelimiter" Location="0;0" Size="2480.31494140625;5.9055118560791016"><DataBindings type="PerpetuumSoft.Reporting.DOM.ReportDataBindingCollection" id="15"><Item type="PerpetuumSoft.Reporting.DOM.ReportDataBinding" id="16" Expression="&quot;#Ячейка &quot; + data[&quot;CODE&quot;]" PropertyName="Bookmark" /></DataBindings><Fill type="PerpetuumSoft.Framework.Drawing.HatchFill" id="17" Style="DarkVertical" /><ShapeStyle type="PerpetuumSoft.Framework.Drawing.RectangleShape" id="18" /></Item></Controls><Aggregates type="PerpetuumSoft.Reporting.DOM.AggregateCollection" id="19" /></Item><Item type="PerpetuumSoft.Reporting.DOM.DataBand" id="20" Location="0;129.92129516601563" Size="2480.315;1334.64599609375" Name="repeater" InstanceCount="1" ColumnsGap="0" GenerateScript="string cellCode = data[&quot;CODE&quot;].ToString();&#xD;&#xA;if(cellCode == null || cellCode.Length &lt; 1) return;&#xD;&#xA;string cellLevel = cellCode.Substring(cellCode.Length-1);&#xD;&#xA;int level = 0;&#xD;&#xA;try&#xD;&#xA;{&#xD;&#xA;  level = int.Parse(cellLevel);&#xD;&#xA;} catch(Exception) &#xD;&#xA;{&#xD;&#xA;}&#xD;&#xA;for(int ix = 0; ix &lt; 5; ix++) &#xD;&#xA;{&#xD;&#xA;  ReportControl ctlUp = detail.ControlByName(&quot;au&quot; + ix);&#xD;&#xA;  if(ctlUp != null) &#xD;&#xA;  {&#xD;&#xA;    ctlUp.Visible = (ix &lt; level);&#xD;&#xA;  }&#xD;&#xA;  ReportControl ctlBottom = detail.ControlByName(&quot;ab&quot; + ix);&#xD;&#xA;  if(ctlBottom != null) &#xD;&#xA;  {&#xD;&#xA;    ctlBottom.Visible = (ix &lt; level);&#xD;&#xA;  }&#xD;&#xA;}&#xD;&#xA;abDown.Visible = (level == 1);"><Sort type="PerpetuumSoft.Reporting.DOM.DataBandSortCollection" id="21" /><Controls type="PerpetuumSoft.Reporting.DOM.ReportControlCollection" id="22"><Item type="PerpetuumSoft.Reporting.DOM.Detail" id="23" Location="0;59.055118560791016" Size="2480.315;1122.0469970703125" Name="detail"><DataBindings type="PerpetuumSoft.Reporting.DOM.ReportDataBindingCollection" id="24" /><Controls type="PerpetuumSoft.Reporting.DOM.ReportControlCollection" id="25"><Item type="PerpetuumSoft.Reporting.DOM.Shape" id="26" Line="0 Solid Black" Name="border_left" Location="118.11019897460938;0" Size="59.055118560791016;1122.0469970703125"><DataBindings type="PerpetuumSoft.Reporting.DOM.ReportDataBindingCollection" id="27" /><Fill type="PerpetuumSoft.Framework.Drawing.SolidFill" id="28" Color="Black" /><ShapeStyle type="PerpetuumSoft.Framework.Drawing.RectangleShape" id="29" /></Item><Item type="PerpetuumSoft.Reporting.DOM.Shape" id="30" Line="0 Solid Black" Name="border_right" Location="2303.14990234375;0" Size="59.055118560791016;1122.0469970703125"><DataBindings type="PerpetuumSoft.Reporting.DOM.ReportDataBindingCollection" id="31" /><Fill type="PerpetuumSoft.Framework.Drawing.SolidFill" id="32" Color="Black" /><ShapeStyle type="PerpetuumSoft.Framework.Drawing.RectangleShape" id="33" /></Item><Item type="PerpetuumSoft.Reporting.DOM.TextBox" id="34" Location="59.055118560791016;47.244091033935547" Size="177.1654052734375;106.29920196533203" Name="digit_topleft" StyleName="CONTROLDIGIT" ExportAsPictureInXaml="false"><DataBindings type="PerpetuumSoft.Reporting.DOM.ReportDataBindingCollection" id="35"><Item type="PerpetuumSoft.Reporting.DOM.ReportDataBinding" id="36" Expression="data[&quot;CONTROLDIGITTOP&quot;]" PropertyName="Value" /></DataBindings></Item><Item type="PerpetuumSoft.Reporting.DOM.TextBox" id="37" Location="2244.093994140625;47.244091033935547" Size="177.1654052734375;106.29920196533203" Name="digit_topright" StyleName="CONTROLDIGIT" ExportAsPictureInXaml="false"><DataBindings type="PerpetuumSoft.Reporting.DOM.ReportDataBindingCollection" id="38"><Item type="PerpetuumSoft.Reporting.DOM.ReportDataBinding" id="39" Expression="data[&quot;CONTROLDIGITTOP&quot;]" PropertyName="Value" /></DataBindings></Item><Item type="PerpetuumSoft.Reporting.DOM.TextBox" id="40" Location="59.055118560791016;968.5040283203125" Size="177.1654052734375;106.29920196533203" Name="digit_bottomleft" StyleName="CONTROLDIGIT" ExportAsPictureInXaml="false"><DataBindings type="PerpetuumSoft.Reporting.DOM.ReportDataBindingCollection" id="41"><Item type="PerpetuumSoft.Reporting.DOM.ReportDataBinding" id="42" Expression="data[&quot;CONTROLDIGIT&quot;]" PropertyName="Value" /></DataBindings></Item><Item type="PerpetuumSoft.Reporting.DOM.TextBox" id="43" Location="2244.093994140625;968.5040283203125" Size="177.1654052734375;106.29920196533203" Name="digit_bottomright" StyleName="CONTROLDIGIT" ExportAsPictureInXaml="false"><DataBindings type="PerpetuumSoft.Reporting.DOM.ReportDataBindingCollection" id="44"><Item type="PerpetuumSoft.Reporting.DOM.ReportDataBinding" id="45" Expression="data[&quot;CONTROLDIGIT&quot;]" PropertyName="Value" /></DataBindings></Item><Item type="PerpetuumSoft.Reporting.DOM.BarCode" id="46" Location="1169.291015625;47.244091033935547" ShowLabel="false" Size="1074.802978515625;448.81890869140625" CodeType="Code128A" Margins="0; 0; 59.05512; 59.05512" Name="code_top" BarPoint="0" ExportAsPictureInXaml="false"><DataBindings type="PerpetuumSoft.Reporting.DOM.ReportDataBindingCollection" id="47"><Item type="PerpetuumSoft.Reporting.DOM.ReportDataBinding" id="48" Expression="string.Concat(data[&quot;PREFIX&quot;], data[&quot;CODETOP&quot;])" PropertyName="Code" /><Item type="PerpetuumSoft.Reporting.DOM.ReportDataBinding" id="49" Expression="(data[&quot;CODETOP&quot;] != null &amp;&amp; data[&quot;CODETOP&quot;]!= DBNull.Value)" PropertyName="Visible" /></DataBindings></Item><Item type="PerpetuumSoft.Reporting.DOM.BarCode" id="50" Location="236.22050476074219;625.98431396484375" ShowLabel="false" Code="21XX-00-00-00" Size="1074.802978515625;448.81890869140625" CodeType="Code128A" Margins="0; 0; 59.05512; 59.05512" Name="code_bottom" BarPoint="0" ExportAsPictureInXaml="false"><DataBindings type="PerpetuumSoft.Reporting.DOM.ReportDataBindingCollection" id="51"><Item type="PerpetuumSoft.Reporting.DOM.ReportDataBinding" id="52" Expression="string.Concat(data[&quot;PREFIX&quot;], data[&quot;CODE&quot;])" PropertyName="Code" /></DataBindings></Item><Item type="PerpetuumSoft.Reporting.DOM.TextBox" id="53" Location="165.35429382324219;248.031494140625" Size="1027.5589599609375;248.031494140625" Name="label_top" StyleName="ADDRESS" ExportAsPictureInXaml="false"><DataBindings type="PerpetuumSoft.Reporting.DOM.ReportDataBindingCollection" id="54"><Item type="PerpetuumSoft.Reporting.DOM.ReportDataBinding" id="55" Expression="data[&quot;CODETOP&quot;]" PropertyName="Value" /></DataBindings><Font type="PerpetuumSoft.Framework.Drawing.FontDescriptor" id="56" Size="39.75" Bold="On" FamilyName="Arial" /></Item><Item type="PerpetuumSoft.Reporting.DOM.TextBox" id="57" Location="1287.4019775390625;625.98431396484375" Size="1027.5589599609375;248.031494140625" Name="label_bottom" StyleName="ADDRESS" ExportAsPictureInXaml="false"><DataBindings type="PerpetuumSoft.Reporting.DOM.ReportDataBindingCollection" id="58"><Item type="PerpetuumSoft.Reporting.DOM.ReportDataBinding" id="59" Expression="data[&quot;CODE&quot;]" PropertyName="Value" /></DataBindings><Font type="PerpetuumSoft.Framework.Drawing.FontDescriptor" id="60" Size="39.75" Bold="On" FamilyName="Arial" /></Item><Item type="PerpetuumSoft.Reporting.DOM.Shape" id="61" Line="0 Solid Black" Name="au2" Location="625.98431396484375;35.433071136474609" Size="165.35429382324219;165.35429382324219"><DataBindings type="PerpetuumSoft.Reporting.DOM.ReportDataBindingCollection" id="62" /><Fill type="PerpetuumSoft.Framework.Drawing.SolidFill" id="63" Color="Black" /><ShapeStyle type="PerpetuumSoft.Framework.Drawing.ArrowShape" id="64" Direction="Up" /></Item><Item type="PerpetuumSoft.Reporting.DOM.Shape" id="65" Line="0 Solid Black" Name="au1" Location="437.00790405273438;35.433071136474609" Size="165.35429382324219;165.35429382324219"><DataBindings type="PerpetuumSoft.Reporting.DOM.ReportDataBindingCollection" id="66" /><Fill type="PerpetuumSoft.Framework.Drawing.SolidFill" id="67" Color="Black" /><ShapeStyle type="PerpetuumSoft.Framework.Drawing.ArrowShape" id="68" Direction="Up" /></Item><Item type="PerpetuumSoft.Reporting.DOM.Shape" id="69" Line="0 Solid Black" Name="ab3" Location="1677.1650390625;921.25982666015625" Size="165.35429382324219;165.35429382324219"><DataBindings type="PerpetuumSoft.Reporting.DOM.ReportDataBindingCollection" id="70" /><Fill type="PerpetuumSoft.Framework.Drawing.SolidFill" id="71" Color="Black" /><ShapeStyle type="PerpetuumSoft.Framework.Drawing.ArrowShape" id="72" Direction="Up" /></Item><Item type="PerpetuumSoft.Reporting.DOM.Shape" id="73" Line="0 Solid Black" Name="ab1" Location="2055.117919921875;921.25982666015625" Size="165.35429382324219;165.35429382324219"><DataBindings type="PerpetuumSoft.Reporting.DOM.ReportDataBindingCollection" id="74" /><Fill type="PerpetuumSoft.Framework.Drawing.SolidFill" id="75" Color="Black" /><ShapeStyle type="PerpetuumSoft.Framework.Drawing.ArrowShape" id="76" Direction="Up" /></Item><Item type="PerpetuumSoft.Reporting.DOM.Shape" id="77" Line="1 None Black" Name="shape1" Location="177.1654052734375;543.30712890625" Size="2125.98388671875;35.433071136474609"><DataBindings type="PerpetuumSoft.Reporting.DOM.ReportDataBindingCollection" id="78" /><Fill type="PerpetuumSoft.Framework.Drawing.HatchFill" id="79" Style="NarrowHorizontal" /><ShapeStyle type="PerpetuumSoft.Framework.Drawing.RectangleShape" id="80" /></Item><Item type="PerpetuumSoft.Reporting.DOM.Shape" id="81" Line="0 Solid Black" Name="ab2" Location="1866.1419677734375;921.25982666015625" Size="165.35429382324219;165.35429382324219"><DataBindings type="PerpetuumSoft.Reporting.DOM.ReportDataBindingCollection" id="82" /><Fill type="PerpetuumSoft.Framework.Drawing.SolidFill" id="83" Color="Black" /><ShapeStyle type="PerpetuumSoft.Framework.Drawing.ArrowShape" id="84" Direction="Up" /></Item><Item type="PerpetuumSoft.Reporting.DOM.Shape" id="85" Line="0 Solid Black" Name="au3" Location="814.9605712890625;35.433071136474609" Size="165.35429382324219;165.35429382324219"><DataBindings type="PerpetuumSoft.Reporting.DOM.ReportDataBindingCollection" id="86" /><Fill type="PerpetuumSoft.Framework.Drawing.SolidFill" id="87" Color="Black" /><ShapeStyle type="PerpetuumSoft.Framework.Drawing.ArrowShape" id="88" Direction="Up" /></Item><Item type="PerpetuumSoft.Reporting.DOM.Shape" id="89" Line="0 Solid Black" Name="au0" Location="248.031494140625;35.433071136474609" Size="165.35429382324219;165.35429382324219"><DataBindings type="PerpetuumSoft.Reporting.DOM.ReportDataBindingCollection" id="90" /><Fill type="PerpetuumSoft.Framework.Drawing.SolidFill" id="91" Color="Black" /><ShapeStyle type="PerpetuumSoft.Framework.Drawing.ArrowShape" id="92" Direction="Up" /></Item><Item type="PerpetuumSoft.Reporting.DOM.Shape" id="93" Line="0 Solid Black" Name="au4" Location="1003.93701171875;35.433071136474609" Size="165.35429382324219;165.35429382324219"><DataBindings type="PerpetuumSoft.Reporting.DOM.ReportDataBindingCollection" id="94" /><Fill type="PerpetuumSoft.Framework.Drawing.SolidFill" id="95" Color="Black" /><ShapeStyle type="PerpetuumSoft.Framework.Drawing.ArrowShape" id="96" Direction="Up" /></Item><Item type="PerpetuumSoft.Reporting.DOM.Shape" id="97" Line="0 Solid Black" Name="ab4" Location="1488.18896484375;921.25982666015625" Size="165.35429382324219;165.35429382324219"><DataBindings type="PerpetuumSoft.Reporting.DOM.ReportDataBindingCollection" id="98" /><Fill type="PerpetuumSoft.Framework.Drawing.SolidFill" id="99" Color="Black" /><ShapeStyle type="PerpetuumSoft.Framework.Drawing.ArrowShape" id="100" Direction="Up" /></Item><Item type="PerpetuumSoft.Reporting.DOM.Shape" id="101" Line="0 Solid Black" Name="abDown" Location="2055.117919921875;921.25982666015625" Size="165.35429382324219;165.35429382324219"><DataBindings type="PerpetuumSoft.Reporting.DOM.ReportDataBindingCollection" id="102" /><Fill type="PerpetuumSoft.Framework.Drawing.SolidFill" id="103" Color="Black" /><ShapeStyle type="PerpetuumSoft.Framework.Drawing.ArrowShape" id="104" Direction="Down" /></Item></Controls><Aggregates type="PerpetuumSoft.Reporting.DOM.AggregateCollection" id="105" /></Item><Item type="PerpetuumSoft.Reporting.DOM.Detail" id="106" Location="0;1251.968994140625" Size="2480.315;5.9055118560791016" Name="detailbottom"><DataBindings type="PerpetuumSoft.Reporting.DOM.ReportDataBindingCollection" id="107" /><Controls type="PerpetuumSoft.Reporting.DOM.ReportControlCollection" id="108"><Item type="PerpetuumSoft.Reporting.DOM.Shape" id="109" Line="0 None Black" Name="delimiter" Location="0;0" Size="2480.31494140625;5.9055118560791016"><DataBindings type="PerpetuumSoft.Reporting.DOM.ReportDataBindingCollection" id="110" /><Fill type="PerpetuumSoft.Framework.Drawing.HatchFill" id="111" Style="DarkVertical" /><ShapeStyle type="PerpetuumSoft.Framework.Drawing.RectangleShape" id="112" /></Item></Controls><Aggregates type="PerpetuumSoft.Reporting.DOM.AggregateCollection" id="113" /></Item></Controls><DataBindings type="PerpetuumSoft.Reporting.DOM.ReportDataBindingCollection" id="114" /><Totals type="PerpetuumSoft.Reporting.DOM.DataBandTotalCollection" id="115" /><Aggregates type="PerpetuumSoft.Reporting.DOM.AggregateCollection" id="116" /></Item></Controls><DataBindings type="PerpetuumSoft.Reporting.DOM.ReportDataBindingCollection" id="117" /><Totals type="PerpetuumSoft.Reporting.DOM.DataBandTotalCollection" id="118" /><Aggregates type="PerpetuumSoft.Reporting.DOM.AggregateCollection" id="119" /></Item></Controls></Item></Pages><DataSources type="PerpetuumSoft.Reporting.Data.DocumentDataSourceCollection" id="120" /><StyleSheet type="PerpetuumSoft.Reporting.DOM.StyleSheet" id="121" Title="normal"><Styles type="PerpetuumSoft.Reporting.DOM.StyleCollection" id="122"><Item type="PerpetuumSoft.Reporting.DOM.Style" id="123" Name="CONTROLDIGIT"><Font type="PerpetuumSoft.Framework.Drawing.FontDescriptor" id="124" Size="18" FamilyName="Arial" /><Fill type="PerpetuumSoft.Framework.Drawing.SolidFill" id="125" /></Item><Item type="PerpetuumSoft.Reporting.DOM.Style" id="126" Name="ADDADDRESS"><Font type="PerpetuumSoft.Framework.Drawing.FontDescriptor" id="127" Size="36" Bold="On" FamilyName="Arial" /><Border type="PerpetuumSoft.Framework.Drawing.Border" id="128" All="1 Solid Black" /></Item><Item type="PerpetuumSoft.Reporting.DOM.Style" id="129" Name="ADDRESS"><Font type="PerpetuumSoft.Framework.Drawing.FontDescriptor" id="130" Size="44.25" Bold="On" FamilyName="Arial Narrow" /></Item></Styles></StyleSheet></root>