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: DOORS 6.0 DXL Function stripRTFheaders
Topic Summary:
Created On: 5-Nov-2002 16:28
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.
 5-Nov-2002 16:28
User is offline View Users Profile Print this message


nick delisi

Posts: 5
Joined: 10-Oct-2002

Anyone know what the deal is with the function stripRTFheaders(string).

it is declared in the DXL Reference manual like this down below, but it does not exists:

stripRTFheaders(string)
Declaration
string stripRTFheaders(string s)

Operation
Returns the content (including rich text markup) of the passed string with any font color or other
RTF header information removed.

Example
Object o = current
string str = o."Object Text"
print stripRTFheaders(str)
Report this to a Moderator Report this to a Moderator
 5-Nov-2002 20:26
User is offline View Users Profile Print this message


Gyan Penrose-Kafka

Posts: 10
Joined: 12-Sep-2002

Same result here. It is supposed to be a new feature, but it seems it never made it into the release code.

-------------------------
Gyan Penrose-Kafka
Requirements Management Consultant
gyan@zenmonkey.net
Report this to a Moderator Report this to a Moderator
 7-Nov-2002 11:09
User is offline View Users Profile Print this message


Judith Underwood

Posts: 35
Joined: 25-Sep-2002

I think it's called richTextFragment instead. See if that does what you want.

You'd need to say

Object o = current
string str = richText o."Object Text"
print richTextFragment str

in order to get rich text to work on.
Report this to a Moderator Report this to a Moderator
 7-Nov-2002 18:38
User is offline View Users Profile Print this message


Michael Sutherland

Posts: 248
Joined: 13-Sep-2002

Thanks, Judith!

I see it is used in the DOORS 6 <standard/export/rtfexp.dxl>, but is not in the DOORS 6 manual. It does seem to do what "stripRTFheaders()" was supposed to do.

-------------------------
Michael Sutherland
michael@galactic-solutions.com
http://galactic-solutions.com
Report this to a Moderator Report this to a Moderator
 12-Nov-2002 18:48
User is offline View Users Profile Print this message


Michael Sutherland

Posts: 248
Joined: 13-Sep-2002

I asked support for an official definition of richTextFragment(), and they replied:

"This is interchangeable with the stripRTFheaders. Both do the same job and are used in the same way. For information on stripRTFheaders, see page 448 of the DXL manual."

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