![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: Strip BOLD from Object Heading Topic Summary: Removing Auto Bold From Some Headings Created On: 25-Apr-2006 18:06 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() Answer: Here is what ended up working... (See attached code at bottom) | |
![]() |
|
We would like to be able to only bold the headings down to level 2 and the rest not be bolded for one module. Does anyone know a way to do this with DXL? |
|
![]() |
|
![]() |
|
Got some interesting news. You can modify the font type and size and bolding that you SEE in the headings, from the DOORS Explorer Tools >Options... >Display >Fonts. This doesn't change the underlying data, just the way YOU see it. Someone can view it differently.
I suspect if you also modify If you want conformity you'll need to have everyone change their display settings; which I believe can be done like this: You define the settings you want, then Save As some Scheme (from the Display tab). Have each user load that scheme and [OK] it. If it really IS bold and you want to remove it, perhaps the attached DXL can get you going. - Louie |
|
![]() |
|
![]() |
|
Only problem is the Heading doesn't actually have an RTF BOLD tag in it... It is getting set by the display settings I believe.
The odd part is that you can click on the object and manually change it to not bold... but if you submit a CP on it, the bold comes back when it gets applied. |
|
![]() |
|
![]() |
|
Did a little testing. Even though the Heading appears bold, there is by default no bolding in the rich text flags. It appears bold due to your Options. When you select the heading and remove the bolding, a stop-bold tag is inserted into the Heading. I conclude that the actual bold-italics-font-font-size as displayed is derived from your settings, unless specifically stated within the tags of the Heading itself.
Forget all that. Adjust your settings and you'll be fine. Otherwise you could perhaps do something cute with your CPs like this: add a character to the front of the Heading. Turn bolding ON for the entire heading. Turn bolding OFF the the body of the heading (except 1st character). Delete the first character. This may insert bold-on then bold-off tags into the Heading which is what you want. You could also modify my DXL; doing something like this: Head = richText("\\{\\b0 " HeadRaw "\\}"); forcing a bold-off tag in the Heading itself. - Louie |
|
![]() |
|
![]() |
|
You could try saving a view with a Layout dxl column to display exactly what you want.
The main column is just layout dxl, but it is all encrypted so you can't just edit that, you will have to start again. Hazel |
|
![]() |
|
![]() |
|
Here is what ended up working... (See attached code at bottom) Edited: 26-Apr-2006 at 15:54 by Stephen Valliere |
|
![]() |
Telelogic DOORS
» DXL Exchange
»
Strip BOLD from Object Heading
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.