Create and edit DOCX without any server-side dependencies. WebViewer enables MS Office file editing without the need for intermediate format conversion or MS Office installations on your server.
A docs file open in DOCX Editor
If you have a URL for a document, you can pass it to the WebViewer constructor or loadDocument function to open it.
You can also, alternatively, open a new, blank docx file through the WebViewer constructor.
Learn how to enable the Apryse DOCX Editor through the Apryse WebViewer by viewing our video. In this video we build a React project, integrate the Apryse WebViewer with DOCX Editor enabled, then open a new, blank docx file inside the viewer. You can also skip the video and follow the steps below to get started instead.
How to enable DOCX Editor through Apryse WebViewer in a React application
Before you start:
Apryse collects some data regarding your usage of the SDK for product improvement.
If you wish to continue without data collection, contact us and we will email you a no-tracking trial key for you to get started.
If you have a URL for a document, you can pass it to the WebViewer constructor or loadDocument function to open it.
Load the office document with the WebViewer constructor and it will load with the Viewer.
Below is an example of how the code might look in an HTML project where WebViewer is integrated and DOCX Editor is enabled:
index.html
Load the office document with the load document method after WebViewer is initialized.
You can open a new, blank docx file through the WebViewer constructor.
Initialize WebViewer constructor without the initialDoc
property and the Viewer will load with an empty document, ready to be edited.
This Full sample code shows how to call WebViewer constructor to instantiate and load a document. You can load local/remote files of your choice.
Did you find this helpful?
Trial setup questions?
Ask experts on DiscordNeed other help?
Contact SupportPricing or product questions?
Contact Sales