This project was generated with Angular CLI version 8.3.9.
Reads the entire .docx document with the Office.js library and gets the complete document in base64 encoded string. You can then either send the complete document to server for further processing. Here, I've just read the bytes and opened a new word document with it just to prove the concept.
Motivation for this - https://virtualdeepak.com/2019/10/reading-complete-document-using-officejs.html
Run npm install
to download required node modules.
Run npm run start
to start dev server on https://localhost:4200/
.
Sample manifest.xml attached to side-load add-in in Word.