![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
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 |
![]() |
![]()
|
![]() |
|
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) |
|
![]() |
|
![]() |
|
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 |
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.