<?xml version="1.0" encoding="utf-8" standalone="no"?>
<TfrxReport Version="6.9.3" DotMatrixReport="false" IniFile="\Software\Fast Reports" PreviewOptions.Buttons="4095" PreviewOptions.Zoom="1" PreviewOptions.ZoomMode="zmPageWidth" PrintOptions.Printer="پيش فرض" PrintOptions.PrintOnSheet="0" ReportOptions.CreateDate="40745/7864907176" ReportOptions.Description.Text="" ReportOptions.LastChange="44733/5275854282" ScriptLanguage="C++Script" ScriptText.Text="&#13;&#10;void CheckBox1OnBeforePrint(TfrxComponent Sender)&#13;&#10;{&#13;&#10;//if(&#60;P_L.&#34;ted_Mojode&#34;&#62; &#62;0.1)CheckBox1.Checked=true;&#13;&#10;//else CheckBox1.Checked=false;&#13;&#10;&#13;&#10;}&#13;&#10;&#13;&#10;void Memo15OnBeforePrint(TfrxComponent Sender)&#13;&#10;{&#13;&#10;int m;&#13;&#10; m=&#60;P_L.&#34;f_f1&#34;&#62;;&#13;&#10;&#13;&#10;if((&#60;P_L.&#34;cod_k&#34;&#62;&#60;100000000) &#38;&#38;( m==0)){&#13;&#10;Memo15.Color=clSilver;Memo15.Font.Color=clBlack;}&#13;&#10;else {&#13;&#10;Memo15.Color=clWhite;Memo15.Font.Color=clBlack;&#13;&#10;if((&#60;P_L.&#34;cod_k&#34;&#62;&#60;100000000)&#38;&#38;(&#60;P_L.&#34;cod_k&#34;&#62;&#62;999) &#38;&#38;( m==0)){Memo15.Color=0x00E4E4E4;Memo15.Font.Color=clBlack;}&#13;&#10;}&#13;&#10;if((&#60;P_L.&#34;cod_k&#34;&#62;&#60;1000)&#38;&#38;( m!=0)){&#13;&#10;//Memo15.Color=clRed;Memo15.Font.Color=clBlack;&#13;&#10;Memo15.Color=0x00E4E4E4;Memo15.Font.Color=clBlack;&#13;&#10;&#13;&#10;}&#13;&#10;if((&#60;P_L.&#34;cod_k&#34;&#62;&#60;1000000)&#38;&#38;(&#60;P_L.&#34;cod_k&#34;&#62;&#62;999)&#38;&#38;( m!=0)){&#13;&#10;//Memo15.Color=clYellow;Memo15.Font.Color=clBlack;&#13;&#10;Memo15.Color=clWhite;Memo15.Font.Color=clBlack;&#13;&#10;}&#13;&#10;&#13;&#10;}&#13;&#10;&#13;&#10;//#########################&#13;&#10;int RTL = 0 ;&#13;&#10;//########################&#13;&#10;&#13;&#10;int L=0;&#13;&#10;int L2=0;&#13;&#10;int Mx_Row=82+1;&#13;&#10;int Mx_Lin=123+1;&#13;&#10;int Mx_Col=3;&#13;&#10;void MasterData1OnBeforePrint(TfrxComponent Sender)&#13;&#10;{&#13;&#10;float Start_Col=PageHeader1.Height+ColumnHeader1.Height;&#13;&#10;if(RTL){&#13;&#10;L++;&#13;&#10;L2++;&#13;&#10;                     if(Engine.CurColumn==1 )Engine.CurX=MasterData1.Width*2;&#13;&#10;                  if(Engine.CurColumn==Mx_Col )Engine.CurX=0;&#13;&#10;if(L==Mx_Row){L=0;Engine.CurY=Start_Col;Engine.CurColumn=Mx_Col;Engine.CurX=0;}&#13;&#10;if(L2==Mx_Lin){L=1;L2=1;Engine.NewPage;Engine.CurColumn=1;Engine.CurX=MasterData1.Width*2;}&#13;&#10;}&#13;&#10;}&#13;&#10;&#13;&#10;void ColumnHeader1OnBeforePrint(TfrxComponent Sender)&#13;&#10;{&#13;&#10;if(RTL){&#13;&#10;                       if(Engine.CurColumn==1 )Engine.CurX=MasterData1.Width*2;&#13;&#10;                  if(Engine.CurColumn==Mx_Col )Engine.CurX=0;&#13;&#10;}&#13;&#10;&#13;&#10;}&#13;&#10;&#13;&#10;{&#13;&#10;&#13;&#10;}">
  <Datasets>
    <item DataSet="frxDBDataset1" DataSetName="P_L"/>
    <item DataSet="frxDBDataset2" DataSetName="Shope"/>
  </Datasets>
  <Styles>
    <item Name="Title" Font.Charset="1" Font.Color="16777215" Font.Height="-16" Font.Name="Arial" Font.Style="1" Frame.Typ="0" Fill.BackColor="8421504"/>
    <item Name="Header" Font.Charset="1" Font.Color="128" Font.Height="-13" Font.Name="Arial" Font.Style="1" Frame.Typ="0"/>
    <item Name="Group header" Font.Charset="1" Font.Color="128" Font.Height="-13" Font.Name="Arial" Font.Style="1" Frame.Typ="0" Fill.BackColor="16053492"/>
    <item Name="Data" Font.Charset="1" Font.Color="-16777208" Font.Height="-13" Font.Name="Arial" Font.Style="0" Frame.Typ="0"/>
    <item Name="Group footer" Font.Charset="1" Font.Color="-16777208" Font.Height="-13" Font.Name="Arial" Font.Style="1" Frame.Typ="0"/>
    <item Name="Header line" Font.Charset="1" Font.Color="-16777208" Font.Height="-13" Font.Name="Arial" Font.Style="0" Frame.Typ="8" Frame.Width="2"/>
  </Styles>
  <TfrxDataPage Name="Data" HGuides.Text="" VGuides.Text="" Height="1000" Left="0" Top="0" Width="1000"/>
  <TfrxReportPage Name="Page1" HGuides.Text="" VGuides.Text="" PaperWidth="210" PaperHeight="297" PaperSize="9" LeftMargin="10" RightMargin="10" TopMargin="10" BottomMargin="10" Columns="1" ColumnWidth="190" ColumnPositions.Text="0" Frame.Typ="15" MirrorMode="0">
    <TfrxPageHeader Name="PageHeader1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="37/7953" Left="0" Top="18/89765" Width="718/1107">
      <TfrxMemoView Name="Shopenam_foroshgah" Align="baCenter" AllowVectorExport="true" Left="158/74026" Top="0" Width="400/63018" Height="37/7953" DataField="nam_foroshgah" DataSet="frxDBDataset2" DataSetName="Shope" Font.Charset="1" Font.Color="0" Font.Height="-21" Font.Name="2  Titr" Font.Style="1" Frame.Typ="0" Fill.BackColor="16629143" HAlign="haCenter" ParentFont="false" Text="[Shope.&#34;nam_foroshgah&#34;]"/>
    </TfrxPageHeader>
    <TfrxMasterData Name="MasterData1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="22/67718" Left="0" Top="170/07885" Width="718/1107" OnBeforePrint="MasterData1OnBeforePrint" ColumnWidth="0" ColumnGap="0" DataSet="frxDBDataset1" DataSetName="P_L" RowCount="0" Stretched="true">
      <TfrxShapeView Name="Shape1" Align="baClient" AllowVectorExport="true" Left="0" Top="0" Width="718/1107" Height="22/67718" Frame.Typ="0" Frame.Width="0/5"/>
      <TfrxMemoView Name="Memo15" AllowVectorExport="true" Left="427/08689" Top="0" Width="260/78757" Height="22/67718" OnBeforePrint="Memo15OnBeforePrint" StretchMode="smMaxHeight" DataSet="frxDBDataset1" DataSetName="P_L" Font.Charset="1" Font.Color="-16777208" Font.Height="-13" Font.Name="Vazir Light" Font.Style="1" Frame.Typ="15" Frame.Width="0/5" HAlign="haRight" ParentFont="false" RTLReading="true" Text=" [P_L.&#34;nam_k&#34;]"/>
      <TfrxMemoView Name="Memo14" AllowVectorExport="true" Left="3/77953" Top="0" Width="143/62214" Height="22/67718" StretchMode="smMaxHeight" DataSet="frxDBDataset1" DataSetName="P_L" DisplayFormat.FormatStr="%2.0n" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="-16777208" Font.Height="-16" Font.Name="Vazir Light" Font.Style="1" Frame.Typ="2" Frame.Width="0/5" HAlign="haCenter" HideZeros="true" ParentFont="false" RTLReading="true" Text="[P_L.&#34;f_f3&#34;]"/>
      <TfrxMemoView Name="Line" AllowVectorExport="true" Left="687/87446" Top="0" Width="27/45671" Height="22/67718" StretchMode="smMaxHeight" Font.Charset="1" Font.Color="-16777208" Font.Height="-8" Font.Name="2  Titr" Font.Style="0" Frame.Typ="15" Frame.Width="0/5" HAlign="haCenter" ParentFont="false" VAlign="vaCenter" Text="[Line]"/>
      <TfrxMemoView Name="P_Lted_in_vh2" AllowVectorExport="true" Left="427/08689" Top="0" Width="52/91342" Height="22/67718" StretchMode="smMaxHeight" DataSet="frxDBDataset1" DataSetName="P_L" DisplayFormat.FormatStr="%g" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="tahoma" Font.Style="0" Frame.Typ="0" HideZeros="true" ParentFont="false" VAlign="vaCenter" Text="[P_L.&#34;ted_in_vh2&#34;]"/>
      <TfrxMemoView Name="Memo1" AllowVectorExport="true" Left="147/40167" Top="0" Width="139/84261" Height="22/67718" StretchMode="smMaxHeight" DataSet="frxDBDataset1" DataSetName="P_L" DisplayFormat.FormatStr="%2.0n" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="-16777208" Font.Height="-16" Font.Name="Vazir Light" Font.Style="1" Frame.Typ="2" Frame.Width="0/5" HAlign="haCenter" HideZeros="true" ParentFont="false" RTLReading="true" Text="[P_L.&#34;f_f2&#34;]"/>
      <TfrxMemoView Name="Memo10" AllowVectorExport="true" Left="287/24428" Top="0" Width="139/84261" Height="22/67718" StretchMode="smMaxHeight" DataSet="frxDBDataset1" DataSetName="P_L" DisplayFormat.FormatStr="%2.0n" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="-16777208" Font.Height="-16" Font.Name="Vazir Light" Font.Style="1" Frame.Typ="2" Frame.Width="0/5" HAlign="haCenter" HideZeros="true" ParentFont="false" RTLReading="true" Text="[P_L.&#34;f_f1&#34;]"/>
    </TfrxMasterData>
    <TfrxPageFooter Name="PageFooter1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="19/89765" Left="0" Top="253/22851" Width="718/1107">
      <TfrxMemoView Name="Memo19" AllowVectorExport="true" Left="136/06308" Top="1" Width="90/70872" Height="18/89765" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Nazanin" Font.Style="0" Frame.Typ="0" HAlign="haRight" ParentFont="false" VAlign="vaCenter" Text="صفحه  [Page#] "/>
      <TfrxMemoView Name="ShopeDat_report" AllowVectorExport="true" Left="7/55906" Top="0" Width="109/60637" Height="18/89765" DataSet="frxDBDataset2" DataSetName="Shope" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Nazanin" Font.Style="0" Frame.Typ="0" HAlign="haCenter" ParentFont="false" VAlign="vaCenter" Text="[Shope.&#34;Dat_report&#34;]"/>
    </TfrxPageFooter>
    <TfrxColumnHeader Name="ColumnHeader1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="30/23624" Left="0" Top="79/37013" Width="718/1107" OnBeforePrint="ColumnHeader1OnBeforePrint">
      <TfrxMemoView Name="Memo7" AllowVectorExport="true" Left="3/77953" Top="2/11812" Width="143/62214" Height="26/45671" Font.Charset="1" Font.Color="16777215" Font.Height="-9" Font.Name="Tahoma" Font.Style="1" Frame.Color="16777215" Frame.Typ="15" Fill.BackColor="8421504" HAlign="haCenter" ParentFont="false" RTLReading="true" VAlign="vaCenter" Text="قیمت 3  (ریال)"/>
      <TfrxMemoView Name="Memo8" AllowVectorExport="true" Left="427/08689" Top="2/11812" Width="260/78757" Height="26/45671" Font.Charset="1" Font.Color="16777215" Font.Height="-12" Font.Name="2  Titr" Font.Style="1" Frame.Color="16777215" Frame.Typ="15" Fill.BackColor="8421504" HAlign="haCenter" ParentFont="false" VAlign="vaCenter" Text="نام کالا"/>
      <TfrxMemoView Name="Memo20" AllowVectorExport="true" Left="687/87446" Top="2/11812" Width="27/45671" Height="26/45671" Font.Charset="1" Font.Color="16777215" Font.Height="-9" Font.Name="2  Titr" Font.Style="0" Frame.Color="16777215" Frame.Typ="15" Fill.BackColor="8421504" HAlign="haCenter" ParentFont="false" VAlign="vaCenter" Text="ردیف"/>
      <TfrxMemoView Name="Memo9" AllowVectorExport="true" Left="147/40167" Top="2/11812" Width="139/84261" Height="26/45671" Font.Charset="1" Font.Color="16777215" Font.Height="-9" Font.Name="Tahoma" Font.Style="1" Frame.Color="16777215" Frame.Typ="15" Fill.BackColor="8421504" HAlign="haCenter" ParentFont="false" RTLReading="true" VAlign="vaCenter" Text="قیمت  2  (ریال)"/>
      <TfrxMemoView Name="Memo11" AllowVectorExport="true" Left="287/24428" Top="2/11812" Width="139/84261" Height="26/45671" Font.Charset="1" Font.Color="16777215" Font.Height="-9" Font.Name="Tahoma" Font.Style="1" Frame.Color="16777215" Frame.Typ="15" Fill.BackColor="8421504" HAlign="haCenter" ParentFont="false" RTLReading="true" VAlign="vaCenter" Text="قیمت  1  (ریال)"/>
    </TfrxColumnHeader>
  </TfrxReportPage>
</TfrxReport>
