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: Word Export - Remove View Attribute Name
Topic Summary: How to remove attribute name from export
Created On: 6-Apr-2005 01:55
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.
 6-Apr-2005 01:55
User is offline View Users Profile Print this message


Jason Longdon

Posts: 7
Joined: 25-Aug-2004

Hi All,

Can anybody advise on how to remove attribute header/name/title from a Word Export. I have a view with Main Body text and 2 dxl attributes. When I export the main body is fine, but in front of the attributes the attribute name is placed, when all I want is the attribute values, as formatted in the view.

The altentative is to use a Word macro to remove, but surely you can turn off attibute name at start of word export?

Any help would be appreciated.

Jason
Report this to a Moderator Report this to a Moderator
 6-Apr-2005 13:46
User is offline View Users Profile Print this message


Catherine Weir

Posts: 3
Joined: 22-Oct-2002


Assuming you're using WEXP and wish to add the values of your dxl columns below the main text then...

Set the column title to be a single underscore, "_", in order to ensure that column value is exported without a label.

If you wish to force a specific Word style for that column value, set the column title to be "_:StyleName" where StyleName is your chosen Word Style.

I've used this quite a lot for various purposes. The most recent being adding comments to a customer spec while keeping it in the format they were familiar with. We set up a style which indented and boxed our comments - it made them stand out well.

There's a section called "Exporting from views" in the WEXP help file with a little more detail.

Catherine.


-------------------------
Catherine Weir
Report this to a Moderator Report this to a Moderator
 6-Apr-2005 14:20
User is offline View Users Profile Print this message


Jobina Johnson

Posts: 55
Joined: 12-Sep-2002

If you are using the word.dxl file loacted the following lines

and comment out the lines as so

void wordDumpColumnValueVBA (Object o, Column c)
{
string errMess

//collapseSelection
setRichClip richText " " //"{ {\\i "(title c) "} :}" //prints the title of the columns in the output
errMess = oleMethod(objSel, cMethodPaste)




-------------------------


jobina.l.johnson@boeing.com
Report this to a Moderator Report this to a Moderator
 11-Apr-2005 03:20
User is offline View Users Profile Print this message


Jason Longdon

Posts: 7
Joined: 25-Aug-2004

Hi Catherine and Jobina,

I came with a variation on Jobina's recommendation, by commenting out titlestring from Word.dxl

I will try the WEXP version today, to see which is easiest.

Thanks again

Jason
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.