Jump to content
We've recently updated our Privacy Statement, available here ×

qingqingqifei

Members
  • Posts

    4
  • Joined

  • Last visited

 Content Type 

Profiles

Forum

Events

Featured Visualizations

Knowledge Base

Documentation (PDF Downloads)

Blog

Documentation (Test Area)

Documentation

Dr. Jaspersoft Webinar Series

Downloads

Everything posted by qingqingqifei

  1. Hello mcuccia, Have you resloved this issue now? i meet a similar issue, the property "orientation=90" of barcode always cannot work correctly. Could you help provide some info on this problem? Thank you Candice
  2. Hello, Could any one can help me to fix this problem? I think maybe this is a jasper bug, since I did more test, but the property "orientation=90" of barcode always cannot work correctly. Is there someone meet the same or similar issue? Were you fixed it? Any help will be great valued. Thanks
  3. Hi, I tried to import .jrxml to my application, but I found the property "orientation" of element <jr:Code39 > ... </jr:Code39> always cannot be imported correctly. I create the .jrxml file by iReport, and set the Orientation of iReport Barcode label to "Left", so the value in jrxml should be 90, it's correct. But I found the java code: JasperDesign jaspDesign = JRXmlLoader.load(importPath) cannot get this value. The orientation value always is null. Could someone can help me for this issue? My jasper reports version is 6.1.0. Below is my .jrxml. Thank you very much for help. Regards, Candice <?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="BS_RD_Quality.1" printOrder="Horizontal" pageWidth="285" pageHeight="134" orientation="Landscape" columnWidth="285" leftMargin="0" rightMargin="0" topMargin="0" bottomMargin="0" uuid="0bdcb3ec-bcaf-4deb-9ea9-42b727630fcc"> <property name="ireport.scriptlethandling" value="0"/> <property name="ireport.encoding" value="UTF-8"/> <property name="ireport.zoom" value="1.0"/> <property name="ireport.x" value="0"/> <property name="ireport.y" value="0"/> <import value="net.sf.jasperreports.engine.*"/> <import value="java.util.*"/> <import value="net.sf.jasperreports.engine.data.*"/> <style name="style1" hAlign="Left" vAlign="Middle"/> <style name="style2" hAlign="Left"/> <parameter name="DESIGN" class="com.datasweep.compatibility.client.ReportDesign" isForPrompting="false"> <parameterDescription><![CDATA[used report design]]></parameterDescription> </parameter> <parameter name="STATION" class="com.datasweep.compatibility.client.Station" isForPrompting="false"> <parameterDescription><![CDATA[info about current station]]></parameterDescription> </parameter> <parameter name="GUID" class="java.lang.String" isForPrompting="false"> <parameterDescription><![CDATA[unique report identifier]]></parameterDescription> </parameter> <parameter name="DATABASE" class="com.datasweep.compatibility.client.DBInfo" isForPrompting="false"> <parameterDescription><![CDATA[info about used database]]></parameterDescription> </parameter> <parameter name="DATE" class="java.util.Date" isForPrompting="false"> <parameterDescription><![CDATA[Timestamp of printout]]></parameterDescription> </parameter> <parameter name="USER" class="com.datasweep.compatibility.client.User" isForPrompting="false"> <parameterDescription><![CDATA[user, who prints report]]></parameterDescription> </parameter> <field name="SampleNumber" class="java.lang.String"/> <background> <band splitType="Stretch"/> </background> <title> <band height="1"/> </title> <pageHeader> <band height="1"/> </pageHeader> <columnHeader> <band height="1"/> </columnHeader> <detail> <band height="103"> <staticText> <reportElement x="226" y="3" width="13" height="98" uuid="f9bd3622-8fda-4b37-9b59-79801bcceadd"/> <textElement textAlignment="Center" rotation="Left"> <font size="7" isBold="false"/> </textElement> <text><![CDATA[iNSPECTION LOT]]></text> </staticText> <textField> <reportElement x="239" y="3" width="16" height="98" uuid="5e0e7a8a-2d42-425e-afe0-669cada3eb21"/> <textElement textAlignment="Center" rotation="Left"> <font size="12" isBold="true"/> </textElement> <textFieldExpression><![CDATA[$F{SampleNumber}]]></textFieldExpression> </textField> <componentElement> <reportElement style="style1" x="255" y="3" width="30" height="98" uuid="c574eb03-2838-41b2-b146-707c671a00c1"/> <jr:Code39 xmlns:jr="http://jasperreports.sourceforge.net/jasperreports/components" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports/components http://jasperreports.sourceforge.net/xsd/components.xsd" orientation="90" textPosition="bottom"> <jr:codeExpression><![CDATA[$F{SampleNumber}]]></jr:codeExpression> </jr:Code39> </componentElement> </band> </detail> <columnFooter> <band/> </columnFooter> <pageFooter> <band/> </pageFooter> <lastPageFooter> <band/> </lastPageFooter> <summary> <band/> </summary></jasperReport>[/code]
×
×
  • Create New...