Bonsoir Xatherine
Moi je souhaiterais que mon code ne se lance que quand c'est un
*classeur* qui est activé.
essaye
if
thisComponent.supportService("com.sun.star.sheet.SpreadsheetDocument") then
print "c'est une classeur"
endif
Bonne soirée
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]