Jump to content
JasperReports Library 7.0 is now available ×

davidetau

Members
  • Posts

    10
  • Joined

  • Last visited

davidetau's Achievements

Apprentice

Apprentice (3/14)

  • Week One Done
  • One Month Later
  • One Year In
  • First Post Rare
  • Collaborator Rare

Recent Badges

0

Reputation

  1. Hello, I'm trying to do this: I have 3 textfields in the same band with isStretchWithOverflow=true,stretchType=RelativeoBandHeight and positionType=float. I need to fill them with 3 very large texts like this: start parameter 1 aaaaaaaaaaa........ ........ ........ end parameter 1 I would expect that the text overflows and they stretch one after another, but what I obtain is that only the first text field is entirely printed (on two pages), the other pages are blank, and on the last page I have only the last line of textfield 3. You can see source jrxml and resulting pdf in attachments. What's happening? I am missing something about strechWithOverflow behaviour or it is a bug? Thanks
  2. Hi, Thank you for your reply. In my case I have actually more than one detail band, but if I put break element as the first in any band, not only the first band, it doesn't work. I solved it with the trick of an empty text box before break. Post Edited by betel at 09/22/2009 08:51
  3. I've found why page break didn'd work. I used it at the top of the band: <band> <break>.....................</break> <subreport>...................</subreport> </band> and it didn't insert any new page before subreport. But if I add some element before page break, for example an empty static text: <band> <statictext>...............</statictext> <break>.....................</break> <subreport>...................</subreport> </band> it works properly. Is this the usual behaviour of <break> tag?
  4. Hi, I've just tried page break in each band starting, but it seem doesn't work, maybe I'm missing something.. I attach my report file (Modulo19.jrxml) with subreports (Modulo8.jrxml, Modulo16.jrxml and Modulo17.jrxml) and the resulting pdf (Modulo19.pdf) As you can see Modulo8 subreport (titled "Consulenze") Modulo16 (titled "Problemi clinici") and the header of Modulo17 (titled "Diario clinico") are printed in the same page, nevertherless the break elements in their respective bands... what I am missing? Thanks
  5. Hi teodord, I use the latest version of JR, so I wish to use the multiple details bands for subreport instead of dummy groups, but in this way how can I have something like the property isStartNewPage of dummy groups? Thanks
  6. Hello, I'm using version 3.6 and I need several subreport in same report, so I used different detail bands for each subreport and it works fine. In addition I would like to print every subreport in a different new page. I tried to manually insert a page break in each band but it didn't work. How could I do that without using dummy groups, since I am using multiple details bands? Thanks
  7. Hello, I have a textfield in my report with markup set to html, and I need to use indentation in this textfield content. So I tried to use css with this code: <style> p {text-indent: 20} </style> which is correctly rendered in any browser/ html editor, but jasper doesn't print the indentation. I wonder wether html markup supports css in jasper, and if not how could I visualize indentation in a textfield with html code... Thanks Post Edited by betel at 09/14/2009 07:01
  8. Hello, I'm using JRPrintServiceExporter in my application and I want to show the print dialog, only the first time that my printing method is called. So I writed the following code: static void print(throws Exception { new JRPrintServiceExporter();JASPER_PRINT, document); DISPLAY_PAGE_DIALOG, Boolean.FALSE);DISPLAY_PRINT_DIALOG, Boolean.TRUE);DISPLAY_PRINT_DIALOG_ONLY_ONCE, Boolean.TRUE); This method is called inside my app everytime the user needs to print. even thought I have set the only_once parameter to TRUE, the dialog is always shown, even after the first print. Has anyone an idea about where is my mistake, or there is a bug in jasper exporter? Thanks private JasperPrint document) JRPrintServiceExporter exporter = exporter.setParameter(JRExporterParameter. exporter.setParameter(JRPrintServiceExporterParameter. exporter.setParameter(JRPrintServiceExporterParameter. exporter.setParameter(JRPrintServiceExporterParameter. exporter.exportReport(); }
×
×
  • Create New...