![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: DOORS and Word Templates??? Topic Summary: Created On: 6-Dec-2005 10:52 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
Once again, I'm confused by DOORS...ffice I need to export a series of DOORS modules into word, but they need exported into a word .dot file I've inherited from our Sister company. The document template has references to a number of fields that would be populated during the export process (DocNum, DocDate, DocTitle and so on), this works great for some older modules also iherited, but not newer modules. What I can't work out is how DOORS modules know about the references mentioned above. The manual, as far as I can tell gives no info about creating templates. Many thanks, Bob. |
|
![]() |
|
![]() |
|
Try looking at the module attributes of the older modules (the ones that work), you might find the information in there. If so, then go into the newer modules and Edit -> Attributes and Import from the older module.
|
|
![]() |
|
![]() |
|
The following is a snippette from a DOORS v4.1 piece of code for exporting to MS-Word. I think it inserts the current module's 'Description' into the MS-Word's variable called 'DocDes'. I don't have an example of the dot file we used, but IIRC, the *.dot file defines the variable in some hidden text, and then refers to it where its needed. Perhaps this will get you started.
clear objArgBlock put (objArgBlock,"DocDes" "") put (objArgBlock,m."Description" "") vbaCheckRes(oleMethod(objVariables, "Add", objArgBlock)) - Louie |
|
![]() |
|
![]() |
|
DOORS has an attribute called "Paragraph Style". When this attribute is populated with values corresponding with Word Paragraph style names specified in the *.dot file like DocNum, DocDate etc., the export function does the style mapping. When exporting to Word select the Advanced tab and select the correct template to be used for exporting by unchecking the "Use normal template". Hope this helps.
|
|
![]() |
|
![]() |
|
Are you using Jeremy Dick's "Enhanced Word Exporter"? If so, it looks at the .dot file and wherever it sees a string enclosed in double angle brackets, it looks for a module-level attribute of that name and replaces the string (and the brackets) with the value of the attribute. For example, if you have <<Created On>> in the .dot file, the exporter would replace it with 07 December 2005 (for example). If there is no module-level attribute of the given name, the exporter displays an error box. There is a manual for the enhanced exporter which explains this.
|
|
![]() |
|
![]() |
|
It looks like I've been trying to export into a .dot file that was originaly designed to work with v5.2 and not 7.1.
Just another one of the joys of inheriting an old database... B |
|
![]() |
Telelogic DOORS
» General Discussion
»
DOORS and Word Templates???
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.