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: Removing all Rich Text, same size fonts in Object Text
Topic Summary: Rich Text font size
Created On: 18-Nov-2004 15:04
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.
Answer This question was answered by Peter Seager, on Friday, March 11, 2005 5:06 PM

Answer:
Be aware that DOORS V7.1, and likely earlier versions, now translates hidden text markup \v (On) and \v0 (off). * I found this out when investigating the more obvious font problem - in our case a mixture of Roman and Helvetica typefaces. I noticed that text that appeared in V5.2 documents was now missing.

You can set up a layout DXL column to view the markup:

string a
a = richText obj."Object Heading"
if(a!="") {display a}
a = richText obj."Object Text"
if(a!="") {display a}

Then filter on the column using the regular expression \\v[^a-z]. This will reveal any objects with hidden text markup. We have reported this to Telelogic but so far had no solution. They did give us some DXL to eliminate the font problem so I hope they can build on that to solve this version of the problem.

(* I originally wrote "If you save an object with hidden text it deletes the hidden text." but this no longer happens. This is not the only thing that changes its behaviour. I found once that making a copy of a module cured the font markup problem - but now it doesn't - however in that case I have the files that prove it once worked!)
 18-Nov-2004 15:04
User is offline View Users Profile Print this message


Frank Lipski

Posts: 42
Joined: 6-Nov-2002

A number of modules that exist have been populated over time by various means: importing portions from various Word documents, manual inputs and probably other means. This has resulted in the text being all different sizes. Does anyone have any DXL scripts that would strip any and all Rich Text from a module to make the text the same font/size? I don't care about any other rich text that may have been deliberately added to the text.

TIA
Frank
Report this to a Moderator Report this to a Moderator
 18-Nov-2004 17:06
User is offline View Users Profile Print this message


Roy Bond

Posts: 39
Joined: 25-Mar-2003

Before you try it - be aware that this will delete all OLE Objects / diagrams etc that you may have in the Formal Module....
Report this to a Moderator Report this to a Moderator
 18-Nov-2004 19:20
User is offline View Users Profile Print this message


Michael Sutherland

Posts: 248
Joined: 13-Sep-2002

Frank,

I have such a script (Normalize Rich Text Markup) in the downloads area of my web site.

It meets the followign requirements:

(1) Eliminates all non-standard Font Markup for Object Heading and Object Text
(2) Preserves Rich Text Markup ( bold, italic, strikethru, underline, superscript, subscript)
(3) Preserves Symbol Font
(4) Does not modify Object Text with embedded OLE, bullet, or indent markup
(new features in DOORS 6)

-------------------------
Michael Sutherland
michael@galactic-solutions.com
http://galactic-solutions.com
Report this to a Moderator Report this to a Moderator
 6-Dec-2004 14:08
User is offline View Users Profile Print this message


Peter Seager

Posts: 32
Joined: 10-Feb-2003

Answer Answer
Be aware that DOORS V7.1, and likely earlier versions, now translates hidden text markup \v (On) and \v0 (off). * I found this out when investigating the more obvious font problem - in our case a mixture of Roman and Helvetica typefaces. I noticed that text that appeared in V5.2 documents was now missing.

You can set up a layout DXL column to view the markup:

string a
a = richText obj."Object Heading"
if(a!="") {display a}
a = richText obj."Object Text"
if(a!="") {display a}

Then filter on the column using the regular expression \\v[^a-z]. This will reveal any objects with hidden text markup. We have reported this to Telelogic but so far had no solution. They did give us some DXL to eliminate the font problem so I hope they can build on that to solve this version of the problem.

(* I originally wrote "If you save an object with hidden text it deletes the hidden text." but this no longer happens. This is not the only thing that changes its behaviour. I found once that making a copy of a module cured the font markup problem - but now it doesn't - however in that case I have the files that prove it once worked!)


Edited: 7-Dec-2004 at 10:12 by Peter Seager
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic DOORS forum.
There are currently 0 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 0 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.