![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
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 |
![]() |
![]()
|
![]() |
|||
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 |
|||
![]() |
|||
![]() |
|||
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 |
|||
![]() |
|||
![]() |
|||
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!) |
|||
![]() |
|||
![]() |
|||
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 |
|||
![]() |
|||
![]() |
|||
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 |
|||
![]() |
Telelogic DOORS
» DXL Exchange
»
book style Word "import"
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.