RE: How do I add a new configuration item to registrymodifications.xcu

2019-02-01 Thread Winfried Donkers
Hi Heiko, > I wrote a blog post some time ago about how to make a feature optional. It > comes from a > non-developer/layman perspective to encourage people to look into the code. > Perhaps it’s > a bit helpful. >

Re: How do I add a new configuration item to registrymodifications.xcu

2019-02-01 Thread Heiko Tietze
I wrote a blog post some time ago about how to make a feature optional. It comes from a non-developer/layman perspective to encourage people to look into the code. Perhaps it’s a bit helpful. https://design.blog.documentfoundation.org/2018/04/14/easyhacking-how-to-make-a-feature-optional/ >

RE: How do I add a new configuration item to registrymodifications.xcu

2019-02-01 Thread Winfried Donkers
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

Re: How do I add a new configuration item to registrymodifications.xcu

2019-01-31 Thread Michael Stahl
On 31.01.19 11:48, Winfried Donkers wrote: Therefore I need to add a configuration item to registrymodifications.xcu. I have created a class to obtain the configuration item, using a derivative of ::com::sun::star::utl::ConfigItem and copying/adapting existing code to retrieve configuration

RE: How do I add a new configuration item to registrymodifications.xcu

2019-01-31 Thread Winfried Donkers
Including the mailing list this time... Winfried - Hi Michael, Stephan, Thank you for your quick responses. >> Therefore I need to add a configuration item to registrymodifications.xcu. >> I have created a class to obtain the configuration item, using a derivative >> of

Re: How do I add a new configuration item to registrymodifications.xcu

2019-01-31 Thread Michael Stahl
On 31.01.19 11:00, Winfried Donkers wrote: Hi, I am working on an enhancement for Calc, tdf90180. Therefore I need to add a configuration item to registrymodifications.xcu. I have created a class to obtain the configuration item, using a derivative of ::com::sun::star::utl::ConfigItem and

Re: How do I add a new configuration item to registrymodifications.xcu

2019-01-31 Thread Stephan Bergmann
On 31/01/2019 11:00, Winfried Donkers wrote: Therefore I need to add a configuration item to registrymodifications.xcu. The form of configuration content is defined in .xcs files in officecfg/registry/schema/, and the configuration data that ships with LO is defined in .xcu files in