![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: Compare OLE content Topic Summary: How to compare 2 version of object with OLE content? Created On: 5-Oct-2007 16:32 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
I have an object with an OLE picture in it and some text. I make a baseline of the module. Change the OLE picture and the text of the object. How can I identify that the OLE picture has been changed apart from looking at the picture?
|
|
![]() |
|
![]() |
|
Remco,
Assuming the text in baseline object and current object hasn't changed you can compare strings similar to the following snippet of code. Your challenge will be to set: string sBaseline to richTextWithOle(oBaseline."Object Text") If you want to refine the snippet you have to strip out the plain text that may have changed in both the baseline and current object (which is a significant challenge). If you want software to identify the differences in the images you will have to save both OLEs to files and route the files to a third party graphic package that will make the comparison to highlight differences in the graphic. //Snippet to compare to object to denote difference assumes sBaseline is set to baseline richText value Object o = current string sCurrent= richTextWithOle(o."Object Text") if( sCurrent!=sBaseline) print "Difference" Edited: 9-Oct-2007 at 22:29 by ron lewis |
|
![]() |
|
![]() |
|
Ron, |
|
![]() |
Telelogic DOORS
» General Discussion
»
Compare OLE content
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.