com.aspose.words
Interface INodeChangingCallback


public interface INodeChangingCallback 

Implement this interface if you want to receive notifications when nodes are inserted or removed in the document.

Method Summary
abstract voidnodeInserted(NodeChangingArgs args)
           Called when a node belonging to this document has been inserted into another node.
abstract voidnodeInserting(NodeChangingArgs args)
           Called just before a node belonging to this document is about to be inserted into another node.
abstract voidnodeRemoved(NodeChangingArgs args)
           Called when a node belonging to this document has been removed from its parent.
abstract voidnodeRemoving(NodeChangingArgs args)
           Called just before a node belonging to this document is about to be removed from the document.
 

Method Detail

nodeInserted

public abstract void nodeInserted(NodeChangingArgs args)
                               throws java.lang.Exception
Called when a node belonging to this document has been inserted into another node.

nodeInserting

public abstract void nodeInserting(NodeChangingArgs args)
                                throws java.lang.Exception
Called just before a node belonging to this document is about to be inserted into another node.

nodeRemoved

public abstract void nodeRemoved(NodeChangingArgs args)
                              throws java.lang.Exception
Called when a node belonging to this document has been removed from its parent.

nodeRemoving

public abstract void nodeRemoving(NodeChangingArgs args)
                               throws java.lang.Exception
Called just before a node belonging to this document is about to be removed from the document.

See Also:
          Aspose.Words Documentation - the home page for the Aspose.Words Product Documentation.
          Aspose.Words Support Forum - our preferred method of support.