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

kpukka

Members
  • Posts

    5
  • Joined

  • Last visited

kpukka's Achievements

Newbie

Newbie (1/14)

  • Week One Done
  • One Month Later
  • One Year In
  • First Post Rare
  • Conversation Starter Rare

Recent Badges

0

Reputation

  1. I am having the same problem. In iReport 4.5.0, I have removed all groups, summary, etc. I have only one detail band and one page footer. The report prints correctly until the last page. The last page includes the footer, but no detail. There are no other blank pages throughout the report. I have tried all sorts of things. The only thing that works is to decrease the detail band height until finally the last empty page no longer shows up. However, I don't see how this makes sense. I would think that if the detail was splitting, then I would see blank pages throughout the report.
  2. To uninstall plugin: Tools -> Plugins Select "Installed" tab Check "jasperreports-extensions" Click uninstall button at bottom.To remove classpaths: Tools -> Options -> iReport -> Classpath Shift-Click or Ctrl-A to select all Remove
  3. wow. Uninstalling extension and removing classpath worked for me too. Thanks. I'm new to iReports, and just started using it with the 4.5.0 release. Last few days I've been thinking "how does anyone get anything done with this tool?". I glad to find that the slowness (especially when compiling) is not the norm. I wouldn't have known otherwise.
  4. You resurrected a very old thread. Your question has been answered in various places, including here: http://jasperreports.sourceforge.net/sample.reference/nopagebreak/index.htmlSummarized for HTML export: http://jasperreports.sourceforge.net/api/net/sf/jasperreports/engine/JRParameter.html#IS_IGNORE_PAGINATION = trueThen: htmlExporter.setParameter(JRHtmlExporterParameter.BETWEEN_PAGES_HTML, ""); htmlExporter.setParameter(JRHtmlExporterParameter.HTML_HEADER, ""); htmlExporter.setParameter(JRHtmlExporterParameter.HTML_FOOTER, ""); htmlExporter.setParameter(JRHtmlExporterParameter.IS_REMOVE_EMPTY_SPACE_BETWEEN_ROWS, Boolean.TRUE);
  5. Using iReport 4.5.0, I'm setting these two properties and values: net.sf.jasperreports.text.truncate.at.char=true net.sf.jasperreports.text.truncate.suffix=...The intent is to add "..." to the end of the textfield whenever it must be truncated, and that the truncation determination happens at the character level, rather than at the word level. This works as expected when exporting to PDF. However, when exporting to HTML, the last textual component (with the suffix appended) will often, though not always, wrap incorrectly. (It does this even though StretchType is set to No Stretch. See attached screen capture image). If I change net.sf.jasperreports.text.truncate.at.char=false (so that it breaks on words instead of characters) it seems to work more often, but only because word breaks usually leave more space for the suffix. The unexpected line wrapping still occurs with word breaks, especially if I increase the length of the given suffix. My best guess is that the HTML exporter measurement isn't precisely calculating the width required by the given suffix (if it's calculating it at all). Can anyone confirm? Should I file a bug? Any suggestions as to a workaround? It seems like with StretchType set to No Stretch, that the HTML exporter should probably also set white-space:nowrap. However, although that would prevent the line from wrapping, the end of the suffix would be partially hidden (due to overflow:hidden styling).
×
×
  • Create New...