Not sure about the exact requirement, but yes you can do this via my Word Exporter module. Input is a Word doc, which functions as a template. Output can be an altered document with replaced words, tables and even Excel graphs:
https://marketplace.mendix.com/link/component/111539
I am already working on adding rich text support to it as well. If you need it let me know and I will add it to the AppStore version as well
Hello Arunkumar,
I’m using Ivo's module for generating .docx files. To view .docx files within a Mendix page, see this article:
https://forum.mendix.com/link/questions/104982
Eventually I got it working.
Best,
Nick