Class CollaborativeEditingHandler
Class to handle collaborative editing.
Inheritance
System.Object
CollaborativeEditingHandler
Namespace: Syncfusion.EJ2.DocumentEditor
Assembly: Syncfusion.EJ2.DocumentEditor.dll
Syntax
public class CollaborativeEditingHandler : Object
Constructors
CollaborativeEditingHandler(WordDocument)
Initializes a new instance of the CollaborativeEditingHandler class with the specified WordDocument instance.
Declaration
public CollaborativeEditingHandler(WordDocument document)
Parameters
Type | Name | Description |
---|---|---|
WordDocument | document | The WordDocument instance. |
Properties
Document
Gets the current word document instance.
Declaration
public WordDocument Document { get; }
Property Value
Type |
---|
WordDocument |
Methods
TransformOperation(ActionInfo, List<ActionInfo>)
Transform current action against the previous modifled operations.
Declaration
public static void TransformOperation(ActionInfo currentAction, List<ActionInfo> remoteActions)
Parameters
Type | Name | Description |
---|---|---|
ActionInfo | currentAction | Specifies the current ActionInfo instance. |
System.Collections.Generic.List<ActionInfo> | remoteActions | Specifies the collection of ActionInfo instance |
UpdateAction(ActionInfo)
Applys the specified operation to current document.
Declaration
public void UpdateAction(ActionInfo action)
Parameters
Type | Name | Description |
---|---|---|
ActionInfo | action | Specifies the action ActionInfo needs to be updated in current document. |