From 02607f8cdd0fbd9410ed456e49ca889426a3be69 Mon Sep 17 00:00:00 2001 From: deathmeat Date: Fri, 2 Mar 2007 14:47:26 +0000 Subject: [PATCH] Further Jasper Reports Library updates and added default files to JasperReportsWebApp project/package --- JasperReports/build.xml | 17 +- .../src/org/compiere/report/Barbecue.java | 2 +- JasperReportsTools/.classpath | 6 +- JasperReportsWebApp/webroot/index.html | 37 +++++ JasperReportsWebApp/webroot/standalone.jrxml | 152 ++++++++++++++++++ 5 files changed, 201 insertions(+), 13 deletions(-) create mode 100644 JasperReportsWebApp/webroot/index.html create mode 100644 JasperReportsWebApp/webroot/standalone.jrxml diff --git a/JasperReports/build.xml b/JasperReports/build.xml index 456070546f..ba3c74bb3c 100644 --- a/JasperReports/build.xml +++ b/JasperReports/build.xml @@ -51,16 +51,15 @@ - + - + - - - + + @@ -70,7 +69,7 @@ - + @@ -111,15 +110,15 @@ - - + + - + diff --git a/JasperReports/src/org/compiere/report/Barbecue.java b/JasperReports/src/org/compiere/report/Barbecue.java index 342d6c3a53..3ba4cff5e8 100644 --- a/JasperReports/src/org/compiere/report/Barbecue.java +++ b/JasperReports/src/org/compiere/report/Barbecue.java @@ -8,7 +8,7 @@ import java.awt.image.BufferedImage; import java.awt.Color; import java.awt.geom.Dimension2D; -public class Barbecue implements JRRenderable +public abstract class Barbecue implements JRRenderable { private static final long serialVersionUID = 5112469398754718739L; diff --git a/JasperReportsTools/.classpath b/JasperReportsTools/.classpath index 42f5b50387..ce43cc2aaa 100644 --- a/JasperReportsTools/.classpath +++ b/JasperReportsTools/.classpath @@ -4,17 +4,17 @@ - + - + - + diff --git a/JasperReportsWebApp/webroot/index.html b/JasperReportsWebApp/webroot/index.html new file mode 100644 index 0000000000..971dec5b01 --- /dev/null +++ b/JasperReportsWebApp/webroot/index.html @@ -0,0 +1,37 @@ + + + + + Compiere Jasper integration + + + + + + + + + + + + + + SourceForge.net Logo +

Compiere Jasper Integration


+

under construction

web designer wanted!


+Please visite the sourceforge project page here
+If you want to join the project don't hesitate to contact
Developers, web designer and testers are welcomed

+Access directly to latest files here
and the documentation here
+Browse the JavaDoc here

Don't hesitate to use the forums it is the best place for any help
+ +
License information: the Open software presented here is under GPL license, but you must agree each license of each specific part included (ie: Compiere,jasperreports,iText, ant,..) each Trademark is propritary of its owner
+
+ + + diff --git a/JasperReportsWebApp/webroot/standalone.jrxml b/JasperReportsWebApp/webroot/standalone.jrxml new file mode 100644 index 0000000000..04400fb026 --- /dev/null +++ b/JasperReportsWebApp/webroot/standalone.jrxml @@ -0,0 +1,152 @@ + + + + + + + <band height="782"> + <staticText> + <reportElement x="0" y="50" width="150" height="40"/> + <textElement/> + <text><![CDATA[The quick brown fox jumps over the lazy dog.]]></text> + </staticText> + <staticText> + <reportElement x="160" y="50" width="390" height="40"/> + <textElement/> + <text><![CDATA[<staticText><reportElement x="0" y="50" width="150" height="40"/><text>The quick brown fox jumps over the lazy dog.</text></staticText>]]></text> + </staticText> + <staticText> + <reportElement x="0" y="100" width="150" height="40"/> + <textElement> + <font size="12"/> + </textElement> + <text><![CDATA[The quick brown fox jumps over the lazy dog.]]></text> + </staticText> + <staticText> + <reportElement x="160" y="100" width="390" height="40"/> + <textElement/> + <text><![CDATA[<staticText><reportElement x="0" y="100" width="150" height="40"/><textElement><font size="14"/></textElement><text>The quick brown fox jumps over the lazy dog.</text></staticText>]]></text> + </staticText> + <staticText> + <reportElement x="0" y="150" width="150" height="40"/> + <textElement> + <font fontName="serif" size="12" pdfFontName="Times-Roman"/> + </textElement> + <text><![CDATA[The quick brown fox jumps over the lazy dog.]]></text> + </staticText> + <staticText> + <reportElement x="160" y="150" width="390" height="40"/> + <textElement/> + <text><![CDATA[<staticText><reportElement x="0" y="150" width="150" height="40"/><textElement><font fontName="serif" size="12" pdfFontName="Times-Roman"/></textElement><text>The quick brown fox jumps over the lazy dog.</text></staticText>]]></text> + </staticText> + <staticText> + <reportElement x="0" y="200" width="150" height="40"/> + <textElement> + <font fontName="serif" size="12" isBold="true" isItalic="true" pdfFontName="Times-BoldItalic"/> + </textElement> + <text><![CDATA[The quick brown fox jumps over the lazy dog.]]></text> + </staticText> + <staticText> + <reportElement x="160" y="200" width="390" height="40"/> + <textElement/> + <text><![CDATA[<staticText><reportElement x="0" y="200" width="150" height="40"/><textElement><font fontName="serif" size="12" isBold="true" isItalic="true" pdfFontName="Times-BoldItalic"/></textElement><text>The quick brown fox jumps over the lazy dog.</text></staticText>]]></text> + </staticText> + <staticText> + <reportElement x="0" y="250" width="150" height="40"/> + <textElement> + <font fontName="Comic Sans MS" size="12" isBold="false" pdfFontName="COMIC.TTF"/> + </textElement> + <text><![CDATA[The quick brown fox jumps over the lazy dog.]]></text> + </staticText> + <staticText> + <reportElement x="160" y="250" width="390" height="40"/> + <textElement/> + <text><![CDATA[<staticText><reportElement x="0" y="250" width="150" height="40"/><textElement><font fontName="Comic Sans MS" size="12" isBold="false" pdfFontName="COMIC.TTF"/></textElement><text>The quick brown fox jumps over the lazy dog.</text></staticText>]]></text> + </staticText> + <staticText> + <reportElement x="0" y="300" width="150" height="40"/> + <textElement> + <font fontName="Comic Sans MS" size="12" isBold="true" pdfFontName="COMICBD.TTF"/> + </textElement> + <text><![CDATA[The quick brown fox jumps over the lazy dog.]]></text> + </staticText> + <staticText> + <reportElement x="160" y="300" width="390" height="40"/> + <textElement/> + <text><![CDATA[<staticText><reportElement x="0" y="300" width="150" height="40"/><textElement><font fontName="Comic Sans MS" size="12" isBold="true" pdfFontName="COMICBD.TTF"/></textElement><text>The quick brown fox jumps over the lazy dog.</text></staticText>]]></text> + </staticText> + <staticText> + <reportElement x="0" y="350" width="150" height="40"/> + <textElement> + <font fontName="monospaced" size="12" isItalic="true" isUnderline="true" pdfFontName="Courier-Oblique"/> + </textElement> + <text><![CDATA[The quick brown fox jumps over the lazy dog.]]></text> + </staticText> + <staticText> + <reportElement x="160" y="350" width="390" height="40"/> + <textElement/> + <text><![CDATA[<staticText><reportElement x="0" y="350" width="150" height="40"/><textElement><font fontName="monospaced" size="12" isItalic="true" isUnderline="true" pdfFontName="Courier-Oblique"/></textElement><text>The quick brown fox jumps over the lazy dog.</text></staticText>]]></text> + </staticText> + <staticText> + <reportElement x="0" y="400" width="150" height="40"/> + <textElement> + <font fontName="monospaced" size="12" isBold="true" isStrikeThrough="true" pdfFontName="Courier-Bold"/> + </textElement> + <text><![CDATA[The quick brown fox jumps over the lazy dog.]]></text> + </staticText> + <staticText> + <reportElement x="160" y="400" width="390" height="40"/> + <textElement/> + <text><![CDATA[<staticText><reportElement x="0" y="400" width="150" height="40"/><textElement><font fontName="monospaced" size="12" isBold="true" isStrikeThrough="true" pdfFontName="Courier-Bold"/></textElement><text>The quick brown fox jumps over the lazy dog.</text></staticText>]]></text> + </staticText> + <staticText> + <reportElement x="0" y="450" width="150" height="40" forecolor="#ff0000"/> + <textElement> + <font size="14"/> + </textElement> + <text><![CDATA[The quick brown fox jumps over the lazy dog.]]></text> + </staticText> + <staticText> + <reportElement x="160" y="450" width="390" height="40"/> + <textElement/> + <text><![CDATA[<staticText><reportElement x="0" y="450" width="150" height="40" forecolor="red"/><textElement><font size="14"/></textElement><text>The quick brown fox jumps over the lazy dog.</text></staticText>]]></text> + </staticText> + <staticText> + <reportElement mode="Opaque" x="0" y="500" width="150" height="40" forecolor="#ff00" backcolor="#ffff00"/> + <textElement> + <font fontName="serif" size="12" isBold="true" pdfFontName="Times-Bold"/> + </textElement> + <text><![CDATA[The quick brown fox jumps over the lazy dog.]]></text> + </staticText> + <staticText> + <reportElement x="160" y="500" width="390" height="40"/> + <textElement/> + <text><![CDATA[<staticText><reportElement x="0" y="500" width="150" height="40" forecolor="green" backcolor="#FFFF00" mode="Opaque"/><textElement><font fontName="serif" size="12" isBold="true" pdfFontName="Times-Bold"/></textElement><text>The quick brown fox jumps over the lazy dog.</text></staticText>]]></text> + </staticText> + <staticText> + <reportElement mode="Opaque" x="0" y="550" width="150" height="90" forecolor="#ff" backcolor="#ffdd99"/> + <textElement textAlignment="Center" verticalAlignment="Middle"> + <font fontName="serif" size="12" isBold="true" pdfFontName="Times-Bold"/> + </textElement> + <text><![CDATA[The quick brown fox jumps over the lazy dog.]]></text> + </staticText> + <staticText> + <reportElement x="160" y="550" width="390" height="90"/> + <textElement/> + <text><![CDATA[<staticText><reportElement x="0" y="550" width="150" height="90" forecolor="blue" backcolor="#FFDD99" mode="Opaque"/><textElement textAlignment="Center" verticalAlignment="Middle"><font fontName="serif" size="12" isBold="true" pdfFontName="Times-Bold"/></textElement><text>The quick brown fox jumps over the lazy dog.</text></staticText>]]></text> + </staticText> + <staticText> + <reportElement mode="Opaque" x="0" y="650" width="150" height="90" forecolor="#ff0000" backcolor="#99ddff"/> + <textElement textAlignment="Right" verticalAlignment="Bottom"> + <font fontName="serif" size="12" isBold="true" pdfFontName="Times-Bold"/> + </textElement> + <text><![CDATA[The quick brown fox jumps over the lazy dog.]]></text> + </staticText> + <staticText> + <reportElement x="160" y="650" width="390" height="90"/> + <textElement/> + <text><![CDATA[<staticText><reportElement x="0" y="650" width="150" height="90" forecolor="red" backcolor="#99DDFF" mode="Opaque"/><textElement textAlignment="Right" verticalAlignment="Bottom"><font fontName="serif" size="12" isBold="true" pdfFontName="Times-Bold"/></textElement><text>The quick brown fox jumps over the lazy dog.</text></staticText>]]></text> + </staticText> + </band> + +