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

hem

Members
  • Posts

    13
  • Joined

  • Last visited

hem's Achievements

Rookie

Rookie (2/14)

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

Recent Badges

0

Reputation

  1. I have a tablemodel with an variabele amount of columns and rows. I'm looking for a way to print this table. Can this be done with JasperReport? Perhaps by filling a crosstab Crosstab through with JRTableModelDatasource? Does anybody knows if this is possible, or knows an other sollution? Greetings, Martijn Heijdemann
  2. hem

    Cross Tabs

    In every subreport you can use a different query The queryString can be passed through as an parameter to the subreport. Succes.
  3. I have the same question/problem. Does anybody have an answer? With kind regards, Martijn Heijdemann
  4. Try BufferedImage image = new BufferedImage( width, height, BufferedImage.TYPE_INT_RGB); Greetings, HeM
  5. try viewing the report by: JasperViewer.viewReport(jasperPrint, false); and make sure you do this from a frame or dialog which is modal. greeting, HeM
  6. Propably the SQL statement, try running a simple one first. HeM
  7. Yes, First you create the pdf containing the text-information. Then add the jasper pdf to the first pdf page. for information how to combine pdf's try google. greetings, HeM
  8. Jasperreport 1.3.0 Java 1.6 on Linux and windows 2000
  9. the emoticons messed up my reply: TYPE_INT_ARGB was changed into TYPE_INT_RGB problem solved....
  10. I found the problem. The Bufferedimage was created by: BufferedImage image = new BufferedImage(X, Y, BufferedImage.TYPE_INT_ARGB); I changed it to: BufferedImage image = new BufferedImage(X, Y, BufferedImage.TYPE_INT_RGB); Now the image appears in the created pdf file. I'm curious why it doesn't work with the first option, so if someone knows the reason, please let me know. :cheer:
  11. The bufferedimage is created from a graphics2D. The image is placed in a JRBeanCollectionDatasource as an Object. This field is placed on the report as an image. (java.awt.Image)$F{grafiek} Do I have to convert this image to a JRImageRenderer? and how do I do that? Still it's strange that the image appears correct in Jasperviewer and not in the pdf. It seams like the pdfconvertor does't work as it should.
  12. I'm using linux. I don't know how to solve this problem.
  13. I put an JRBeanCollectionDatasource in a jasperreport. The Bean contains a BufferedImage. this image is placed on the report. When I show the Report with Jasperviewer the Image is Ok, but when the report is exported to Pdf the image becomes black. I also tried to export the report to HTML, but then the image becomes blurry. I exported the report with: JasperExportManager.exportReportToPdfFile(jasperPrint, "/test.pdf"); Please help. Martijn
×
×
  • Create New...