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 > 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.Of

Re: [Libreoffice] Storage of user's configuration

2012-01-31 Thread Stephan Bergmann
On 01/31/2012 12:37 PM, Michael Meeks wrote: Incidentally - do we expect that all properties will end up with a nillable="false" attribute on them in the end ? :-) No. Stephan ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org htt

Re: [Libreoffice] Storage of user's configuration

2012-01-31 Thread Michael Meeks
Hi Stephan, On Tue, 2012-01-31 at 08:28 +0100, Stephan Bergmann wrote: > Martin, for this to keep working please add a nillable="false" attribute > to your new property in Common.xcs, see ... > "Fixed cppheader.xsl nillable treatment." (In addition to adding an > empty default so that the get

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

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

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 cas

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 m

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 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) aSettin

[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 sam