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: InPlace Editing
Topic Summary:
Created On: 3-Feb-2003 16:34
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.
 3-Feb-2003 16:34
User is offline View Users Profile Print this message


Bobbette Parker

Posts: 12
Joined: 22-Nov-2002

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
Report this to a Moderator Report this to a Moderator
 4-Feb-2003 22:17
User is offline View Users Profile Print this message


Michael Sutherland

Posts: 248
Joined: 13-Sep-2002

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
Report this to a Moderator Report this to a Moderator
 4-Feb-2003 22:50
User is offline View Users Profile Print this message


Paul Miller

Posts: 376
Joined: 2-Oct-2002

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
Report this to a Moderator Report this to a Moderator
 5-Feb-2003 00:20
User is offline View Users Profile Print this message


Michael Sutherland

Posts: 248
Joined: 13-Sep-2002

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