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

pmaslov

Members
  • Posts

    8
  • Joined

  • Last visited

pmaslov's Achievements

Rookie

Rookie (2/14)

  • First Post Rare
  • Conversation Starter Rare
  • Week One Done
  • One Month Later
  • One Year In

Recent Badges

0

Reputation

  1. Hi, we are having problem with migrating from jasperreports 3.0 to 3.6. The problem occurs in reports where we are using a custom scriptlet which is initialized with a parameter. The instance of the scriptlet is created outside of Jasperreports and passed as REPORT_SCRIPTLET parameter when report is filled. The report has a cosstab inside which uses a custom data source. It seems that the Jasperreports 3.6 framework is creating a new instance of the scriptlet for that data source. As oppose to version 3.0 which was reusing the instance that was passed as REPORT_SCRIPTLET parameter. The new scriptlet instance is created by framework (using default contructor) and does not work properly. Is there a way to prevent creating of scriptlet instances by framework? Regards
  2. I have the same problem: my images appear distorted in RTF and XLS. Please, could someone tell me if there is a way to turn off an intermediate image compression that happens somewhere during RTF exporting? Also is there a way to specify which format ImageServlet returns images in? Or any parameters that affect quality of images when exporing in HTML, RTF, XLS ? I would greatly appreciate any reply, even if it is to confirm there is no such parameters. Regards Pavel
  3. Hi Gopal, I was able to start printing on load in my PDF report. I doubt you can insert Acrobat Javascript right from iReport. Although I was able to do this by insering code exporter.setParameter(JRPdfExporterParameter.PDF_JAVASCRIPT, "this.print({bUI: true, bSilent: false, bShrinkToFit: true});"); into PdfServlet that already has everything else for PDF exporting. I also got latest (trunk) JasperReports version 1.3.0 from svn. Pavel
  4. "Auto" evaluation time is excactly what I was looking for. You are the best! Thanks again! P.S. here is another post about the "Auto" evaluation: http://www.jasperforge.org/index.php?option=com_joomlaboard&Itemid=215&func=view&id=10637&catid=8&limit=6&limitstart=0
  5. Yes, sum(field) is a sum of all field values in all rows. My SQL is a stored procedure call, so it seems I cannot just do sum in SQL. And yes, Foo() is a java method in my Scriptlet. Thank you! Pavel
  6. I am running an SQL query in Jasper report and I need to evaluate an expression Foo(field, sum(field)) for each record. Problem is that I cannot use SQL to get SUM , I need my Jasper report to calculate it. I made a variable that calculates the SUM. I am able to display the SUM in a Text Filed with Report Evaluation Time. Now - how do I use SUM in expression evaluated for each record like Foo( field,sum(field)) ? If it is not possible, then what would be a possible workaround? Thanks!!!!!! Pavel
  7. Thanks man! I thought I ll make gif servlet to generate images, but your method is better.
  8. Hello! I would like to draw small one dimensional bars in each record of my report. Size of each bar would show a value of certain field. Has anyone done something like that? Please advice. size=135]http://www.jasperforge.org/components/com_joomlaboard/uploaded/images/mycharts.GIF
×
×
  • Create New...