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