Welcome to Telelogic Product Support
  Home Downloads Knowledgebase Case Tracking Licensing Help Telelogic Passport
Telelogic DOORS (steve huntington)
Decrease font size
Increase font size
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
Search Topic Search Topic
Topic Tools Topic Tools
Quick Reply Quick Reply
Subscribe to this topic Subscribe to this topic
E-mail this topic to someone. E-mail this topic
Bookmark this topic Bookmark this topic
View similar topics View similar topics
View topic in raw text format. Print this topic.
Answer This question was answered by Stephen Valliere, on Wednesday, April 26, 2006 3:54 PM

Answer:

Here is what ended up working... (See attached code at bottom)

Thanks for the help Louie.

-Steve

 25-Apr-2006 18:06
User is offline View Users Profile Print this message


Stephen Valliere

Posts: 8
Joined: 1-Feb-2005

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?

Anytime a CP is written against one of the objects where we manually changed the bolding, it goes back to bold. We would like to be able to run a script to fix them on occasion.

Report this to a Moderator Report this to a Moderator
 25-Apr-2006 20:43
User is offline View Users Profile Print this message


Louie Landale

Posts: 2070
Joined: 12-Sep-2002

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
Report this to a Moderator Report this to a Moderator
 25-Apr-2006 20:56
User is offline View Users Profile Print this message


Stephen Valliere

Posts: 8
Joined: 1-Feb-2005

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.
Report this to a Moderator Report this to a Moderator
 25-Apr-2006 22:17
User is offline View Users Profile Print this message


Louie Landale

Posts: 2070
Joined: 12-Sep-2002

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
Report this to a Moderator Report this to a Moderator
 26-Apr-2006 09:39
User is offline View Users Profile Print this message


Hazel Woodcock

Posts: 78
Joined: 6-May-2005

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
Report this to a Moderator Report this to a Moderator
 26-Apr-2006 15:53
User is offline View Users Profile Print this message


Stephen Valliere

Posts: 8
Joined: 1-Feb-2005

Answer Answer

Here is what ended up working... (See attached code at bottom)

Thanks for the help Louie.

-Steve



Edited: 26-Apr-2006 at 15:54 by Stephen Valliere
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic DOORS forum.
There are currently 1 users logged in.
The most users ever online was 15 on 15-Jan-2009 at 16:36.
There are currently 0 guests browsing this forum, which makes a total of 1 users using this forum.
You have posted 0 messages to this forum. 0 overall.

FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.