Fast and easy to use cross-platform .NET library that creates or modifies Microsoft Word (DocX) and later also Excel (XLSX) files without installing any software. Library is based on Open XML SDK
MIT License
286
stars
50
forks
source link
FindAndReplace allowed for specific paragraphs #171
we have the full doc replace ,and sometimes ,we will want just replace from a list paras(indeed it was a real paragraph).so I pulic the FindAndReplace method
public static int FindAndReplace(List<WordParagraph> paragraphs, string textToFind, string textToReplace, StringComparison stringComparison = StringComparison.OrdinalIgnoreCase)
we have the full doc replace ,and sometimes ,we will want just replace from a list paras(indeed it was a real paragraph).so I pulic the FindAndReplace method