# newline in replace2 control

**URL:** <https://techcommunity.softwareag.com/t/newline-in-replace2-control/78775>\
**Category:** Forum\
**Tags:** Former-Crossvision-Products, Application-Composer\
**Created:** [August 14, 2008, 3:34pm UTC](https://techcommunity.softwareag.com/t/newline-in-replace2-control/78775 "2008-08-14T15:34:33Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Martin\_Mayr](https://avatars.discourse-cdn.com/v4/letter/m/b3f665/32.png) [@Martin\_Mayr](https://techcommunity.softwareag.com/u/Martin_Mayr)\
**Post date:** [August 14, 2008, 3:34pm UTC](https://techcommunity.softwareag.com/t/newline-in-replace2-control/78775/1 "2008-08-14T15:34:33Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Christine\_Zimmermann](https://avatars.discourse-cdn.com/v4/letter/c/839c29/32.png) [@Christine\_Zimmermann](https://techcommunity.softwareag.com/u/Christine_Zimmermann)\
**Post date:** [September 3, 2008, 3:24pm UTC](https://techcommunity.softwareag.com/t/newline-in-replace2-control/78775/2 "2008-09-03T15:24:42Z")

</div>

Hi Martin,

The linefeed-treatment property seems to be a place where the rendering of the newline characters can be customized. See for instance: [url][http://xmlgraphics.apache.org/fop/fo.html[/url]](http://xmlgraphics.apache.org/fop/fo.html%5B/url%5D).

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

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [April 2, 2021, 2:50pm UTC](https://techcommunity.softwareag.com/t/newline-in-replace2-control/78775/3 "2021-04-02T14:50:45Z")

</div>


