Sorry if this has been addressed before, I did not find anything in a quick search. I am exporting to Word using a custom *.dotx template. In my template I have the heading styles defined. for example
Font: (Default) +Headings (Cambria), 14 pt, Bold, Font color: Accent 1, Indent:
Left: 0"
Hanging: 0.25", Space
Before: 24 pt
After: 0 pt, Keep with next, Keep lines together, Level 1, Outline numbered + Level: 1 + Numbering Style: 1, 2, 3, … + Start at: 1 + Alignment: Left + Aligned at: 0" + Indent at: 0.25", Style: Linked, Show in the Styles gallery, Priority: 10
Based on: Normal
Following style: Normal
In DOORS the headings are bold. However when the headings are exported into Word, they are the opposite. After exporting to Word, the headings are not bold. I can right click on the heading in Word and select all instances of the style and re-apply styles and then it is correctly formatted. I don't want to do this for every heading style when I export to Word every time though. I have tried different settings such as not using the paragraph style attribute and auto-format in the advanced export settings dialog. I am not using style mapping currently. I understand there is RTF formatting in each DOORS object. Does anyone have any suggestions for exporting to Word so the headings show properly the same as the Word style? Matt_Eng - Fri Oct 30 12:01:05 EDT 2015 |
Re: DOORS export to Word document - bold headings in DOORS not bold in Word, opposite when you take a bold line in word and bold it again -- word unbolds the text. It is a word thing. You have to resolve this either of two ways. Change the formatting in DOORS. Or change the style definition in word.
|
Re: DOORS export to Word document - bold headings in DOORS not bold in Word, opposite OK that makes sense. I thought there might be a setting somewhere with Export to Word, Paragraph Style Attributes, or Style Mapping, to remove or change the formatting in DOORS, so that during import to Word, when DOORS imports bold, and the Word style is bold, it doesn't un-bold the text. I didn't want to go through and manually bold or un-bold the text in all the headings in DOORS, since when I add a new heading it probably wouldn't be correct. I ended up making a script using AutoHotKey to go through the Word QuickStyles to select all instances of each heading styles, and then apply the style again, which makes the heading match the style. I guess I could have also made a VBA script, or a DOORS DXL script, to go through and change all the heading formatting, although I don't have much experience with that. |