Quantcast
Channel: Open XML Format SDK forum
Viewing all articles
Browse latest Browse all 1288

onenxml removing numbering and listbox from word document

$
0
0

Hello

I'm i'm replacing some bookmarks in a word 2010 document with openxml 2.0.

The problem is that it automatically removes all listbox numbering etc. leaving only the text during the elaboration.

This is my code:

WordprocessingDocument wordPackage = WordprocessingDocument.Open(pathDocument, true);


BookmarkReplacer.ReplaceBookmarkText(this.wordPackage, bookMarkName, content);

this.wordPackage.Close();
this.wordPackage.Dispose();



Viewing all articles
Browse latest Browse all 1288

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>