You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openoffice.apache.org by Simon Kornblith <si...@simonster.com> on 2013/07/22 19:13:08 UTC

Extension toolbar compatibility and 4.0, again

Hi,

I'm a developer with Zotero. We currently distribute a LibreOffice/OpenOffice.org plugin for our software that provides rich citation functionality in OpenOffice/LibreOffice/NeoOffice, as well as plugins for Word for Mac and Word for Windows.

I've read through the previous thread on changes to the toolbar in 4.0 (http://mail-archives.apache.org/mod_mbox/openoffice-dev/201302.mbox/%3C51195E5E.3000004%40laposte.net%3E), but I'd like to emphasize that the changes to toolbar functionality in AOO 4 are quite problematic for us, not because the change to Addons.xcu is hard, but because having a separate extension for AOO 4 is somewhat of a nightmare from a support and distribution perspective.

To give some background, users don't install our extension manually. Instead, it is installed either by an optional Firefox extension (in Zotero for Firefox) or automatically when our software is opened (in Zotero Standalone). At the moment, the same extension works with NeoOffice 3.0+, OpenOffice.org 3.0-3.3, AOO 3.4, LibreOffice 3.4-4.1.

Unless there's a way to create a single extension that works with AOO 4 and LibreOffice or earlier versions of OOo, supporting AOO 4 would appear to require the following changes:

1. Adapt the extension to work with Apache OpenOffice. This is actually the easiest part.
2. Bundle two extensions with the LibreOffice plugin and Zotero Standalone (2MB more download size) or modify the extension locally on install to use a separate Addons.xcu file for AOO 4.
3. Detect AOO 4 and install a different extension there than we do in LibreOffice, AOO 3.4, and OOo.
4. Find a way to make  the extension fix itself when AOO is upgraded (is this possible?), or at least present a dialog telling the user to reinstall the extension from within Zotero.

While I realize that this is somewhat late in your release process, it would make us much happier if AOO 4 could use an alternative Addons.xcu file (Addons4.xcu?) if it exists. That way we wouldn't have to distribute multiple extensions, and our toolbar wouldn't break for our users when they upgrade to AOO 4. If this isn't a possibility, perhaps someone has a better suggestion for how we should handle this?

Thanks,
Simon
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
For additional commands, e-mail: dev-help@openoffice.apache.org


RE: Extension toolbar compatibility and 4.0, again

Posted by Hans Zybura <hz...@zybura.com>.
Hi Simon,
 
see comments inline

Regards, Hans

> -----Original Message-----
> From: Simon Kornblith [mailto:simon@simonster.com]
> Sent: Monday, July 22, 2013 7:13 PM
> To: dev@openoffice.apache.org
> Subject: Extension toolbar compatibility and 4.0, again
> 
> Hi,
> 
> I'm a developer with Zotero. We currently distribute a
> LibreOffice/OpenOffice.org plugin for our software that provides rich
citation
> functionality in OpenOffice/LibreOffice/NeoOffice, as well as plugins for
> Word for Mac and Word for Windows.
> 
> I've read through the previous thread on changes to the toolbar in 4.0
> (http://mail-archives.apache.org/mod_mbox/openoffice-
> dev/201302.mbox/%3C51195E5E.3000004%40laposte.net%3E), but I'd like to
> emphasize that the changes to toolbar functionality in AOO 4 are quite
> problematic for us, not because the change to Addons.xcu is hard, but
> because having a separate extension for AOO 4 is somewhat of a nightmare
> from a support and distribution perspective.
> 
> To give some background, users don't install our extension manually.
> Instead, it is installed either by an optional Firefox extension (in
Zotero for
> Firefox) or automatically when our software is opened (in Zotero
> Standalone). At the moment, the same extension works with NeoOffice
> 3.0+, OpenOffice.org 3.0-3.3, AOO 3.4, LibreOffice 3.4-4.1.
> 
> Unless there's a way to create a single extension that works with AOO 4
and
> LibreOffice or earlier versions of OOo, supporting AOO 4 would appear to
> require the following changes:
> 
> 1. Adapt the extension to work with Apache OpenOffice. This is actually
the
> easiest part.
> 2. Bundle two extensions with the LibreOffice plugin and Zotero Standalone
> (2MB more download size) or modify the extension locally on install to use
a
> separate Addons.xcu file for AOO 4.
> 3. Detect AOO 4 and install a different extension there than we do in
> LibreOffice, AOO 3.4, and OOo.
> 4. Find a way to make  the extension fix itself when AOO is upgraded (is
this
> possible?), or at least present a dialog telling the user to reinstall the
> extension from within Zotero.

IF a) end users decide to have their user profile transferred during
upgrade, and
IF b) your extension is installed per user (= NOT installed in --shared
mode),
 then the answer to question 4 depends on your description.xml, I think. 

Is there an external link for update-information in your extension's
description.xml? Something like

<update-information>
	<src xlink:href="[link to an xml file on your server] />
</update-information>

 If so, it should not be difficult to inform end users of the availability
of an update and provide automatic update via a link to a server of yours,
if the end user wants that.

Extensions installed in --shared mode seem to be neglected by the upgrade to
AOO 4.0.


> 
> While I realize that this is somewhat late in your release process, it
would
> make us much happier if AOO 4 could use an alternative Addons.xcu file
> (Addons4.xcu?) if it exists. That way we wouldn't have to distribute
multiple
> extensions, and our toolbar wouldn't break for our users when they upgrade
> to AOO 4. If this isn't a possibility, perhaps someone has a better
suggestion
> for how we should handle this?
> 
> Thanks,
> Simon
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
> For additional commands, e-mail: dev-help@openoffice.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
For additional commands, e-mail: dev-help@openoffice.apache.org