CA Service Management

  • 1.  Jaspersoft Studio – Band Height

    Posted Sep 07, 2018 11:31 AM

    We have some questions regarding the cosmetic layout of a report created in Jaspersoft Studio:

     

    1. How does one adjust the band height of the “Detail 1” band so that the white space between records in the band is reduced or eliminated? When we simply edit the height property, we get compilation errors.

     

    2. How does one adjust the band height of the “Page Header” band so that the white space between the page header band and the detail band is reduced or eliminated? Same issue between Report Title band and Page Header band.  Changing the height property does not have any effect.

     

    Thanks,

     

    John



  • 2.  Re: Jaspersoft Studio – Band Height

    Posted Sep 07, 2018 12:23 PM

    One thing you can try is to make the Text Object in the Title Band the same Height as the Title Band

     

    <title>
    <band height="15" splitType="Stretch">
    <property name="local_mesure_unitheight" value="pixel"/>
    <property name="com.jaspersoft.studio.unit.height" value="pixel"/>
         <textField isStretchWithOverflow="true">
         <reportElement x="30" y="0" width="160" height="15" uuid="e3d5aae3-81a0-4043-b391-f4888e9b78d2">
         <property name="com.jaspersoft.studio.unit.y" value="pixel"/>
         <property name="com.jaspersoft.studio.unit.height" value="pixel"/>
         </reportElement>
         <textFieldExpression><![CDATA["TITLE Band"]]></textFieldExpression>
         </textField>
    </band>
    </title>

     

    It will create output as below with very little space between the Title Band and Page Band