Hi Fernand,
Fernand Vanrie ha scritto:
Hallo Paolo ,
I was confronted with the same problem, i never tryed to add new nodes
to the regsitery.
I supose that the new enteries becomes "new" properties for the
"com.sun.star.util.PathSettings" service ?
correct
I think you must have to look
at de "localisation name giving" because the properties are in the GUI
dialog named to the "Local" name specifications, in English "work"
becomes "My Documents" etc...
You're right, the Paths registry schema defines named paths but without
localization.
Grepping in my ooo installation path I found that localized names are
stored in <OOO inst path>/basis3.2/program/resource/svxit.res
This means that the localization mechanism is not accessible via API
Also, only *some* of the named-paths defined in the
org.openoffice.Office.Paths registry component are displayed (with
localized name) in the paths option page.
The mechanism that chooses which path must be shown in the option page
is also not accessible al api level.
maybe you can there add also new names or rename some pathnodes to your
names ?
Renaming predefined paths would require root privileges and I suppose
iit may be quite dangerous.
I never tryed this way but resolved (half) the problem to use the "work"
node and then gives some meaningfull names to the directories
Yes, actually it could be a quick&easy solution, but not in my case
because it's too easy to break by the end user and I need something more
robust.
thanks
Paolo M
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]