<?xml version="1.0" encoding="UTF-8"?>
<jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="BeanShellReport" language="bsh" pageWidth="595" pageHeight="842" columnWidth="515" leftMargin="40" rightMargin="40" topMargin="50" bottomMargin="50">
	<parameter name="A" class="java.lang.Double">
		<defaultValueExpression><![CDATA[new Double(3)]]></defaultValueExpression>
	</parameter>
	<parameter name="B" class="java.lang.Double">
		<defaultValueExpression><![CDATA[new Double(5)]]></defaultValueExpression>
	</parameter>
	<variable name="Chart" class="net.sf.jasperreports.engine.JRRenderable" calculation="System"/>
	<title>
		<band height="742">
			<line>
				<reportElement x="0" y="0" width="515" height="1"/>
			</line>
			<staticText>
				<reportElement x="0" y="10" width="515" height="30"/>
				<textElement textAlignment="Center">
					<font size="22"/>
				</textElement>
				<text><![CDATA[BeanShell Sample]]></text>
			</staticText>
			<textField hyperlinkType="Reference" hyperlinkTarget="Blank">
				<reportElement x="0" y="50" width="515" height="50"/>
				<textElement textAlignment="Center">
					<font size="12"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA["This sample uses BeanShell Version 2.0 beta 2\n" + "http://beanshell.org/"]]></textFieldExpression>
				<hyperlinkReferenceExpression><![CDATA["http://beanshell.org/"]]></hyperlinkReferenceExpression>
			</textField>
			<textField>
				<reportElement x="280" y="150" width="200" height="35"/>
				<textElement>
					<font size="24"/>
				</textElement>
				<textFieldExpression class="java.lang.Double"><![CDATA[$P{A}]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement positionType="Float" x="0" y="150" width="259" height="35"/>
				<textElement textAlignment="Right">
					<font size="24"/>
				</textElement>
				<text><![CDATA[A =]]></text>
			</staticText>
			<staticText>
				<reportElement positionType="Float" x="0" y="190" width="259" height="35"/>
				<textElement textAlignment="Right">
					<font size="24"/>
				</textElement>
				<text><![CDATA[B =]]></text>
			</staticText>
			<textField>
				<reportElement x="280" y="190" width="200" height="35"/>
				<textElement>
					<font size="24"/>
				</textElement>
				<textFieldExpression class="java.lang.Double"><![CDATA[$P{B}]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement positionType="Float" x="0" y="230" width="259" height="35"/>
				<textElement textAlignment="Right">
					<font size="24"/>
				</textElement>
				<text><![CDATA[A + B =]]></text>
			</staticText>
			<textField>
				<reportElement x="280" y="230" width="200" height="35"/>
				<textElement>
					<font size="24"/>
				</textElement>
				<textFieldExpression class="java.lang.Double"><![CDATA[new Double($P{A}.doubleValue() + $P{B}.doubleValue())]]></textFieldExpression>
			</textField>
		</band>
	</title>
</jasperReport>
