How to use expression changing the font property of certain words within string

Started by sheng l., April 13, 2011, 07:08:28 AM

Previous topic - Next topic

sheng l.

I need to make certain words within a string to be bold and underlined. How can I do it without separating those words from other string and make them in the same word box/word wrap box.

Can I set the font property of a string dynamically using expression? and how?

Alex G.

Did you try using the HTML box as it provides a good way to produce attributed text?  The style properties on WORDBOX, WORDWRAPBOX apply to the entire content so that that is not possible to display mixed content with a single instance of these objects. You would have to break the text into chunks and set the properties on the individual chunks.

sheng l.

Seems like I don't have a HTML Box in my report writter. My version is 2.21.06-85371