wordpress hit counter
Merge documents - WordprocessingML - Formats - OpenXML Developer

Merge documents

Formats

Discussions about working with different Open XML Formats

Merge documents

  • rated by 0 users
  • This post has 2 Replies |
  • 0 Followers
  • I'm trying to merge to docx-documents into one document using open xml sdk. I want to preserve the style of each document and add a section break between the two document. Does anyone know how (and if) I can achieve this?

    Thanks for the information,
    Jelle
  • Hello Ma'am the only Answer on my mind as what I'm always deed with my document was copy and paste or you could also use you f1 key on your keyboard for some help or you could try this:

    On the Review tab, in the Compare group, click Compare.
    1. Word Ribbon Image

    2. Click Combine revisions from multiple authors.
    3. Under Original document, click the name of the document into which you want to combine the changes from multiple sources.

      If you don't see the document in the list, click Browse for Original Button image.

    4. Under Revised document, browse for the document that contains the changes by one of the reviewers.
    5. Click More.
    6. Under Show changes, select the options for what you want to compare in the documents.

      By default, Microsoft Office Word shows changes to whole words. For example, if you change the word cat to cats, the entire word cats will show as changed in the document and not simply the character s.

    7. Under Show changes in, click Original document.
    8. Click OK.

      To change which documents appear on the screen when you click OK, in the Compare group, click Hide Source Documents or Show Source Documents.

    9. Repeat steps 1-8. Word will merge all of the changes into the original document.

     Note    Word can store only one set of formatting changes at a time. Therefore, when you merge multiple documents, you may be prompted to decide whether you want to keep the formatting from the original document or use the formatting from the edited document. If you don't need to track formatting changes, you can clear the Formatting check box in the Compare and Merge Documents dialog box.

    hope this could help.


    Hot! Internet Agency - We Help You Sell With Professional SEO ad agency | advertising agency
  • Check out the following post on how to assemble documents: http://blogs.msdn.com/brian_jones/archive/2008/12/08/the-easy-way-to-assemble-multiple-word-documents.aspx

    There is an option within altChunks that allows you to preserve formatting of the documents. In terms of adding new section breaks I would recommend checking out the Open XML SDK Productivity Tool. This tool can automatically generate code for you based on a document. Create a document with a section break in Word and then reflect the code in the tool. Hope that helps.
Page 1 of 1 (3 items)