newline in replace2 control

for the pdf generation i need a line feed for strings passed to cisfo:replace2 controls
i tried “\n” and “
” but nothing seemed to work (the \n was transformed to a normal space and the
tag was put there as if it was normal text)

can someone please help me?
thanks in advance!

edit: as i thought - the entering of a direct fop tag ( fo:block/ ) wouldn’t help

Hi Martin,

The linefeed-treatment property seems to be a place where the rendering of the newline characters can be customized. See for instance: http://xmlgraphics.apache.org/fop/fo.html.

But: I am not completely sure if this is supported in the apache-fop version which currently ships with Application Designer. We are currently upgrading Designer to the latest Apache implementation.

Best Regards,
Christine