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: CAN NOT get object number to export w/ WEXP
Topic Summary:
Created On: 10-Aug-2005 12:43
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.
 10-Aug-2005 12:43
User is offline View Users Profile Print this message


Chris Bryant

Posts: 11
Joined: 13-Jul-2005

When using WEXP, my document looks like:

1 SCOPE
1.1 Introduciton
TEXT...........
TEXT.................
1.2 Purpose....

I can not get the section levels (1, 1.1, 1.2) to export with the document

Report this to a Moderator Report this to a Moderator
 11-Aug-2005 08:27
User is offline View Users Profile Print this message


Robert Swan

Posts: 86
Joined: 14-Apr-2005

Do your section headings export as a style with autonumbering enabled? (Assuming you export to MSWord.)
Report this to a Moderator Report this to a Moderator
 11-Aug-2005 13:23
User is offline View Users Profile Print this message


Chris Bryant

Posts: 11
Joined: 13-Jul-2005

Is there a way to enable Autonum without re-importing the document?
Report this to a Moderator Report this to a Moderator
 26-Aug-2005 08:49
User is offline View Users Profile Print this message


Andre Quillen

Posts: 13
Joined: 10-May-2005

From what I've seen by viewing these pages:  It does not matter what header number you have, all tha matters is the paragraph styling.

Thus, "1 Scope" is no better than "Scope".  If "1 Scope" is not of format 'Header 1' in Word and if "1.1 Introduction" is not of style 'Header 2', then you can be assured that your import is going to be "flat", i.e., the hierarchy will not exist, and all your paragraphs will be on the same "Object Level".

This appears to happen all the time to people who export and import using spreadsheets (.csv).  They say there is a DXL script to fix that for .csv, but you should be able to fix your problem by re-exporting the file (if that is an option) or perhaps by applying a template (such as normal.dot) to your existing word file.

(and no, you are going to have to re-import your document, you can't do autonumbering in DOORS once you complete a bad import.)  (correct me if I'm wrong, I'll appreciate it!)

Luck,

Andre Quillen
Raytheon
Report this to a Moderator Report this to a Moderator
 30-Aug-2005 09:25
User is offline View Users Profile Print this message


Robert Swan

Posts: 86
Joined: 14-Apr-2005

The answer summary is that autonumbering is a Word function not DOORS. Preferably applied using good clean styles in WORD.

Rereading the messages I'm confused is over which is exporting Word or DOORS. However to try and clarify (apologies if this is teaching people to suck eggs):-

Starting with a Word document===
 If the section headers and text have been created using the built in header styles, then DOORS will create objects at a level matching the header style. The text with the header style will be placed in the Object Header attribute. DOORS will assign its own number ( 1, 1.1 etc. to go with this.)
    If a header style was used but had the autonumbering turned off, DOORS will insert blank objects at intermediate levels to maintain the Object level. [Try a Header 1 style for section heading, and Header 8, with autonumber off for a text paragraph, then import.]
If you used custom styles with autonumbering, or use fixed text numbering, then your import will be 'flat'.
  If you told DOORS to retain paragraph styles the Paragraph Style attribute is updated.  
   If you told DOORS to retain section numbers on import they are inserted as fixed text.

Starting from the DOORS module===
WEXP assigns Heading Text the default Word Header style that matches their level i.e. Level 1 = 1, 2 etc. =Header 1; Level 2 = 1.1, 1.2 etc = Header 2.
   This can be overridden by setting the paragraph style attribute. e.g. <Object Heading :Main Paragraph>, <Object Text:Sub Paragraph>. styles for each attribute of an object can be assigned.
  The DOORS level assigned numbering of Heading text does not export, However if you had hardcoded numbering that will export as part of the text.
WEXP has an option (on the advanced text tab) to ignore the Paragraph Style attribute.

(Caveat:- We use the TREK tool, and my understanding is the the WEXP content is not quite the standard WEXP. )
(Moral:- Use your Word styles wisely and well, don't propoagate them from strangers documents, correct the header styles before importing.)




 

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.