Hello,
I’d like some help with generating a Word document using a template and populating it with data.
Could you please guide me on:
Thank you!
Hello.
It will depend on what you need.
I used as it was mentioned in the samples. They are not very useful, but explain what type of actions exist.
The only think missing is merge table cells.
Main tips:
Hi,
Thank you for your response.
I’d like to know if it’s possible to define styles, such as colors, bold text, or highlights, in the Word template itself. I understand that bookmarks help identify where to insert data, but is there a way to pre-define formatting or styles in the document?
For example, I’d like to have a heading style already set to red, and then insert data from a specific column into that heading location. Is this kind of formatting possible when using MSWordUtils?
Thanks again!
I think only with Bookmarks.
But you can place text with heading formatting (levels 1 to 9 by default) or define the style in real time.
It is quite complete to create new documents.
Check the sample. You create a new doc based on a template and add things there. What you have on the template will stay there.
Thanks for the example. I now understand how it works.
Appreciate the help!
You're welcome.
I tested all Word generation options in the Forge and this is the best one by far. But there is no documentation...