Hi Jerzy,
the RTF Icon was implemented on my request back in 2004, 2005.
And yes, my original idea was to be able to add information from the database or "..." to the report that will be 100% well formatted, pixel perfect.
It was implemented a little different as thought. Developer creativity :-) If I remember it right, Craig implemented this.
So, as to my knowledge we now find a basic formatting / interpretation of the RTF features.
And, yes it should work as documented to be able to insert XHTML with css-style formatting into your report.
------------------------------
Ralf Roeber
https://linkedin.com/in/ralf-roeber/------------------------------
Original Message:
Sent: Tue November 21, 2023 06:22 AM
From: Jerzy Konarski
Subject: RTF content in reports
Hi Patrick,
It doesn't really work :(. I have to replace the RTF tags with html tags, "by hand". Not a great solution. So I wonder what the RTF control is for in report studio.
jerzy
------------------------------
Jerzy Konarski
------------------------------
Original Message:
Sent: Mon November 20, 2023 03:40 AM
From: Patrick Neveu
Subject: RTF content in reports
Hi Jerzy,
Only a few elements are supported in rich text items (RTF): https://www.ibm.com/docs/en/cognos-analytics/12.0.0?topic=report-elements-supported-in-rich-text-items
I believe there is no new feature with RTF since Cognos BI v10.2.x.
You could have the following code in your database:
<html>
<p>Line 1</p>
<p>Line 2</p>
<p>Line 3</p>
</html>
Best regards,
------------------------------
Patrick Neveu
Collaboration Betters The World (CBTW)
IBM Champion