71 lines
3.7 KiB
XML
71 lines
3.7 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<Report ScriptLanguage="Vb" ReportInfo.Created="11/28/2015 07:43:07" ReportInfo.Modified="02/19/2019 09:24:19" ReportInfo.CreatorVersion="2018.4.2.0">
|
|
<ScriptText>Imports System
|
|
Imports System.Collections
|
|
Imports System.Collections.Generic
|
|
Imports System.ComponentModel
|
|
Imports System.Windows.Forms
|
|
Imports System.Drawing
|
|
Imports Microsoft.VisualBasic
|
|
Imports FastReport
|
|
Imports FastReport.Data
|
|
Imports FastReport.Dialog
|
|
Imports FastReport.Table
|
|
Imports FastReport.Barcode
|
|
Imports FastReport.Utils
|
|
|
|
Namespace FastReport
|
|
Public Class ReportScript
|
|
|
|
|
|
Private Sub Picture1_BeforePrint(ByVal sender As object, ByVal e As EventArgs)
|
|
dim s as String()
|
|
dim pfad as string
|
|
pfad=""
|
|
s=report.FileName.Split("\")
|
|
dim i as integer
|
|
for i=0 to s.length-3
|
|
pfad=pfad+s(i)+"\"
|
|
next i
|
|
Dim ReportLogo as String
|
|
ReportLogo=pfad+"Logo\reportlogo.png"
|
|
picture1.ImageLocation=Reportlogo
|
|
End Sub
|
|
End Class
|
|
End Namespace
|
|
</ScriptText>
|
|
<Dictionary>
|
|
<TableDataSource Name="Daten" ReferenceName="Data.Daten" DataType="System.Int32" Enabled="true">
|
|
<Column Name="Jahr" DataType="System.Int32"/>
|
|
<Column Name="Anzahl" DataType="System.Int32"/>
|
|
</TableDataSource>
|
|
<Parameter Name="Absender" DataType="System.String"/>
|
|
</Dictionary>
|
|
<ReportPage Name="Page1" RawPaperSize="9" FirstPageSource="15" OtherPagesSource="15" Columns.Count="3" Columns.Width="63.33" Columns.Positions="0,63.33,126.67">
|
|
<ReportTitleBand Name="ReportTitle1" Width="718.2" Height="85.05">
|
|
<TextObject Name="Text1" Left="236.25" Width="463.05" Height="18.9" Text="Verteilung Patienten nach Geburtsjahr" HorzAlign="Right" Font="Arial, 10pt, style=Bold, Underline"/>
|
|
<TextObject Name="Text12" Left="349.65" Top="18.9" Width="349.65" Height="18.9" Text="[Absender]" HorzAlign="Right"/>
|
|
<PictureObject Name="Picture1" Left="9.45" Width="132.3" Height="66.15" BeforePrintEvent="Picture1_BeforePrint" ImageLocation="E:\Software-Projekte\DPM\DPM2016\DPM2016\bin\Debug\Roellin\Reporting\Logo\reportlogo.png"/>
|
|
</ReportTitleBand>
|
|
<PageHeaderBand Name="PageHeader1" Top="87.91" Width="718.2" Height="37.8">
|
|
<TextObject Name="Text3" Left="9.45" Top="9.45" Width="94.5" Height="18.9" Text="Jahr"/>
|
|
<TextObject Name="Text5" Left="113.4" Top="9.45" Width="94.5" Height="18.9" Text="Anzahl" HorzAlign="Right"/>
|
|
<LineObject Name="Line1" Left="9.45" Top="28.35" Width="198.45"/>
|
|
<TextObject Name="Text13" Left="255.15" Top="9.45" Width="94.5" Height="18.9" Text="Jahr"/>
|
|
<TextObject Name="Text14" Left="359.1" Top="9.45" Width="94.5" Height="18.9" Text="Anzahl" HorzAlign="Right"/>
|
|
<LineObject Name="Line2" Left="255.15" Top="28.35" Width="198.45"/>
|
|
<TextObject Name="Text15" Left="491.4" Top="9.45" Width="94.5" Height="18.9" Text="Jahr"/>
|
|
<TextObject Name="Text16" Left="595.35" Top="9.45" Width="94.5" Height="18.9" Text="Anzahl" HorzAlign="Right"/>
|
|
<LineObject Name="Line3" Left="491.4" Top="28.35" Width="198.45"/>
|
|
</PageHeaderBand>
|
|
<DataBand Name="Data1" Top="128.56" Width="239.39" Height="18.9" DataSource="Daten">
|
|
<TextObject Name="Text2" Left="9.45" Width="94.5" Height="18.9" Text="[Daten.Jahr]"/>
|
|
<TextObject Name="Text4" Left="113.4" Width="94.5" Height="18.9" Text="[Daten.Anzahl]" HorzAlign="Right"/>
|
|
</DataBand>
|
|
<PageFooterBand Name="PageFooter1" Top="150.32" Width="718.2" Height="37.8">
|
|
<TextObject Name="Text10" Left="9.45" Top="9.45" Width="170.1" Height="18.9" Text="[Date]"/>
|
|
<TextObject Name="Text11" Left="604.8" Top="9.45" Width="94.5" Height="18.9" Text="[Page#]" HorzAlign="Right"/>
|
|
</PageFooterBand>
|
|
</ReportPage>
|
|
</Report>
|