コード例 #1
0
 public static void ReplaceAllRegexpStandardizedInDocument(Document doc, string regexp, string newValue)
 {
     foreach (var par in RangeWrapper.ReadParagraphs(doc))
     {
         par.ReplaceAllRegexpStandardized(regexp, newValue);
     }
 }
コード例 #2
0
 public static void ReplaceAllWordsStandardizedInDocument(Document doc, string oldValue, string newValue)
 {
     foreach (var par in RangeWrapper.ReadParagraphs(doc))
     {
         par.ReplaceAllWordsStandardized(oldValue, newValue);
     }
 }
コード例 #3
0
 public static void ReplaceAllWordsCaseInsensitiveInDocument(Document doc, string oldValue, string newValue)
 {
     foreach (var par in RangeWrapper.ReadParagraphs(doc))
     {
         par.ReplaceAllWordsCaseInsensitive(oldValue, newValue);
     }
 }
コード例 #4
0
 public IntervalOverlapKinds DetectOverlapKind(RangeWrapper second)
 {
     return(IntervalOverlap.Detect(this.Start, this.End, second.Start, second.End));
 }
コード例 #5
0
 public RangeWrapper(RangeWrapper other)
     : this(RangeUtils.GetCopy(other.Range))
 {
 }