C# Class ACPAddIn.ExtensionMode

显示文件 Open project: autocompaste/AutoComPaste Class Usage Examples

Public Properties

Property Type Description
isRetrieving int

Public Methods

Method Description
ExtensionMode ( Client logic ) : System
extendSuggestion ( int code ) : void
getExtensionPos ( ) : int
getExtensionRange ( ) : Microsoft.Office.Interop.Word.Range
highlight ( Microsoft.Office.Interop.Word range ) : void
isExtensionMode ( ) : bool
removeRangeTextAndRepositionCursor ( Microsoft.Office.Interop.Word range ) : void
resetExtensionMode ( ) : void
setExtensionRange ( Microsoft.Office.Interop.Word range ) : void
setupExtensionMode ( Suggestion suggestion ) : void
unhighlight ( Microsoft.Office.Interop.Word range ) : void

Private Methods

Method Description
checkAndRemoveParagraphSpace ( Microsoft.Office.Interop.Word range ) : void
displayErrorMessage ( string msg, string title ) : void
displayExtension ( List nextExtensions, bool addIntoExtensions ) : void
displayMessage ( String message ) : void
displayParaSentenceExtensions ( List nextExtensions, bool addIntoExtensions ) : void
displayWordExtensions ( ) : void
extendParagraph ( ) : void
extendSentence ( ) : void
extendWord ( ) : void
removeParagraph ( ) : void
removeSentence ( ) : void
removeWord ( ) : void
retrieveExtendSuggestion ( ) : void
scrollToRange ( Microsoft.Office.Interop.Word range ) : void
shiftRange ( Microsoft.Office.Interop.Word range, int length ) : void

Method Details

ExtensionMode() public method

public ExtensionMode ( Client logic ) : System
logic Client
return System

extendSuggestion() public method

public extendSuggestion ( int code ) : void
code int
return void

getExtensionPos() public method

public getExtensionPos ( ) : int
return int

getExtensionRange() public method

public getExtensionRange ( ) : Microsoft.Office.Interop.Word.Range
return Microsoft.Office.Interop.Word.Range

highlight() public static method

public static highlight ( Microsoft.Office.Interop.Word range ) : void
range Microsoft.Office.Interop.Word
return void

isExtensionMode() public method

public isExtensionMode ( ) : bool
return bool

removeRangeTextAndRepositionCursor() public method

public removeRangeTextAndRepositionCursor ( Microsoft.Office.Interop.Word range ) : void
range Microsoft.Office.Interop.Word
return void

resetExtensionMode() public method

public resetExtensionMode ( ) : void
return void

setExtensionRange() public method

public setExtensionRange ( Microsoft.Office.Interop.Word range ) : void
range Microsoft.Office.Interop.Word
return void

setupExtensionMode() public method

public setupExtensionMode ( Suggestion suggestion ) : void
suggestion Suggestion
return void

unhighlight() public static method

public static unhighlight ( Microsoft.Office.Interop.Word range ) : void
range Microsoft.Office.Interop.Word
return void

Property Details

isRetrieving public_oe property

public int isRetrieving
return int