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: Object Number
Topic Summary:
Created On: 11-May-2004 15:21
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 Ross Morgan, on Wednesday, May 12, 2004 9:08 PM

Answer:
All objects have an "Absolute Number" which can't be changed.

The Object Identifier (=prefix + Absolute Number) doesn't need to be displayed. You can remove the ID column from the default view.

The numbering included in the Object Heading cannot be removed or changed, but then you don't need to use the Object Heading. Press CTRL-T and you can enter Object Text instead - with no numbering displayed.

You can remove the default Object Heading/Object Text column from the default view. Trouble with this is that this column holds the link indicators.

DOORS numbering doesn't really bother me because I can always define views, layout DXL and custom attributes to make DOORS modules look the way I want. Personally, I don't find that alternative numbering schemes add any value to my modules. If presentation is really an issue then I can export a module to a word processor or use DocExpress.

Ross.
 11-May-2004 15:21
User is offline View Users Profile Print this message


David Rose

Posts: 80
Joined: 10-Oct-2003

Is it possible to delete or hide all object numbers? One of my projects is insisting on getting rid of DOORS' reference numbers and using their own instead. So now I need to know if its possible or give this project a reason why it can't be done.

-------------------------
David A. Rose TSgt USAF
NCOIC System Administration
Report this to a Moderator Report this to a Moderator
 11-May-2004 15:59
User is offline View Users Profile Print this message


Ross Morgan

Posts: 74
Joined: 15-Apr-2004

Answer Answer
All objects have an "Absolute Number" which can't be changed.

The Object Identifier (=prefix + Absolute Number) doesn't need to be displayed. You can remove the ID column from the default view.

The numbering included in the Object Heading cannot be removed or changed, but then you don't need to use the Object Heading. Press CTRL-T and you can enter Object Text instead - with no numbering displayed.

You can remove the default Object Heading/Object Text column from the default view. Trouble with this is that this column holds the link indicators.

DOORS numbering doesn't really bother me because I can always define views, layout DXL and custom attributes to make DOORS modules look the way I want. Personally, I don't find that alternative numbering schemes add any value to my modules. If presentation is really an issue then I can export a module to a word processor or use DocExpress.

Ross.
Report this to a Moderator Report this to a Moderator
 11-May-2004 17:07
User is offline View Users Profile Print this message


Louie Landale

Posts: 2070
Joined: 12-Sep-2002

Morgan's response was pretty good. But we need more information. Are you asking to suppress the "3.1" part of "3.1 System Requirements" that you see in the main column display? You can suppress the entire column and display two columns "Object Heading" and "Object Text" in its place but then you don't see the indicators. You can suppress these numbers by moving ALL "Object Heading" to "Object Text" and insuring that no object has nothing in the Object Text. Then the main column won't have any headings and therefore no displayed paragraph numbers.

Don't know why you'd want to do that.

- Louie
Report this to a Moderator Report this to a Moderator
 11-May-2004 17:51
User is offline View Users Profile Print this message


Carlton Rubio

Posts: 23
Joined: 22-Jan-2003

Funny thing is that I just had a need to do similar, and my first stop is always this forum, and look what shows up. Anyway...

We are using DOORs 6.0 SR1

The formatting that occurs to the Main Column shows the hierarchy pretty clearly (i.e The headings are nicely Bolded, etc.) The problem is that you can only get this kind of formatting when the Column is the Main one (has the "Object Heading and Object Text" setting selected). I have tried to remove the Object Numbers from the Main Column but to no avail.

When I manually create another column that shows both the Heading and Text but no Object Number (using a simple DXL) I lose the formatting (even if I displayRich). I would prefer not to consolidate my headings into my text because I would still lose the formatting, even though the Object Number issue would be resolved.

So my question is, "Is there a way to Not show the Object Number in the Main Column and still retain the Heading formats?"

A DXL on a different column would help but I can't find any commands that would give me back the same formatting that the DOORS Main Column has.

Any help is appreciated.
Thanks
Carlton
Report this to a Moderator Report this to a Moderator
 12-May-2004 21:06
User is offline View Users Profile Print this message


David Rose

Posts: 80
Joined: 10-Oct-2003

I don't know why my user wanted to do it either but she did want to suppress the "3.1" part of "3.1 System Requirements" that you see in the main column display. She found something that made her happy though, so she is going to leave it alone now (I hope). Thanks for all your inputs.

-------------------------
David A. Rose TSgt USAF
NCOIC System Administration
Report this to a Moderator Report this to a Moderator
 12-May-2004 21:15
User is offline View Users Profile Print this message


Carlton Rubio

Posts: 23
Joined: 22-Jan-2003

Don't know if this helps but when I was weeding through my problem (previously described) I was able to solve it with the following DXL. Basically I am able to concatenate the Object Number, Object Heading, Object Text into a Layout DXL Column. From there I can show as much of the concatenated string (or as little) as I want with the correct formatting.

That was my work around... Again I was trying to replicate the "Main Column" look but needed to modify it slightly.

Here is the Code:
//Note this code only valid in Layout DXL and not in Attribute DXL
//changes the font in the displayed column to the Heading Type and set the Font to show the correct level
font(getCanvas(), level(obj) -1, 1)

//Get the pertinent Text and Object Number
string s= number obj " " obj."Object Heading" " " obj."Object Text" ""

display s[4:] //trim the display string so that only what you need shows
Report this to a Moderator Report this to a Moderator
 13-May-2004 16:15
User is offline View Users Profile Print this message


Louie Landale

Posts: 2070
Joined: 12-Sep-2002

The command Text = obj."Object Heading" retrieves the RAW text only. Use Text = richText(obj."Object Heading") to get the rich Text markup as well. When retrieving from a text attribute (v6 or higher), richTextNoOle is the same as richText; but richTextNoOle can also be used.

Complimenting that command is obj2."Object Heading" = richText(Text); say if you want to copy a heading. The following two examples will put the RAW text of o1 into o2 (probably NOT what you want to do):
[No1] o2."Object Text" = o1."Object Text"
[No2] o2."Object Text" = richText(o1."Object Text")

No, you want this to copy object text:
[Yes] o2."Object Text' = richText(richTextWithOle(o1."Object Text"))

- Louie
Report this to a Moderator Report this to a Moderator
 13-May-2004 16:38
User is offline View Users Profile Print this message


Carlton Rubio

Posts: 23
Joined: 22-Jan-2003

Didn't quite understand why you would copy object text in this way

[Yes] o2."Object Text' = richText(richTextWithOle(o1."Object Text"))

instead of this way (which seems more intuitive)

[No2] o2."Object Text" = richText(o1."Object Text")

Secondly when I try either way, in a layout column I still do not get the correct formatting (the column does not display the fonts in the same manner)

for example displayRich (richText(richTextWithOle(o1."Object Text")) ) just displays the richText codes.

How would I create another column that would show the Object Headings with the same formatting as the Main column? Just a question since the way I described above (at least for me) does appear to work fine.

Report this to a Moderator Report this to a Moderator
 13-May-2004 17:06
User is offline View Users Profile Print this message


Louie Landale

Posts: 2070
Joined: 12-Sep-2002

[1] My bad. If you stage the text you need a 2nd richText command:
Text = richTextWithOle(o1."Object Text")
o2."Object Text" = richText(Text)

[2] You do NOT need that 2nd richText command in the Layout:
Text = richText(obj."Object Text")
displayRich(Text)

- Louie
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic DOORS forum.
There are currently 0 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 0 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.