web/org.openbravo.platform.features/jasper/Barcodes.jrxml
author Asier Lostalé <asier.lostale@openbravo.com>
Tue, 05 Feb 2019 10:44:13 +0100
changeset 40 c5004c7571f6
parent 38 956f281f98b7
permissions -rw-r--r--
repackage
<?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>