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: RTF Attrs
Topic Summary:
Created On: 20-Jan-2003 13:27
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.
 20-Jan-2003 13:27
User is offline View Users Profile Print this message


Louie Landale

Posts: 2070
Joined: 12-Sep-2002

The following attributes seem to have been created in my modules, and they seem to contain Rich Text gobbly-gook.
o Font Table
o RTF Author
o RTF DocFormat
o RTF Header
o RTF Info
o RTF <couple others>
o Style Sheet
o Color Table

What are they really for? Can I safely delete them?

- Louie
Report this to a Moderator Report this to a Moderator
 20-Jan-2003 14:47
User is offline View Users Profile Print this message


Michael Sutherland

Posts: 248
Joined: 13-Sep-2002

Louie,

The header for the standard DOORS rtf importer <standard/import/rtifm.dxl> says:

"The import tool applies the documents subject to the Modules Description attribute."
"The import tool applies the documents author to the Modules Author is attribute."
"The import tool applies the documents operator to the Modules Operator is attribute."
"The import tool applies the documents title to the Modules Original Title attribute."
...
"The import tool also stores the style sheet and font table for the rtf document
in a module attribute in the DOOR module. Paragraph styles are also stored
as attributes of the seperate paragraphs. All non-paragraph information ie.
style-runs within a paragraph, are lost. The RTF Exporter will optionally use
this information to generate an RTF file similar to that originally imported."

So, the only reason you might want them is to take advantage of the features of the corresponding RTF Exporter. If RTF export is not a concern, they can be deleted.

But......

I looked at the code for <standard/import/rtifm.dxl> and it doesn't refer to the attributes! (at least not in DOORS 5 and 6) So, even though the documentation talks about populating them, it is not yet clear where they are created.

The only place I see them referred to is <utils/doctools/rtfattr.inc> which is used by the RTF exporter and not the RTF importer. So, unless I'm missing something, I don't see how the RTF importer is creating them.

Then....

I found the following comment:

465 // All these attribute only exist with v4 parser

in the DOORS 6 version of <standard/export/rtfexp.dxl>

So...

I looked at DOORS 4, and the attributes are created by <example/doctools/rtfdoors.inc> which is called by <example/doctools/rtfparse.dxl>

So, in conclusion, I am led to believe that the DOORS v4 RTF parser created them.

-------------------------
Michael Sutherland
michael@galactic-solutions.com
http://galactic-solutions.com
Report this to a Moderator Report this to a Moderator
 22-Jan-2003 02:35
User is offline View Users Profile Print this message


Louie Landale

Posts: 2070
Joined: 12-Sep-2002

I was hoping for a little more complete and detailed response.

Thanks

- Louie
Report this to a Moderator Report this to a Moderator
 22-Jan-2003 02:35
User is offline View Users Profile Print this message


Louie Landale

Posts: 2070
Joined: 12-Sep-2002

I was hoping for a little more detailed and complete response.

Thanks

Louie
Report this to a Moderator Report this to a Moderator
 30-Apr-2007 19:49
User is offline View Users Profile Print this message


Craig Forant

Posts: 56
Joined: 21-Feb-2005

I have run into these attributes just recently and wondered if there was any more information regarding this topic.

From what I read above, it would be safe to say that deleting these attributes would be harmless to actual data. Is that correct?

Is there any DOORS Documentation on the creation of these attributes?

-Craig
me@craigforant.com

-------------------------
Craig Forant
me@craigforant.com

Edited: 30-Apr-2007 at 19:55 by Craig Forant
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.