C# Class XWord.Annotations.AnnotationDisplay

显示文件 Open project: xwiki-contrib/xwiki-office Class Usage Examples

Public Methods

Method Description
AnnotationDisplay ( Microsoft.Office.Interop.Word doc ) : System
DisplayAnnotation ( Annotation annotation ) : void

Displays an annotation in a Word document.

Private Methods

Method Description
AdjustRange ( Microsoft.Office.Interop.Word range, Annotation annotation ) : Microsoft.Office.Interop.Word.Range
GetOffset ( int clearedContentIndex ) : int
IsMatch ( Microsoft.Office.Interop.Word range, Annotation annotation ) : bool

Determines if a Word range is matching the selected text for an annotation

StringSearch ( Annotation annotation ) : Microsoft.Office.Interop.Word.Range

Returns the range of an anootation.

WordSearch ( Annotation annotation ) : Microsoft.Office.Interop.Word.Range

Returns the range of an anootation.

Method Details

AnnotationDisplay() public method

public AnnotationDisplay ( Microsoft.Office.Interop.Word doc ) : System
doc Microsoft.Office.Interop.Word
return System

DisplayAnnotation() public method

Displays an annotation in a Word document.
public DisplayAnnotation ( Annotation annotation ) : void
annotation XWiki.Annotations.Annotation
return void