Re: Manipulate menu item titles (text) defined in Addons.xcu

2014-10-16 Thread Ariel Constenla-Haile
Hello Keith, On Thu, Oct 16, 2014 at 11:13:19AM +0200, Keith Alcock wrote: API experts, This question below couldn't be answered in the forums, so I'll try here: I have a very nice addon programmed in C++ and the related menu items are stored in Addons.xcu. The addon would be even nicer

Re: access internal graphics of a writer-document

2014-10-16 Thread Ariel Constenla-Haile
Hello Jörg, On Wed, Oct 15, 2014 at 07:31:44AM +0200, Jörg Schmidt wrote: Hello, With the StarBasic-Code: ThisComponent.GraphicObjects(0).GraphicURL I can read the internal URL of an embedded graphic in a writer-document, for example

Re: Manipulate menu item titles (text) defined in Addons.xcu

2014-10-16 Thread Keith Alcock
Ariel, Thank you very much! I was already manipulating FeatureStateEvent to enable and disable the menu items, but I didn't realize that State holds the text of the menu item. I added just a line of code and now it works! Keith 2014-10-16 14:16 GMT+02:00 Ariel Constenla-Haile