C#请问openxml 怎么替换word书签里的内容

2024-11-27 12:49:54
推荐回答(1个)
回答1:

word操作给word打 并其内容 复制 参考吧 //btnFindFile_Click(object sender, EventArgs e)应该按照路径找章节编码暂没实现; private Microsoft.Office.Interop.Word.ApplicationClass oWordApplic; private Microsoft.Office.Interop.Word.Document oDoc; object missing = System.Reflection.Missing.Value; private List SQlStrList = new List(); private ArrayList arr = new ArrayList(); private string ZJBM = ""; private int C = 0; public frm导入Word() { InitializeComponent(); } public class objclass