Comment #1 on issue 97 by angelo.z...@gmail.com: Inline loop with
@before-row
http://code.google.com/p/xdocreport/issues/detail?id=97
Hi,
Could you explain what you wish to generate and if you explain me your code
changes, I could perhaps integrate it?
Regards Angelo
Yes.
Changes in TransformedBufferedDocumentContentHandler (v0.9.6).
elementInfo.setContentBeforeStartTagElement( before );
to:
String existedBefore = elementInfo.getStartTagElement().getBefore();
elementInfo.setContentBeforeStartTagElement((StringUtils.isEmpty(existedBefore) ? "" :
existedBefore) + " " + before);
elementInfo.setContentAfterEndTagElement( after );
to:
String existedAfter = elementInfo.getEndTagElement().getAfter();
elementInfo.setContentAfterEndTagElement(after + " " +
(StringUtils.isEmpty(existedAfter) ? "" : existedAfter));
Template(it works after changes) and expected result are in attachment.
Attachments:
template.docx 13.7 KB
expected_result.docx 13.4 KB
TransformedBufferedDocumentContentHandler.java 14.9 KB
Hi Roman,
Ok I understand the problem. I will fix that as soon as possible.
Regards Angelo
Hi Roman,
Problem should be fixed (I have commited my work on Git and it will be
available on 0.9.8). Please test this fix and tell me if it's OK. Fix was
done on the BufferedTagElement class.
Regards Angelo
Comment #5 on issue 97 by angelo.z...@gmail.com: Inline loop with
@before-row
http://code.google.com/p/xdocreport/issues/detail?id=97
(No comment was entered for this change.)