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: Text formatting in DXL Attributes
Topic Summary: Headings bold is nice when showing Linked text but how?
Created On: 17-Oct-2007 14:18
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.
 17-Oct-2007 14:18
User is offline View Users Profile Print this message


Helge Bay Christiansen

Posts: 3
Joined: 1-Apr-2004

I have tryed out a lot of possibilities inserting \\b for showing linked text bold in a DXL Attribute, but did not succeed. I assume that it is something with \\b and it is inserted en this part of the Wizard script:

s = probeRichAttr_(othero,"Absolute Number", false)
displayRich s
s = probeRichAttr_(othero,"Object Heading", false)
displayRich s
s = probeRichAttr_(othero,"Object Text", false)
displayRich s

Do you know?
Regards, Helge
Report this to a Moderator Report this to a Moderator
 17-Oct-2007 15:23
User is offline View Users Profile Print this message


David Pechacek

Posts: 674
Joined: 5-Dec-2006

displayRich "{\\b " s "}"

Rich text format identifiers are in the DXL Reference manual.

-------------------------
David Pechacek
AAI Services Textron
dpechacek@sc-aaicorp.com
David.Pechacek@gmail.com
Report this to a Moderator Report this to a Moderator
 18-Oct-2007 12:19
User is offline View Users Profile Print this message


Helge Bay Christiansen

Posts: 3
Joined: 1-Apr-2004

Thanks! It works partwise
That means only with Absolute Number!
All other (text) attributes are shown normaly (NOT bold).
Instead they are added a line shift. ?? Any idears?
I still work on DOORS version 7.1 but for short.

(Yes, I need the DXL Reference manual)

/Helge

Edited: 18-Oct-2007 at 12:26 by Helge Bay Christiansen
Report this to a Moderator Report this to a Moderator
 18-Oct-2007 12:33
User is offline View Users Profile Print this message


Peter Albert

Posts: 232
Joined: 30-Dec-2005

displayRich "{\\b " richTextFragment(s) "}"

There is more rich Text than meets the eye :-)

Cheers,

Peter
Report this to a Moderator Report this to a Moderator
 18-Oct-2007 13:10
User is offline View Users Profile Print this message


Helge Bay Christiansen

Posts: 3
Joined: 1-Apr-2004

Hi Peter

Thanks a lot. It works and changes text into bold.
Now only the undesirable line shift is left?
From where does it come?

Regards, Helge

PS: Sorry, but this tiny thing seems to be quit complicated
Report this to a Moderator Report this to a Moderator
 18-Oct-2007 16:19
User is offline View Users Profile Print this message


Peter Albert

Posts: 232
Joined: 30-Dec-2005

Sorry, my previous proposal was slightly wrong in a subtle way, the correct line reads

displayRich "{\\b " (richTextFragment(s)) "}"

(See here why ("Single String Parameter Functions")

Regards,

Peter

Edited: 18-Oct-2007 at 16:23 by Peter Albert
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic DOORS forum.
There are currently 2 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 2 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.