Hitachi Vantara Pentaho Community Forums
Results 1 to 2 of 2

Thread: Empty Report when saving report as txt file

  1. #1
    Join Date
    Mar 2003
    Posts
    4,947

    Default Empty Report when saving report as txt file

    Hi ,

    I am able to save the report as .pdf but when i go to save the report in .txt format only the headers are coming in the report and no data is coming in the table.

    Help on this will be really appreciated.

    Cheers,

    Shalabh

  2. #2
    Join Date
    Mar 2003
    Posts
    8,085

    Default

    Hi,

    this can have numerous causes, but most of the time, it is just that your text elements are not large enough to support a single line of text.

    In the plain text export, the declared font size is ignored and the effective font size is derived from the LinesPerInch parameter.

    The formula is simple: "FontHeight = 72 / linesPerInch"; so if you export the report with a LPI of 6, then your text elements must have a height of 12 points (12 pt = 72pt / 6 lpi).

    Yes, I know, that schema is ugly, evil and has strange sideeffects, making it hard to create sane report definitions. But all the trouble is caused by the absolute positioning of the report elements, which allows relativly context-free layouts, but in return it causes these effects on non-graphical exports.

    Regards,
    Thomas

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Privacy Policy | Legal Notices | Safe Harbor Privacy Policy

Copyright © 2005 - 2019 Hitachi Vantara Corporation. All Rights Reserved.