I have jrxml report, which gets exported into .docx format,
I have static text resources (.properties) with "\n" or "<br>"
signs in values, like so:
In jasperreports 'preview' tab it looks ok:
But when .docx format is used...:
I figured out that when you paste pilcrow/paragraph (by pressing enter
key) in word itself,
but with <br>
or \n
jasper inserts new line (shift enter
equivalent) and it breaks everything.
May be someone knows what could be done.
Thanks!
Found the solution:
To brake row I use tab/newline
(	<br>
via HTML or \t\n
via Java),
Text before tab/newline
is aligned to the left border, text after is still justified well along the page.