How do I add a new configuration item to registrymodifications.xcu
Winfried Donkers
Winfried.Donkers at dekimo.com
Fri Feb 1 08:31:08 UTC 2019
Hi Michael,
>>> utl::ConfigItem is sort of deprecated and you should have a really good
>>> excuse to use it in new code.
>>
>> I have no better excuse than that it existed in the same component.
>> Which method should I use instead (or where can I find good examples of code to use as guide)?
>
> just "git grep officecfg::" will find lots of examples, there are
> headers generated that have a class for every config item and you can
> get() and set() it.
I found sufficient examples to use; so far chart2 (where I'm currently working) does use officecfg:: yet.
Thanks!
Winfried
More information about the LibreOffice
mailing list