Open word

hi

thank you for this api
i have question i want generate a word document in java without save it i want let it for user
like any ms word document when is writen for the first time
the ms word document is in memory for first time before clic on save and if we close document it ask us for saving
thank you

Hi Infomath,

It is up to you how you handle the API. In that case, you can declare a static or a global variable and make changes to Word document in different events. Document will remain in memory. Once user clicks Save button, you can call save method to save the document.

Please feel free to contact us in case you have further comments or questions.

Best Regards,