Bonjour
J’espère vraiment que vous pourrez m’aider sur ce problème sur lequel j’ai passé toute la journée.
J’ai une vieille extension écrite en Basic. Je souhaite y ajouter du javascript mais je n’arrive pas à lier fichiers js. J’ai ajouté le chemin de apiclient.js dans le manifest.xml (j’ai essayé de multiple solution )
<?xml version="1.0" encoding="UTF-8"?>manifest:manifest
<manifest:file-entry manifest:full-path=“apiclient.js” manifest:media-type=""/>
<manifest:file-entry manifest:full-path=“contrat/” manifest:media-type=“application/vnd.sun.star.basic-library”/>
<manifest:file-entry manifest:full-path=“pkg-desc/pkg-description.txt” manifest:media-type=“application/vnd.sun.star.package-bundle-description”/>
<manifest:file-entry manifest:full-path=“Addons.xcu” manifest:media-type=“application/vnd.sun.star.configuration-data”/>
<manifest:file-entry manifest:full-path=“Office/UI/WriterWindowState.xcu” manifest:media-type=“application/vnd.sun.star.configuration-data”/>
</manifest:manifest>
J’ai ensuite essayé differentes methode dont scriptProvider = createUnoService(“com.sun.star.script.provider.ScriptProvider”)
Mais j’ai toujours Librairie Not Found
Ouuhaaa j’en peux plus ! A l’aide SVP
Merci
Bruno