﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<StiSerializer version="1.02" type="Net" application="StiReport">
  <Dictionary Ref="1" type="Dictionary" isKey="true">
    <BusinessObjects isList="true" count="0" />
    <Databases isList="true" count="0" />
    <DataSources isList="true" count="0" />
    <Relations isList="true" count="0" />
    <Report isRef="0" />
    <Resources isList="true" count="0" />
    <Variables isList="true" count="0" />
  </Dictionary>
  <EngineVersion>EngineV2</EngineVersion>
  <GlobalizationStrings isList="true" count="0" />
  <Key>b914a83f6c81483298fe6cd9cafb7457</Key>
  <MetaTags isList="true" count="0" />
  <Pages isList="true" count="1">
    <Page1 Ref="2" type="Page" isKey="true">
      <Border>None;Black;2;Solid;False;4;Black</Border>
      <Brush>Transparent</Brush>
      <Components isList="true" count="0" />
      <Conditions isList="true" count="0" />
      <Expressions isList="true" count="0" />
      <Guid>cdc92a2562e646fd8ac69b388b4612d2</Guid>
      <Margins>1,1,1,1</Margins>
      <Name>Page1</Name>
      <PageHeight>29.7</PageHeight>
      <PageWidth>21</PageWidth>
      <Report isRef="0" />
    </Page1>
  </Pages>
  <ReferencedAssemblies isList="true" count="9">
    <value>System.Dll</value>
    <value>System.Drawing.Dll</value>
    <value>System.Windows.Forms.Dll</value>
    <value>System.Data.Dll</value>
    <value>System.Xml.Dll</value>
    <value>Stimulsoft.Controls.Dll</value>
    <value>Stimulsoft.Base.Dll</value>
    <value>Stimulsoft.Report.Dll</value>
    <value>System.Xml.Linq.Dll</value>
  </ReferencedAssemblies>
  <ReportAlias>Report</ReportAlias>
  <ReportChanged>1/18/2021 10:19:05 AM</ReportChanged>
  <ReportCreated>1/18/2021 7:51:45 AM</ReportCreated>
  <ReportFile>C:\Users\Filip\Desktop\Report_test.mrt</ReportFile>
  <ReportGuid>eefec2901cae4410935e691a3c7db48c</ReportGuid>
  <ReportName>Report</ReportName>
  <ReportUnit>Centimeters</ReportUnit>
  <ReportVersion>2020.5.2.0</ReportVersion>
  <Script>using System;
using System.Drawing;
using System.Windows.Forms;
using System.Data;
using Stimulsoft.Controls;
using Stimulsoft.Base.Drawing;
using Stimulsoft.Report;
using Stimulsoft.Report.Dialogs;
using Stimulsoft.Report.Components;
using System.Collections.Generic;
using System.Xml.Linq;

namespace Reports
{
	public class Report : Stimulsoft.Report.StiReport
	{
		public ColumnParDataSource ColumnPar;
		public DataDataSource Data;
		public ReportParDataSource ReportPar;
		//public string Text2 = test;
		public Stimulsoft.Report.Components.StiText Text1;
		public Stimulsoft.Report.Components.StiText Text2;
	//	public Stimulsoft.Report.Components.StiText Rep2[0];
		public static List&lt;object&gt; Rep = new List&lt;object&gt;();
		public static string ahoj; 
		public string ahoj1;
		
	/*	public static void testa()
		{
			StiDataBand databand = Report.CompiledReport.GetComponentByName("DataVorschreibung") as StiDataBand;
			// we use Business Objects for Datasource
			DuZuEmpfaenger empfaenger = (DuZuEmpfaenger) databand.DataSource.GetData("Empfaenger");
			persNr = empfaenger.PersNr.ToString();
			vorname = empfaenger.Vorname;
			nachname = empfaenger.Nachname;
			strasse = databand.DataSource.GetData("Strasse").ToString();
			zustellung = databand.DataSource.GetData("Zustellung").ToString();

			int pNr = Report.CompiledReport.PageNumber;
			int pNrTotal = Report.CompiledReport.TotalPageCount;
		}*/
		
        public Report() 
		{
			this.AddData();
		//	ahoj1 = ColumnPar.GetData("ColName",1).ToString();
            this.InitializeComponent();
			Rep = Stimulsoft.Report.Dictionary.StiDataColumn.GetDataListFromDataColumn(this.Dictionary, "Data.ColData1");
			
		//	ahoj1 = XML.GetPathData;
			this.AddText();
			
        }
		public void Text1__GetValue(object sender, Stimulsoft.Report.Events.StiGetValueEventArgs e)
		{
		//	Rep = Stimulsoft.Report.Dictionary.StiDataColumn.GetDataListFromDataColumn(this.Dictionary, "Data.ColData1");
			e.Value = ToString(Rep.Count);
		}

        #region StiReport Designer generated code - do not modify
		#endregion StiReport Designer generated code - do not modify
		
		public void AddText()
		{
			this.Text1 = new Stimulsoft.Report.Components.StiText();
			this.Text1.ClientRectangle = new Stimulsoft.Base.Drawing.RectangleD(0.8, 0.4, 1.6, 0.6);
		//	this.Text1.Width = this.ColumnPar.ColWidth;
			this.Text1.Name = "Text1";
			this.Text1.GetValue += new Stimulsoft.Report.Events.StiGetValueEventHandler(this.Text1__GetValue);
			this.Text1.Type = Stimulsoft.Report.Components.StiSystemTextType.Expression;
			this.Text1.Border = new Stimulsoft.Base.Drawing.StiBorder(Stimulsoft.Base.Drawing.StiBorderSides.None, System.Drawing.Color.Black, 1, Stimulsoft.Base.Drawing.StiPenStyle.Solid, false, 4, new Stimulsoft.Base.Drawing.StiSolidBrush(System.Drawing.Color.Black), false);
			this.Text1.Brush = new Stimulsoft.Base.Drawing.StiSolidBrush(System.Drawing.Color.Transparent);
			this.Text1.Font = new System.Drawing.Font("Arial", 8F);
			this.Text1.Indicator = null;
			this.Text1.Interaction = null;
			this.Text1.Margins = new Stimulsoft.Report.Components.StiMargins(0, 0, 0, 0);
			this.Text1.TextBrush = new Stimulsoft.Base.Drawing.StiSolidBrush(System.Drawing.Color.Black);
			this.Text1.TextOptions = new Stimulsoft.Base.Drawing.StiTextOptions(false, false, false, 0F, System.Drawing.Text.HotkeyPrefix.None, System.Drawing.StringTrimming.None);
			this.Page1.Interaction = null;
			this.Page1.Margins = new Stimulsoft.Report.Components.StiMargins(1, 1, 1, 1);
			this.Page1.Report = this;
			this.Text1.Page = this.Page1;
			this.Text1.Parent = this.Page1;
			this.Page1.Components.AddRange(new Stimulsoft.Report.Components.StiComponent[] {
				this.Text1});
			
		}
		
		public void AddData()
		{
			
			
			this.ReportPar = new ReportParDataSource();
			this.Data = new DataDataSource();
			this.ColumnPar = new ColumnParDataSource();
			this.ColumnPar.Columns.AddRange(new Stimulsoft.Report.Dictionary.StiDataColumn[] {
				new Stimulsoft.Report.Dictionary.StiDataColumn("ColName", "ColName", "ColName", typeof(string), null),
				new Stimulsoft.Report.Dictionary.StiDataColumn("ColWidth", "ColWidth", "ColWidth", typeof(string), null),
				new Stimulsoft.Report.Dictionary.StiDataColumn("ColType", "ColType", "ColType", typeof(string), null),
				new Stimulsoft.Report.Dictionary.StiDataColumn("ColAlignment", "ColAlignment", "ColAlignment", typeof(string), null),
				new Stimulsoft.Report.Dictionary.StiDataColumn("ColRunningSum", "ColRunningSum", "ColRunningSum", typeof(string), null),
				new Stimulsoft.Report.Dictionary.StiDataColumn("ColTotalSum", "ColTotalSum", "ColTotalSum", typeof(string), null)});
			this.DataSources.Add(this.ColumnPar);
			this.Data.Columns.AddRange(new Stimulsoft.Report.Dictionary.StiDataColumn[] {
				new Stimulsoft.Report.Dictionary.StiDataColumn("ColData1", "ColData1", "ColData1", typeof(string), null),
				new Stimulsoft.Report.Dictionary.StiDataColumn("ColData2", "ColData2", "ColData2", typeof(string), null),
				new Stimulsoft.Report.Dictionary.StiDataColumn("ColData3", "ColData3", "ColData3", typeof(string), null),
				new Stimulsoft.Report.Dictionary.StiDataColumn("ColData4", "ColData4", "ColData4", typeof(string), null),
				new Stimulsoft.Report.Dictionary.StiDataColumn("ColData5", "ColData5", "ColData5", typeof(string), null),
				new Stimulsoft.Report.Dictionary.StiDataColumn("ColData6", "ColData6", "ColData6", typeof(string), null),
				new Stimulsoft.Report.Dictionary.StiDataColumn("ColData7", "ColData7", "ColData7", typeof(string), null),
				new Stimulsoft.Report.Dictionary.StiDataColumn("ColData8", "ColData8", "ColData8", typeof(string), null),
				new Stimulsoft.Report.Dictionary.StiDataColumn("ColData9", "ColData9", "ColData9", typeof(string), null),
				new Stimulsoft.Report.Dictionary.StiDataColumn("ColData10", "ColData10", "ColData10", typeof(string), null)});
			this.DataSources.Add(this.Data);
			this.ReportPar.Columns.AddRange(new Stimulsoft.Report.Dictionary.StiDataColumn[] {
				new Stimulsoft.Report.Dictionary.StiDataColumn("ReportName", "ReportName", "ReportName", typeof(string), null),
				new Stimulsoft.Report.Dictionary.StiDataColumn("ReportDate", "ReportDate", "ReportDate", typeof(string), null),
				new Stimulsoft.Report.Dictionary.StiDataColumn("Company", "Company", "Company", typeof(string), null),
				new Stimulsoft.Report.Dictionary.StiDataColumn("ReportVer", "ReportVer", "ReportVer", typeof(string), null),
				new Stimulsoft.Report.Dictionary.StiDataColumn("FisProVer", "FisProVer", "FisProVer", typeof(string), null),
				new Stimulsoft.Report.Dictionary.StiDataColumn("ReportWidth", "ReportWidth", "ReportWidth", typeof(string), null),
				new Stimulsoft.Report.Dictionary.StiDataColumn("ReportBW", "ReportBW", "ReportBW", typeof(string), null),
				new Stimulsoft.Report.Dictionary.StiDataColumn("ReportOrient", "ReportOrient", "ReportOrient", typeof(string), null)});
			this.DataSources.Add(this.ReportPar);
			this.Dictionary.Databases.Add(new Stimulsoft.Report.Dictionary.StiXmlDatabase("XML", "", "F:\\XML1.xml", "", Stimulsoft.Report.StiXmlType.AdoNetXml));
			
		}
		
		public class ColumnParDataSource : Stimulsoft.Report.Dictionary.StiDataTableSource
		{
            
			public ColumnParDataSource() : 
				base("XML.ColumnPar", "ColumnPar", "ColumnPar", "1c3f978ea9f642c18e66a3ed87d4e33c")
			{
			}
            
			public virtual string ColName
			{
				get
				{
					return ((string)(StiReport.ChangeType(this["ColName"], typeof(string), true)));
				}
			}
            
			public virtual string ColWidth
			{
				get
				{
					return ((string)(StiReport.ChangeType(this["ColWidth"], typeof(string), true)));
				}
			}
            
			public virtual string ColType
			{
				get
				{
					return ((string)(StiReport.ChangeType(this["ColType"], typeof(string), true)));
				}
			}
            
			public virtual string ColAlignment
			{
				get
				{
					return ((string)(StiReport.ChangeType(this["ColAlignment"], typeof(string), true)));
				}
			}
            
			public virtual string ColRunningSum
			{
				get
				{
					return ((string)(StiReport.ChangeType(this["ColRunningSum"], typeof(string), true)));
				}
			}
            
			public virtual string ColTotalSum
			{
				get
				{
					return ((string)(StiReport.ChangeType(this["ColTotalSum"], typeof(string), true)));
				}
			}
		}
		
		public class DataDataSource : Stimulsoft.Report.Dictionary.StiDataTableSource
		{
            
			public DataDataSource() : 
				base("XML.Data", "Data", "Data", "ee6f3e457a8d4320b792e1d474e8aabf")
			{
			}
            
			public virtual string ColData1
			{
				get
				{
					return ((string)(StiReport.ChangeType(this["ColData1"], typeof(string), true)));
				}
			}
            
			public virtual string ColData2
			{
				get
				{
					return ((string)(StiReport.ChangeType(this["ColData2"], typeof(string), true)));
				}
			}
            
			public virtual string ColData3
			{
				get
				{
					return ((string)(StiReport.ChangeType(this["ColData3"], typeof(string), true)));
				}
			}
            
			public virtual string ColData4
			{
				get
				{
					return ((string)(StiReport.ChangeType(this["ColData4"], typeof(string), true)));
				}
			}
            
			public virtual string ColData5
			{
				get
				{
					return ((string)(StiReport.ChangeType(this["ColData5"], typeof(string), true)));
				}
			}
            
			public virtual string ColData6
			{
				get
				{
					return ((string)(StiReport.ChangeType(this["ColData6"], typeof(string), true)));
				}
			}
            
			public virtual string ColData7
			{
				get
				{
					return ((string)(StiReport.ChangeType(this["ColData7"], typeof(string), true)));
				}
			}
            
			public virtual string ColData8
			{
				get
				{
					return ((string)(StiReport.ChangeType(this["ColData8"], typeof(string), true)));
				}
			}
            
			public virtual string ColData9
			{
				get
				{
					return ((string)(StiReport.ChangeType(this["ColData9"], typeof(string), true)));
				}
			}
            
			public virtual string ColData10
			{
				get
				{
					return ((string)(StiReport.ChangeType(this["ColData10"], typeof(string), true)));
				}
			}
		}
		
		public class ReportParDataSource : Stimulsoft.Report.Dictionary.StiDataTableSource
		{
            
			public ReportParDataSource() : 
				base("XML.ReportPar", "ReportPar", "ReportPar", "18315d367dd64343990fd31b290259ff")
			{
			}
            
			public virtual string ReportName
			{
				get
				{
					return ((string)(StiReport.ChangeType(this["ReportName"], typeof(string), true)));
				}
			}
            
			public virtual string ReportDate
			{
				get
				{
					return ((string)(StiReport.ChangeType(this["ReportDate"], typeof(string), true)));
				}
			}
            
			public virtual string Company
			{
				get
				{
					return ((string)(StiReport.ChangeType(this["Company"], typeof(string), true)));
				}
			}
            
			public virtual string ReportVer
			{
				get
				{
					return ((string)(StiReport.ChangeType(this["ReportVer"], typeof(string), true)));
				}
			}
            
			public virtual string FisProVer
			{
				get
				{
					return ((string)(StiReport.ChangeType(this["FisProVer"], typeof(string), true)));
				}
			}
            
			public virtual string ReportWidth
			{
				get
				{
					return ((string)(StiReport.ChangeType(this["ReportWidth"], typeof(string), true)));
				}
			}
            
			public virtual string ReportBW
			{
				get
				{
					return ((string)(StiReport.ChangeType(this["ReportBW"], typeof(string), true)));
				}
			}
            
			public virtual string ReportOrient
			{
				get
				{
					return ((string)(StiReport.ChangeType(this["ReportOrient"], typeof(string), true)));
				}
			}
		}
		
		
    }
}
</Script>
  <ScriptLanguage>CSharp</ScriptLanguage>
  <Styles isList="true" count="0" />
</StiSerializer>