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