Use the Accord Project Microsoft Word add-in to manage the clauses in your Smart Legal Contracts.
April 25, 2018:
- Initial version: basic React based UI framework is in place. Binds text in the document to clauses. Introspects clauses to create templates (in progress).
- Microsoft Word 2016
Note: installation from the Microsoft Marketplace will be possible once the add-in is published to the web. For now you need to manually install the add-in as described below.
- Clone this repo using Git.
- Open a Node.js command prompt in the root folder of the project.
- Run
npm install
to install all dependencies. - Run
npm start
to start the project. A browser window opens showing a partial UI. - To see the full UI, open Word and sideload the manifest.
cp cicero-word-add-in.xml /Users/<NAME>/Library/Containers/com.microsoft.Word/Data/Documents/wef/
If the wef
folder does not exist you need to create it.
To activate the task pane:
- Launch Word
- Press the "Insert" tab
- Press the down arrow to the right of the "My Add-ins" button
- Select the "Accord Project" add-in
- Press the button to open the task pane and activate the add-in
For more information, see Sideload Office Add-ins for testing.
To understand how the project files are set up, and to learn how to create your own project using these components, see Use Office UI Fabric React in Office Add-ins.
-
More Office Add-in samples at OfficeDev on Github
-
JavaScript APIs used in this project to interact with the objects and metadata in a Word document
You can use two sets of JavaScript APIs to interact with the objects and metadata in a Word document. The first one is Common API and the second one is the Word JavaScript API.
For this project we are using Common Api. It is a strongly-typed object model that is used to create Word add-ins that target Word 2016 or above.