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: Searching within OLE Objects
Topic Summary:
Created On: 29-Jul-2008 16:17
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.
 29-Jul-2008 16:17
User is offline View Users Profile Print this message


Yalçın Yıldız

Posts: 2
Joined: 20-Feb-2008

Hello All,

I want to write a dxl that will search a text within the MS Word Tables embedded as OLE objects.

Any help?

Yalçın Yıldız
AYESAS

Edited: 29-Jul-2008 at 16:18 by Yalçın Yıldız
Report this to a Moderator Report this to a Moderator
 29-Jul-2008 17:50
User is offline View Users Profile Print this message


Kevin Murphy

Posts: 120
Joined: 16-Jan-2008

Good luck.

Easier way: Use WEXP, export the tables "inline", and search the resulting word document.

-------------------------
Kevin Murphy
http://www.baselinesinc.com
Report this to a Moderator Report this to a Moderator
 30-Jul-2008 09:02
User is offline View Users Profile Print this message


Yalçın Yıldız

Posts: 2
Joined: 20-Feb-2008

Kevin,

Thank you for the reply.
We are already using WEXP for generating the final documents. But we have some dxl scripts checking for errors, trace errors, WEXP caption reference errors etc. We need an automated way to augment those scripts, otherwise we always make some errors that cannot be caught until the final documents are genetared.

Edited: 30-Jul-2008 at 09:04 by Yalçın Yıldız
Report this to a Moderator Report this to a Moderator
 19-Dec-2008 10:45
User is offline View Users Profile Print this message


Salih Kiliclioglu

Posts: 3
Joined: 22-Aug-2005

Hello Yalcin,

i'am also interested in this topic.

Did you make any progress in solving this problem?

-------------------------
Salih Kiliclioglu
Report this to a Moderator Report this to a Moderator
 19-Dec-2008 16:56
User is offline View Users Profile Print this message


Louie Landale

Posts: 2070
Joined: 12-Sep-2002

Selecting an object containing an OLE in the Text, I ran the following code:
print richTextWithOle((current Object)."Object Text") "\n"

I Selected the output (cntl-A) and pasting into Notepad, then searched for strings I knew were in the table. It couldn't find it. No doubt the OLE is encrypted or something in Word format, and I doubt there is a reasonable method to parse through it with DXL.

Thus, clever exporting as suggested in other posts is probably the way to go.

- Louie
Report this to a Moderator Report this to a Moderator
 22-Dec-2008 18:46
User is offline View Users Profile Print this message


Chris Jones

Posts: 177
Joined: 1-Jul-2005

Exporting it is a reasonable way to do it.

Or you could oleActivate it, get a hold of the resultant Word session, and use OLE automation in DXL to control Word's search feature....

Chris
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.