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

alchavez

Members
  • Posts

    27
  • Joined

  • Last visited

alchavez's Achievements

Contributor

Contributor (5/14)

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

Recent Badges

0

Reputation

  1. I am building reports via iReport 3.7.4, and would like some tips regarding exporting to xls format. I'd like the pdf and html version to display the page header on each page, as it currently does. I'd also like, if the xls version to only output the page header one time. I've tried several of the 'export option settings' and all of them for xls seem to result in the page header repeating for each page. So far I've had the idea that creating an alternate version that moves the page header into the 'title' band will work, but I thought I'd see if anyone had a way to get this action to occur all in the same report. Maybe do a 'print expression when' setting for the page header band and the title band based on format selected by user? Also, users are requesting a CSV option and once again I'm running into the same type of issues, the header values repeat throughout the csv output, as well as the group headers' and footers' data getting inserted into separate rows. Let me know if thoughts on just getting all the fields' data all into one row each in the CSV version with the header fields only displaying top row. Would that require an additional version of report? Is there a way for the report to just take all the rows/fields from the sql and export it into a CSV, ignoring the report's formatting? Thanks in advance, Anthony
  2. Thanks for the tip! My environment also has prompt to select format: pdf or html. It didn't occur to me to tie the user selection into a parameter until your message.
  3. I'm creating reports using iReport 2.0.4 and have some interest in doing the following: Have a text field that displays only when the report has been generated as a pdf, and another text field that only displays when the report has been generated as html. Is this possible? Perhaps using a a 'print when expression'? Thanks in advance, alchavez
  4. Working with iReport 2.0.4, I have a few database fields where some special characters are in the database in html format. For example a double quote ( " ) will show as ( & quot ; ) The text field will display the & quot ; instead of the " in both the html and pdf version of report. Is there a way in iReport to set up the text field to automatically convert the html special characters to regular characters. I could do this via sql query with the REPLACE function, but would probably have to do search and replace text for every html special character code used. It'd be great if anyone had any tips on this. Post edited by: alchavez, at: 2008/04/16 18:32
  5. Hello, The browser IE6 has this toolbar that shows up when you have your pointer hovering over an image, the "Image Toolbar". We find that this toolbar shows up in generated JasperReports in html format, and users think its part of the application and attempt to use the toolbar to print the report, which of course prints the image only (usually a blank image) We'd like to disable this toolbar. After some research I find that adding the following text to head tag of the html file disables the toolbar: <html> <head> <meta http-equiv="imagetoolbar" content="no"> </head> Is there a way to set up the report to always generate this value in the <head> tag? Thanks, alchavez
  6. duplicate post Post edited by: alchavez, at: 2008/02/01 18:44
  7. Thanks for giving the workaround! I will have to add this as a feature request for a future version iReport - the ability to convert and remove the deprecated tags.
  8. Thanks! That code does give the desired results. It would be great if in a future release of JasperReports, if the html automatically would output the report 'name' value to the title tag, but this workaround works great for the time being.
  9. Thanks for your reply! I have tried setting the html_header parameter and found that it adds the text into the header of the report, which is close, but not exactly what I'm searching for. I'm looking for a feature that will populate the <title> tag, which would result in the text showing at the top of the browser window, much like this text: "JasperForge - Re:Html Title Problem - JasperForge.org Forum", shows for this forum topic.
  10. I am running into this issue as well, and the links provided did not include information on how to resolve. Any tips on how to set the JasperReport jrxml file to input some text into the title tag, when the report is exported to html format? Such that the html source would have a section like this: <title>My Report Name</title> Thanks in advance!
  11. Hello, The application running jasper reports is generating a ton of warnings when a report is run, saying that many of the attributes are deprecated (see below for detailed error). My question is, is there a good way (preferably in iReport 2.0.3 / 2.0.4) to update the reports to help prevent these warnings. I'd like to be able to update the reports to no longer use the 'deprecated' attributes. Many Thanks, alchavez WARN [main] (JRBoxFactory.java:100) - The 'topBorderColor' attribute is deprecated. Use the <pen> tag instead. WARN [main] (JRBoxFactory.java:115) - The 'leftBorder' attribute is deprecated. Use the <pen> tag instead. WARN [main] (JRBoxFactory.java:124) - The 'leftBorderColor' attribute is deprecated. Use the <pen> tag instead. WARN [main] (JRBoxFactory.java:139) - The 'bottomBorder' attribute is deprecated. Use the <pen> tag instead. WARN [main] (JRBoxFactory.java:148) - The 'bottomBorderColor' attribute is deprecated. Use the <pen> tag WARN [main] (JRBoxFactory.java:163) - The 'rightBorder' attribute is deprecated. Use the <pen> tag instead. WARN [main] (JRBoxFactory.java:172) - The 'rightBorderColor' attribute is deprecated. Use the <pen> tag instead. WARN [main] (JRBoxFactory.java:91) - The 'topBorder' attribute is deprecated. Use the <pen> tag instead. WARN [main] (JRGraphicElementFactory.java:63) - The 'pen' attribute is deprecated. Use the <pen> tag instead.
  12. Hello, A quick question (couldn't find an answer after searching docs, forums, and the iReport 2.0.3 app): I would like to be able to set up my reports, so that when it outputs in html, the source code would look like the following, with the report name in the title tag: "<html> <head> <title>Report Name</title>" As it is currently, the title tag is always empty. Many thanks in advance.
  13. svenn, Thanks! I was missing step number 2. I changed the subreport settings to pass through the group expression, and changed the subreport query to require that information. I knew I was missing something.
  14. Hello, A quick request for some advice on the following situation. I must be missing some setting, developing the report in iReport 2.0.2: I've got a situation where a report requires 2 detail bands (one with the main information, the second with information pertaining to a group in the group footer). I have created a subreport in the groop footer, thinking I'd be able to print only information for the group in the subreport. Instead, the subreport is printing information for all groups, in every group footer. I haven't found any info on how to get the subreport working properly yet, so any quick thoughts on how to correct this would be appreciated. Many Thanks in advance!
  15. Thanks for the advice! Take note, this issue happens for all images in all reports (html only). I did check for overlapping images and found none. I also have tested the reports in Jasperserver on my local system, and the images show in html when run through Jasperserver 2.0.1. The issue occurs when run through our custom web application. Let me know any more thoughts or if I need to get the developer of the application involved and what info I might need to ask for.
×
×
  • Create New...