Laurent Godard a écrit :
regarde eventuellemnet du coté de la methode GetFolderName du la
bibliotheque Tools > ModuleControls
Bizarre, je n'arrive pas à voir ce qu'il y a dans les bibliothèques
OpenOffice.org. Elles semblent toutes vides, en passant par
macros->gérer, etc..
Pourtant, voilà ce que j'ai dans Tools:
ls -l
total 104
-r--r--r-- 1 root root 7058 nov 30 20:43 Debug.xba
-r--r--r-- 1 root root 353 nov 30 20:43 dialog.xlb
-r--r--r-- 1 root root 1802 nov 30 20:43 DlgOverwriteAll.xdl
-r--r--r-- 1 root root 10256 nov 30 20:43 Listbox.xba
-r--r--r-- 1 root root 26067 nov 30 20:43 Misc.xba
-r--r--r-- 1 root root 12429 nov 30 20:43 ModuleControls.xba
-r--r--r-- 1 root root 558 nov 30 20:43 script.xlb
-r--r--r-- 1 root root 14447 nov 30 20:43 Strings.xba
-r--r--r-- 1 root root 9699 nov 30 20:43 UCB.xba
et dans script.xlb:
cat script.xlb
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE library:library PUBLIC "-//OpenOffice.org//DTD OfficeDocument
1.0//EN" "library.dtd">
<library:library xmlns:library="http://openoffice.org/2000/library"
library:name="Tools" library:readonly="true"
library:passwordprotected="false">
<library:element library:name="ModuleControls"/>
<library:element library:name="Strings"/>
<library:element library:name="Misc"/>
<library:element library:name="UCB"/>
<library:element library:name="Listbox"/>
<library:element library:name="Debug"/>
</library:library>
J'ai OOo 2.1
Ph.