在哪里可以找到有关用于 Word 文档处理的 OpenXML 的优秀文档?

Where can I find good Documentation on OpenXML for Word Document Processing?

由于我是 OpenXML 的新手,我正在自己学习它并获得有关 OpenXML 的基本知识,但现在我愿意学习如何使用 OpenXML 通过 C# 代码操作 word 文档。

所以请给我推荐关于这方面的好文档。

你可以在MSDN找到它,这是how to系列:https://msdn.microsoft.com/en-us/library/office/cc850833.aspx

您可以关注 codeproject.com

中的示例
    using (WordprocessingDocument doc = WordprocessingDocument.Create
("D:\test11.docx", DocumentFormat.OpenXml.WordprocessingDocumentType.Document))
       {
           // Add a main document part.
           MainDocumentPart mainPart = doc.AddMainDocumentPart();

           // Create the document structure and add some text.
           mainPart.Document = new Document();
           Body body = mainPart.Document.AppendChild(new Body());
           Paragraph para = body.AppendChild(new Paragraph());
           Run run = para.AppendChild(new Run());

           // String msg contains the text, "Hello, Word!"
           run.AppendChild(new Text("New text in document"));
       }

电子书第 1 章 打开 XML - Wouter van Vugt 解释的标记 涵盖了 WordprocessingML 的许多细节。 WordprocessingML 是涵盖 MS Word 文档的 OpenXML 命名空间。您可以在 OpenXMLDeveloper.org post 找到该书的 PDF 副本。您应该尽快下载副本,托管电子书的网站可能正在关闭。