Word 2003 - XMLAfterInsert event problems.

G

Gareth

I find that if I attempt to trap the XMLAfterInsert events to modify
inserted xml as it is inserted by the user, the events are generated and
work fine if I use a single copy/paste but if I hold down ctrl-V, causing
multiple paste events to queue up, it fails.
Only the first paste causes XMLAfterInsert events, subsequent pastes do not
generate this event and hence the xml tags get inserted without
modification.

Another XMLAfterInsert event issue I have noticed, is that if Delete is
called on the newXMLNode parameter, then in the case of copying and pasting
multiple nodes at once, XMLAfterInsert only ends up being called on Half
(rounding up) of the nodes being inserted.

For the later, I have a workaround - but the former renders my workaround
broken.

Thanks.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top