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: Old Text/ Old Heading referred to in Kitchen scripts
Topic Summary:
Created On: 12-Feb-2004 23:59
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.
 12-Feb-2004 23:59
User is offline View Users Profile Print this message


Janet Ma

Posts: 115
Joined: 12-Sep-2002

I found the module comparison script in the kitchen scripts set . It was written by Jeremy Dick of QSS for DOORS 4 which may have had Old Text and Old Heading attributes, if I recall correctly. The script creates a column called "Dynamic History" which shows the difference between any attribute between an older copy of a module and its current copy (you can also compare baselines

Does anybody know what the equivalent attributes (if any) are for Old Text/Heading. My guess is that they are now History objects.


Here is the layout DXL created:

#include <addins/kitchen/utensils/deltabuff.inc>
Buffer a = create()
Buffer b = create()
a = obj."Old Heading"
b = obj."Object Heading"
string c = deltaText(a, b, 9, 5)
if ( length(c) > 0 ) {
font(getCanvas, level(obj), 1)
displayRich " " number(obj) " " c ""
}
a = obj."Old Text"
b = obj."Object Text"
c = deltaText(a, b, 9, 5)
if ( length(c) > 0 ) {
font(getCanvas, level(obj), 0)
displayRich c ""
}
delete(a)
delete(b)

Report this to a Moderator Report this to a Moderator
 13-Feb-2004 13:33
User is offline View Users Profile Print this message


Tony Goodman

Posts: 1098
Joined: 12-Sep-2002

The "Old" attributes are not a DOORS 4 thing. They are created by the script.
See the call to the checkCreateObjAttrib() in compmods.dxl.

There is a lot of DXL to look through if you want to understand the module compare utility, and a lot of it is quite hard to understand.
Best of luck!


-------------------------
Tony Goodman
http://www.smartdxl.com
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.