Welcome to Telelogic Product Support
  Home Downloads Knowledgebase Case Tracking Licensing Help Telelogic Passport
Telelogic DOORS (steve huntington)
Decrease font size
Increase font size
Topic Title: DOORS and Word Templates???
Topic Summary:
Created On: 6-Dec-2005 10:52
Status: Post and Reply
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
Quick Reply Quick Reply
Subscribe to this topic Subscribe to this topic
E-mail this topic to someone. E-mail this topic
Bookmark this topic Bookmark this topic
View similar topics View similar topics
View topic in raw text format. Print this topic.
 6-Dec-2005 10:52
User is offline View Users Profile Print this message


Bob Greaves

Posts: 16
Joined: 15-Aug-2005

Once again, I'm confused by DOORS...fficeffice" />>>

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.

Can anyone shed any light on this?  .

> >

Many thanks,>>

> >

Bob.>>

Report this to a Moderator Report this to a Moderator
 6-Dec-2005 11:22
User is offline View Users Profile Print this message


Hazel Woodcock

Posts: 78
Joined: 6-May-2005

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.
Report this to a Moderator Report this to a Moderator
 6-Dec-2005 22:13
User is offline View Users Profile Print this message


Louie Landale

Posts: 2070
Joined: 12-Sep-2002

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
Report this to a Moderator Report this to a Moderator
 7-Dec-2005 16:10
User is offline View Users Profile Print this message


P Lalitha Gudipati

Posts: 1
Joined: 6-Dec-2005

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.
Report this to a Moderator Report this to a Moderator
 8-Dec-2005 10:35
User is offline View Users Profile Print this message


Paul Worrall

Posts: 87
Joined: 30-Sep-2003

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.
Report this to a Moderator Report this to a Moderator
 9-Dec-2005 14:16
User is offline View Users Profile Print this message


Bob Greaves

Posts: 16
Joined: 15-Aug-2005

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
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic DOORS forum.
There are currently 1 users logged in.
The most users ever online was 15 on 15-Jan-2009 at 16:36.
There are currently 0 guests browsing this forum, which makes a total of 1 users using this forum.
You have posted 0 messages to this forum. 0 overall.

FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.