Thanks, now it's working 09 февр. 2014 г. 5:09 пользователь "Ariel Constenla-Haile" < arie...@apache.org> написал:
> Hi Антон, > > On Sun, Feb 09, 2014 at 01:25:38AM +0400, Антон Борисов wrote: > > I have some troubles with toolbar icons and menu icons > > > > Image for Toolbar item not showing with ControlType ImageButton, > > ControlType is only taken into account for the so-called "complex > toolbar controls" > > https://wiki.openoffice.org/wiki/Framework/Article/Generic_UNO_Interfaces_for_complex_toolbar_controls > I assume you are not using this feature, but simple toolbar items. > > > <node oor:name="Images"> set for toolbar item URL > > and in case when ImageIdentifier set for ToolbarItem itself > > ImageIdentifier is deprecated, it should be enough to bind an image to > a command URL in the "Images" node. > > > a have no idea why it happened maybe wrong maven-ooo-plugin configuration > > in pom > > > > I want to ask if someone using maven plugin for building openoffice > addons ? > > > > <groupId>org.openoffice.dev</groupId> > > <artifactId>maven-ooo-plugin</artifactId> > > <version>1.2-SNAPSHOT</version> > > I don't get how could this be related to the original problem; anyway, > simply check the generated OXT: are the images inside the OXT? Are the > URLs in the "Images" node pointing to them? A common error, for example, > is the wrong use of %origin% to point to the images; it is less error > prone to use the vnd.sun.star.extension:// protocol: > > <prop oor:name="ImageSmallURL" oor:type="xs:string"> > <value>vnd.sun.star.extension://my.extension.Id/images/icon.png</value> > </prop> > > The URL schema is > > vnd.sun.star.extension://extension-id/relative-path-within-extension-package > vid. > > https://wiki.openoffice.org/wiki/Documentation/DevGuide/UCB/Content_Providers > > > Regards > -- > Ariel Constenla-Haile > La Plata, Argentina >