[Libreoffice-qa] Issue Gallery Theme Export To Extension

Andreas Mantke maand at gmx.de
Fri Sep 7 19:45:49 UTC 2018


I tested the creation of a new gallery theme with LibreOffice with
version down to LibreOffice 5.1.x and the behavior seemed to be the
same. It is impossible to create gallery extensions with LibreOffice in
the way it was described in the TDF wiki and on a lot of other websites
(and in my howto too).
I tried to edit the *.sdg file that was created from the new gallery
theme, but with no success. I tried to edit the URL at the end of the
file, but that doesn't help. It is impossible to drag a graphic from the
theme (installed via extension) into a document.

Seemed to be that there has been inserted a regression.

Kind regards,

Am 05.09.2018 um 22:27 schrieb Andreas Mantke:
> Hello,
> it was possible to easily create a new gallery theme with former
> versions of LibreOffice and create an extension to deploy it to other
> users. LibreOffice created three new files in the 'gallery' subdirectory
> of the users configuration. You could copy (and rename) this files and
> put them in a subdirectory of the gallery-extension. If a user installed
> it on his/her computer, the new theme were added to his/her gallery and
> could be inserted by drag and drop into a document.
> This way is not available anymore (since at least LibreOffice 6.0).
> LibreOffice creates in addition to the three files a subdirectory with
> the new graphics (the ones that are added to the new theme). But if you
> copy the whole files in the 'gallery' subdirectory and also the
> subdirectory with the graphics into the subdirectory of the extension
> you could install the extension, see a new gallery theme, but could not
> drag and drop the graphics into a document. You will get a dialog
> instead, that shows in one field the (old) link to the graphic. This is
> the absolute link to the graphic at that time when the gallery theme was
> created.
> If you have a look into the *.sdg file of the new gallery theme, you'll
> find the absolute path to the graphic(s) at the end of it. It should
> have been a relative path to the graphic(s).
> This new behavior of LibreOffice makes it impossible to create and share
> LibreOffice gallery extensions. The included graphics will never be found.
> I have to update my documentation about non-code extensions next days
> and explain that it is only possible to create gallery extensions with
> former (not actively supported) versions of LibreOffice yet.
> Kind regards,
> Andreas
> _______________________________________________
> List Name: Libreoffice-qa mailing list
> Mail address: Libreoffice-qa at lists.freedesktop.org
> Change settings: https://lists.freedesktop.org/mailman/listinfo/libreoffice-qa
> Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
> Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
> List archive: http://lists.freedesktop.org/archives/libreoffice-qa/

More information about the Libreoffice-qa mailing list