Document assembly Word add-in sample
This Word add-in will show you how to:
- Insert a template content from OOXML.
- Add boilerplate paragraphs.
- Insert an image.
- Search the text and insert content controls.
- Change the text of the content controls.
- Insert content from a file.
- Search by using wildcards.
- Insert footers into the document.
- Customize and insert OOXML by using setSelectedDataAsync API.
- dsdsds
Prerequisites
To use the Document assembly add-in sample, the following are required.
- Visual Studio 2015 or Visual Studio 2013 with Update 5.
- Word 2016, or any client that supports the Word Javascript API.
Run the sample add-in
Open the solution in Visual Studio and select F5 to run the sample. An instance of Word will start and you will see the add-in loaded into Word.
Questions and comments
We'd love to get your feedback about the Document assembly Word add-in sample. You can send your questions and suggestions to us in the Issues section of this repository.
Questions about add-in development in general should be posted to Stack Overflow. Make sure that your questions or comments are tagged with [office-js], [word], and [API].
Learn more
Here are more resources to help you create Word Javascript API based add-ins:
- Office Add-ins platform overview
- Word add-ins
- Word add-ins programming overview
- Snippet Explorer for Word
- Word add-ins JavaScript API Reference
- Silly stories Word add-in sample
Copyright
Copyright (c) 2015 Microsoft. All rights reserved.