Jump to content
Changes to the Jaspersoft community edition download ×

martynhiemstra

Members
  • Posts

    144
  • 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 martynhiemstra

  1. I found the bug. If your CDATA has the character & (operand) in it then style tags aren't parsed. I replaced all instances of & with & and now it works. This bug has been in jasperreports for over 2 years. I finally know why it only happened every now and then.
  2. I would also like to know what is causing this cince it has been a bug for the last 2 years. The last 2 years I have been having text that can't be formatted. It seams as if the style tags aren't always parsed even though styled text is checked.
  3. Hi All, I would like to inform if there is maybe a bug in the textElement tag. If I set isStyledText to true like this: <textElement isStyledText="true" lineSpacing="Single"> <font fontName="Courier New" size="10" pdfEncoding ="Cp1250" isStrikeThrough="false" /> </textElement> I then set the text to something like this: <style isUnderlined='true'>TEXT</style> When I view the report in the jasperviewer or print the report I see this in the textField. <style isUnderlined='true'>TEXT</style> Somehow the style tag isn't parsed. I have set isStyledText="true", I have tried different encodings. Even set the encoding to html and tried to print html but nothing is working. The tags are NOT getting parsed. I am using jasperreports 3.0.0 Any help would be appreciated. Thanks in advance, Martyn
  4. Put the outputstream in a variable above the try block and replace all the instances of response.getOutputStream() with the local variable.
  5. Hi All, I have been playing around with iText for a few days now and I have discovered that is supports Acroform. I known that jasperreports doesn't support Interactive PDF's but I was wandering. Are there plans for this in the future? If not I might consider starting my own project that utalizes jasperreports to acheive this. Thanks, Martyn
  6. Just print the report without displaying the print popup, the report gets printed to the default printer. It works for me. I have never needed to define printers in jasperreport. Leave that to your operating system.
  7. It says getOutputStream() has already been called for this response so what do you do? You check to see how often you call the method getOutputStream(). If you look carefully at your code in the try and catch section you call response.getOutputStream(). So the answer is simple, don't call getOutputStream() twice.
  8. Hi All, When fillng my report using JasperFillManager.fillReport I get an error: NullPointerException in JRFiller:138 I am using jasperreport 3.0.1. I have tried 2.0.2 and still the error occures so this is a bug that has been in jasperreport for some time. Has anybody got a solution? Thanks, Martyn Hiemstra
  9. Hi All, I have a problem with the Excel exporter. If I have a cell that overflows and I have isStretchWithOverflow set to true, any cell that overflows has the overflowed text created in a new row. I would like the complete text to be visible in 1 cell. Is this possible? Thanks, Martyn
  10. Hi, JExcelApiExporter is working. The logo cell starts at column A where as the other excel exporter starts the logo in column B. For the part of having the other columns removed, I don't think this is possible since your report is way to complicated. You have fields overlaping multiple columns etc. I have very simple reports and they can be processed correctly. Try removing the headers and footers and see if it works then. Martyn
  11. Hi lucianc That did the trick. It switched to the JExcelApiExporter and now it works. I have filed a bug report. Thanks for the excellent tip, Martyn
  12. Hi lucianc, I have created a test report and indeed the columns are removed so that works. I called my client who reported this and he said that the columns indeed are removed but the problem is that the empty columns are made hidden and are not removed. For example, I have 2 columns. When I export the file to excel then the 2 columns are in Column B and D. As you can image this makes calculating data very unpredicable. It would be alot easier if I have 2 columns that the first column is put in Column A and the second Column in Column B. Is this possible? Thanks in advance, Martyn Hiemstra
  13. Hi, I was wandering if it is possible to add an extra parameter to the excel exporter? Right now you have a flag called IS_REMOVE_EMPTY_SPACE_BETWEEN_COLUMNS but this name is really misleading. If I have a report where 2 fields are designed like this: |=======| |=======| As you can see there is some space between the fields but when exported to excel using the IS_REMOVE_EMPTY_SPACE_BETWEEN_COLUMNS flag the empty column is created in the middle and it isn't removed! It could be this is a bug but searching this forum I have discovered that removing the empty column doesnt work with 2 seperated fields. Is it possible to add a flag that will allow the removal of empty columns in between 2 fields? Thanks, Martyn Post edited by: martynhiemstra, at: 2008/07/07 14:26
  14. I'm having this problem too. 1 year later and not even a response from the developers. That's really poor support.
  15. Hi All, I have added a barcode to a simple report. I have put the barcode in the header. When I deploy the report in my own application something goes wrong. When I export the report using pdf then the barcode is nicely printed in the pdf file. When I use the html exporter to export the report to html then the bar code is missing. It's also missing when exporting to word. I have included the barbeque lib file to my classpath. If I'm not mistaken I won't have to worry about font's and such they are all included in the barbeque library. I'm not getting any errors in my log files either. Does anybody have a clue how to solve this problem? Thanks, Martyn
  16. Hi All, I would like to post a complaint about the iReport.jar file. It contains the BcImage class. I truly beleive that the bar code class file has nothing to do with iReport. It is a component that can be used outside iReport. Therefore it should be put in a seperate jar file. For example BarCodeImage.jar or BarCode.jar That the file needs to be extracted from iReport.jar is confirmed by the fact that I want to generate a report in my own created report server. I get an error that it can't find the class BcImage. The only way to get it to work is to put the iReport.jar file in my classpath. This means adding a 7,5 MB file to my classpath just to have access to 1 file. I would like you to consider extracting the file into 2 different jar files. Thanks in advance, Martyn Hiemstra Post edited by: martynhiemstra, at: 2008/06/23 10:37
  17. The printer is shared. In my message I menthion that the printer is visible in every other program. So the printer is visible in every other program and it prints perfectly from every other program except the Java printer select popup. If the printer is visible from every other program and not in the Java printer selection popup then there is a bug in the printer selection popup when detecting the available printers. In short, the printer is shared, I can print from Office and Open Office but the printer is not visible in the Java printer selection popup. Post edited by: martynhiemstra, at: 2008/01/28 06:59
  18. Hi All, I have a printer that is connected to a laptop. This laptop is shared with the whole network. I have a second PC that uses this shared printer. When I want to print something the shared printer isnt visible in the Java printer select popup. Every other printer is visible. When I try to print from Word or Open office or any other windows program then the shared printer is visible. So in short the shared printer isnt visible in the Select printer popup. Does anybody have a clue why? Thanks in advance, Martyn Hiemstra Post edited by: martynhiemstra, at: 2008/01/25 12:41
  19. Hi All, I have a printer that is connected to a laptop. This laptop is shared with the whole network. I have a second PC that uses this shared printer. When I want to print something the shared printer isnt visible in the Java printer select popup. Every other printer is visible. When I try to print from Word or Open office or any other windows program then the shared printer is visible. So in short the shared printer isnt visible in the Java select printer popup. Does anybody have a clue why? Thanks in advance, Martyn Hiemstra
  20. Hi Lucian Stupid me, I thought that the excel stuff was in the iText.jar file but that is ofcource the pdf stuff. I'll download the latest poi.jar file and install it. Thanks, Martyn
  21. Hi All, I have added the following line to my excel exporter. exporterXLS.setParameter ( JExcelApiExporterParameter.IS_REMOVE_EMPTY_SPACE_BETWEEN_COLUMNS, Boolean.TRUE ); I then get this error: Code: org.springframework.web.util.NestedServletException: Handler processing failed; nested exception is java.lang.NoSuchMethodError: org.apache.poi.hssf.usermodel.HSSFSheet.setColumnHidden(SZ)V Caused by: java.lang.NoSuchMethodError: org.apache.poi.hssf.usermodel.HSSFSheet.setColumnHidden(SZ)V at net.sf.jasperreports.engine.export.JRXlsExporter.removeColumn(JRXlsExporter.java:190) at net.sf.jasperreports.engine.export.JRXlsAbstractExporter.removeEmptyColumns(JRXlsAbstractExporter.java:617) at net.sf.jasperreports.engine.export.JRXlsAbstractExporter.exportReportToStream(JRXlsAbstractExporter.java:426) at net.sf.jasperreports.engine.export.JRXlsAbstractExporter.exportReport(JRXlsAbstractExporter.java:200) I am using jasperreports 2.0.2 and iText 2.0.7 (Latest version) Thanks in advance, Martyn
  22. You can't! Plain and simple. If you understood report genertaing or understood jasperreports even a small bit you would understand that this is impossible. If you want to refresh your report, do it yourself. There is no option in the report simply because it has no idea what the url is of the page that generated it. Besides, redirects must take place in the header tag of your html code. So it has nothing to do with your report but how you build your website.
  23. Let me guess, you are using Firefox? If so then you should know that your url MUST end with .xls otherwise Firefox will not see it as an Excel file.
  24. Set the expression to Code:($F{ProjectAmount} != null && !"".equals($F{ProjectAmount}) ? new BigDecimal($F{ProjectAmount}) : new BigDecimal(0) Post edited by: martynhiemstra, at: 2007/11/30 07:00
  25. Sorry must have been a long day yesterday. I had a JOIN statement. You dont want to know how it tryed to parse the JOIN statement. I dont know if you can create JOIN statements, I just know that typing in a JOIN query and then using the query designer isnt a good idea. I am using jasperreports 2.0.1 by the way.
×
×
  • Create New...