Cor Nouws wrote (19-03-13 16:46)
Putting the files in either
/home/cono/LibreOffice/401rc2/libreoffice4.0/share/config/soffice.cfg/modules/swriter/...
or
    /.config/libreoffice/401rc2/user/config/soffice.cfg/modules/swriter/
and renaming some elements
   <menu:menuitem menu:id="vnd.sun.star.script:TemplateProject
to
   <menu:menuitem menu:id="vnd.sun.star.script:MacroLibraryName
and
   location=document"
to
   location=application"
Now the script launched directly with a button on the toolbar do work.
But the popupmenu's don't work.
Forgotten to say that I noticed the following:
   <toolbar:toolbaritem xlink:href="private:resource/menubar/foo/... "/>
I could not find/think of a change in the item 'private' here that could 
make sense.
Can there be some difference in how the code handles configuration from
a file and from the global/user configuration.
(Yes, probably ;).
Any advice would be appreciated.
Cheers,
--
 - Cor
 - http://nl.libreoffice.org
 - www.librelex.org
Context
   
 
  Privacy Policy |
  
Impressum (Legal Info) |
  
Copyright information: Unless otherwise specified, all text and images
  on this website are licensed under the
  
Creative Commons Attribution-Share Alike 3.0 License.
  This does not include the source code of LibreOffice, which is
  licensed under the Mozilla Public License (
MPLv2).
  "LibreOffice" and "The Document Foundation" are
  registered trademarks of their corresponding registered owners or are
  in actual use as trademarks in one or more countries. Their respective
  logos and icons are also subject to international copyright laws. Use
  thereof is explained in our 
trademark policy.