interop - merge word documents to a single document -


i used code in link mentioned below merge word files single file

http://devpinoy.org/blogs/keithrull/archive/2007/06/09/updated-how-to-merge-multiple-microsoft-word-documents.aspx

however, seeing output file realized unable copy header image in first document. how merge documents preserving format , content.

that code inserting page break after each file.

since sections control headers, if second or subsequent document has header, you'll wanting keep original section properties, , insert after first document.

if @ original document docx, you'll see section document level section properties element.

the easiest way around problem may create second section properties element inside last paragraph (which contains header information). should stay there when documents merged (ie other paragraphs added after it).

that's theory. see http://www.pcreview.co.uk/forums/thread-898133.php haven't tried it; assumes insertfile behaves expect should.


Comments

  1. I was so happy to discover this great website. I want to thank you for taking the time to
    read! ! I have definitely tried every part and saved my favorites to see new information on your blog. windows 7 professional
    movavi screen capture studio
    reimage pc repair 2019 crack
    fhma pro vpn crack
    cyberlink powerdirector crack serial key

    ReplyDelete

Post a Comment

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -