Hi Didier,

But I don't know how to set the formula.

Exactly, I added this lines:
mondocument = ThisComponent
mondocument.EmbeddedObjects.GetByIndex(0).EmbeddedObject.formula="1 over x"
mondocument.EmbeddedObjects.GetByIndex(0).EmbeddedObject.setmodified(TRUE)

And I did'nt get the right formula.


works for me using OOo 1.1.4

lockControllers ?

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