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

newsletter6

Members
  • Posts

    11
  • Joined

  • Last visited

newsletter6's Achievements

Rookie

Rookie (2/14)

  • Conversation Starter Rare
  • First Post Rare
  • Collaborator Rare
  • Week One Done
  • One Month Later

Recent Badges

0

Reputation

  1. I just created a bug report at http://jasperforge.org/sf/go/artf3239?nav=1 :)
  2. But if you are actually looking for a solution to change the color of the rectangle with every record (dependent on a field or variable, not only parameter), then this is not possible. If the number of different colors is limited, then a conditional style could be used to make the rectangle color change based on runtime conditions.It is possible, with a trick: I generate 1x1 Pixel images and put those into my DataSource, as Colors are not supported directly. Then I create an image field in iReport and let JasperReports fill it from the image I generated from the color information. This works for me: Code:BufferedImage img = new BufferedImage(1, 1, BufferedImage.TYPE_INT_RGB«»); img.setRGB(0, 0, color.getRGB()); Regards, Mathis
  3. It seems to be a workaround to minimize the height of the textfields which are hidden sometimes (I've set their heights to 4px). Then the wasted space also gets smaller - but you have to activate "Stretch with overflow" of course!
  4. It seems to be a workaround to minimize the height of the textfields which are hidden sometimes (I've set their heights to 4px). Then the wasted space also gets smaller - but you have to activate "Stretch with overflow" of course! Post edited by: newsletter6, at: 2007/08/31 10:56
  5. This also happens with my report when it is filled out: size=400]http://www.jasperforge.org/components/com_joomlaboard/uploaded/images/report_pagebottom_space-9240c2293edb1f1f6b37e5cbb9e340fc.jpg The space is only taken on page break, between the single detail band instances there is no problem, JasperReports frees the space there correctly. Please provide a way to suppress the free space also before a page break, if you know one... Thank you, Mathis
  6. Here is an image to illustrate the description above: size=400]http://www.jasperforge.org/components/com_joomlaboard/uploaded/images/report_pagebottom_space-86c058cc00988f75ead77719ec5cd8bd.jpg The space below the last line is unnecessary because the next page continues with one-line-rows. The fields which are not shown in these records are hidden correctly first (and the space they consume is freed), but the last record on each page doesn't free the space the fields would consume if they were shown. Post edited by: newsletter6, at: 2007/08/30 12:58
  7. This is also a problem for me. I designed a general subreport which should be filled with variant data, and dependent on which fields are filled, the detail band should only display them. All textfields have the position type "Float", and the options "Blank when null" and "Remove line when blank" are active. It works fine if all fields are filled, but if not, there is free space on the bottom of the page, and the space corresponds to the height of the fields which are not shown. If someone has an idea how to fix this, please do tell! Post edited by: newsletter6, at: 2007/08/30 12:37
×
×
  • Create New...