Opening word documents |
For reading the content from Word documents using DocIO and convert it to SFDT. |
Paste with formatting |
For converting the HTML/RTF format (received from system clipboard) to SFDT format content. Whereas plain text received from system clipboard will be pasted directly in client-side. |
Restrict editing |
For performing encryption and decryption logics. |
Spellcheck |
For validating the words and get suggestions for error words. |
Saving documents |
For saving the files as WordML, DOC, RTF, HTML, ODT, Text using DocIO library and PDF using DocIO & PDF libraries. |
documenteditor.save('sample', 'Docx');
|
If I want to open a document in word and in excel that is stored on my server, edit it and save a copy, how is this process done? |
Please check below KB link for reference, which will load document from server and save it back to server:
Similarly, you can customize the open and save based on your requirement. | ||
Do I download the files of the API mentioned internally and upload them to my Linux server in the directory where my project is? |
Using saveAsBlob Api in Documenteditor, you will get Docx stream in front end. Pass that stream to backend and save to your server based on your requirement.
Front end code snippet(you will get base64 string from blob):
Back end code snippet:
You will get stream from front end Docx stream, by processing like below and use it based on your requirement.
| ||
Do I have to make any modifications to the downloaded sample files? |
Can you please share the details of what kind of modifications you were referring here? If it is saving to linux server, check above provided solution. |
Hey Kurthis,
As you have mentioned about hosting stuff. Do you think it will be appropriate to give your credentials to the hosting providers? and being in a medium/big business, I'm right now taking a keen assist form the best drupal hosting providers, and so far they are keeping an eye on the obstacles related to server, technical and hosting speed.
Hello. I confirm that the integration was successful with my web application.