openoffice-api mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Антон Борисов <antonhbbori...@gmail.com>
Subject programmatically removing connected shapes
Date Mon, 20 May 2013 16:56:05 GMT
Hello, need some help with draw extension

I have 3 shapes connected: 2 connector shapes, 1 text shape, they are
connected next way:   " ----> text ----> "

I trying to do next: removing one of this shapes (i.e by key delete)
will causes deleting two another.

I handle XEventListener "ShapeRemoved", and deleting another by
XDrawPage.remove, but sdraw fails in some case, exactly when firstly i
remove text shape ( by key ).

I suppose that its happening because of ShapeModified event of already
removed shape.

Which workaround can fit my needs ?
Any help would be appreciated

Thanks,
--
Borisov Anton

---------------------------------------------------------------------
To unsubscribe, e-mail: api-unsubscribe@openoffice.apache.org
For additional commands, e-mail: api-help@openoffice.apache.org


Mime
View raw message