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:14:53 GMT
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 ?

-- 
Борисов Антон

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message