Skip to main content
Participant
June 28, 2006
Question

Using HTML formatted text in the report builder

  • June 28, 2006
  • 2 replies
  • 1468 views
Has anyone been able to use HTML formatted text inside the report builder ?
I have an application that allows collection of formatted data and I wish to report on the collcted data. The problem is that the report builder always displays the formatting code instead of acting on it.
To overcome this issue I created a report using a CFM file and the cfdocument tags and while it works well I have no way to control page boundaries.
If anyone has a solution to this limitation I would be very keen to learn about it.
Thanks.
This topic has been closed for replies.

2 replies

Participant
July 3, 2006
having it be called HTML text was a bit of a misnomer on my part, it would have been better called XHTML formatted text. This change is reflected in the 7.0.2 Report Builder (the name has changed to XHTML Text).

It also does not support *all* the tags available to HTML or XHTML. The following tags (and attributes) are supported by the 7.0.2 updater:

<P>
<br>
<strong>
<b>
<em>
<i>
<u>
<underline>
<s>
<strike>
<font: fontName, face, color, size>
<a: href, anchor>
<ul>
<ol>
<li>

In the end, though it *must* be XML compliant in order to render. If you do not have well formed XHTML in your document (or field) it will not render it.
Inspiring
August 13, 2006
quote:

Originally posted by: Harmeister
In the end, though it *must* be XML compliant in order to render. If you do not have well formed XHTML in your document (or field) it will not render it.


Can someone please give an example of this. I have a field defined in a report built with the 7.0.2 builder that still shows the <b></b> instead of a bold phrase.

The field is built with manual contents something like; "This is a <b>bold</b> word." The word bold is not bold. Can someone please show us the proper way to do this? There is no other HTML oe XHTML in the report.

Participant
August 22, 2006
I am getting the same problem..I have a multipage output with the data coming from a database, and I have a title that I wanted bolded and it works for ALL of the other fields, except one that I am floating and on that one, it works on the first page, but every other page it is <b>Event Impact</b>. I tried <strong> but still the same result.
Participant
July 3, 2006
Hi Gary,

In 7.0.1 report builder, here is how HTML Formatted Text (true or false) option is intended to work: The pasted text should be XHTML compliant. Anything that is not will appear in the report “as is”. The HTML tags that work are: P, BR, Strong (or B), Underline (or U), Strike (or S), I (or EM), A, Font (color, name, size attributes).

In 7.0.2, LI is also supported.

Hope this helps,

Farah
CF QA Team