Hi all,

after analyzing, it seems that the statement

myObject = theOleObjects.getByIndex(i)
sourceDoc.CurrentController.select(myObject)

always selects the first object :(

oood is running with only one instance

is there any issue i should take care of ?

well i tried many things here is my conclusion

"that's strange"

the ole objects have been inserted on a OOo 1,1,2
as i tols, using the file as is, leads to have objects with index > 0 not selected


but, if i modify manually the position (not the anchor)
then it works, the objetc can be selected

The very strange is that i have no problem playing with my script without oood

Laurent

--
Laurent Godard <[EMAIL PROTECTED]> - Ing�nierie OpenOffice.org
Indesko >> http://www.indesko.com
Nuxeo CPS >> http://www.nuxeo.com - http://www.cps-project.org
Livre "Programmation OpenOffice.org", Eyrolles 2004


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to