Docx4j: Insert images and text
Posted: Sun Sep 28, 2014 10:38 am
Hi Everyone,
I am new to this forum.
Here is the use case that I am in need of.
I have images that have export from excel into a folder, I also have text that contains key-value pairs in a text file .txt.
In the past I had the keys in a template word document, making up my own markup like <key> and then using Find and Replace with key value pairs automated via the scripting language AutoIt. BUT the images I had to insert manually.
I was hoping there was somekind of basic example of inserting Text and Images in a Word document Template file using
Docx4j.
Just wondering if my use-case is fairly standard stuff, or if there are some limitations in doing this with Docx4j.
Hope someone can help.
Regards,
P
I am new to this forum.
Here is the use case that I am in need of.
I have images that have export from excel into a folder, I also have text that contains key-value pairs in a text file .txt.
In the past I had the keys in a template word document, making up my own markup like <key> and then using Find and Replace with key value pairs automated via the scripting language AutoIt. BUT the images I had to insert manually.
I was hoping there was somekind of basic example of inserting Text and Images in a Word document Template file using
Docx4j.
Just wondering if my use-case is fairly standard stuff, or if there are some limitations in doing this with Docx4j.
Hope someone can help.
Regards,
P