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 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 "-// Manifest 1.0//EN" "Manifest.dtd">
    <manifest:manifest xmlns:manifest=""> <manifest:file-entry manifest:media-type="application/" manifest:full-path ="Paths.xcu"/> <manifest:file-entry manifest:full-path="pkg-desc/pkg-description.txt" manifest:media-type="application/"/>      </manifest:manifest>
  • pkg-desc: pkg-description.txt.

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

<description xmlns="" xmlns:d="" xmlns:l="" xmlns:xlink="">

<?xml version="1.0" encoding="UTF-8"?>

    <identifier value="mycompany.myproduct" />
    <version value="0.0.1" />
         <l:LibreOffice-minimal-version value="3.5" d:name="LibreOffice 3.5" />
        <src xlink:href="release-notes/release-notes_en.txt" lang="en" />
       <name lang="en">Gallery</name>
    <platform value="all" />
        <default xlink:href="icon.png" />
  • Paths.xcu: <oor:component-data oor:package="org.openoffice.Office" oor:name="Paths" xmlns:install="" xmlns:oor="" xmlns:xs="" xmlns:xsi=""> <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