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
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