Jump to content
Changes to the Jaspersoft community edition download ×

jan.du.toit

Members
  • Posts

    26
  • 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 jan.du.toit

  1. Hi, we have a client that's complaining that the exported Docx result is not really usable. They want to copy paste sections (what they refer to as tables) from on exported report docx into a bigger word doc, which they are compiling by hand. But currently this is not possible because it looks like the whole report is stored as one massive table within the word document. Currently we are using 3.7.2 and I have quickly evaluated 5.0.1 which provides the same result. I saw that poi-ooxml dependency was added after 3.7.2 and I got excited hoping there was better docx export support, but it seems like the jasper code is never inoking classes from poi-ooxml? Seems like the DocxExporter classes perform everything on their own. Why is the poi-ooxml dependency then bundled with Jasper if its not used? Any tips for improving the docx exported results? Maybe the way we setup templates is causing this? Thanks in advance.
  2. Hi I continually get exception from JRFillSubreport.rewind() stating that "The subreport is placed on a non-splitting band, but it does not have a rewindable data source." I see in earlier versions this same piece of text was just logged as warning, without an exception being thrown. Why is that? And what does this error actually mean. If I change the Jasper source code to only trace the warning and not throw an exception then I just get a lot of warnings but everything seems fine on the generated report? I rather want to understand the problem and fix it on my side than to jippo the jasper code and update it everytime I upgrade my jasper library. Any info will be greatly appreciated.
  3. I have a problem with images 'blowing up' when pulling them into reports. It seems like images displays bigger within the report than its actual size, this is the case within the JRViewer, PDF, DOCX, etc. (Except for HTML, when viewing a HTML export of the report the image is displayed according to the original size of the image file.) This is a huge problem for all our clients as they demand the images to retain its actual size.Moreover, clients require crystal clear quality images, but the enlarged displays of the images degrades the quality significantly. I have taken the Images sample that comes with the JasperReports installation and modified it a bit in order to demonstrate this problem. I removed most of the image elements. Just left the JasperReports logo image and on of the Java Duke images. The remaining Java Duke image I have modified the width and height to 150 and 125 and have set the ScaleImage attribute to Clip. Because the image element is bigger than the actual java duke image (130x104), no clipping or scaling will be performed - exactly what we want. But, one can see from the attached reports, that the images are enlarged within all the report documents except the html one.Also, when its printed the enlarged versions of the images are printed.Also, please refer to my Capture.PNG attachment which is just a screenshot of the JRViewer, PDF viewer showing the resulting report as well as an image viewer showing the actual size of the image. All three viewers zoom level is set to 100%. From the JasperReports documentation I gather that a normal A4 page resolution is about 595x842 and that its rendered using the Java default of 72 dpi. Maybe this has something to do with it? Can one increase the DPI wihtin a report?The resolution of 595x842 is a bit small for our purposes as well. We need to incorporate high detailed map images within the report that are readible, but still constrained to a single A4 sheet. How can one increase this 595x842 resolution? Is this page resolution coupled to normal specifications of the printer or influenced by it? Please, if somebody can explain this behaviour and give a hint as to how to overcome the image enlargment of loss of quality issues. Thank you very much.
  4. And an example of the execution of the previously attached code exported to PDF [file name=pdfoutput.pdf size=2500]
  5. Okay, I'm done. See attachments: [file name=reports-35ce3ee5249621a3a329b346f50bd737.zip size=15325] Contains the report templates (jrxml + compiled jasper as well as the custom JRDataSources and a test class with a main method)
  6. Yes, its placed on the master's detail band. I'm busy smacking test JRXML and datasources together...
  7. It is as you said the value $F{dSource} is correct and it corresponds to the current record. I can see this when I print the string representation of $F{dSource} (which is Object.toString's objectname@hascode), thus the value of $F{dSource} is read correctly each time for each record, but when I feed the field value as a datasource to the subreport then the first value of $F{dSource} is always passed to my subreport for each record. As far as reproducibility goes, I think it will be best if I give the jrxml files and the custom datasources. But I will obviously need to take my code and create a little "foo bar" type of example from it first, in order not to breach any non-disclosure issues.
  8. Got it! Thanks for your trouble, much appreciated.
  9. Performed more debugging... It seems like the sub-report is indeed filled the correct amount of times according to the amount of "DSA"s within "DSB". Thus in our example above the subreport is filled 10 times, thus being displayed 10 times correctly. The problem is that the same data source is passed each time to fill the subreport, that is the first "DSA" retrieved as a field from "DSB" is used each and everytime to fill the subreport. Obviously the datasource is at its end causing it to seem as if the other 9 subreports are not filled. When I printout the "dSource" field [$F{dSource}]within the main report (ReportTemplateA) it is different, thus the data source "DSB" correctly feeds ReportTemplateA. But when this field is passed as a datasource to fill the subreport then the first $F{dSource} value is passed along each and everytime. I have the data source expression for the subreport as $F{dSource} Is this the expected behaviour? Please, can somebody enlighten this matter. Thank you very much. Regards, Jan.
  10. Aaah, thanks alot. Configured my proxy settings, still not working. Seems to be an issue with our proxy/firewall setup. :( Any other way I can get my hands on JR Trunk? while the issues are sorted out on my side? I specifically want it to test the two new Image scaling options for dynamic image sizing.
  11. Hi. I have the following combination of reports and datasources: Compiled Jasper Report named "ReportTemplateA", which is filled by custom JRDataSource named "DSA". Using "ReportTemplateA" with "DSA" works fine. But "ReportTemplateA" is usually used as a subreport within another report named "ReportTemplateB" - in this instance the subreport A is placed within the 'detail' report section of eport B. "ReportTemplateB" is also filled by a custom JRDataSource named "DSB". "DSB" is just a collection of datasources of type "DSA". The 'data source expression' for the subreport "ReportTemplateA" is that of a report field named "dSource". Now, for example, when filling "ReportTemplateB" with a "DSB" which consists of 10 "DSA" then the "dSource" field is pulled correctly 10 times from "DSB" and in each case the correct "DSA" is returned. But the sub-report is only filled/displayed once with the data of the first "DSA" returned as a field "dSource" from "DSB". What I need is the sub-report to be created/filled 10 times with the 10 datasources returned by the report field. Other report elements within the 'detail' report section of "ReportTemplateB" gets displayed correctly 10 times, but their is no sub-report for 9 of them. This should be no issue right? And is supported by JR? Maybe, I'm just doing something wrong? Can anybody please shed some light on this? Thanks in advance. Regards, Jan.
  12. Sorry, for the late reply - I keep on forgetting that the default on this board is not to autmatically subscribe to watch a topic if created/posted. Anyways, yes I'm behind a proxy :( What would be the easiest route around this? Without getting the IT department involved - too much redtape? And yes, I do not want to check out the entire repos just the JR Trunk thanks for the URL update. Thank you.
  13. I'm trying to checkout the latest jasper reports source code, but I'm unable. I do have a sourceforge account, and the website states that the checkout command is: svn checkout --username "username" http://scm.jasperforge.org/svn/repos/jasperreports But I'm getting the following: svn checkout --username "username" http://scm.jasperforge.org/svn/repos/jasperreports jasperreports svn: PROPFIND request failed on '/svn/repos/jasperreports' svn: PROPFIND of '/svn/repos/jasperreports': Could not resolve hostname `scm.jasperforge.org': The requested name is valid and was found in the database, but it does not have the correct associated data being resolved for. (http://scm.jasperforge.org) Can somebody please shed some light on this? Thanks in advance.
  14. Thanks Lucian. The two new scaleImage types : RealHeight and RealSize is exactly what we need. I am however not in a position to test this right a way :-( But will get back to you once I did.
  15. Hi. I'm using iReport 2.0.5 and JasperReports 2.0.5. When comparing *.jasper file generated by iReport when compiling through iReport and *.jasper file created by JasperReports via: Code:JasperCompilManager.compileReportToFile(java.lang.String sourceFileName, java.lang.String destFileName) The two resulting compiled reports differs. Differentation can be seen when using something like Beyond Compare or opening it in a text editor like (Notepad++) and comparing the two manually. Why is this the case? Is this something that I need to worry about? Thanks in advance. Regards.
  16. Thanks for the clarification CBox. I have opened a new feature request artifact. http://jasperforge.org/sf/go/artf3242?nav=1 Thanks to CBox we'll be able to implement a scrolling solution based on his idea. But I think it will be nice to have it as standard within JRViewer and have therefore opened the artifact request.
  17. Thanks for the code CBox :) I have a few questions though... Do you extend JRViewer or do you have a Wrapper class, that has a JRViewer as a class member? What type of class is Code:_viewerForm is it a JRViewer class member? The methods like nextPage(), prevPage(), etc it is your own methods right? I don't see them in JRViewer, what do you do within these methods, all the relevant method in JRViewer which can be invoked to perform such things are private, did you patch up your JRViewer class as well, in order to expose more methods? Sorry for all the questions :blush: Thanks in advance. Regards.
  18. The client wants to view it first within a Java Swing application, before exporting to the desired format. But we require "Adobe Acrobat Reader" like functionality within the JRViewer itself.
  19. Hi. Is there a way to get JRViewer to scroll over pages? Currently I can only scroll to the bottom of the page and then I need to go back up to the navigation keys and click on the page buttons in order to get to the next page. Thanks in advance. Regards.
  20. Thanks for the speedy reply. Vertical axis is all we need. :woohoo:
  21. Hi. Has this situation changed recently with new releases (maybe the latest version 3.0.0 release; nothing mentioned in changelog) ? We are in desperate need for such functionality. After a long investigation in different reporting engines (JR, Crystal, etc.) we decided on Jasper, but the lack of such functionality will probably force us to change our decision 30% into the project! In my opinion this is a basic functionality and therefore it was taken as given by us. :( :unsure: Please help! Regards. PS: The 'project' metioned above is not a normal project with a 'reporting' element to it. It is a custom high level Reporting Engine for a specific Business Domain.
  22. Hi. Has this situation changed recently with new releases (maybe the latest version 3.0.0 release; nothing mentioned in changelog) ? We are in desperate need for such functionality. After a long investigation in different reporting engines (JR, Crystal, etc.) we decided on Jasper, but the lack of such functionality will probably force us to change our decision 30% into the project! In my opinion this is a basic functionality and therefore it was taken as given by us. :( :unsure: Please help! Regards. PS: The 'project' metioned above is not a normal project with a 'reporting' element to it. It is a custom high level Reporting Engine for a specific Business Domain. Post edited by: jan.du.toit, at: 2008/05/21 13:48
  23. Hi. You are absolutely correct about that, I thought of that myself before I created the post. The problem is that we have a really really difficult client (for whom we are creating a high level custom Report Engine for their relevant business model) who's rational is that "why do we have to set it twice..." I have implemented another approach which solved my original problem, nullifying the need to access the parameters within the data source. Thank you very much for the reply. Cheers.
×
×
  • Create New...