Aply different style to output columns inside a Dynamic Text
<p>I'm trying to make a report with a text like bellow, where output columns have different style (color) than the rest of the text. </p>
<p> </p>
<p> </p>
<p>text text text <span style="color:rgb(255,0,0);">word </span>text text text </p>
<p> </p>
<p> </p>
<p>using dynamic text I get : "text " + row["word"] + "text " and the whole text with te same style<br>
is there a way to customize row["word"] style? </p>
<p> </p>
<p>I hope I've explained myself well </p>
<p> </p>
<p>thanks</p>
<p> </p>
<p> </p>
<p>text text text <span style="color:rgb(255,0,0);">word </span>text text text </p>
<p> </p>
<p> </p>
<p>using dynamic text I get : "text " + row["word"] + "text " and the whole text with te same style<br>
is there a way to customize row["word"] style? </p>
<p> </p>
<p>I hope I've explained myself well </p>
<p> </p>
<p>thanks</p>
0
Comments
-
<p>Dynamic text allows the use of HTML tags within it when the content type is set to HTML.</p>
<p>So, it is possible to do</p>
<p> </p>
<p style="margin-left:40px;"><span style="font-size:12px;"><span style="font-family:'courier new', courier, monospace;">'text ' + '<span style="color:#ff0000">' + row["word"] + '</span>' + 'text '</span></span></p>
<p> </p>
<p>See, <a data-ipb='nomediaparse' href='http://help.eclipse.org/kepler/index.jsp?topic=/org.eclipse.birt.doc/birt/txt-HowToUseADynamicTextElement.html'>http://help.eclipse.org/kepler/index.jsp?topic=/org.eclipse.birt.doc/birt/txt-HowToUseADynamicTextElement.html</a></p>0
Categories
- All Categories
- 108 Developer Announcements
- 53 Articles
- 106 General Questions
- 144 IM Services
- 43 OpenText Hackathon
- 32 Developer Tools
- 20.6K Analytics
- 4.1K AppWorks
- 8.9K Extended ECM
- 899 Cloud Fax and Notifications
- 77 Digital Asset Management
- 9.3K Documentum
- 29 eDOCS
- 120 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management