Hi Bernhard,

Bernard Marcelly schrieb:
Message de Regina Henschel  date 2010-01-09 15:33 :

Hello,

I need to react on the change of the property CircleStartAngle and
CircleEndAngle of an EllipseShape. I tried to use a
PropertyChangeListener but it doesn't work. So I tried a
PropertyChangeListener with a more simple example to learn whether I
do something wrong, see code below.

Hi Regina,
Here is the description of interface XPropertySet in the API :

There are three types of properties:
* bound properties
* constrained properties
* free properties
You can listen to changes of bound properties with the
XPropertyChangeListener and you can veto changes of constrained
properties with the XVetoableChangeListener.


Few objects have bound properties. You will find them in form controls,
e.g. in a TextField. If you use Xray (with detailed display) on such
control, it will indicate "value change may be listened" for some
properties : Align, BackgroundColor, Border, DataField, Tag, etc. For
these properties you will receive a correctly filled event object.

OK, I see that all EllipseShape properties are without "value change may be listened". So I have to find another way.

But the property "ZoomValue" has got "value change may be listened", and there is no reaction on changing zoom in Writer, Draw and Impress, but only in Calc. Why?

kind regards
Regina


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to