Hi ,
my doubt is that how can I fill multiple rows with
doc.getMailMerge().execute(new String[] {"FullName", "Company", "Address", "Address2", "City"},
//new Object[] {"James Bond", "MI5 Headquarters", "Milbank", "", "London"});
Means In word document I have the tages namely the above like FullName,Company,Address,Address2 and City.
Now I want to fill multiple rows using the execute method.
Actually I am getting this object data from Excel not from the result set.
How can I do that.
Or please please suggest me how can I fill multiple rows by getting objects.
my requirement is that
for(start rows)
for(start column)
create object with column data
for(column end)
doc.getMailMerge().execute(tage[],object[])
for(end row)
I want to fill multiple rows, which have same string names and I do not to mention the merge column for that many number of times in Word document since it is same.
Thanks
madhu