Esempio n. 1
0
 public static void ReplaceAllWordsStandardizedInDocument(Document doc, string oldValue, string newValue)
 {
     foreach (var par in RangeWrapper.ReadParagraphs(doc))
     {
         par.ReplaceAllWordsStandardized(oldValue, newValue);
     }
 }
Esempio n. 2
0
 public static void ReplaceAllRegexpStandardizedInDocument(Document doc, string regexp, string newValue)
 {
     foreach (var par in RangeWrapper.ReadParagraphs(doc))
     {
         par.ReplaceAllRegexpStandardized(regexp, 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);
     }
 }