![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: Searching within OLE Objects Topic Summary: Created On: 29-Jul-2008 16:17 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
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 |
|
![]() |
|
![]() |
|
Good luck.
Easier way: Use WEXP, export the tables "inline", and search the resulting word document. ------------------------- Kevin Murphy http://www.baselinesinc.com |
|
![]() |
|
![]() |
|
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 |
|
![]() |
|
![]() |
|
Hello Yalcin,
i'am also interested in this topic. Did you make any progress in solving this problem? ------------------------- Salih Kiliclioglu |
|
![]() |
|
![]() |
|
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 |
|
![]() |
|
![]() |
|
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 |
|
![]() |
Telelogic DOORS
» DXL Exchange
»
Searching within OLE Objects
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.