C# Class Aspose.Words.Examples.CSharp.Programming_Documents.Find_and_Replace.ReplaceTextWithFieldHandler

Inheritance: IReplacingCallback
Show file Open project: aspose-words/Aspose.Words-for-.NET

Public Methods

Method Description
FindAndSplitMatchRuns ( ReplacingArgs args ) : ArrayList

Finds and splits the match runs and returns them in an ArrayList.

ReplaceTextWithFieldHandler ( FieldType type ) : System.Collections
Replacing ( ReplacingArgs args ) : ReplaceAction

Private Methods

Method Description
SplitRun ( Run run, int position ) : Run

Splits text of the specified run into two runs. Inserts the new run just after the specified run.

Method Details

FindAndSplitMatchRuns() public method

Finds and splits the match runs and returns them in an ArrayList.
public FindAndSplitMatchRuns ( ReplacingArgs args ) : ArrayList
args ReplacingArgs
return System.Collections.ArrayList

ReplaceTextWithFieldHandler() public method

public ReplaceTextWithFieldHandler ( FieldType type ) : System.Collections
type FieldType
return System.Collections

Replacing() public method

public Replacing ( ReplacingArgs args ) : ReplaceAction
args ReplacingArgs
return ReplaceAction