Hi all

i'm using oood to use OOo as a converter engine
The purpose of the script is to loop over OLE object in a sxw document, copy, paste (using dispatcher) in a draw document and the export it to a graphical format


This worked using oood with OOo1.1.2 (i'll verify though)

Now trying with OOo1.1.4
This works when i launch the script by hand
but "fails" with oood as the exported object is always the same

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 ?

Feel free to ask for more details
Thanks a lot in advance

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