Jump to content

In Jrxml to word preview i am getting blank spaces in last lines and sentences are transferring to next page if space is available or not


Recommended Posts

In Jrxml to word preview i am getting blank spaces in last lines, and sentences are transferring to next page if space is available or not. i am using textbox with height 20 and float. I am attaching the image of word file.It works fine in windows machine, but not working in ubuntu machine

converted-file.png.dd2f5043cbc7bdd7121f5d19f3444946.png

Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images


Thank you for posting to the Jaspersoft Community. Our team of experts has read your question and we are working to get you an answer as quickly as we can. If you have a Jaspersoft Professional Subscription plan, please visit https://support.tibco.com/s/ for direct access to our technical support teams offering guaranteed response times.

Link to comment
Share on other sites

Hello,
If the word export works well in Windows but not when using Ubuntu I would look into the font used.
JasperReports calculates the space needed by a text box based on the font. Windows comes with a lot of fonts that wouldn't be available by default in Ubuntu so that could be the issue.
Embedding a font in a JasperReports report is easy and it is fully documented at https://community.jaspersoft.com/documentation/jaspersoft-studio-user-guide-820/v820/fonts

Please let me know if that doesn't help.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...