change_tracking_accept_change
ret = change_tracking_accept_change(oid[, flags])
This function attempts to accept a tracked change in the document and returns the status of the operation. The oid parameter specifies the location of the change markup. The flags parameter is a bit mask used to control the operation.
If oid is not valid change markup,then this function returns -1. If accepting the change would cause an in-context document to become out of context and nocc bit is not 1, a confirmation is displayed to allow the user to cancel the acceptance. If the user cancels the command then this function returns 0. In either case this function does not modify the document. Otherwise, the change is successfully accepted and this function returns 1.
The flag bit is:
• 0x1 — nocc
|
Accepting a change can be undone with the undo command.
|