Skip to main content
Participant
May 15, 2009
Question

How to tell if IGE (inline graphics element) has been deleted?

  • May 15, 2009
  • 1 reply
  • 564 views

Are there any helpers or events so we can catch if a user has deleted some inline graphics?

Thanks

This topic has been closed for replies.

1 reply

Adobe Employee
May 15, 2009

You could watch the FlowOperationEvents to see what editing is being done. There's an explicit DeleteOperation, a CutOperation, and a number of others, such as insert text, that take a range and can do replacement. Then you'd have to scan the region being deleted to see if it contains any InlineGraphicElements. There's no explicit event for inline-graphic-deleted. I think there's some example code in the ASDocs for listening for FLOW_OPERATION_BEGIN; if not, ping back and I can post some.

Hope this helps,

- robin