![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: InPlace Editing Topic Summary: Created On: 3-Feb-2003 16:34 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
Does anyone have a script or can help in creating one that performs Object Text Editing where special characters are inserted at the beginning of each object, example (U)?
Bobbette |
|
![]() |
|
![]() |
|
A good example of the technique is found in the "convertSpecialCharacters" function located in:
<standard/import/ileafim.inc> For example, if you want to insert the (C) copyright symbol from the "Symbol" character set at the beginning of an Object, refer to the attached code, using the DOORS 5 or DOORS 6 line as appropriate. Refer to the "Table of Symbols" in the DXL manual for a comple set of symbol codes. ------------------------- Michael Sutherland michael@galactic-solutions.com http://galactic-solutions.com |
|
![]() |
|
![]() |
|
Michaels solution is very nice - I noted that an rtf font table number was used (\\f1001), where are these being defined by DOORS?
------------------------- Paul Miller Specification Practices Specialist, EuroCyber, Melbourne, Australia. Mobile: +61 (0)418 135 103 Web Site: http://www.eurocyber.biz E-mail: miller@eurocyber.biz">pmiller@eurocyber.biz |
|
![]() |
|
![]() |
|
Paul,
If you look up "fontTable", in the DXL Reference Manual, it says: In a newly created module, the DOORS default font table is: {\f1012\fswiss\fcharset177 Arial;} {\f1011\fswiss\fcharset162 Arial;} {\f1010\fswiss\fcharset238 Arial;} {\f1009\fswiss\fcharset204 Arial;} {\f1008\fswiss\fcharset161 Arial;} {\f1007\fswiss\fcharset0 Arial;} {\f1006\froman\fcharset177 Times New Roman;} {\f1005\froman\fcharset162 Times New Roman;} {\f1004\froman\fcharset238 Times New Roman;} {\f1003\froman\fcharset204 Times New Roman;} {\f1002\froman\fcharset161 Times New Roman;} {\f1001\ftech\fcharset2 Symbol;} {\f1000\froman\fcharset0 Times New Roman;} It seems they are mapping an "RTF font ID" (ex. f1001) to an "RTF font Class" (ex. "ftech") and a "RTF font name" (ex. "fcharset2 Symbol" ). I assume that the ID number is unique to DOORS, but the classes and names are industry standard. Additional entries can be added to the DOORS Module level "Font Table" attribute. ------------------------- Michael Sutherland michael@galactic-solutions.com http://galactic-solutions.com |
|
![]() |
Telelogic DOORS
» DXL Exchange
»
InPlace Editing
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.