Jump to content
Changes to the Jaspersoft community edition download ×

martynhiemstra

Members
  • Posts

    144
  • Joined

  • Last visited

martynhiemstra's Achievements

Collaborator

Collaborator (7/14)

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

Recent Badges

0

Reputation

  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
×
×
  • Create New...