Uploaded image for project: 'Pentaho Reporting and Pentaho Report Designer'
  1. Pentaho Reporting and Pentaho Report Designer
  2. PRD-5917

For large text strings (without white space) word wrap adds a extra space at the end of every line when the report is created through Java application although pentaho report designer generates correct report.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Severity: Unknown
    • Resolution: Not a Bug
    • Affects Version/s: 7.0.0 GA
    • Fix Version/s: None
    • Component/s: Engine, Report Generation
    • Labels:
      None
    • Environment:
      Neutral
    • Story Points:
      0
    • Notice:
      When an issue is open, the "Fix Version/s" field conveys a target, not necessarily a commitment. When an issue is closed, the "Fix Version/s" field conveys the version that the issue was fixed in.
    • Steps to Reproduce:
      Hide

      1. Load the attached "Sample.prpt" in report designer and run the report to generate "Excel 2007" format report. This generates report correctly. No extra space issue.
      2. Run the "Sample.prpt" through java integrated application and it generates the report with extra spaces at the end of every line in the excel cell.

      Show
      1. Load the attached "Sample.prpt" in report designer and run the report to generate "Excel 2007" format report. This generates report correctly. No extra space issue. 2. Run the "Sample.prpt" through java integrated application and it generates the report with extra spaces at the end of every line in the excel cell.

      Description

      I have designed a report using report designer and was able to run the report to generate a Excel 2007 report with correct data. When I run the same report through Java integrated application I get a extra space at the end of every line in the cell. This happens for long strings that do not fit the column width. I am attaching the Sample.prpt and also the generated reports.

      PS: I have defined the datasource through BeanShell (Advanced datasource) and created TypedTableModel with data in it.

        Attachments

          Activity

            People

            Assignee:
            project admin Triage
            Reporter:
            vchaitankar vinay chaitankar
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: