You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openoffice.apache.org by Mathias Röllig <mr...@gmx.net> on 2015/09/15 15:51:37 UTC
One Addons.xcu with toolbars for AOO and LO possible?
Hello!
I read
https://forum.openoffice.org/en/forum/viewtopic.php?f=47&t=63814&p=290135#p290135
again and again. But I can't find the answer if and how it is possible
to provide only one extension where toolbars will work with AOO and LO.
And if I have to provide two extensions: how can I declare which
software the extension is for?
I can't find any explanation for a difference for the <dependencies>
node in description.xml. It seems AOO and LO tests always against the
same entries.
Regards, Mathias
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
For additional commands, e-mail: dev-help@openoffice.apache.org
Re: One Addons.xcu with toolbars for AOO and LO possible?
Posted by SOS <so...@pmg.be>.
in LO the higest "working version is limited to "3.0" so its a bug
On 15/09/2015 19:23, Tsutomu Uchino wrote:
> Hi,
>
> I have added l:LibreOffice-minimal-version to my extension's
> deescription.xml file.
> But I got error while installing the package to Apache OpenOffice 4.
> On the current version, you can not put it into an extension that targets
> AOO.
>
> Regards
>
> 2015-09-16 1:51 GMT+09:00 Oliver Brinzing <Ol...@gmx.de>:
>
>> Hi Mathias,
>>
>> I can't find any explanation for a difference for the <dependencies>
>>>> node in description.xml. It seems AOO and LO tests always against the
>>>> same entries.
>>>>
>> please see
>> https://wiki.documentfoundation.org/Development/Extension_Development for
>> lo:
>>
>> <description xmlns="http://openoffice.org/extensions/description/2006"
>> xmlns:l="http://libreoffice.org/extensions/description/2011"
>> xmlns:d="
>> http://openoffice.org/extensions/description/2006"
>> xmlns:xlink="http://www.w3.org/1999/xlink">
>> <dependencies>
>> <l:LibreOffice-minimal-version value="4.0" d:name="LibreOffice 4.0"/>
>> </dependencies
>>
>> aoo is a bit different:
>>
>> <description xmlns="http://openoffice.org/extensions/description/2006"
>> xmlns:l="http://openoffice.org/extensions/description/2006"
>> xmlns:d="
>> http://openoffice.org/extensions/description/2006"
>> xmlns:xlink="http://www.w3.org/1999/xlink">
>> <dependencies>
>> <l:OpenOffice.org-minimal-version value="4.0" d:name="OpenOffice.org
>> 4.0"/>
>> </dependencies>
>>
>>
>> Regards
>> Oliver
>>
>>
>>
>> ---------------------------------------------------------------------
>> 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
Re: One Addons.xcu with toolbars for AOO and LO possible?
Posted by Tsutomu Uchino <ha...@gmail.com>.
Hi,
I have added l:LibreOffice-minimal-version to my extension's
deescription.xml file.
But I got error while installing the package to Apache OpenOffice 4.
On the current version, you can not put it into an extension that targets
AOO.
Regards
2015-09-16 1:51 GMT+09:00 Oliver Brinzing <Ol...@gmx.de>:
> Hi Mathias,
>
> I can't find any explanation for a difference for the <dependencies>
>>> node in description.xml. It seems AOO and LO tests always against the
>>> same entries.
>>>
>>
> please see
> https://wiki.documentfoundation.org/Development/Extension_Development for
> lo:
>
> <description xmlns="http://openoffice.org/extensions/description/2006"
> xmlns:l="http://libreoffice.org/extensions/description/2011"
> xmlns:d="
> http://openoffice.org/extensions/description/2006"
> xmlns:xlink="http://www.w3.org/1999/xlink">
> <dependencies>
> <l:LibreOffice-minimal-version value="4.0" d:name="LibreOffice 4.0"/>
> </dependencies
>
> aoo is a bit different:
>
> <description xmlns="http://openoffice.org/extensions/description/2006"
> xmlns:l="http://openoffice.org/extensions/description/2006"
> xmlns:d="
> http://openoffice.org/extensions/description/2006"
> xmlns:xlink="http://www.w3.org/1999/xlink">
> <dependencies>
> <l:OpenOffice.org-minimal-version value="4.0" d:name="OpenOffice.org
> 4.0"/>
> </dependencies>
>
>
> Regards
> Oliver
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
> For additional commands, e-mail: dev-help@openoffice.apache.org
>
>
Re: One Addons.xcu with toolbars for AOO and LO possible?
Posted by Oliver Brinzing <Ol...@gmx.de>.
Hi Mathias,
>> I can't find any explanation for a difference for the <dependencies>
>> node in description.xml. It seems AOO and LO tests always against the
>> same entries.
please see https://wiki.documentfoundation.org/Development/Extension_Development for lo:
<description xmlns="http://openoffice.org/extensions/description/2006"
xmlns:l="http://libreoffice.org/extensions/description/2011"
xmlns:d="http://openoffice.org/extensions/description/2006"
xmlns:xlink="http://www.w3.org/1999/xlink">
<dependencies>
<l:LibreOffice-minimal-version value="4.0" d:name="LibreOffice 4.0"/>
</dependencies
aoo is a bit different:
<description xmlns="http://openoffice.org/extensions/description/2006"
xmlns:l="http://openoffice.org/extensions/description/2006"
xmlns:d="http://openoffice.org/extensions/description/2006"
xmlns:xlink="http://www.w3.org/1999/xlink">
<dependencies>
<l:OpenOffice.org-minimal-version value="4.0" d:name="OpenOffice.org 4.0"/>
</dependencies>
Regards
Oliver
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
For additional commands, e-mail: dev-help@openoffice.apache.org
Re: One Addons.xcu with toolbars for AOO and LO possible?
Posted by Mathias Röllig <mr...@gmx.net>.
Correction, there was some nodes too much:
Now I have in the Addons.xcu:
<node oor:name="AddonUI">
<node oor:name="OfficeToolBar">
<node oor:name="foo.bar.hoge.addons.ToolbarTest.old" oor:op="replace">
... Old Scheme ...
</node>
</node>
<node oor:name="OfficeToolBar">
<node oor:name="foo.bar.hoge.addons.ToolbarTest.new" oor:op="replace">
<prop oor:name="Title" oor:type="xs:string">
<value xml:lang="en-US">Toolbar Title</value>
</prop>
<node oor:name="ToolBarItems">
... New AOO 4.x Scheme ...
</node>
</node>
</node>
</node>
With the files and entries for all ...WindowsState.xcu it works for AOO
and LO. :-)
But nevertheless I want to know:
> And if I have to provide two extensions: how can I declare which
> software the extension is for?
> I can't find any explanation for a difference for the <dependencies>
> node in description.xml. It seems AOO and LO tests always against the
> same entries.
Regards, Mathias
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
For additional commands, e-mail: dev-help@openoffice.apache.org
Re: One Addons.xcu with toolbars for AOO and LO possible?
Posted by Mathias Röllig <mr...@gmx.net>.
I answer again to myself. ;-)
> I read
> https://forum.openoffice.org/en/forum/viewtopic.php?f=47&t=63814&p=290135#p290135
> again and again. But I can't find the answer if and how it is possible
> to provide only one extension where toolbars will work with AOO and LO.
After thinking a long time about
https://wiki.openoffice.org/wiki/Extensions/Extensions_and_Apache_OpenOffice_4.0#addons.xcu_changes
especially about the solution with 2 different named Addons.xcu I tried
to merge them.
Now I have in the Addons.xcu:
<node oor:name="AddonUI">
<node oor:name="OfficeToolBar">
<node oor:name="foo.bar.hoge.addons.ToolbarTest.old"
oor:op="replace">
... Old Scheme ...
</node>
</node>
</node>
<node oor:name="OfficeToolBar">
<node oor:name="foo.bar.hoge.addons.ToolbarTest.new" oor:op="replace">
<prop oor:name="Title" oor:type="xs:string">
<value xml:lang="en-US">Toolbar Title</value>
</prop>
<node oor:name="ToolBarItems">
... New AOO 4.x Scheme ...
</node>
</node>
</node>
</node>
With the files and entries for all ...WindowsState.xcu it works for AOO
an LO. :-)
But nevertheless I want to know:
> And if I have to provide two extensions: how can I declare which
> software the extension is for?
> I can't find any explanation for a difference for the <dependencies>
> node in description.xml. It seems AOO and LO tests always against the
> same entries.
Regards, Mathias
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
For additional commands, e-mail: dev-help@openoffice.apache.org