webwork/src/resources/web/tests/jasperreports bookList.xml,NONE,1.1 JasperReports.jpg,NONE,1.1

[email protected] Sun, 14 Jul 2002 21:21:01 -0700
Newsgroups gmane.comp.java.webwork.cvs
Message-ID <[email protected]>
Update of /cvsroot/webwork/webwork/src/resources/web/tests/jasperreports
In directory usw-pr-cvs1:/tmp/cvs-serv25884/src/resources/web/tests/jasperreports

Added Files:
	bookList.xml JasperReports.jpg 
Log Message:
added preliminary support for JasperReports

--- NEW FILE: bookList.xml ---
<?xml version="1.0"?>
<!DOCTYPE jasperReport PUBLIC "-//JasperReports//DTD Report Design//EN" "http://jasperreports.sourceforge.net/dtds/jasperreport.dtd">

<jasperReport 
		name="BookList" 
		pageWidth="595" 
		pageHeight="842" 
		leftMargin="20" 
		rightMargin="20" 
		topMargin="30" 
		bottomMargin="30">
	<reportFont name="Arial_Normal" isDefault="true" fontName="Arial" size="10" pdfFontName="Helvetica" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
	<reportFont name="Arial_Bold" isDefault="false" fontName="Arial" size="10" isBold="true" pdfFontName="Helvetica-Bold" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
	<reportFont name="Arial_Italic" isDefault="false" fontName="Arial" size="10" isItalic="true" pdfFontName="Helvetica-Oblique" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
	<parameter name="reportDirectory" class="java.io.File"/>
	<field name="title" class="java.lang.String"/>
	<field name="author" class="java.lang.String"/>
	<title>
		<band height="250">
			<line>
				<reportElement x="0" y="0" width="555" height="0" forecolor="#111111" backcolor="#EEEEEE"/>
				<graphicElement stretchType="NoStretch"/>
			</line>
			<image scaleImage="RetainShape">
				<reportElement x="5" y="5" width="165" height="40"/>
				<imageExpression class="java.io.File">new File($P{reportDirectory}, "JasperReports.jpg")</imageExpression>
			</image>
			<staticText>
				<reportElement x="180" y="5" width="375" height="30"/>
				<textElement textAlignment="Right" lineSpacing="Single">
					<font reportFont="Arial_Bold" size="20"/>
				</textElement>
				<text>Book List Report</text>
			</staticText>
			<textField pattern="EEE, MMM d, yyyy">
				<reportElement x="180" y="35" width="375" height="15" forecolor="#111111"/>
				<textElement textAlignment="Right" lineSpacing="Single">
					<font reportFont="Arial_Italic" size="12"/>
				</textElement>
				<textFieldExpression class="java.util.Date">new Date()</textFieldExpression>
			</textField>
			<staticText>
				<reportElement x="0" y="100" width="555" height="200"/>
				<textElement textAlignment="Justified" lineSpacing="Single">
					<font reportFont="Arial_Normal" size="14"/>
				</textElement>
				<text>JasperReports and WebWork become a powerful MVC report-generating tool that has the ability to deliver rich content onto the screen, to the printer or into XML and PDF files. It is entirely written in Java and can be used in a variety of Java enabled applications to generate dynamic content. Its main purpose is to help creating page oriented, ready to print documents in a simple and flexible manner.</text>
			</staticText>
		</band>
	</title>
	<pageHeader>
		<band height="0"/>
	</pageHeader>
	<columnHeader>
		<band height="0"/>
	</columnHeader>
	<detail>
		<band height="14">
			<textField isStretchWithOverflow="true">
				<reportElement x="0" y="2" width="200" height="10"/>
				<textFieldExpression class="java.lang.String">
					$F{title}
				</textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true">
				<reportElement x="210" y="2" width="90" height="10"/>
				<textFieldExpression class="java.lang.String">
					$F{author}
				</textFieldExpression>
			</textField>
		</band>
	</detail>
	<columnFooter>
		<band height="0"/>
	</columnFooter>
	<pageFooter>
		<band height="0"/>
	</pageFooter>
	<summary>
		<band height="0"/>
	</summary>
</jasperReport>

--- NEW FILE: JasperReports.jpg ---
(This appears to be a binary file; contents omitted.)




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf