Пример #1
0
 public static OpenXmlElement ReplaceParagraphWithNumberedText(this WordprocessingDocument wordDoc, OpenXmlElement paragraphToReplace, string text, int number)
 {
     return wordDoc.ReplaceParagraphWithText(paragraphToReplace, $"{number}.\t{text}");
 }