![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
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 |
![]() |
![]()
|
![]() |
|
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 |
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.