...@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
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
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
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
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
> ...
> 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
> _self
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> 2015-09-11 5:31 GMT+0
"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