Hallo Ariel ,
You are right, but what I do is at the start of a exention to replace
the "standard.soc" by an exetension.soc and then at closing the
extension doing the inverse. I know when crashing.... we have a problem
:-) a problem who will popup for any other solution i think ?
Greetz
Fernand
On Thursday 02 April 2009, 09:00, Fernand Vanrie wrote:
hallo,
maybe I missed something here but to answer the original question:
well, the original question was about adding a color palette via an
*extension* , so that the following
oPathSettings = createUnoService("com.sun.star.util.PathSettings")
sPaletteUrl = oPathSettings.Palette & "/standard.soc"
I replace the standard.soc by my own soc file using the already existing
user-standard.soc + the colors wanted for a specifik task.
isn't -IMHO- a good extension practice: extensions should only add content
that will then be removed when the extension is uninstalled.
Concerning the original question
http://wiki.services.openoffice.org/wiki/Non-code_extensions
does not say anything in particular (different from "AutoText" and "Gallery"),
but this could mean both that it is supported or not supported at all. At first
sight it does not seem to work.
Regards
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org
For additional commands, e-mail: dev-h...@api.openoffice.org