Exemplo n.º 1
0
 public static void ReplaceAllWordsStandardizedInDocument(Document doc, string oldValue, string newValue)
 {
     foreach (var par in RangeWrapper.ReadParagraphs(doc))
     {
         par.ReplaceAllWordsStandardized(oldValue, newValue);
     }
 }
Exemplo n.º 2
0
 public static void ReplaceAllRegexpStandardizedInDocument(Document doc, string regexp, string newValue)
 {
     foreach (var par in RangeWrapper.ReadParagraphs(doc))
     {
         par.ReplaceAllRegexpStandardized(regexp, newValue);
     }
 }
Exemplo n.º 3
0
 public static void ReplaceAllWordsCaseInsensitiveInDocument(Document doc, string oldValue, string newValue)
 {
     foreach (var par in RangeWrapper.ReadParagraphs(doc))
     {
         par.ReplaceAllWordsCaseInsensitive(oldValue, newValue);
     }
 }