Skip to content
This repository has been archived by the owner on Aug 1, 2019. It is now read-only.

A document assembly sample using a "Statement of Work" template that demonstrates how to use the Word JavaScript API.

License

Notifications You must be signed in to change notification settings

OfficeDev/Word-Add-in-DocumentAssembly

Repository files navigation

[ARCHIVED] Document assembly Word add-in sample

Note: This repo is archived and no longer actively maintained. Security vulnerabilities may exist in the project, or its dependencies. If you plan to reuse or run any code from this repo, be sure to perform appropriate security checks on the code or dependencies first. Do not use this project as the starting point of a production Office Add-in. Always start your production code by using the Office/SharePoint development workload in Visual Studio, or the Yeoman generator for Office Add-ins, and follow security best practices as you develop the add-in. This Word add-in will show you how to:

  1. Insert a template content from OOXML.
  2. Add boilerplate paragraphs.
  3. Insert an image.
  4. Search the text and insert content controls.
  5. Change the text of the content controls.
  6. Insert content from a file.
  7. Search by using wildcards.
  8. Insert footers into the document.
  9. Customize and insert OOXML by using setSelectedDataAsync API.
  10. 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:

Copyright

Copyright (c) 2015 Microsoft. All rights reserved.

About

A document assembly sample using a "Statement of Work" template that demonstrates how to use the Word JavaScript API.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages