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: book style Word "import"
Topic Summary: importing attributes from Word doc
Created On: 23-Aug-2005 14:47
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.
 23-Aug-2005 14:47
User is offline View Users Profile Print this message


Vanessa White

Posts: 7
Joined: 18-Aug-2005

Sorry if this is a dumb question, I'm a complete newbie to DOORS and DXL. Was wondering if there's an easy way of "importing" (export from Word) the attributes from a book style Word doc? The situation is this: Our client has their requirements in DOORS. We were given a Word doc export of their modules. Because we signed our contract on the Word doc and not the client's DOORS DB, we now need to import the doc back into DOORS, but because it was exported in book style, each attribute is on a new line and imports as a separate object. Since there are several 300+ page documents, I'd really prefer not to do this all manually. Any suggestions appreciated. Thanks.

-------------------------
Vanessa White
Astronautics Corporation of America
Milwaukee, WI
v-DOT-white-AT-astronautics-DOT-com
Report this to a Moderator Report this to a Moderator
 23-Aug-2005 19:11
User is offline View Users Profile Print this message


Vanessa White

Posts: 7
Joined: 18-Aug-2005

Just some added info I forgot to mention. The document is tagged with styles: ID for the client's Object ID (which we do want to track), Requirement, and Attribute styles are used. Don't know if that's at all useful; thought I'd seen something to the effect that DOORS doesn't really deal with styles at all, though it "keeps" them when you import and uses them when you export back to Word.

-------------------------
Vanessa White
Astronautics Corporation of America
Milwaukee, WI
v-DOT-white-AT-astronautics-DOT-com
Report this to a Moderator Report this to a Moderator
 24-Aug-2005 09:49
User is offline View Users Profile Print this message


Neal Middlemore

Posts: 35
Joined: 24-Mar-2005

You could try saving the doc as a txt file, importing into Excel. Write a little macro to re-order things so a requirement and it's attributes are on the same row and import to DOORS from Excel.

I'm sure there may be easier ways but I'm too stupid too think of them at the moment (it's early for me!)
Report this to a Moderator Report this to a Moderator
 25-Aug-2005 19:02
User is offline View Users Profile Print this message


Vanessa White

Posts: 7
Joined: 18-Aug-2005

Well, I came up with a fairly crude script to format the module post-import using the "Paragraph Style" attribute created from the Word doc. Not precisely what I wanted, and could definitely be better, but it works. The code is attached if anyone's interested. Any recommendations for improvement or any better methods also welcome. Thanks.




-------------------------
Vanessa White
Astronautics Corporation of America
Milwaukee, WI
v-DOT-white-AT-astronautics-DOT-com
Report this to a Moderator Report this to a Moderator
 7-Sep-2005 10:36
User is offline View Users Profile Print this message


Hazel Woodcock

Posts: 78
Joined: 6-May-2005

An alternative suggestion for you;

In Word, use search and replace to to replace all ^p<attributeName> with ^t<attributeName> so you end up with each requirement in a separate paragraph with tabs between the attributes.
Use 'convert text to table' from the Word table menu.
Select the resulting table and copy it to Excel
Import to DOORS.

If you want to get the structure as well, then put an additional column in the excel version with an incrementing number.
Before the excel import, delete all but the main column from the word version and send to DOORS, then just update from the spreadsheet.

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