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

jingc3

Members
  • Posts

    7
  • 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

Posts posted by jingc3

  1. Hi

     

    I want to present a report that has a table with details, then there is an image at the bottom of page. Therefore, I put the table contents in <detail> band. and the image to the <summary> band.

     

    I am having two issues here:

    1. for the cells in the table, I have set

    Code:

    <textField isBlankWhenNull="true"> <reportElement x="290" y="0" width="20" height="30"/>
    <box topBorder="None" topBorderColor="#EEEEEE" leftBorder="None" leftBorderColor="#EEEEEE" bottomBorder="Thin" bottomBorderColor="#EEEEEE" rightBorder="None" rightBorderColor="#EEEEEE"/>
    <textElement textAlignment="Left" verticalAlignment="Middle">
    <font reportFont="footer_font"/>
    </textElement>
    <textFieldExpression class="java.lang.String"><![CDATA[$P{symbol2}]]></textFieldExpression>
    </textField>

    It works fine in html when there is no data in column, no text and box were printed. However, when export to PDF, empty box is printed

     

    2. There is a big space between the summary section and the report. How do I reduce the space so that it will print the image right after the report?

     

    Thanks in advance

  2. Hi

     

    I am using jasperreport 1.3.4, I am trying to display a text field using

    <textFieldExpression class="java.lang.String"><![CDATA[$P{headerLabel}]]></textFieldExpression>

     

    in which, the headerLabel parameter will have a value like: "Test Case". I want to display it in two lines, so I replaced the space with "\n", "\r", or "\r\n". None of them work - it ends up only display the first word "Test".

     

    Can anybody help?

     

    Thanks!!

    Post edited by: jingc3, at: 2007/07/15 23:27

  3. Hi there,

     

    I am new to Jasper Report and I want to design a report in such format:

     

    on the top is the report title;

     

    the report itself is split into two section: the left section is the data from repository that should be included in the report - I understand that I should use <detail> element to interate through the data set. On the right section, I want to display one big image whose height is about 10 rows of data displayed on the left.

     

    Anybody can help me with this?

     

    Many thanks in advance!

×
×
  • Create New...