Is there a built-in tool to import Word documents into DOORS? |
Re: How do you import Word document into DOORS You import documents from Microsoft Word into DOORS by exporting them from Microsoft Word. To import a document from Word into DOORS: In the left pane of the DOORS Explorer, click the project or folder that you want to import the document into. You must have create access to this folder or project. Start Word and open the document you want to send to DOORS. Click the Export to DOORS button on the Word toolbar, or click Tools > Export to DOORS. Note If you are running DOORS through Citrix, Word must also be running through Citrix or the import will not work. In the Module Name box, enter the name of the module you want to export to. In the Module Description box, enter a module description. Optionally, in the Module Prefix box, enter the object identifier prefix. In the Absolute Numbers Start At box, enter the object identifier starting number. If you want to ignore section numbers in Word headings, select the Remove header numbers check box. The auto-numbering produced by DOORS may be different from the auto-numbering in the original document. If you have references to any of them, you should store the original numbers. If you want to capture Word paragraph styles, select the Capture Paragraph Styles check box. Click Export. The module is created and opened, and the document is imported to it. Note: If you do not have the Export to DOORS functionality in your Word, you have to manually copy "doors.dot" to Word templates. |
Re: How do you import Word document into DOORS
Regards, Peter |
Re: How do you import Word document into DOORS SystemAdmin - Wed Oct 14 02:47:39 EDT 2009 You import documents from Microsoft Word into DOORS by exporting them from Microsoft Word. To import a document from Word into DOORS: In the left pane of the DOORS Explorer, click the project or folder that you want to import the document into. You must have create access to this folder or project. Start Word and open the document you want to send to DOORS. Click the Export to DOORS button on the Word toolbar, or click Tools > Export to DOORS. Note If you are running DOORS through Citrix, Word must also be running through Citrix or the import will not work. In the Module Name box, enter the name of the module you want to export to. In the Module Description box, enter a module description. Optionally, in the Module Prefix box, enter the object identifier prefix. In the Absolute Numbers Start At box, enter the object identifier starting number. If you want to ignore section numbers in Word headings, select the Remove header numbers check box. The auto-numbering produced by DOORS may be different from the auto-numbering in the original document. If you have references to any of them, you should store the original numbers. If you want to capture Word paragraph styles, select the Capture Paragraph Styles check box. Click Export. The module is created and opened, and the document is imported to it. Note: If you do not have the Export to DOORS functionality in your Word, you have to manually copy "doors.dot" to Word templates.
I forgot to mention that all text from the Word file goes into "Object Heading" and "Object Text", so if you want to populate other attributes, this requires post-processing in DOORS.
Sub replace_special_characters()
'
'
Selection.Find.ClearFormatting
Selection.Find.Replacement.ClearFormatting
With Selection.Find
.Forward = True
.Wrap = wdFindContinue
.Format = True
.MatchCase = False
.MatchWholeWord = False
.MatchWildcards = False
.MatchSoundsLike = False
.MatchAllWordForms = False
End With
With Selection.Find
.Text = ChrW(64256)
.Replacement.Text = "ff"
End With
Selection.Find.Execute Replace:=wdReplaceAll
With Selection.Find
.Text = ChrW(64257)
.Replacement.Text = "fi"
End With
Selection.Find.Execute Replace:=wdReplaceAll
With Selection.Find
.Text = ChrW(64258)
.Replacement.Text = "fl"
End With
Selection.Find.Execute Replace:=wdReplaceAll
With Selection.Find
.Text = ChrW(64259)
.Replacement.Text = "ffi"
End With
Selection.Find.Execute Replace:=wdReplaceAll
With Selection.Find
.Text = ChrW(64260)
.Replacement.Text = "ffl"
End With
Selection.Find.Execute Replace:=wdReplaceAll
With Selection.Find
.Text = ChrW(64261)
.Replacement.Text = "ft"
End With
Selection.Find.Execute Replace:=wdReplaceAll
With Selection.Find
.Text = ChrW(730)
.Replacement.Text = "°"
End With
Selection.Find.Execute Replace:=wdReplaceAll
With Selection.Find
.Text = ChrW(8804)
.Replacement.Text = ChrW(61603)
.Replacement.Font.Name = "Symbol"
End With
Selection.Find.Execute Replace:=wdReplaceAll
With Selection.Find
.Text = ChrW(8805)
.Replacement.Text = ChrW(61619)
End With
Selection.Find.Execute Replace:=wdReplaceAll
End Sub
|
Re: How do you import Word document into DOORS |
Re: How do you import Word document into DOORS
Instead, I suggest the following alternative using an intermediate RTF format which you import to DOORS:
Your mileage may vary. Ken. |
Re: How do you import Word document into DOORS |
Re: How do you import Word document into DOORS Thanks to all for your help. Regards, Michael. |
Re: How do you import Word document into DOORS My Company upgraded from Office 2003 to Office 2007. Do I need to re-load the DOORs 8.3 client to get the import tool bar in MS Word and Excel? |
Re: How do you import Word document into DOORS DMosey - Thu Oct 07 08:20:34 EDT 2010 Regards, Peter |
Re: How do you import Word document into DOORS Peter_Albert - Wed Oct 14 03:16:08 EDT 2009
I forgot to mention that all text from the Word file goes into "Object Heading" and "Object Text", so if you want to populate other attributes, this requires post-processing in DOORS.
Sub replace_special_characters()
'
'
Selection.Find.ClearFormatting
Selection.Find.Replacement.ClearFormatting
With Selection.Find
.Forward = True
.Wrap = wdFindContinue
.Format = True
.MatchCase = False
.MatchWholeWord = False
.MatchWildcards = False
.MatchSoundsLike = False
.MatchAllWordForms = False
End With
With Selection.Find
.Text = ChrW(64256)
.Replacement.Text = "ff"
End With
Selection.Find.Execute Replace:=wdReplaceAll
With Selection.Find
.Text = ChrW(64257)
.Replacement.Text = "fi"
End With
Selection.Find.Execute Replace:=wdReplaceAll
With Selection.Find
.Text = ChrW(64258)
.Replacement.Text = "fl"
End With
Selection.Find.Execute Replace:=wdReplaceAll
With Selection.Find
.Text = ChrW(64259)
.Replacement.Text = "ffi"
End With
Selection.Find.Execute Replace:=wdReplaceAll
With Selection.Find
.Text = ChrW(64260)
.Replacement.Text = "ffl"
End With
Selection.Find.Execute Replace:=wdReplaceAll
With Selection.Find
.Text = ChrW(64261)
.Replacement.Text = "ft"
End With
Selection.Find.Execute Replace:=wdReplaceAll
With Selection.Find
.Text = ChrW(730)
.Replacement.Text = "°"
End With
Selection.Find.Execute Replace:=wdReplaceAll
With Selection.Find
.Text = ChrW(8804)
.Replacement.Text = ChrW(61603)
.Replacement.Font.Name = "Symbol"
End With
Selection.Find.Execute Replace:=wdReplaceAll
With Selection.Find
.Text = ChrW(8805)
.Replacement.Text = ChrW(61619)
End With
Selection.Find.Execute Replace:=wdReplaceAll
End Sub
I need that during import process, normal text (that shall be imported as object text), shall be splitted by tabs in Object Text, attribute 1, attribute 2, etc... Thanks!! |
Re: How do you import Word document into DOORS SystemAdmin - Tue Nov 06 08:06:43 EST 2012 The longer answer is that MS Word has a hideously complicated Object Model and buried within this Object Model is the content of the document which is defined in a Rich Text Format (RTF). RTF is not structured in a format that makes it easy to map data to multiple specific attributes. Whilst not impossible to do, there would have to be very strict rules about the structure of a MS Word document to be able to support an import to specific attributes beyond the "Object Heading" and "Object Text" attributes. Trying to get authors to work to those strict rules would be very difficult. The import format that DOORS supports for mapping data to multiple specific attributes is the Comma Separated Values (CSV) spreadsheet format. If the data in the MS Word doc is already in a table format, you might be able to copy this into MS Excel and save in CSV format but there are many things that can go wrong here and it requires a lot of trial and error as CSV format only supports plain old text, no graphics and no sophisticated styles. Alternatively, you can consider modifying the MS Word document to insert your own unique delimiters between the chunks of data that need to go to specific attributes, import the document, then use DXL to chomp out the chunks of data between each delimiter and copy to a specific attribute. This also requires a lot of trial and error. Paul Miller, Melbourne, Australia |