Added Jasper barcode demonstration
authorAsier Lostalé <asier.lostale@openbravo.com>
Thu, 24 Jan 2019 10:17:00 +0100
changeset 38 956f281f98b7
parent 37 654e9dc49c47
child 39 d09cf0a328ec
Added Jasper barcode demonstration
src-db/database/sourcedata/AD_MENU.xml
src-db/database/sourcedata/AD_TREENODE.xml
src-db/database/sourcedata/OBUIAPP_PROCESS.xml
src-db/database/sourcedata/OBUIAPP_REPORT.xml
web/org.openbravo.platform.features/jasper/Barcodes.jrxml
--- a/src-db/database/sourcedata/AD_MENU.xml	Thu Jan 24 08:44:20 2019 +0100
+++ b/src-db/database/sourcedata/AD_MENU.xml	Thu Jan 24 10:17:00 2019 +0100
@@ -1,5 +1,18 @@
 <?xml version='1.0' encoding='UTF-8'?>
 <data>
+<!--29398C2BDC7949DCAE38E870F607EA7D--><AD_MENU>
+<!--29398C2BDC7949DCAE38E870F607EA7D-->  <AD_MENU_ID><![CDATA[29398C2BDC7949DCAE38E870F607EA7D]]></AD_MENU_ID>
+<!--29398C2BDC7949DCAE38E870F607EA7D-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--29398C2BDC7949DCAE38E870F607EA7D-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--29398C2BDC7949DCAE38E870F607EA7D-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--29398C2BDC7949DCAE38E870F607EA7D-->  <NAME><![CDATA[Jasper Barcode Report]]></NAME>
+<!--29398C2BDC7949DCAE38E870F607EA7D-->  <ISSUMMARY><![CDATA[N]]></ISSUMMARY>
+<!--29398C2BDC7949DCAE38E870F607EA7D-->  <ACTION><![CDATA[OBUIAPP_Process]]></ACTION>
+<!--29398C2BDC7949DCAE38E870F607EA7D-->  <AD_MODULE_ID><![CDATA[F2E7A973F06D438B85FFFB96E69670D4]]></AD_MODULE_ID>
+<!--29398C2BDC7949DCAE38E870F607EA7D-->  <OPENLINKINBROWSER><![CDATA[N]]></OPENLINKINBROWSER>
+<!--29398C2BDC7949DCAE38E870F607EA7D-->  <EM_OBUIAPP_PROCESS_ID><![CDATA[BBF9A53CE95F44A39B6935240BCFCC1E]]></EM_OBUIAPP_PROCESS_ID>
+<!--29398C2BDC7949DCAE38E870F607EA7D--></AD_MENU>
+
 <!--45E219D93E8C4B48BD08F94784581186--><AD_MENU>
 <!--45E219D93E8C4B48BD08F94784581186-->  <AD_MENU_ID><![CDATA[45E219D93E8C4B48BD08F94784581186]]></AD_MENU_ID>
 <!--45E219D93E8C4B48BD08F94784581186-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
--- a/src-db/database/sourcedata/AD_TREENODE.xml	Thu Jan 24 08:44:20 2019 +0100
+++ b/src-db/database/sourcedata/AD_TREENODE.xml	Thu Jan 24 10:17:00 2019 +0100
@@ -44,6 +44,17 @@
 <!--2EAC5DA3A6DD4132A855FC6D56D272D2-->  <SEQNO><![CDATA[100]]></SEQNO>
 <!--2EAC5DA3A6DD4132A855FC6D56D272D2--></AD_TREENODE>
 
+<!--5A7A46A7CA804B898398BECBE76107C4--><AD_TREENODE>
+<!--5A7A46A7CA804B898398BECBE76107C4-->  <AD_TREENODE_ID><![CDATA[5A7A46A7CA804B898398BECBE76107C4]]></AD_TREENODE_ID>
+<!--5A7A46A7CA804B898398BECBE76107C4-->  <AD_TREE_ID><![CDATA[10]]></AD_TREE_ID>
+<!--5A7A46A7CA804B898398BECBE76107C4-->  <NODE_ID><![CDATA[29398C2BDC7949DCAE38E870F607EA7D]]></NODE_ID>
+<!--5A7A46A7CA804B898398BECBE76107C4-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--5A7A46A7CA804B898398BECBE76107C4-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--5A7A46A7CA804B898398BECBE76107C4-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--5A7A46A7CA804B898398BECBE76107C4-->  <PARENT_ID><![CDATA[D86B357083C746D791B557A5D8FA4164]]></PARENT_ID>
+<!--5A7A46A7CA804B898398BECBE76107C4-->  <SEQNO><![CDATA[120]]></SEQNO>
+<!--5A7A46A7CA804B898398BECBE76107C4--></AD_TREENODE>
+
 <!--64FFA6DDD9444227BF3B7EE496A33986--><AD_TREENODE>
 <!--64FFA6DDD9444227BF3B7EE496A33986-->  <AD_TREENODE_ID><![CDATA[64FFA6DDD9444227BF3B7EE496A33986]]></AD_TREENODE_ID>
 <!--64FFA6DDD9444227BF3B7EE496A33986-->  <AD_TREE_ID><![CDATA[10]]></AD_TREE_ID>
@@ -52,7 +63,7 @@
 <!--64FFA6DDD9444227BF3B7EE496A33986-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
 <!--64FFA6DDD9444227BF3B7EE496A33986-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--64FFA6DDD9444227BF3B7EE496A33986-->  <PARENT_ID><![CDATA[D86B357083C746D791B557A5D8FA4164]]></PARENT_ID>
-<!--64FFA6DDD9444227BF3B7EE496A33986-->  <SEQNO><![CDATA[100]]></SEQNO>
+<!--64FFA6DDD9444227BF3B7EE496A33986-->  <SEQNO><![CDATA[110]]></SEQNO>
 <!--64FFA6DDD9444227BF3B7EE496A33986--></AD_TREENODE>
 
 <!--87D361037BB64278A1E2742B92C3ABFF--><AD_TREENODE>
--- a/src-db/database/sourcedata/OBUIAPP_PROCESS.xml	Thu Jan 24 08:44:20 2019 +0100
+++ b/src-db/database/sourcedata/OBUIAPP_PROCESS.xml	Thu Jan 24 10:17:00 2019 +0100
@@ -94,6 +94,24 @@
 <!--A22C86AACD474BBC97349A29DCD51785-->  <ISCANADDRECORDSTOSELECTOR><![CDATA[N]]></ISCANADDRECORDSTOSELECTOR>
 <!--A22C86AACD474BBC97349A29DCD51785--></OBUIAPP_PROCESS>
 
+<!--BBF9A53CE95F44A39B6935240BCFCC1E--><OBUIAPP_PROCESS>
+<!--BBF9A53CE95F44A39B6935240BCFCC1E-->  <OBUIAPP_PROCESS_ID><![CDATA[BBF9A53CE95F44A39B6935240BCFCC1E]]></OBUIAPP_PROCESS_ID>
+<!--BBF9A53CE95F44A39B6935240BCFCC1E-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--BBF9A53CE95F44A39B6935240BCFCC1E-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--BBF9A53CE95F44A39B6935240BCFCC1E-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--BBF9A53CE95F44A39B6935240BCFCC1E-->  <VALUE><![CDATA[Jasper Barcode Report]]></VALUE>
+<!--BBF9A53CE95F44A39B6935240BCFCC1E-->  <NAME><![CDATA[Jasper Barcode Report]]></NAME>
+<!--BBF9A53CE95F44A39B6935240BCFCC1E-->  <ACCESSLEVEL><![CDATA[7]]></ACCESSLEVEL>
+<!--BBF9A53CE95F44A39B6935240BCFCC1E-->  <CLASSNAME><![CDATA[org.openbravo.client.application.report.BaseReportActionHandler]]></CLASSNAME>
+<!--BBF9A53CE95F44A39B6935240BCFCC1E-->  <ISBACKGROUND><![CDATA[N]]></ISBACKGROUND>
+<!--BBF9A53CE95F44A39B6935240BCFCC1E-->  <AD_MODULE_ID><![CDATA[F2E7A973F06D438B85FFFB96E69670D4]]></AD_MODULE_ID>
+<!--BBF9A53CE95F44A39B6935240BCFCC1E-->  <UIPATTERN><![CDATA[OBUIAPP_Report]]></UIPATTERN>
+<!--BBF9A53CE95F44A39B6935240BCFCC1E-->  <ISMULTIRECORD><![CDATA[N]]></ISMULTIRECORD>
+<!--BBF9A53CE95F44A39B6935240BCFCC1E-->  <IS_EXPLICIT_ACCESS><![CDATA[N]]></IS_EXPLICIT_ACCESS>
+<!--BBF9A53CE95F44A39B6935240BCFCC1E-->  <ISGRIDLEGACY><![CDATA[N]]></ISGRIDLEGACY>
+<!--BBF9A53CE95F44A39B6935240BCFCC1E-->  <ISCANADDRECORDSTOSELECTOR><![CDATA[N]]></ISCANADDRECORDSTOSELECTOR>
+<!--BBF9A53CE95F44A39B6935240BCFCC1E--></OBUIAPP_PROCESS>
+
 <!--D8AEF63065DE4A05B38570FAB87B2A47--><OBUIAPP_PROCESS>
 <!--D8AEF63065DE4A05B38570FAB87B2A47-->  <OBUIAPP_PROCESS_ID><![CDATA[D8AEF63065DE4A05B38570FAB87B2A47]]></OBUIAPP_PROCESS_ID>
 <!--D8AEF63065DE4A05B38570FAB87B2A47-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
--- a/src-db/database/sourcedata/OBUIAPP_REPORT.xml	Thu Jan 24 08:44:20 2019 +0100
+++ b/src-db/database/sourcedata/OBUIAPP_REPORT.xml	Thu Jan 24 10:17:00 2019 +0100
@@ -33,4 +33,15 @@
 <!--DF0F15BEDAA04691967586BBBBFA30F9-->  <USE_PDF_AS_HTML_TEMPLATE><![CDATA[N]]></USE_PDF_AS_HTML_TEMPLATE>
 <!--DF0F15BEDAA04691967586BBBBFA30F9--></OBUIAPP_REPORT>
 
+<!--EE1F866756424EBCA58961E710C02220--><OBUIAPP_REPORT>
+<!--EE1F866756424EBCA58961E710C02220-->  <OBUIAPP_REPORT_ID><![CDATA[EE1F866756424EBCA58961E710C02220]]></OBUIAPP_REPORT_ID>
+<!--EE1F866756424EBCA58961E710C02220-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--EE1F866756424EBCA58961E710C02220-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--EE1F866756424EBCA58961E710C02220-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--EE1F866756424EBCA58961E710C02220-->  <OBUIAPP_PROCESS_ID><![CDATA[BBF9A53CE95F44A39B6935240BCFCC1E]]></OBUIAPP_PROCESS_ID>
+<!--EE1F866756424EBCA58961E710C02220-->  <PDF_TEMPLATE><![CDATA[web/org.openbravo.platform.features/jasper/Barcodes.jrxml]]></PDF_TEMPLATE>
+<!--EE1F866756424EBCA58961E710C02220-->  <USE_PDF_AS_XLS_TEMPLATE><![CDATA[N]]></USE_PDF_AS_XLS_TEMPLATE>
+<!--EE1F866756424EBCA58961E710C02220-->  <USE_PDF_AS_HTML_TEMPLATE><![CDATA[N]]></USE_PDF_AS_HTML_TEMPLATE>
+<!--EE1F866756424EBCA58961E710C02220--></OBUIAPP_REPORT>
+
 </data>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/web/org.openbravo.platform.features/jasper/Barcodes.jrxml	Thu Jan 24 10:17:00 2019 +0100
@@ -0,0 +1,231 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<jasperReport bottomMargin="56" columnWidth="483" leftMargin="56" name="Barcodes" pageHeight="842" pageWidth="595" rightMargin="56" topMargin="56" uuid="f2b40577-1272-4849-ad1a-f97e1bd41b41" 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">
+  <property name="ireport.zoom" value="1.0"/>
+  <property name="ireport.x" value="0"/>
+  <property name="ireport.y" value="136"/>
+  <property name="ireport.scriptlethandling" value="0"/>
+  <property name="ireport.encoding" value="UTF-8"/>
+  <import value="net.sf.jasperreports.engine.*"/>
+  <import value="java.util.*"/>
+  <import value="net.sf.jasperreports.engine.data.*"/>
+  <style fontName="Bitstream Vera Sans" fontSize="8" name="default" vAlign="Middle"/>
+  <style fontName="Bitstream Vera Sans" fontSize="18" name="Report_Title"/>
+  <style fontName="Bitstream Vera Sans" fontSize="14" forecolor="#555555" name="Report_Subtitle"/>
+  <style fontName="Bitstream Vera Sans" fontSize="11" isBold="true" name="Report_Data_Label"/>
+  <style fontName="Bitstream Vera Sans" fontSize="11" isBold="false" name="Report_Data_Field"/>
+  <style backcolor="#CCCCCC" fontName="Bitstream Vera Sans" fontSize="11" forecolor="#000000" isBold="true" mode="Opaque" name="Total_Field" vAlign="Middle"/>
+  <style backcolor="#555555" fontName="Bitstream Vera Sans" fontSize="12" forecolor="#FFFFFF" isBold="true" mode="Opaque" name="GroupHeader_DarkGray" vAlign="Middle"/>
+  <style fontName="Bitstream Vera Sans" fontSize="11" isBold="true" name="Group_Data_Label"/>
+  <style fontName="Bitstream Vera Sans" fontSize="11" name="Group_Data_Field"/>
+  <style backcolor="#5D5D5D" fontName="Bitstream Vera Sans" fontSize="10" forecolor="#FFFFFF" isBold="true" mode="Opaque" name="Detail_Header" vAlign="Middle"/>
+  <style fontName="Bitstream Vera Sans" fontSize="8" name="Detail_Line">
+    <conditionalStyle>
+      <conditionExpression>
+        <![CDATA[new Boolean($V{REPORT_COUNT}.intValue()%2==1)]]>
+      </conditionExpression>
+      <style backcolor="#CCCCCC" mode="Opaque"/>
+    </conditionalStyle>
+  </style>
+  <style backcolor="#CCCCCC" forecolor="#000000" mode="Opaque" name="Total_Gray"/>
+  <style backcolor="#CCCCCC" fontName="Bitstream Vera Sans" fontSize="10" isBold="true" mode="Opaque" name="Detail_Data_Label"/>
+  <style backcolor="#CCCCCC" fontName="Bitstream Vera Sans" fontSize="10" mode="Opaque" name="Detail_Data_Field"/>
+  <style fontName="Bitstream Vera Sans" fontSize="11" isBold="true" name="Group_Footer"/>
+  <style fontName="Bitstream Vera Sans" fontSize="11" isDefault="true" name="Report_Footer" vAlign="Middle"/>
+  <parameter class="java.lang.String" name="Code">
+    <defaultValueExpression>
+      <![CDATA["01234567890"]]>
+    </defaultValueExpression>
+  </parameter>
+  <queryString>
+    <![CDATA[select 1 from dual]]>
+  </queryString>
+  <group isStartNewPage="true" name="barcodes">
+    <groupHeader>
+      <band height="600" splitType="Stretch">
+        <staticText>
+          <reportElement height="14" key="staticText" width="200" x="0" y="0"/>
+          <textElement textAlignment="Left"/>
+          <text><![CDATA[Barcodes generated with Barcode4j library]]></text>
+        </staticText>
+        <!-- Barcode4J -->
+        <componentElement>
+          <reportElement height="30" width="200" x="230" y="100"/>
+          <c:Code128 moduleWidth="1.0" xmlns:c="http://jasperreports.sourceforge.net/jasperreports/components" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports/components      http://jasperreports.sourceforge.net/xsd/components.xsd">
+            <c:codeExpression>
+              <![CDATA["0123456789"]]>
+            </c:codeExpression>
+          </c:Code128>
+        </componentElement>
+        <componentElement>
+          <reportElement height="30" width="200" x="230" y="135"/>
+          <c:Codabar moduleWidth="1.2" textPosition="none" wideFactor="4.0" xmlns:c="http://jasperreports.sourceforge.net/jasperreports/components" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports/components      http://jasperreports.sourceforge.net/xsd/components.xsd">
+            <c:codeExpression>
+              <![CDATA["01234567890"]]>
+            </c:codeExpression>
+          </c:Codabar>
+        </componentElement>
+        <componentElement>
+          <reportElement height="40" width="70" x="230" y="170"/>
+          <c:DataMatrix moduleWidth="4.0" xmlns:c="http://jasperreports.sourceforge.net/jasperreports/components" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports/components      http://jasperreports.sourceforge.net/xsd/components.xsd">
+            <c:codeExpression>
+              <![CDATA["JasperReports"]]>
+            </c:codeExpression>
+          </c:DataMatrix>
+        </componentElement>
+        <componentElement>
+          <reportElement height="30" width="250" x="230" y="215"/>
+          <c:EAN128 checksumMode="check" moduleWidth="1.4" xmlns:c="http://jasperreports.sourceforge.net/jasperreports/components" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports/components      http://jasperreports.sourceforge.net/xsd/components.xsd">
+            <c:codeExpression>
+              <![CDATA["0101234567890128"]]>
+            </c:codeExpression>
+          </c:EAN128>
+        </componentElement>
+        <componentElement>
+          <reportElement height="30" width="300" x="230" y="250"/>
+          <c:Code39 xmlns:c="http://jasperreports.sourceforge.net/jasperreports/components" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports/components      http://jasperreports.sourceforge.net/xsd/components.xsd">
+            <c:codeExpression>
+              <![CDATA["0123456789"]]>
+            </c:codeExpression>
+          </c:Code39>
+        </componentElement>
+        <componentElement>
+          <reportElement height="30" width="300" x="230" y="285"/>
+          <c:USPSIntelligentMail ascenderHeight="8.0" trackHeight="10.0" xmlns:c="http://jasperreports.sourceforge.net/jasperreports/components" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports/components      http://jasperreports.sourceforge.net/xsd/components.xsd">
+            <c:codeExpression>
+              <![CDATA["00040123456200800001987654321"]]>
+            </c:codeExpression>
+          </c:USPSIntelligentMail>
+        </componentElement>
+        <componentElement>
+          <reportElement height="30" width="300" x="230" y="320"/>
+          <c:RoyalMailCustomer ascenderHeight="8.0" intercharGapWidth="2.5" trackHeight="10.0" xmlns:c="http://jasperreports.sourceforge.net/jasperreports/components" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports/components      http://jasperreports.sourceforge.net/xsd/components.xsd">
+            <c:codeExpression>
+              <![CDATA["0123456789"]]>
+            </c:codeExpression>
+          </c:RoyalMailCustomer>
+        </componentElement>
+        <componentElement>
+          <reportElement height="30" width="300" x="230" y="355"/>
+          <c:Interleaved2Of5 xmlns:c="http://jasperreports.sourceforge.net/jasperreports/components" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports/components      http://jasperreports.sourceforge.net/xsd/components.xsd">
+            <c:codeExpression>
+              <![CDATA["0123456789"]]>
+            </c:codeExpression>
+          </c:Interleaved2Of5>
+        </componentElement>
+        <componentElement>
+          <reportElement height="30" width="300" x="230" y="390"/>
+          <c:UPCA xmlns:c="http://jasperreports.sourceforge.net/jasperreports/components" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports/components      http://jasperreports.sourceforge.net/xsd/components.xsd">
+            <c:codeExpression>
+              <![CDATA["01234567890"]]>
+            </c:codeExpression>
+          </c:UPCA>
+        </componentElement>
+        <componentElement>
+          <reportElement height="30" width="300" x="230" y="425"/>
+          <c:UPCE xmlns:c="http://jasperreports.sourceforge.net/jasperreports/components" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports/components      http://jasperreports.sourceforge.net/xsd/components.xsd">
+            <c:codeExpression>
+              <![CDATA["01234133"]]>
+            </c:codeExpression>
+          </c:UPCE>
+        </componentElement>
+        <componentElement>
+          <reportElement height="30" width="300" x="230" y="460"/>
+          <c:EAN13 xmlns:c="http://jasperreports.sourceforge.net/jasperreports/components" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports/components      http://jasperreports.sourceforge.net/xsd/components.xsd">
+            <c:codeExpression>
+              <![CDATA["012345678901"]]>
+            </c:codeExpression>
+          </c:EAN13>
+        </componentElement>
+        <componentElement>
+          <reportElement height="30" width="300" x="230" y="495"/>
+          <c:EAN8 xmlns:c="http://jasperreports.sourceforge.net/jasperreports/components" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports/components      http://jasperreports.sourceforge.net/xsd/components.xsd">
+            <c:codeExpression>
+              <![CDATA["01234565"]]>
+            </c:codeExpression>
+          </c:EAN8>
+        </componentElement>
+        <componentElement>
+          <reportElement height="20" width="300" x="230" y="530"/>
+          <c:POSTNET checksumMode="add" shortBarHeight="10.0" xmlns:c="http://jasperreports.sourceforge.net/jasperreports/components" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports/components      http://jasperreports.sourceforge.net/xsd/components.xsd">
+            <c:codeExpression>
+              <![CDATA["01234"]]>
+            </c:codeExpression>
+          </c:POSTNET>
+        </componentElement>
+        <componentElement>
+          <reportElement height="30" width="300" x="230" y="555"/>
+          <c:PDF417 moduleWidth="4.0" xmlns:c="http://jasperreports.sourceforge.net/jasperreports/components" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports/components      http://jasperreports.sourceforge.net/xsd/components.xsd">
+            <c:codeExpression>
+              <![CDATA["JasperReports barcodes"]]>
+            </c:codeExpression>
+          </c:PDF417>
+        </componentElement>
+        <!--componentElement><reportElement  x="230" y="600" width="80" height="80" forecolor="#0000FF" backcolor="yellow" /><c:QRCode xmlns:c="http://jasperreports.sourceforge.net/jasperreports/components" 
+    xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports/components 
+    http://jasperreports.sourceforge.net/xsd/components.xsd" 
+    errorCorrectionLevel="M" margin="2"><c:codeExpression><![CDATA["http://barcode4j.sourceforge.net/"]]></c:codeExpression></c:QRCode></componentElement-->
+      </band>
+      <band height="600" splitType="Stretch">
+        <staticText>
+          <reportElement height="14" key="staticText" width="400" x="0" y="0"/>
+          <textElement textAlignment="Left"/>
+          <text><![CDATA[Barcodes generated with Barbecue library]]></text>
+        </staticText>
+        <componentElement>
+          <reportElement height="50" width="400" x="0" y="100"/>
+          <c:barbecue checksumRequired="false" drawText="true" type="Code128" xmlns:c="http://jasperreports.sourceforge.net/jasperreports/components" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports/components      http://jasperreports.sourceforge.net/xsd/components.xsd">
+            <c:codeExpression>
+              <![CDATA["Openbravo"]]>
+            </c:codeExpression>
+          </c:barbecue>
+        </componentElement>
+        <componentElement>
+          <reportElement height="50" width="400" x="0" y="160"/>
+          <c:barbecue checksumRequired="false" drawText="true" type="Codabar" xmlns:c="http://jasperreports.sourceforge.net/jasperreports/components" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports/components      http://jasperreports.sourceforge.net/xsd/components.xsd">
+            <c:codeExpression>
+              <![CDATA[$P{Code}]]>
+            </c:codeExpression>
+          </c:barbecue>
+        </componentElement>
+        <componentElement>
+          <reportElement height="50" width="400" x="0" y="220"/>
+          <c:barbecue barHeight="20" barWidth="3" checksumRequired="true" drawText="true" type="Int2of5" xmlns:c="http://jasperreports.sourceforge.net/jasperreports/components" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports/components      http://jasperreports.sourceforge.net/xsd/components.xsd">
+            <c:codeExpression>
+              <![CDATA[$P{Code}]]>
+            </c:codeExpression>
+          </c:barbecue>
+        </componentElement>
+        <componentElement>
+          <reportElement height="50" width="400" x="0" y="280"/>
+          <c:barbecue checksumRequired="false" drawText="false" type="Std2of5" xmlns:c="http://jasperreports.sourceforge.net/jasperreports/components" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports/components      http://jasperreports.sourceforge.net/xsd/components.xsd">
+            <c:codeExpression>
+              <![CDATA[$P{Code}]]>
+            </c:codeExpression>
+          </c:barbecue>
+        </componentElement>
+      </band>
+    </groupHeader>
+    <groupFooter>
+      <band splitType="Stretch"/>
+    </groupFooter>
+  </group>
+  <background>
+    <band splitType="Stretch"/>
+  </background>
+  <title>
+    <band splitType="Stretch"/>
+  </title>
+  <pageHeader>
+    <band splitType="Stretch"/>
+  </pageHeader>
+  <columnHeader>
+    <band splitType="Stretch"/>
+  </columnHeader>
+  <columnFooter>
+    <band splitType="Stretch"/>
+  </columnFooter>
+  <pageFooter/>
+  <summary>
+    <band splitType="Stretch"/>
+  </summary>
+</jasperReport>
\ No newline at end of file