Jump to content
Changes to the Jaspersoft community edition download ×


  • Posts

  • Joined

  • Last visited

iamwoodyjones's Achievements


Enthusiast (6/14)

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

Recent Badges



  1. Sorry. Never mind. I found it: http://jasperforge.org/projects/jasperreports/tracker/view.php?id=4924 It was ticket 4924 and fixed in version: 3.7.6
  2. I searched the tracker. Is there a ticket for xlsx having autodetect yet?
  3. Having a hard time following what you're trying to do? What medium are you printing from? If you export your report into PDF or another format do you have blank pages? Can you elborate more?
  4. You can do a lot with the built in java expression evaluator. But I've always either only used XPATH, or I'd write my own custom wrapper data source with XML to do what I need it to do for me.
  5. Did you get it? Several ways I'm sure. One way would be to give your $X a deafult value that is going to give you a query which is going to return you an empty set or you give it a default value so that it returns a very small set. Another way is to use cascadding variables where you have an $X for your IN and a $Y for your entire SQL statement and it'll be initially blank. You can also mess with the REPORT_MAX_COUNT too and give it a default value through yet another variable. ... And I'm just tossing out random ideas there ;-) Personally I've set my $X to return small data sets for defaults with work I've done and also limited the overall report size with REPORT_MAX_COUNT so that users can't shoot themselves in the foot (too badly).
  6. I honestly don't know much about the jasper server and its workflow and how you can inject code into it. However, I do know how you can add code into Jasper Reports semi-directly to influence/change it using scriplets: http://jasperreports.sourceforge.net/sample.reference/scriptlet/index.html You might be able to override the callBeforeReportInit() And add your code there. Give that a read and see if that helps you out.
  7. you would write java code to access your rbac and then pass in the location value.
  8. >I guess you mean export the whole report in an image ? Yea, I meant you can export a particular page as an image. I don't off the top of my head how to (easily) get to the JRFillImage which is what I think you want to get to to pull a particular image out.
  9. You'd use both Jasper and Dynamic jasper put together. That's the only way I know of doing what you want.
  10. Have you seen Dynamic Jasper? It's a 3rd party LGPL product. Check it out: http://dynamicjasper.com/
  11. Have you seen Dynamic Jasper? It's a 3rd party LGPL product. Check it out: http://dynamicjasper.com/
  12. To export a page as an image, it's something like this below. I took that from another thread just by googling "jasper image exporter" http://jasperforge.org/plugins/espforum/view.php?group_id=102&forumid=103&topicid=71445 BufferedImage pageImage = new BufferedImage(jasperPrint.getPageWidth() + 1, jasperPrint.getPageHeight() + 1, BufferedImage.TYPE_INT_RGB);JRGraphics2DExporter exporter = new JRGraphics2DExporter();exporter.setParameter(JRExporterParameter.JASPER_PRINT, jasperPrint);exporter.setParameter(JRGraphics2DExporterParameter.GRAPHICS_2D, pageImage.getGraphics());exporter.setParameter(JRExporterParameter.PAGE_INDEX, new Integer(pageIndex));exporter.exportReport();
  13. Have you tried to use a sub-report instead of the list component? You might have better luck with sub-reports as they're more robust.
  14. Have you see this? http://jasperreports.sourceforge.net/sample.reference/rotation/index.html And played with the rotation sample yet? You might be able to get that text field aligned like that but, personally, I haven't done text rotations before and haven't done it with grouping.
  15. Do you have a full stack trace? Did you check your class path for the Barbecue jars to ensure they're there? Are you getting a noclassdef found error or any other indications it's just a missing jar from your runtime class path?
  • Create New...