Page 1 of 1
How can I insert line break in non HTML text field?
Posted: Mon Feb 20, 2012 11:13 am
by angelFX
How can I insert line break in non HTML text field?
According to this post
http://forum.stimulsoft.com/Default.aspx?g=posts&t=3858 I must use
I tried with ‘\n’ , ‘\r\n’. But no success.
It seems that isn’t work in Stimulsoft Reports.Fx for Flex.
Thanks in advance for you answer.
How can I insert line break in non HTML text field?
Posted: Tue Feb 21, 2012 5:52 am
by HighAley
Hello.
We've reproduced the issue. We need time to fix it.
Thank you.
How can I insert line break in non HTML text field?
Posted: Tue Feb 21, 2012 10:04 am
by Vladimir
Hello,
Once again, we cross-checked this issue - the problem is not found. If the text comes as data from a datacolumn, for newline enough the \n combination. If text is entered in the designer's expression editor, you will need to put a normal line break (return key).
Thank you.
How can I insert line break in non HTML text field?
Posted: Fri Mar 02, 2012 10:39 am
by angelFX
Hi Vladimir,
You are absolutely right. But I didn’t explain the whole problem.
When we put normal line break (Return key break) it looks fine in Report viewer.
But the Return key break is not visible in Word/RTF export.
The only way to put line break in non HTML text field, and this line break to be visible in Word/RTF export is to use ‘\n’ instead of Return key break.
But when ‘\n’ is hard coded in text field’s expression it doesn’t reproduce a line break even in Report viewer.
So, the problem still exists.
We need a line break in non HTML text field visible in Word/RTF export.
Temporary we found a walkaround for the problem. When we send ‘\n’ to the text field, as a variable from Flex App it is readable for Report viewer and Word/RTF export.
It seems that the Word/RTF export also ignores:
- tabulation
- more than one space
- new page (page break)
By the way: any result for replacing HTML text field export to image with your own HTML parser? (
http://forum.stimulsoft.com/Default.aspx?g=posts&t=3984)
Thanks in advance for you answers.
How can I insert line break in non HTML text field?
Posted: Wed Mar 07, 2012 3:27 am
by Vladimir
Hello,
The error with exports is fixed, the update will be available in the todays prerelease build.
Thank you.
How can I insert line break in non HTML text field?
Posted: Fri Mar 09, 2012 9:40 am
by angelFX
Hi Vladimir,
Thanks for quick reaction.
The Return break is already correctly visible in Word/RTF Export!!! Thanks again.
But we still need more than one space in Word/RTF Export.
Also we need correct export in Word/RTF of multipage reports. Now the content of report’s new page doesn’t start on new page in exported Word/RTF file. It starts just after the content on previous page.
Thanks in advance.
How can I insert line break in non HTML text field?
Posted: Tue Mar 13, 2012 10:05 am
by HighAley
Hello.
Sorry for the delay with response. We need some additional time to prepare the answer for you.
Than you.
How can I insert line break in non HTML text field?
Posted: Wed Mar 14, 2012 7:24 am
by HighAley
Hello.
angelFX wrote:But we still need more than one space in Word/RTF Export.
The issue is solved. The fix will be available in our release in late March.
angelFX wrote:Also we need correct export in Word/RTF of multipage reports.
Now the content of reports new page doesnt start on new page in exported Word/RTF file. It starts just after the content on previous page.
When exporting to Word and Excel entire report is transformed into one large continuous table,
and empty space at bottom of the page is removed. If you want to export report without changes, you can choose one of the solutions:
1. Uncheck the RemoveEmptySpaceAtBottom option in the export settings menu. Will be added in our next release.
2. Use PageFooter, in this case PageFooter must meet at least one of the conditions:
- must have border at least on one side;
- must contain text;
- background color should be not transparent (for example white).
Thank you.