I am newbie in docx4j. I have googled my problem but couldn't found proper solution.
Here is what i want:
I have a word template as mentioned follwos.
Employee Code: ${Code}
Employee Name: ${Name}
Employee Designation: ${Designation}
Attendance Table:
Date Day In Time Out Time
1/11/11 Tue 08.00 AM 06.00 PM
The fields in template need to be repeate for n number of employees in word document. For example:
Employee Code: 100
Employee Name: Smith
Employee Designation: Engg
Attendance Table:
Date Day In Time Out Time
1/11/11 Tue 08.00 AM 06.00 PM
2/11/11 Wed 08.00 AM 06.00 PM
Employee Code: 101
Employee Name: John
Employee Designation: Sr. Engg
Attendance Table:
Date Day In Time Out Time
1/11/11 Tue 08.00 AM 06.00 PM
2/11/11 Wed 08.00 AM 06.00 PM
Employee Code: 102
Employee Name: Stefan
Employee Designation: Sr. Engg
Attendance Table:
Date Day In Time Out Time
1/11/11 Tue 08.00 AM 06.00 PM
2/11/11 Wed 08.00 AM 06.00 PM
Could please any one tell me how to copy the same tamplate 'n' number of times and replace the keywords and fill data in table for diffrent employees in a word file?
Which code samples do I have to look on?