Skip to content

Reads the entire .docx document with the Office.js library and gets the complete document in base64 encoded string

Notifications You must be signed in to change notification settings

virtual-deepak/angular-officejs-read-document

Repository files navigation

Read and Open new Word Document

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

Development server

Run npm install to download required node modules.

Run npm run start to start dev server on https://localhost:4200/.

Load the add-in

Sample manifest.xml attached to side-load add-in in Word.

About

Reads the entire .docx document with the Office.js library and gets the complete document in base64 encoded string

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published