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: OLE Copy/Paste from/to a different Module
Topic Summary: Need ability to copy and paste object text across modules with OLE intact.
Created On: 15-Aug-2008 14:55
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.
 15-Aug-2008 14:55
User is offline View Users Profile Print this message


Craig Forant

Posts: 56
Joined: 21-Feb-2005

We have DXL code that copies Object Text from one module to another. The only problem is, we are using string as the type and it leaves any OLE/RTF stuff behind.

We are looking for a solution that copies the ENTIRE Object Text, including the OLE and RTF exactly as it appears in the other module. (text and pictures in same object text)

I have some examples of code, but everything I have tried comes from these forums and the help file and doesn't seem to work for me.

Any help would be appreciated. Thanks.

-------------------------
Craig Forant
me@craigforant.com
Report this to a Moderator Report this to a Moderator
 15-Aug-2008 15:05
User is offline View Users Profile Print this message


ron lewis

Posts: 650
Joined: 20-Sep-2004

Take a look at copyobj.dxl. This DXL does copy by using an include thus you should be able to use the same include file. (This is one approach unless you want to re-invent the wheel!)

Edited: 15-Aug-2008 at 15:14 by ron lewis
Report this to a Moderator Report this to a Moderator
 15-Aug-2008 19:15
User is offline View Users Profile Print this message


Chris Jones

Posts: 177
Joined: 1-Jul-2005

Try

Object o = current
string s = richTextWithOle(o."Object Text")
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.