US and Worldwide: +1 (866) 660-7555
+ Reply to Thread
Results 1 to 6 of 6

Thread: thinsp, little square and ie6

  1. #1
    Join Date
    Mar 2006
    Posts
    2

    Default thinsp, little square and ie6

    Hello,

    I use jfreereport for generating a simple report: a list with 2 columns.

    I want to view this report by ie6 (6.0.2800.1106) and then I get a report with litlle square at the end of the text on each columns . (Like in Thinsp.jpg attached)

    When I look into the HTML source code, I see the special char   :

    HTML Code:
          <tr style="height: 30pt">
            <td colspan="2" valign="top" class="style-2"><span class="style-3">Formule</span>&thinsp;</td>
            <td class="style-6" />
            <td colspan="2" valign="top" class="style-4"><span class="style-5">[a / b] x 100</span>&thinsp;</td>
            <td />
          </tr>
    With Firefox or IE 7 the report works fine.

    But I have to make this report for users who have only ie6 and no possibility to change.

    Does anyone have a solution for remove or replace this special char by another (like the "bigger" &nbsp; ) ?

    Thanks
    Alex
    Attached Images

  2. #2
    Join Date
    Mar 2003
    Posts
    5,974

    Default

    Well, I can add a InternetExplorerHackMode to make that HTML-Viewer work correctly. Expect it in the next version. This mode will be activated using the report configuration and is disabled by default (as it has impacts on the resulting HTML file and as IE6 users are dieing out sooner or later anyway).

    JIRA Case: PRE-320
    Why not listen to the Tales from the reporting crypt.

  3. #3
    Join Date
    Aug 2008
    Posts
    5

    Unhappy

    Hi all,
    i've add InternetExplorerHackMode property in my report.xml file:

    <report-config>
    <simple-page-definition width="1" height="1">
    <page orientation="portrait" topmargin="0" leftmargin="10" bottommargin="10" rightmargin="10" pageformat="LETTER_ROTATED"/>
    </simple-page-definition>
    <configuration>
    <property name="org.jfree.report.NoPrinterAvailable">true</property>
    <property name="org.jfree.report.modules.output.table.html.I nternetExplorerHackMode">true</property>
    </configuration>
    </report-config>

    but i still view little square in IE6.
    Repot engine is 0.8.9.5
    What's wrong?
    Thank you.

    Fabrizio

  4. #4
    Join Date
    Mar 2003
    Posts
    5,974

    Default

    Upgrade to the latest engine and the configuration-hack is no longer needed.
    Why not listen to the Tales from the reporting crypt.

  5. #5
    Join Date
    Aug 2008
    Posts
    5

    Wink

    Hi Taqua,
    thanks for your quickly response.
    How can i upgrade only the latest report engine without install entire business suite?
    Fabrizio

  6. #6

    Default

    Quote Originally Posted by macfab View Post
    Hi all,
    i've add InternetExplorerHackMode property in my report.xml file:

    <report-config>
    <simple-page-definition width="1" height="1">
    <page orientation="portrait" topmargin="0" leftmargin="10" bottommargin="10" rightmargin="10" pageformat="LETTER_ROTATED"/>
    </simple-page-definition>
    <configuration>
    <property name="org.jfree.report.NoPrinterAvailable">true</property>
    <property name="org.jfree.report.modules.output.table.html.I nternetExplorerHackMode">true</property>
    </configuration>
    </report-config>

    but i still view little square in IE6.
    Repot engine is 0.8.9.5
    What's wrong?
    Thank you.


    Fabrizio
    Thanks man..
    THis worked for me with pentaho v1.7.1
    i m also using IE6

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts