Page 1 of 2

WordWrap does not work on the jsp page(stiwebviewer)

Posted: Tue May 17, 2016 8:31 am
by Jia Sheng
Hello,

We use Stimulsoft Reports.Java 2016.1 trial, It does not work when I set a text component's attribute WordWrap=True , It can work in designer But it does not work on the jsp page using stiwebviewer control.
Report design like :
QQ图片20160517161332.jpg
QQ图片20160517161332.jpg (98.05 KiB) Viewed 12020 times
It can work in java designer:
QQ图片20160517161357.png
QQ图片20160517161357.png (4.69 KiB) Viewed 12020 times
But it does not work on the jsp page using stiwebviewer control:
QQ图片20160517163006.png
QQ图片20160517163006.png (9.79 KiB) Viewed 12020 times
JSP Page:
QQ图片20160517163419.png
QQ图片20160517163419.png (57.23 KiB) Viewed 12019 times
demo report:
Report.mrt
(2.74 KiB) Downloaded 490 times
Thanks !

Re: WordWrap does not work on the jsp page(stiwebviewer)

Posted: Wed May 18, 2016 6:33 am
by Vadim
Hello.
It use browsers WordWrap.
You can set option StiOptions.Export.Html.setUseStrictTableCellSize(true); but it can take affect to export view

Re: WordWrap does not work on the jsp page(stiwebviewer)

Posted: Wed May 18, 2016 7:44 am
by Jia Sheng
Ok

Thank you
Vadim wrote:Hello.
It use browsers WordWrap.
You can set option StiOptions.Export.Html.setUseStrictTableCellSize(true); but it can take affect to export view

Re: WordWrap does not work on the jsp page(stiwebviewer)

Posted: Wed May 18, 2016 12:47 pm
by HighAley
Hello.

We are always glad to help you.
Let us know if you need our help.

Thank you.

Re: WordWrap does not work on the jsp page(stiwebviewer)

Posted: Wed Sep 07, 2016 6:15 am
by Jia Sheng
Hello.

Now we have another question about WordWrap in the DataBand Component like :
designerdemo.png
designerdemo.png (124.86 KiB) Viewed 11958 times
Thanks!

Re: WordWrap does not work on the jsp page(stiwebviewer)

Posted: Wed Sep 07, 2016 12:37 pm
by Vadim
Hello.
Default value of StiOptions.Export.Html.setUseStrictTableCellSize is false, so you can see in java.stimulsoft.com
With StiOptions.Export.Html.setUseStrictTableCellSize(true); you can see next result:

Re: WordWrap does not work on the jsp page(stiwebviewer)

Posted: Thu Sep 08, 2016 2:29 am
by Jia Sheng
Hello.
I have set "StiOptions.Export.Html.setUseStrictTableCellSize(true);" , But it does not work. And the problem also appears in your Photo:
test.jpg
test.jpg (88.76 KiB) Viewed 11951 times
You can add all the borders(Black border) and try again.

More apparent on the web page, my web page is as follows:
testest.png
testest.png (20.32 KiB) Viewed 11951 times
And I also found it only appears when front row set WordWrap=true.

Thank you!

Re: WordWrap does not work on the jsp page(stiwebviewer)

Posted: Thu Sep 08, 2016 12:20 pm
by Vadim
Hello.
This is by-effect of setUseStrictTableCellSize(true) (html restrictions) therefore default value is false.

Re: WordWrap does not work on the jsp page(stiwebviewer)

Posted: Mon Sep 12, 2016 2:57 am
by Jia Sheng
Hello.
We have set "StiOptions.Export.Html.setUseStrictTableCellSize(true);" My web page is :
mywebpage.png
mywebpage.png (28.16 KiB) Viewed 11944 times

Thanks

Re: WordWrap does not work on the jsp page(stiwebviewer)

Posted: Mon Sep 12, 2016 8:16 am
by Vadim
Hello

Thank you for the information.
Let us know if you need any additional help.

Thank you.