Open GoogleCodeExporter opened 8 years ago
At first, have you tried with 1.0.3 version of XDocReport (0.9.1 is very old).
If you have problems again with 1.0.3, please attach a simple docx+java code.
Original comment by angelo.z...@gmail.com
on 8 Jan 2014 at 9:19
I tried with 1.0.3 as suggested, still the problem persists.
PFA for source files, output and input files
Original comment by jvchb...@gmail.com
on 30 Jan 2014 at 6:16
Attachments:
Your docx to loop for is like :
------------------------------------------------
Name «$developers.Name»
LastName «$developers.LastName»
Mail «$developers.Mail»
------------------------------------------------
But you cannot do that. You must use advanced table loop
https://code.google.com/p/xdocreport/wiki/DocxReportingJavaMainListFieldAdvanced
Table
You can find a sample in the zip with
DocxTableWithoutFieldsMetadataWithVelocity.docx
Original comment by angelo.z...@gmail.com
on 30 Jan 2014 at 9:51
I tried with advance table loop.The advance table loop can able to generate
table itself for each row from database not the table row. I tried with other
example too.
Is there possibility to get the output each record vertically as mentioned in
the attachment?
Original comment by jvchb...@gmail.com
on 5 Feb 2014 at 6:22
Attachments:
You must use @before-row and @after-row.
So :
1) remove your "foreach($d in $developers)" and "#end" mergefields.
2) use @before-row and @after row like this :
------------------------------------------------------------------
«@before-row#foreach($d in $developers)» Name «$d.name»
LastName «$d.lastname»
Mail«@after-row#end» «$d.mail»
------------------------------------------------------------------
Original comment by angelo.z...@gmail.com
on 5 Feb 2014 at 9:15
Original issue reported on code.google.com by
jvchb...@gmail.com
on 8 Jan 2014 at 9:13Attachments: