I'm having Field A and Field B . I want to combine both A & B as single string and different properties for printing those field
like
A - Arial Normal
B - Arial Italics Bold
Is there any possibility that i can get this ?
Thanks in advance,
Selva
2 Answers:
Posted on November 22, 2019 at 12:42am
You could use the simple HTML Syntax for that purpose.
just concat both fields like this:
$F{FieldA} + "<b><i>" + $F{FieldB} + "</i></b>"
then set the Markup-language property at the textfield to HTML and check the preview. (be aware that there is no bold settings at the textfield itself.... otherwise FieldA would be bold as well of course ;-)
hth + regards
C-Box
i have used that one in jaspersoft tool it's working fine but when it's converting into pdf where it's showing as normal text i have used Courier New Font