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: Use of highlighting in Rich Text (undocumented feature)
Topic Summary: You can highlight text with any color in a layout DXL column or dialog box richField or richText
Created On: 29-Dec-2007 06:49
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.
 29-Dec-2007 06:49
User is offline View Users Profile Print this message


David Jakad

Posts: 94
Joined: 20-Jul-2007

I didn't see this posted anywhere, so I thought I would mention it, since others may find it useful.

It is possible to use color highlighting of text in either:
1.) a layout DXL column in a module
2.) a dialog box richField element
3.) a dialog box richText element

Basically, you start your text string with a color table, something like:
{\colortbl;\red255\green255\blue255;}

Then you use \highlight switch to turn on and off color highlighting.

For example:
"{\colortbl;\red255\green0\blue0;}The following word should be highlighted in \highlight1 red \highlight0"

...becomes:
The following word should be highlighted in red

...where 1 refers to the first color in the color table. You get the idea.

Now, I only wish there was similar control over the font style and font size in rich text fields. While you can add font tables ({\fonttbl\f0\fswiss\fcharset77 Helvetica;}) to the beginning of your rich text string, DOORS seems to over-ride that with some default.

Edited: 29-Dec-2007 at 06:56 by David Jakad
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.