shehab.nearat Posted April 20, 2020 Share Posted April 20, 2020 I have a few textfields with parameters, so sometimes the parameters will be english sometimes french, so the length will be different. Im not sure how I can make sure for both english and french the words are never cut off, is this possible?For instance say this is my text field with english text (imagine width ends after how): Hello, how are you[/code]Then french (widths ends after c):Bonjour, ca va?[/code]This is kind of a simplified example of what im facing, how can i get it to dynamically stretch such that it showsBonjour, cava?[/code]I have tried setting these properties: <property name="net.sf.jasperreports.text.truncate.at.char" value="false"/> <property name="net.sf.jasperreports.text.save.line.breaks" value="true"/>[/code]and setting stretch with overflow to true.If i try to hardcode the textfield size so that it works for english, it wont work for french and vice versa Link to comment Share on other sites More sharing options...
paul.taylor Posted April 22, 2020 Share Posted April 22, 2020 Not to be too simplistic, but can you make the text field overly large so that it can handle both FR and EN values? Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now