问题描述
我必须学习使用C#的Open XML SDK之上的一些知识.像@Ahmad Mageed这样的事情在这里回答:在单词书签中插入OpenXmlElement打开XML SDK
I have to learn some things abount Open XML SDK, working with C#.Things like @Ahmad Mageed answered here: Insert OpenXmlElement after word bookmark in Open XML SDK
我处于类似的情况,但就我而言,我需要在书签中插入文本或元素...(不在其后)
I'm in a similar situation, but in my case I need to insert text or elements inside the bookmark...(not after it)
请需要帮助.(对不起我的英语不好)谢谢.
Need some help please.(Sorry for my English)Thanks.
推荐答案
绝对.在Eric White的文章在打开的XML文字处理文档中插入/删除/移动段落.
Absolutely. Check out the "Bookmarks" section on Eric White's article Inserting / Deleting / Moving Paragraphs in Open XML Wordprocessing Documents.
这是在bookmarkStart
和bookmarkEnd
之间插入的一种方法:
Here's a way to insert between bookmarkStart
and bookmarkEnd
: Replace bookmark text in Word file using Open XML SDK
这篇关于插入Word书签-Open XML SDK的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!