Jump to content
Changes to the Jaspersoft community edition download ×

zol777

Members
  • Posts

    43
  • Joined

  • Last visited

Community Answers

  1. zol777's post in font problem during migration from jdk1.4 to jdk1.6 was marked as the answer   
    in both jdk 1.4 and jdk 1.6 , the following jrxml can be displayed in a proper manner
        <textField isStretchWithOverflow="false" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
         <reportElement
          x="60"
          y="185"
          width="190"
          height="10"
          key="DISPLAY_SEQ_H"
          positionType="FixRelativeToBottom"/>
         <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" leftPadding="3" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
         <textElement textAlignment="Right" verticalAlignment="Middle">
          <font reportFont="Arial_7" size="8"/>
         </textElement>
        <textFieldExpression   class="java.lang.String"><![CDATA[]]></textFieldExpression>
        </textField>the following jrxml is shown in a proper manner in jdk1.4 but not jdk 1.6
     <textField isStretchWithOverflow="false" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
         <reportElement
          x="60"
          y="195"
          width="190"
          height="8"
          key="DISPLAY_SEQ_H-1"/>
         <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
         <textElement textAlignment="Right" verticalAlignment="Middle">
          <font reportFont="Arial_7"  size="8"/>
         </textElement>
        <textFieldExpression   class="java.lang.String"><![CDATA["XXX:"+$P{REF_NBR}]]></textFieldExpression>
        </textField>the most obivous difference is the height label only . if i wanna synchronize the behaviour of jasper report. anyone have any idea ?
×
×
  • Create New...