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

redcar

Members
  • Posts

    2
  • Joined

  • Last visited

redcar's Achievements

Newbie

Newbie (1/14)

  • Week One Done
  • One Month Later
  • One Year In
  • First Post Rare
  • Conversation Starter Rare

Recent Badges

0

Reputation

  1. Thank you, also this seems to work: $F{VARIBLE_NAME} + " "
  2. Hallo, the report consists only out of one field in one detail + column header. The Preview shows also the generated text in the acrobat reader (AR). Inside the database there is the word GEVAS. In the internal preview there ist no linebreak inside the word, but in the AR there is. If I write gevas with small letters, there is also no linebreak. With other long names in the table I also have no problems. EVAS and AS also is wrong. But AR vor example ist not with linebreak. Is there an error inside the exporter, or can I do something? I use iReportDesigner 4.0.2 and AcrobarReader 7.0 The source: <?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="Calendar" language="groovy" pageWidth="595" pageHeight="842" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20"> <property name="ireport.zoom" value="1.0"/> <property name="ireport.x" value="0"/> <property name="ireport.y" value="0"/> <queryString> <![CDATA[select * from dpl_person]]> </queryString> <field name="PERSON_ID" class="java.math.BigDecimal"/> <field name="VORNAME" class="java.lang.String"/> <field name="NAME" class="java.lang.String"/> <field name="FIRMA_ID" class="java.math.BigDecimal"/> <field name="BEMERKUNG" class="java.lang.String"/> <field name="ABTEILUNG" class="java.lang.String"/> <field name="ADRESSE_ID" class="java.math.BigDecimal"/> <background> <band splitType="Stretch"/> </background> <title> <band height="79" splitType="Stretch"/> </title> <pageHeader> <band height="35" splitType="Stretch"/> </pageHeader> <columnHeader> <band height="25" splitType="Stretch"> <staticText> <reportElement x="0" y="0" width="153" height="20"/> <textElement/> <text><![CDATA[NAME]]></text> </staticText> </band> </columnHeader> <detail> <band height="28" splitType="Stretch"> <textField> <reportElement x="0" y="0" width="153" height="20"/> <textElement/> <textFieldExpression class="java.lang.String"><![CDATA[$F{NAME}]]></textFieldExpression> </textField> </band> </detail> <columnFooter> <band height="45" splitType="Stretch"/> </columnFooter> <pageFooter> <band height="54" splitType="Stretch"/> </pageFooter> <summary> <band height="42" splitType="Stretch"/> </summary> </jasperReport>
×
×
  • Create New...