<?xml version="1.0" encoding="utf-8" standalone="yes"?><root type="PerpetuumSoft.Reporting.DOM.Document" id="1" version="2" Name="celltop_mez_95_50" IsTemplate="true" Title="Этикетка ячейки мезонин 95*50 (верхняя)" DocumentGuid="94fa6ce6-9f85-4216-9b71-19f8c3f9c3a8" MetricUnit="Millimeter" CommonScript="string sbstr1(string code){&#xD;&#xA;&#xD;&#xA;if (code != null){&#xD;&#xA; return code.Substring(0, 5);&#xD;&#xA;}&#xD;&#xA;&#xD;&#xA;return code;&#xD;&#xA;}&#xD;&#xA;&#xD;&#xA;string sbstr2(string code){&#xD;&#xA;&#xD;&#xA;if (code != null){&#xD;&#xA; return code.Substring(5);&#xD;&#xA;}&#xD;&#xA;&#xD;&#xA;return code;&#xD;&#xA;}&#xD;&#xA;&#xD;&#xA;string mySTR(string code)&#xD;&#xA;{&#xD;&#xA;return sbstr1(code)+&quot;&lt;b&gt;&quot;+sbstr2(code)+&quot;&lt;/b&gt;&quot;;&#xD;&#xA;}&#xD;&#xA;&#xD;&#xA;BarCodeType get128Type(string code)&#xD;&#xA;{&#xD;&#xA;  if(code == null || (code.Length%2) != 0)&#xD;&#xA;  {&#xD;&#xA;    return BarCodeType.Code128B;&#xD;&#xA;  }&#xD;&#xA;  for(int i = 0; i &lt; code.Length; i++)&#xD;&#xA;  {&#xD;&#xA;    if(!Char.IsDigit(code[i]))&#xD;&#xA;    {&#xD;&#xA;      return BarCodeType.Code128B;&#xD;&#xA;    }&#xD;&#xA;  }&#xD;&#xA;  return BarCodeType.Code128C;&#xD;&#xA;}&#xD;&#xA;" 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="0; 0; 0; 0" Size="1122.047;590.5512" StyleName="Normal" CustomSize="1122.047;590.5512" 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;-59.055118560791016" Size="1122.047;708.661376953125" Name="data" ColumnsGap="0" DataSource="DATA"><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="1122.047;566.9290771484375" Name="detail"><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 Solid Black" Name="arrow" Location="23.622049331665039;259.84249877929688" Size="82.677169799804688;295.27560424804688"><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.SolidFill" id="17" Color="Black" /><ShapeStyle type="PerpetuumSoft.Framework.Drawing.ArrowShape" id="18" Direction="Down" /></Item><Item type="PerpetuumSoft.Reporting.DOM.BarCode" id="19" Location="106.29920196533203;59.055118560791016" ShowLabel="false" Size="980.31488037109375;177.1654052734375" CodeType="Code128B" Name="code" BarPoint="0" ExportAsPictureInXaml="false"><DataBindings type="PerpetuumSoft.Reporting.DOM.ReportDataBindingCollection" id="20"><Item type="PerpetuumSoft.Reporting.DOM.ReportDataBinding" id="21" Expression="string.Concat(data[&quot;PREFIX&quot;], data[&quot;CODE&quot;])" PropertyName="Code" /><Item type="PerpetuumSoft.Reporting.DOM.ReportDataBinding" id="22" Expression="get128Type(string.Concat(data[&quot;PREFIX&quot;], data[&quot;CODE&quot;]))" PropertyName="CodeType" /></DataBindings></Item><Item type="PerpetuumSoft.Reporting.DOM.TextBox" id="23" Location="106.29920196533203;283.464599609375" Size="248.031494140625;248.031494140625" Name="textBox1" ExportAsPictureInXaml="false" TextAlign="MiddleRight"><DataBindings type="PerpetuumSoft.Reporting.DOM.ReportDataBindingCollection" id="24"><Item type="PerpetuumSoft.Reporting.DOM.ReportDataBinding" id="25" Expression="sbstr1(GetData(&quot;DATA.CODE&quot;).ToString())" PropertyName="Value" /></DataBindings><Font type="PerpetuumSoft.Framework.Drawing.FontDescriptor" id="26" Size="20.25" FamilyName="Arial" /></Item><Item type="PerpetuumSoft.Reporting.DOM.TextBox" id="27" Location="354.3306884765625;283.464599609375" Size="744.094482421875;248.031494140625" Name="textBox2" ExportAsPictureInXaml="false" TextAlign="MiddleLeft"><DataBindings type="PerpetuumSoft.Reporting.DOM.ReportDataBindingCollection" id="28"><Item type="PerpetuumSoft.Reporting.DOM.ReportDataBinding" id="29" Expression="sbstr2(GetData(&quot;DATA.CODE&quot;).ToString())" PropertyName="Value" /></DataBindings><Font type="PerpetuumSoft.Framework.Drawing.FontDescriptor" id="30" Size="36" Bold="On" FamilyName="Arial Black" /></Item></Controls><Aggregates type="PerpetuumSoft.Reporting.DOM.AggregateCollection" id="31" /></Item></Controls><DataBindings type="PerpetuumSoft.Reporting.DOM.ReportDataBindingCollection" id="32" /><Totals type="PerpetuumSoft.Reporting.DOM.DataBandTotalCollection" id="33" /><Aggregates type="PerpetuumSoft.Reporting.DOM.AggregateCollection" id="34" /></Item></Controls></Item></Pages><DataSources type="PerpetuumSoft.Reporting.Data.DocumentDataSourceCollection" id="35" /><StyleSheet type="PerpetuumSoft.Reporting.DOM.StyleSheet" id="36"><Styles type="PerpetuumSoft.Reporting.DOM.StyleCollection" id="37" /></StyleSheet></root>