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: Hidden Carriage Returns in Layout DXL Column?
Topic Summary: Imported data displayed too low in the column.
Created On: 18-Jan-2008 11:27
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 Robbie Longworth, on Friday, January 18, 2008 12:08 PM

Answer:
Cheers Peter,

You're right! I wrongly assumed if the attr in the target module was empty it wouldn't bother displaying anything. Now I check for != "" and all work fine!

Cheers,

Rob
 18-Jan-2008 11:27
User is offline View Users Profile Print this message


Robbie Longworth

Posts: 31
Joined: 23-Jun-2004

Hi All,

I've got several Layout DXL columns which 'pull in' attributes from a linked module. Some of the columns display perfectly but others have one or two carriage returns (or some other hidden formatting) before the data is shown. There seems to be no correlation between the type of data pulled in (Text, Enum) nor if I convert them to Attribute DXL.

I've tried trimming the imported data with "displayRich s[2:]" etc. but this just trims the valid data itself, i.e. it is still shown too low down. The data appears perfectly in the source module and I've tried removing the "" in the displayRich a "" b type statements but all to no avail.

Any idea what could be causing this? I could clean them up in a VB macro but this would be treating the symptoms not the disease.

Cheers,

Rob
Report this to a Moderator Report this to a Moderator
 18-Jan-2008 11:49
User is offline View Users Profile Print this message


Peter Albert

Posts: 232
Joined: 30-Dec-2005

Are you creating your output with a series of 'display' statements? In that case it might be possible that you pull a few empty string values from the linked module, which will create in empty lines. Just check whether the string is empty before you 'display' it.

Regards,

Peter
Report this to a Moderator Report this to a Moderator
 18-Jan-2008 12:08
User is offline View Users Profile Print this message


Robbie Longworth

Posts: 31
Joined: 23-Jun-2004

Answer Answer
Cheers Peter,

You're right! I wrongly assumed if the attr in the target module was empty it wouldn't bother displaying anything. Now I check for != "" and all work fine!

Cheers,

Rob
Report this to a Moderator Report this to a Moderator
 18-Jan-2008 15:02
User is offline View Users Profile Print this message


Louie Landale

Posts: 2070
Joined: 12-Sep-2002

Yes, 'display' and 'displayRich' always dump an EOL at the end, even when nothing is otherwise displayed.
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.