![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: Changing Object Text Styles Based on Attribute Topic Summary: Created On: 26-Jan-2007 22:55 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
We have an enumerated attribute called Text Type that allows us to differentiate between objects that are just context versus objects that are requirements. We would like objects that are just context to be in italic. Is there a script that will change the text style of an object based on an attribute selection (in this case Context)?
|
|
![]() |
|
![]() |
|
I have a similar problem (refer to my post on 29 Jan 07). Hopefully one of the specialists will come up with a solution.
- Krishna |
|
![]() |
|
![]() |
|
I presume you want to change the style of the object text in DOORS not in an export to Word. ------------------------- - Martin Edited: 5-Feb-2007 at 13:32 by Martin Hunter |
|
![]() |
|
![]() |
|
Your get-the-value part needs to be
richTextWithOle(o."Object Text") Otherwise, your code will set to italics all Text of type Context currently displayed in the module. You may want to do this: for o in entire mod do { if (isDeleted(o)) continue to get all undeleted objects. Notice that if the type changes, this code will NOT un-italicize it. - Louie |
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.