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: WExp Cross Reference
Topic Summary: Syntax
Created On: 17-Apr-2007 12:10
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.
Answer This question was answered by David Nicholson, on Friday, April 20, 2007 1:52 PM

Answer:
Having discussed this with Telelogic, it would appear that my version of WExp was corrupted. After being supplied with v11.4.10, all is well. Thanks again for your help.
 17-Apr-2007 12:10
User is offline View Users Profile Print this message


David Nicholson

Posts: 14
Joined: 9-Jan-2006

Good afternoon!

I am trying to use WEXP to implement cross references and keep getting the following error when exporting to Word.

ERROR:    While exporting DOORS object FM299-2634, Word reported the following OLE failure:  (on calling method 'InsertCrossReference') Problem with OLE Argument names.

 

FM299-2634 is the last object in my module and is not an OLE. In fact, I get this error 35 times, one for each cross reference I am trying to put in to the document.

I have created a captions for each of my OLE object that displays correctly.  The caption has its own object ID (e.g. FM299-3988).  Following the WEXP user manual I entered the following text in an object that needs to contain the cross-reference:

[XREF: 3988]

Where 3988 is the absolute number, not the Object ID.

When exported to word no cross-reference appears.


Any ideas? This is largely the same question as posed by Andrej Simic (21.12.2005), but unfortunately, there are no recorded replies. I've posted this on the General Discussion forum, but I'm not having much joy there either.


Thanks

Report this to a Moderator Report this to a Moderator
 20-Apr-2007 00:11
User is offline View Users Profile Print this message


jason haury

Posts: 39
Joined: 20-Feb-2007

Where in the WEXP manual does it say you can use an "[XREF: ]" tag to make cross references?  I have the (latest?) manual version 11.4 from 04/02/2005...which manual are you referencing?

The reason I ask is because to my knowledge, there is no out-of-the-box way to make cross references using WEXP.  One can make bookmarks in the "WEXP Export Bookmark" Attribute, but then you have to put in a hyperlink token within the Object Text to link there.  (in the form "[Figure 1-2 "#Figure_1_2"]" where "Figure_1_2" is the bookmark and "Figure 1-2" is the text that will show up as the hyperlink).  Furthermore, the bookmark is to a location rather than a piece of text.  Word supports both, but WEXP only makes location-linked bookmarks.  This means that even if you manually write Word Field Codes into the Object Text of your DOORS Module, it won't produce any text at that point in the document. 

If you know otherwise, please let me know!  We've written a script to make hyperlinks to tables and figures from various references within the document.  it would have been nice to use internal references so that we could just let Word auto-number the tables and figures. 

jason

Report this to a Moderator Report this to a Moderator
 20-Apr-2007 09:13
User is offline View Users Profile Print this message


David Nicholson

Posts: 14
Joined: 9-Jan-2006

I too have manual version 11.4. Section 3.4.7 in my copy discusses Cross references (do a CTRL-F find for "[XREF:" and you should find it). I have posted the same question on the General discussion page. Despite my problems at getting this to work, another respondent has claimed it works perfectly. I only wish I knew the answer!
Report this to a Moderator Report this to a Moderator
 20-Apr-2007 13:52
User is offline View Users Profile Print this message


David Nicholson

Posts: 14
Joined: 9-Jan-2006

Answer Answer
Having discussed this with Telelogic, it would appear that my version of WExp was corrupted. After being supplied with v11.4.10, all is well. Thanks again for your help.
Report this to a Moderator Report this to a Moderator
 23-Apr-2007 16:46
User is offline View Users Profile Print this message


jason haury

Posts: 39
Joined: 20-Feb-2007

Glad you got it working! I looked in my manual for version 11.4, and section 3.4.7 does in deed talk about "cross-referencing" among other things, but strangely, it doesn't use the text "[XREF" for any of its examples. Seems there're multiple releases of the manual for version 11.4 of the software...
Report this to a Moderator Report this to a Moderator
 24-Apr-2007 09:17
User is offline View Users Profile Print this message


David Nicholson

Posts: 14
Joined: 9-Jan-2006

Hmm... how right you are! I've just checked and the manual that came with the uncorrupted WExp tool (dated 4th Feb 2005) doesn't refer to XREF, but the corrupted version that I had before (dated 17th June 2005) does! The document history field is the same in both manuals! I've posted a new message with my manual attached.
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic DOORS forum.
There are currently 2 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 2 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.