How to display attribute values in bold

When using Analysis Wizard to display trace data in a dxl column, I know how to modify dxl to display bolded attribute names.  I'm struggling with how to modify dxl to not display the attribute name but bold attribute value.  See following:

            s = probeRichAttr_(othero,"Object Identifier", false)

            s = "{\\b Object Identifier:  }" s

            if (s == "")

            displayRich("\\pard " " ")

            else

            displayRich("\\pard " s)

            s = probeRichAttr_(othero,"Object Text", false)

            s = "{\\b Object Text:  }" s

            if (s == "")

            displayRich("\\pard " " ")

            else

            displayRich("\\pard " s)

 

What do I modify in the dxl to display attribute values with bolded text?

 

Thank you so very much.


PatRoof - Sat May 07 13:34:57 EDT 2016

Re: How to display attribute values in bold
Costas..Aravidis - Sun May 08 05:35:43 EDT 2016

You need to reverse the rich text 

s = "Object Identifier: { \\b " s "}"

and the same with the object text.

In the object text is most likely to have other rich text so it might be the case some times that part of the object text is not displayed in bold.

In that case if you are not interested about the pictures etc. you can use the probeAttr_ instead of the probeRichAttr_

 

If you want to learn more about rich text look at the DXL manual.