Cannot create Gallery extension

asked 2017-06-13 12:36:10 +0200

disc_writes gravatar image

Hello all,

I am trying to create a gallery extension as explained here.

When I import my extension, I get the usual prompt about the users and all seems to go well. But when I restart LO, I cannot see the images in the gallery.

I am running LO 5.2.6.2 on Windows 7. My account has no admin rights, but I can launch LO as a different user with more rights.

My .oxt bundle contains:

  • gallery: 2 each of a .sdg, .sdv and .thm file.
  • license: the license txt file.
  • META-INF: manifest.xml

    <xml version="1.0" encoding="UTF-8"?> <!DOCTYPE manifest:manifest PUBLIC "-//OpenOffice.org//DTD Manifest 1.0//EN" "Manifest.dtd">
    <manifest:manifest xmlns:manifest="http://openoffice.org/2001/manifest"> <manifest:file-entry manifest:media-type="application/vnd.sun.star.configuration-data" manifest:full-path ="Paths.xcu"/> <manifest:file-entry manifest:full-path="pkg-desc/pkg-description.txt" manifest:media-type="application/vnd.sun.star.package-bundle-description"/>      </manifest:manifest>
    
  • pkg-desc: pkg-description.txt.

  • Release-notes: release-notes_en.txt
  • icon.png
  • description.xml:

<description xmlns="http://openoffice.org/extensions/description/2006" xmlns:d="http://openoffice.org/extensions/description/2006" xmlns:l="http://libreoffice.org/extensions/description/2011" xmlns:xlink="http://www.w3.org/1999/xlink">

<?xml version="1.0" encoding="UTF-8"?>
<description 
xmlns="http://openoffice.org/extensions/description/2006"
xmlns:d="http://openoffice.org/extensions/description/2006"
xmlns:l="http://libreoffice.org/extensions/description/2011"
xmlns:xlink="http://www.w3.org/1999/xlink">

    <identifier value="mycompany.myproduct" />
    <version value="0.0.1" />
    <dependencies>
         <l:LibreOffice-minimal-version value="3.5" d:name="LibreOffice 3.5" />
    </dependencies>
    <release-notes>
        <src xlink:href="release-notes/release-notes_en.txt" lang="en" />
    </release-notes>
    <display-name>
       <name lang="en">Gallery</name>
   </display-name>
    <platform value="all" />
    <icon>
        <default xlink:href="icon.png" />
    </icon>
</description>
  • Paths.xcu: <oor:component-data oor:package="org.openoffice.Office" oor:name="Paths" xmlns:install="http://openoffice.org/2004/installation" xmlns:oor="http://openoffice.org/2001/registry" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <node oor:name="Paths"> <node oor:name="Gallery" oor:op="fuse"> <node oor:name="InternalPaths"> <node oor:name="%origin%/gallery" oor:op="fuse"/> </node> </node> </node> </oor:component-data>
edit retag flag offensive close merge delete