C# Class AnnotationMaintainer, xwiki-office

Inheritance: IAnnotationMaintainer
Mostrar archivo Open project: xwiki-contrib/xwiki-office

Public Methods

Method Description
AnnotationMaintainer ( ) : System
ClearComments ( ) : void

Deletes the annotations and Word comments for a given page.

GetAnnotationsForDocument ( string pageId ) : List
RegisterAnnotation ( Annotation annotation, Microsoft.Office.Interop.Word comment ) : void
UpdateAnnotations ( ) : List

Updates the annotations for the active page

Private Methods

Method Description
ClientChanged ( Object sender, EventArgs args ) : void
FilterWordComments ( List activeComments, List &oldComments, List &newComments ) : void
GetAnnotationByCommentIndex ( int commentIndex ) : Annotation
GetAnnotationForWordComment ( Microsoft.Office.Interop.Word comment ) : Annotation
GetCommentAuthor ( ) : String
GetUpdateAnnotationsList ( ) : List
GetWordComments ( ) : List
UpdateAnnotation ( Annotation annotation, Microsoft.Office.Interop.Word comment ) : void

Method Details

AnnotationMaintainer() public method

public AnnotationMaintainer ( ) : System
return System

ClearComments() public method

Deletes the annotations and Word comments for a given page.
public ClearComments ( ) : void
return void

GetAnnotationsForDocument() public method

public GetAnnotationsForDocument ( string pageId ) : List
pageId string
return List

RegisterAnnotation() public method

public RegisterAnnotation ( Annotation annotation, Microsoft.Office.Interop.Word comment ) : void
annotation Annotation
comment Microsoft.Office.Interop.Word
return void

UpdateAnnotations() public method

Updates the annotations for the active page
public UpdateAnnotations ( ) : List
return List