[Libreoffice] Storage of user's configuration
Martin Richard
martius at martiusweb.net
Tue Jan 31 13:42:38 PST 2012
Thank you for following up this thread, it worked !
Martin
2012/1/31 Stephan Bergmann <sbergman at 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
>> org.openoffice.Office.Common/**Misc/FilePickerBookmarks), you can
>>
>> #include "officecfg/Office/Common.hxx"
>>
>> and read the list (as a com::sun::star::uno::Sequence<**rtl::OUString>)
>> with
>>
>> officecfg::Office::Common::**Misc::FilePickerBookmarks::**get(context)
>>
>
> Martin, for this to keep working please add a nillable="false" attribute
> to your new property in Common.xcs, see <http://cgit.freedesktop.org/**
> libreoffice/core/commit/?id=**e8bb827571f540ac4af2247cb11239**bb96876669<http://cgit.freedesktop.org/libreoffice/core/commit/?id=e8bb827571f540ac4af2247cb11239bb96876669>>
> "Fixed cppheader.xsl nillable treatment." (In addition to adding an empty
> default <value/> so that the get() above does not throw an exception upon a
> void Any, as discussed on IRC the other day.)
>
>
> Stephan
> ______________________________**_________________
> LibreOffice mailing list
> LibreOffice at lists.freedesktop.**org <LibreOffice at lists.freedesktop.org>
> http://lists.freedesktop.org/**mailman/listinfo/libreoffice<http://lists.freedesktop.org/mailman/listinfo/libreoffice>
>
--
Martin <http://www.martiusweb.net> Richard
www.martiusweb.net <http://www.martiuweb.net>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20120131/1852c4af/attachment.htm>
More information about the LibreOffice
mailing list