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)
word wrap problem in pdf report
birt_ag
<p>Hi,</p><p>The word warp is not happening in pdf report, but for the word format its working fine. </p><p>The data doesnt contain any new line charancters , only with pdf i'm facing the problem</p><p> </p><p>Is there any way to overcome this without altering the existing data (like adding new line characters) ??</p><p> </p><p>I'm attaching the word, pdf report along with xml and design file</p><p> </p><p>Thank u</p>
Find more posts tagged with
Comments
kclark
<p>You could try checking the output format using this</p><pre class="_prettyXprint">format = reportContext.getOutputFormat();if (format = "pdf"){}</pre><p>In the onCreate() of the element, then use something like splice() or substring() to create a new line ever n characters. <a data-ipb='nomediaparse' href='
http://www.birt-exchange.org/forum/index.php/topic/21849-setting-wrapping-in-primary-base-axis/'>This
post</a> shows how to wrap ever n characters in a label, it should be similar for this.</p>
johnw
<p>This might be a bug. If you could go to <a data-ipb='nomediaparse' href='
http://www.eclipse.org/birt/phoenix/'>http://www.eclipse.org/birt/</a> and
report this as a bug, that would help in resolving this issue.</p>
birt_ag
<p>thanks for the replies clark and john.</p><p>will report this bug</p>