Stephan (and others),
Thanks again for your reply. With your help here and from the bug
report referenced earlier I have been able to successfully create an
.oxt that will set "our preferred settings". As it is a "shared"
extension it sits between the "system settings" (which are overridden on
new version upgrade) and the "user settings". So, a user can still
override these settings should they wish.
Sorry, my DevGuide URL was wrong, it should be
<https://wiki.openoffice.org/wiki/Documentation/DevGuide/Extensions/Extensions>.
Unfortunately this seems "offline" today, as it is just displaying an
empty page. I got it from Google Cache, however, and with your other
example links was able to put something together. I would hope that
somehow <http://extensions.libreoffice.org> would link to a "how to make
extensions for beginners guide", which could be the AOO docs for now as
a minimum.
For an example "configuration-only" extension,
<https://bugs.freedesktop.org/show_bug.cgi?id=69609#c3> has a link to
<http://www.linuxtag.org/2012/fileadmin/www.linuxtag.org/slides/Thorsten%20Behrens%20-%20LibreOffice%20configuration%20management%20-%20Tools_%20approaches%20and%20best%20practices.p331.pdf>
which in turn has a link to
<http://users.freedesktop.org/~thorsten/extensions/config_only_sample.oxt>.
For anyone interested, here then is my first stab at creating an
extension which will set our required "system wide defaults". It is
installed with "unopkg add --shared ssg-defaults.oxt"
<https://docs.google.com/file/d/0B0WVXg1DL6duNkE2WUFZWGFETEE>
For first timers (this was me until yesterday), the .oxt source can be
viewed the same as a .zip archive (can even change the extension to .zip
if you like: they are interchangeable but you want it as an .oxt in the
finished form)
For some of the settings, they aren't correctly seen by the user until
after we remove the user's pre-existing "registrymodifications.xcu"
(even if we didn't intentionally have any of those values overridden).
It is my guess that is because there are some of the keys listed in the
default generated registrymodifications.xcu that conflict -- if it was
generated BEFORE the installation of this newly created extension.
Thanks again,
iveand
[Btw, your reply mail looked really garbled, see above. Could it be
you're using a mail client that only produces poorly formatted plaintext
alongside an HTML alternative?]
I noticed that too, so thanks for the warning: I think it is the
thunderbird "always html" extension, which I have now disabled.
Unfortunate bug it seems in thunderbird which will revert things to text
only email even if they were intended as html otherwise. Another
discussion for another list, however! So, we'll see how this one turns
out, and if people can follow it clearly or not.
--
To unsubscribe e-mail to: users+unsubscribe@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted
Context
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.