Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
Text wrapping not working with excel spudsoft emitter of BIRT 4.3.1
purnima_d
<p>Text wrapping is not working with BIRT 4.3.1 excel spudsoft emitter<br><br>
Used below properties while setting excel render options<br><br>
EXCELRenderOption options = new EXCELRenderOption();<br>
options.setWrappingText(true);<br>
options.setOutputFormat("xls_spudsoft");<br><br><br>
Please find the attached snapshot showing the difference in outputs with BIRT 3.7 and 4.3.1 versions</p>
<p> </p>
<p> </p>
Find more posts tagged with
Comments
purnima_d
<p>Text wrapping is not working with BIRT 4.3.1 excel spudsoft emitter<br><br>
Used below properties while setting excel render options<br><br>
EXCELRenderOption options = new EXCELRenderOption();<br>
options.setWrappingText(true);<br>
options.setOutputFormat("xls_spudsoft");<br><br><br>
Please find the attached snapshot showing the difference in outputs with BIRT 3.7 and 4.3.1 versions</p>
<p> </p>
<p> </p>
purnima_d
<p>Resolved the issue by adding below java script in onrender property</p>
<p> </p>
<div>var myformat = reportContext.getOutputFormat();</div>
<div>if( myformat == "xls_spudsoft" ){</div>
<div>this.getStyle().whiteSpace ="pre";</div>
<div>}</div>
mwilliams
<p>Glad you were able to solve your issue. Let us know whenever you have questions.
</p>