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: How to Make "Non-Main" Column Take on Word Style During Export
Topic Summary:
Created On: 19-May-2008 17:22
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.
 19-May-2008 17:22
User is offline View Users Profile Print this message


Tim Perry

Posts: 17
Joined: 31-Dec-2002

Hello,

We have projects whose customers are requesting red-lined documents. (The red-lines would show the changes since the last time the document was delivered.) I experimented with the attached code (I am not the author) and modified it to generate a layout dxl column that shows the correct markups. However, when I export this column, the text does not take on the Word style associated with it. It is all in the Normal style. My question is how can I make a "Non-main" (not the actual Object Heading and Object Text column) take on Word styles for purposes of exporting?

I realize one could always export the newer revision of the module and perform a Document Comparison in Microsoft Word but I am hoping to eliminate the extra steps required for that process.

Any help would be greatly appreciated.

Regards,
Tim


Report this to a Moderator Report this to a Moderator
 19-May-2008 21:46
User is offline View Users Profile Print this message


Louie Landale

Posts: 2070
Joined: 12-Sep-2002

Cannot help with the export problem.

Code observation: you really should delete Buffers after using them. If a function returns a Buffer as the return parameter, then the caller should do something like this:
Buffer bufRet = MyFunction(o, params)
use bufRet
delete(bufRet)

Putting the 'delete(buf)' command after the 'return(buf)' command doesn't work, since no code is executed in the function after the 'return' statement.

- Louie
Report this to a Moderator Report this to a Moderator
 20-May-2008 12:45
User is offline View Users Profile Print this message


Tony Goodman

Posts: 97
Joined: 6-May-2008

Not sure how the exporter works, but...

You can't read richText from columns but you can from Text attributes.

Try:
Convert your layout DXL to Attribute DXL.
Replace the column with a new attribute column.

-------------------------
Tony Goodman
Smart DXL limited
www.smartdxl.com
Report this to a Moderator Report this to a Moderator
 20-May-2008 13:35
User is offline View Users Profile Print this message


ron lewis

Posts: 650
Joined: 20-Sep-2004

The "easiest" way to go is with pdf print of the view.
Report this to a Moderator Report this to a Moderator
 20-May-2008 13:39
User is offline View Users Profile Print this message


Scott Boisvert

Posts: 348
Joined: 14-Apr-2006

Heh... I ran into this with my baseline comparision script. What we did is create a Word Macro to look for the underline/strike through and color code the text based on that; blue for underline, red for strike through. Works pretty well for us, and I just call the macro after my export.

*Edit*

Heh...here's the macro we use.

-------------------------
Scott Boisvert
Engineering Tools Administrator
L-3 Communications - Avionics Systems
scott.boisvert@l-3com.com

Edited: 20-May-2008 at 13:40 by Scott Boisvert
Report this to a Moderator Report this to a Moderator
 30-May-2008 21:57
User is offline View Users Profile Print this message


Dan Hopping

Posts: 75
Joined: 21-Nov-2002

I used to try to do this in DXCL. Comparing each Attribute as needed...
Turned into a pain to keep up w/ new modules.... etc...
A few years ago I found another way to do this. Using a word document compare package called Workshare Deltaview.
It does a great job creating RedLine word document compares. I have used it to compare documents well over 1000 pages in length and had it work very well.
I has a tendency to get mixed up on very large Tables but other than that it id dead accurate and saves mucho time.
Our simple process.... We save each exported Word.doc for release into ClearCase. The next version exported (months - years later) is exported and compared aginst the last release in ClearCase. Simple, Fast and effective.
Report this to a Moderator Report this to a Moderator
 5-Jun-2008 18:13
User is offline View Users Profile Print this message


Kevin Murphy

Posts: 120
Joined: 16-Jan-2008

The easiest way to do what the original poster requested is to generate a document from the baseline, and then generate a document from the current. Then do a "Compare Changes using Legal Blackline" in Word.

The steps to do the Compare Changes are different depending upon which version of Word you use, but it's usually around Tools>Track Changes....

-------------------------
Kevin Murphy
http://www.baselinesinc.com
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.