Closed GoogleCodeExporter closed 8 years ago
Hi,
I will see this bug as soon as I will have time.
Regards Angelo
Original comment by angelo.z...@gmail.com
on 20 Mar 2012 at 4:38
Ok I have seen your docment.xml, and I suppose that the problem is
"w:instrText" which is splitted :
----------------------------------------------------------------------------
<w:r>
<w:instrText xml:space="preserve"> MERGEFIELD "@before-row[#if address?? && address.street??]" \</w:instrText>
</w:r>
<w:r>
<w:instrText xml:space="preserve">* MERGEFORMAT </w:instrText>
</w:r>
----------------------------------------------------------------------------
It's not a easy task because today XDOcReport works just with no splitted
w:instrText. I must study how to manage that.
Regards Angelo
Original comment by angelo.z...@gmail.com
on 20 Mar 2012 at 8:28
Hi,
I have fixed the problem and commited my work on Git. I can generate a well
docx with your sample. I have added a JUnit with your case at
http://code.google.com/p/xdocreport/source/browse/integrationtests/fr.opensagres
.xdocreport.core.test/src/test/java/fr/opensagres/xdocreport/document/docx/prepr
ocessor/DocxPreprocessorStartStopRowTestCase.java ( see test
test2InstrTextStartTopRow).
Regards Angelo
Original comment by angelo.z...@gmail.com
on 21 Mar 2012 at 2:37
Original comment by angelo.z...@gmail.com
on 27 Mar 2012 at 9:41
Many thanks. I also noticed this happening the other day where it was chopping
a #list statement in half and therefore causing errors in freemarker.
Original comment by xnix...@gmail.com
on 28 Mar 2012 at 7:24
Original issue reported on code.google.com by
xnix...@gmail.com
on 20 Mar 2012 at 3:53Attachments: