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

2014-10-16 Thread Keith Alcock
...@apache.org: 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: Programmatically (C++) closing frame with chance to save

2014-10-28 Thread Keith Alcock
com.sun.star.util.XModifiable. Then you ask for saving, and store it with interface com.sunstar.frame.XStorable. See https://wiki.openoffice.org/wiki/Documentation/DevGuide/OfficeDev/Component/Models#XModifiable Regards Bernard Message de Keith Alcock date 2014-10-28 15:32 : API experts, I need to close

Changing document and/or application background in code

2014-12-04 Thread Keith Alcock
to a particular document and not all of them, which is something that not even the UI does. Does anyone have an idea how to do that? Any other alternative ideas would also be greatly appreciated. I don't want to change the document itself, just something about how it is displayed. Thanks. Keith

Letters change width when change position. Why?

2015-02-25 Thread Keith Alcock
APIers, This question was put to the forum without much luck getting an answer. I hope that someone who knows the API might also know more about the internal workings of OpenOffice and can explain this phenomenon before I have to resort to source code. Thanks. Some information about the

Re: How to change an entry of a self-created menus via macro

2015-09-10 Thread Keith Alcock
Jorg, Below is code to do such a thing with C++. Basically you need to work with a FeatureStateEvent and set the State to the text you want. The documentation does not say that this is what State is used for, but looking up that class and XStatusListener should help. Keith void SAL_CALL

Re: Integrating help texts and tool tips for extension

2015-09-10 Thread Keith Alcock
> ... > This menu > is a tooltip example. > The branch attribute have to match with the menu URL. > > > Jump to a specified position in the help file is work well but sometimes > not its not work because of the > loading duration. > > Regards > > > 2015-09-08 5

Re: Integrating help texts and tool tips for extension

2015-09-11 Thread Keith Alcock
> _self > > > > > > > > > > > > > > > 2015-09-11 5:31 GMT+0

Re: Does OpenOffice hang when reading selection [end] during modify broadcast?

2015-11-24 Thread Keith Alcock
"Exception..." << std::endl; } } SAL_IMPLEMENT_MAIN_WITH_ARGS(argc, argv) { ModifyBug modifyBug; modifyBug.run(); return 0; } /*/ On Thu, Nov 19, 2015 at 12:24 PM, Keith Alcock <ke...@keithalcock.com> wrote: > APIers, > > I hav