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

gilberto.torrezan

Members
  • Posts

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

Everything posted by gilberto.torrezan

  1. Hi, Maybe you can you define a JR_TEMPLATE_DIR parameter with the expression System.getenv("DCS_USERRPTDIR") . Or you can define it programmatically using the Jasper Reports API.
  2. Hello, You can use the field "Image Expression", when you insert an image object. Using that field, you can insert Java code. You could do something like this: ($P{yourReadParameter} ? "green.jpg" : "red.jpeg") or ($P{yourReadParameter}.equalsIgnoreCase("y") ? "green.jpeg" : "red.jpeg") (Using that way, the expression class remains java.lang.String)
  3. Hello, Is there a way to embed the iReport (yes, the designer) into my Swing application? I'm talking about the designer itself, not the JasperViewer. I searched the forums but could not find a solution with code. Once embedded, I'd like to customize it to my user needs. Is that possible? Thank you.
  4. Hello, Since version 2.0.5 I try to use a fully formatted RTF text on my detail band on JasperReports, but I can't make the alignment of my RTF text work on it (I mean a text that mixs alignments). Same for tabulation, images and tables. So I'm trying to render my RTF text into an java.awt.Image and send to JasperReports engine. But now I have another problem: I can't split pages with a large image on detail. Supose my image is a 3-page text. When I send the image to JasperReports, only the first page is created (whatever the strech option I choose for the image). Is there any way to force a page split when an image is larger than a page? I need the same behavior I get with texts, but with my large image. (I'm using JR 3.1.0) Thanks. Gilberto Torrezan
  5. Hi, Ok, I realy need a layout-formatted RTF in my report. I only need the alignment (I don't use tables or something more complex). How can I achieve this? I was looking the source code (JRStyledTextParser and JEditorPaneMarkupProcessor) and I found nothing that helped me in this. So I think I have to render the text into an image. Is there a simply way to do this, I mean, a way to convert a text from JEditorPane to java.awt.Image respecting the page margins? Thanks a lot.
×
×
  • Create New...