C#请问openxml 怎么替换word书签里的内容
发布网友
发布时间:2022-05-10 21:43
我来回答
共1个回答
热心网友
时间:2023-11-04 01:22
对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<string> SQlStrList = new List<string>();
private ArrayList arr = new ArrayList();
private string ZJBM = "";
private int C = 0;
public frm导入Word()
{
InitializeComponent();
}
public class objclass
{