On Sun, Mar 24, 2013 at 01:55:19PM +0400, Антон Борисов wrote:
> Yes, i want to modify text of an actual status bar control. Draw
> application.

Which "control" do you want to modify?
The status bar is made of status bar controls, each control is
identified by a UNO command, you can look at the XML definition of the
status bar in Draw:

http://localhost:8080/opengrok/xref/trunk-main/sd/uiconfig/sdraw/statusbar/statusbar.xml

The definition follows the same order as the user interface.  Once you
identify the control by its UNO command, you have to develop a dispatch
interceptor, in order to intercept this command. In the "simplest" case,
the original dispatch provides status updates in the form of a string.
So you replace this original dispatch with your own implementation, and
provide your own string.

See the demo at
http://people.apache.org/~arielch/api/StatusbarDispatchInterceptorDemo.oxt
(in the same folder there is another demo, for pictures in Writer,
IIRC).


Regards
-- 
Ariel Constenla-Haile
La Plata, Argentina

Attachment: pgpoHE5QqVsMF.pgp
Description: PGP signature

Reply via email to