To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=70931
                 Issue #|70931
                 Summary|Image mapping for macro commands (macro:///) doesn't w
                        |ork
               Component|framework
                 Version|OOo 2.0.4
                Platform|All
                     URL|
              OS/Version|All
                  Status|UNCONFIRMED
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|ui
             Assigned to|tm
             Reported by|kami_





------- Additional comments from [EMAIL PROTECTED] Fri Oct 27 01:13:40 -0700 
2006 -------
I run into a problem when I try to define images to macro based generic
commands. It might be bug of image mapping system when macros' links come to the
picture.

I added one button to a new toolbar:
FILE:
<OO2>/share/registry/data/org/openoffice/Office/UI/GenericCommands.xcu

<node oor:name="macro:///OOoWikipedia.Module1.StarWithDefaultLanguage">
<prop oor:name="Label" oor:type="xs:string"><value xml:lang="en-US">OOoWikipedia
- Language</value></prop>
<prop oor:name="Properties" oor:type="xs:int"><value>1</value></prop>
</node>

I added a line to standardbard.xml
<OO2>/share/config/soffice.cfg/modules/swriter/toolbar/
<toolbar:toolbaritem
xlink:href="macro:///OOoWikipedia.Module1.StarWithDefaultLanguage"/>

Also I put my images to <OO2>/share/config/images.zip with the correct name:
(lc|sc|sch|lch)_ooowikipedia.module1.starwithdefaultlanguage

After restarting the application (Writer) I got a new button on Standard toolbar
that is clickable and start the macro, but there is no picture on it.
I tried to create the macro with simplier name - But it doesn't work.
Also I copied images with another name ~_open.png - then images appears as open
picture - so there is no problem with images.

I hope I did something wrong, but It seems to be a bug.

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to