Re: [Libreoffice] Storage of user's configuration

2012-01-31 Thread Martin Richard
Thank you for following up this thread, it worked ! Martin 2012/1/31 Stephan Bergmann sberg...@redhat.com On 01/24/2012 09:38 PM, Stephan Bergmann wrote: One thing that's already there, though, is that if you can indeed go with a single string-list property (lets assume you add it as

Re: [Libreoffice] Storage of user's configuration

2012-01-30 Thread Stephan Bergmann
On 01/24/2012 09:38 PM, Stephan Bergmann wrote: One thing that's already there, though, is that if you can indeed go with a single string-list property (lets assume you add it as org.openoffice.Office.Common/Misc/FilePickerBookmarks), you can #include officecfg/Office/Common.hxx and read the

[Libreoffice] Storage of user's configuration

2012-01-24 Thread Martin Richard
Hi everybody, I'm hacking the cross-platform filepicker (in fpicker/source/office). I added a Places (bookmarks) list on the left and I would like to save the entries that the user bookmarked . Cedric Bosdonnat told me to look at xcu and xcs files, but I'm a bit lost. I'm looking for a code

Re: [Libreoffice] Storage of user's configuration

2012-01-24 Thread Fernand Vanrie
Martin , i use folowed BASIC code to make a path consitent , maybe it helps ? public sElementnaam , sfotopath as string public oParameter as object sub addFotoPath() sRegisterPath = /org.openoffice.OpmaakMacro.FotoPath/Parameters/ CreateRegistrySchemaPathIfNotPresent(sRegisterPath) aSettings

Re: [Libreoffice] Storage of user's configuration

2012-01-24 Thread Martin Richard
Hi Fernand, Thank you for your response, it may help indeed. It seems that you create your own xcs file from scratch and store it in a custom location. I think that in my case, I will need to find a way to make it cross platform and environment independent. Cheers 2012/1/24 Fernand Vanrie

Re: [Libreoffice] Storage of user's configuration

2012-01-24 Thread Michael Meeks
Hi Martin, On Tue, 2012-01-24 at 16:22 +0100, Martin Richard wrote: I'm hacking the cross-platform filepicker (in fpicker/source/office). I added a Places (bookmarks) list on the left and I would like to save the entries that the user bookmarked . Great. Cedric Bosdonnat told me to

Re: [Libreoffice] Storage of user's configuration

2012-01-24 Thread Fernand Vanrie
Martin, I supose it is already cross platform and environment independent, neve tested it but interesting to know. Hi Fernand, Thank you for your response, it may help indeed. It seems that you create your own xcs file from scratch and store it in a custom location. I think that in my

Re: [Libreoffice] Storage of user's configuration

2012-01-24 Thread Stephan Bergmann
On 01/24/2012 04:22 PM, Martin Richard wrote: I'm hacking the cross-platform filepicker (in fpicker/source/office). I added a Places (bookmarks) list on the left and I would like to save the entries that the user bookmarked . Cedric Bosdonnat told me to look at xcu and xcs files, but I'm a bit