Quantcast
Channel: html2openxml Discussions Rss Feed
Viewing all articles
Browse latest Browse all 228

New Post: Insert Converted Text at Bookmark

$
0
0
Hello phantoweb,


There are 2 methods in the API to parse the html: Parse() and ParseHtml().

ParseHtml() will insert all the converted chunks into the word. This is the preferred version.
Parse() will returns you the list of Paragraphs that you can insert at the position you want.

Beware that the latter may require some "fixes" in the final word ; the link order is important for example.
So in your case, you will have to rely on the 2nd method and test against it.
If it doesn't work, you can still use ParseHtml() in a new empty document, then merge your original one with the "empty".

http://blogs.msdn.com/b/brian_jones/archive/2008/12/08/the-easy-way-to-assemble-multiple-word-documents.aspx



Olivier

Viewing all articles
Browse latest Browse all 228

Trending Articles