Is there anyway to mark up DOORS objects so that when exported to WORD, WORD sees them as caption labels.
Want this so the LIST of FIGURES and LIST of Tables in my Table of Contents can be updated properly.
Thanks a ton!
DOORS_USER - Thu Apr 22 18:22:18 EDT 2010 |
|
Re: DOORS and Word Captions Mathias Mamsch - Fri Apr 23 01:38:16 EDT 2010
That depends on what exporter you are using. Using the built in MS WOrd export this is a bit awkward: You need to put the caption in a separate object without any "figure xy" or "table xy" - just the caption itself (so for "Figure 1: Data setup" you would put "Data setup" in the object text of the object).
In your word template you create a new paragraph style called "CaptionFigure" which is derived by standard/normal and you make this a numbered style with a custom enumeration prefix "Figure ". To get your list of figures you need to insert a Table of Contents (not table of figures!) where you choose only the "CaptionFigure" style to be listed.
When exporting your captions, you can now put the CaptionFigure in the paragraph style of your exported objects and you should have auto numbered figures in there which appear in a table of figures. You can do the same thing for the table of tables.
This is pretty advanced word stuff, so if anything is unclear just ask.
Regards, Mathias
|
|
Re: DOORS and Word Captions DOORS_USER - Fri Apr 23 12:20:06 EDT 2010 Mathias Mamsch - Fri Apr 23 01:38:16 EDT 2010
That depends on what exporter you are using. Using the built in MS WOrd export this is a bit awkward: You need to put the caption in a separate object without any "figure xy" or "table xy" - just the caption itself (so for "Figure 1: Data setup" you would put "Data setup" in the object text of the object).
In your word template you create a new paragraph style called "CaptionFigure" which is derived by standard/normal and you make this a numbered style with a custom enumeration prefix "Figure ". To get your list of figures you need to insert a Table of Contents (not table of figures!) where you choose only the "CaptionFigure" style to be listed.
When exporting your captions, you can now put the CaptionFigure in the paragraph style of your exported objects and you should have auto numbered figures in there which appear in a table of figures. You can do the same thing for the table of tables.
This is pretty advanced word stuff, so if anything is unclear just ask.
Regards, Mathias
Worked great! Thanks a ton.
|
|
Re: DOORS and Word Captions Doug.Courtney - Tue Dec 14 14:40:16 EST 2010 DOORS_USER - Fri Apr 23 12:20:06 EDT 2010
Worked great! Thanks a ton.
Is there anyway to use a caption so a cross-reference can be created in other object text that need to reference the table.
|
|
Re: DOORS and Word Captions Mathias Mamsch - Thu Dec 16 15:42:08 EST 2010 Doug.Courtney - Tue Dec 14 14:40:16 EST 2010
Is there anyway to use a caption so a cross-reference can be created in other object text that need to reference the table.
I think, the easiest way to achieve this, is to write a simple VB script, that will replace reference codes like REF:Figure_Data_Model by a reference to the corresponding figure (sure you can also do this in DXL) and run it after the export.
Regards, Mathias
Mathias Mamsch, IT-QBase GmbH, Consultant for Requirement Engineering and D00RS
|
|