Hello everybody, |
Re: Exporting a complete paragraph from Word to a unique DOORs ID Peter |
Re: Exporting a complete paragraph from Word to a unique DOORs ID Peter_Albert - Wed Jun 06 05:43:47 EDT 2012 each line in the word document is put in one Doors ID. I would like to put a whole paragraph into one ID, even if there are line breaks. thanks for your help |
Re: Exporting a complete paragraph from Word to a unique DOORs ID jbjacques - Wed Jun 06 07:22:39 EDT 2012 If you press <Enter> in a Word document, you create a new paragraph. The corresponding "paragraph mark" character is normally hidden, but can be made visible by pressing the "Show/Hide" button in the "Paragraph" element in the "Home" ribbon (The button which looks like a backward letter "P" (¶). BTW, the paragraph marks themselves look exactly like that. If you press <SHIFT>+<ENTER> in a Word document, you create a "line break" (which, if hidden characters are shown, looks like a small arrow pointing downwards and left). Now, as you correctly observed, DOORS imports paragraphs into individual Objects. As paragraphs are separated by "paragraph marks", you cannot import multiple paragraphs into one Object (you could of course combine Objects after the export using DXL, but that would be a different story). However, paragraphs can contain multiple "line breaks". Hence my proposal: Your current Word document looks like this (I have added 'P' at the end, meaning "paragraph mark": 1.2.2 REQ1 : boards hardware requirements'P' The board shall fulfil the specification ...'P' Design verif method :'P' Need a proof ...'P' the proof must be reviewed with customer ...'P' 1.2.3 REQ2 : Electrical requirement'P' ... If you now replace the "paragraph marks" with "line breaks" (indicated as 'L') as follows, the import will put all lines into one Object per requirement. 1.2.2 REQ1 : boards hardware requirements'L' The board shall fulfil the specification ...'L' Design verif method :'L' Need a proof ...'L' the proof must be reviewed with customer ...'P' 1.2.3 REQ2 : Electrical requirement'L' ... Cheers, Peter |
Re: Exporting a complete paragraph from Word to a unique DOORs ID Peter_Albert - Wed Jun 06 07:50:52 EDT 2012 1.2.2 REQ1 : boards hardware requirements'P' The board shall fulfil the specification ...'P' Design verif method :'P' Need a proof ...'P' the proof must be reviewed with customer ...'P' 1.2.3 REQ2 : Electrical requirement'P' ... If you now replace the "paragraph marks" with "line breaks" (indicated as 'L') as follows, the import will put all lines into one Object per requirement. 1.2.2 REQ1 : boards hardware requirements'L' The board shall fulfil the specification ...'L' Design verif method :'L' Need a proof ...'L' the proof must be reviewed with customer ...'P' 1.2.3 REQ2 : Electrical requirement'L' ... Cheers, Peter DOORS has no line-breaks, these are turned back into EOL characters after import. -Louie |
Re: Exporting a complete paragraph from Word to a unique DOORs ID llandale - Wed Jun 06 17:47:11 EDT 2012 I just have to find a way to automatize that now :) |
Re: Exporting a complete paragraph from Word to a unique DOORs ID jbjacques - Thu Jun 07 03:28:17 EDT 2012 -Louie |
Re: Exporting a complete paragraph from Word to a unique DOORs ID llandale - Thu Jun 07 13:50:56 EDT 2012 this macro replaces ^p by ^l for all line except for titles Like that in Doors all the line between 2 titles have the same ID |