Here is an example extension I'm trying to make work: github:hello-libreoffice-extension
It partially works - menu item in "Tools | Add-Ons" is added and it works as expected (shows message box in UI).
However,
- there is no license notice at installation
- my extension's version (1.0) is not recognized - when trying to replace, LibreOffice says "version 0"
- extension is installed for current user, not for everyone as I've scepcified in `description.xml`
- after installation (with "Tools | Extensions Manager...") there is no description line under my Extension
Code: Select all
(com.sun.star.lang.IllegalArgumentException)
{
{
{
Message = "Cannot detect media-type:file:///C:/Users/%D0%B0%D0%BD%D0%BC/AppData/Roaming/LibreOffice/4/user/uno_packages/cache/uno_packages/lu7922basxp.tmp_/hello-libreoffice-extension2.zip",
Context = (com.sun.star.uno.XInterface) @27d4c9d02e0
}
},
ArgumentPosition = (short) -1
}
How I've packaged/installed extension (both ways don't work):
- Uncompressed `zip` the whole folder, then install with Extensions Manager
- Uncompressed `zip` the whole folder, rename file to end with `.oxt`, close LibreOffice, install by double-clicking on the `.oxt` file
I've re-read dev-guides (1, 2 and others) for like hundred times already, but clearly am missing something. Any tips would be greatly appreciated.
My LibreOffice Version 5.4.5.1 (x64), Build ID: 79c9829dd5d8054ec39a82dc51cd9eff340dbee8