Hi christian,

Is there some way that I can (in script or config) tell OOo to not close the document before the script has finished


i see 2 ways :
- declaring a listener on the document closing event. Don't sure it suites totally your nee
- lock OOo until your script has finished
ThisComponent.lockControllers
- save
- modify
ThisComponent.unlockController
Then the user won't be able to close the document has the GUI is frozen for user interactions


HTH

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