3e4968e676
This is broken since commit5c39b28a87
("tdf#96059 Replaced imageproducer with CommandInfoProvider") but so far no one complained (maybe because the usefulness of such internal images from extensions is questionable at least). Given also that the whole ImageIdentifier feature (even its still working part) is obsolete since OOo 2.0.3 (according to the OOo dev guide), and that the availability of a particular image from an internal hardcoded image list by a particular numerical id is more an implementation detail, let's just remove the broken code instead of fixing it. In the meantime, the code was also copied into the newly introduced notebookbar addon code, so I handled it there too. There are also the registry schema and a sdk example that mention this feature, and need to be adjusted. Interesting that the particular example used there - private:image/3216 is actually broken since 2011 with commit2559cab126
("FDO#42454 - EasyHack: remove code associated with unused icons"). Change-Id: I968b4fb8c5b207654476dd92c57d8db0815520ab Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101529 Tested-by: Jenkins Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com>
36 lines
1.5 KiB
XML
36 lines
1.5 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!--
|
|
* This file is part of the LibreOffice project.
|
|
*
|
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
*
|
|
* This file incorporates work covered by the following license notice:
|
|
*
|
|
* Licensed to the Apache Software Foundation (ASF) under one or more
|
|
* contributor license agreements. See the NOTICE file distributed
|
|
* with this work for additional information regarding copyright
|
|
* ownership. The ASF licenses this file to you under the Apache
|
|
* License, Version 2.0 (the "License"); you may not use this file
|
|
* except in compliance with the License. You may obtain a copy of
|
|
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
|
-->
|
|
|
|
<oor:node xmlns:oor="http://openoffice.org/2001/registry"
|
|
xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
|
oor:name="Addons" oor:package="org.openoffice.Office">
|
|
<node oor:name="AddonUI">
|
|
<node oor:name="AddonMenu">
|
|
<node oor:name="org.openoffice.comp.pyuno.demo.HelloWorld" oor:op="replace">
|
|
<prop oor:name="URL" oor:type="xs:string">
|
|
<value>service:org.openoffice.comp.pyuno.demo.HelloWorld?insert</value>
|
|
</prop>
|
|
<prop oor:name="Title" oor:type="xs:string">
|
|
<value xml:lang="x-no-translate">Insert Hello World</value>
|
|
<value xml:lang="en-US">Insert Hello World</value>
|
|
</prop>
|
|
</node>
|
|
</node>
|
|
</node>
|
|
</oor:node>
|