Displaying
Displaying

Reputation: 147

Insert in Word bookmarks - Open 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.

Upvotes: 1

Views: 7426

Answers (1)

Todd Main
Todd Main

Reputation: 29153

Absolutely. Check out the "Bookmarks" section on Eric White's article Inserting / Deleting / Moving Paragraphs in Open XML Wordprocessing Documents.

Here's a way to insert between bookmarkStart and bookmarkEnd: Replace bookmark text in Word file using Open XML SDK

Upvotes: 3

Related Questions