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: Warning: OLEs in Object Text version 6.0
Topic Summary:
Created On: 25-Nov-2002 18:03
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.
 25-Nov-2002 18:03
User is offline View Users Profile Print this message


Louie Landale

Posts: 2070
Joined: 12-Sep-2002

In DOORS v5 the OLE diagrams were assocated with the object itself and were NOT associated with any particular attribute. In DOORS v6 the OLE diagrams can be embedded within any Text attribute.

WARNING: your old DXL scripts that manipulated text attributes, especially Object Text, will likely now ERASE any OLE diagrams therein. If you have any sort of "mergeText" or "copyText" or a dialog that allows the user to change the Object Text, these scripts will erase the diagrams. Note the following commands:

1] string Value = obj."Object Text" - gets the raw text stripping formatting and OLE diagrams
2] string Value = richText("Object Text") - gets the formatted text WITHOUT OLE diagrams
3] string Value = richTextWithOLE("Object Text") - gets the formatted text WITH the OLE diagrams.

You need to use [3] above when retrieving text that MAY be used to update some text attribute later. Dialogs that you use to input text attributes probably need to use the 'richText' DBE instead of a 'text' DBE (not tested by me).

I suggest you review your old DXL scripts.

- 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.