Parameter inside Font attribute



We are currently supporting a Linux server aside from the current Windows server. As such, hardcoded paths must be removed particlarly from the .jrxml files we're using. I am successful in most cases until I was stucked in the font attribute. Can someone tell me how to insert a parameter inside the font attribute? Following are what I have:

<parameter name="certDirectory" class="java.lang.String">
<textElement textAlignment="Center" verticalAlignment="Bottom">
<font fontName="Arial" size="48" pdfFontName="C:\certs\arialuni.TTF" isPdfEmbedded="true" pdfEncoding="Identity-H"/>
My problem is how to insert the parameter certDirectory into the pdfFontName.
Many thanks!
xzquiel's picture
Joined: Dec 15 2014 - 1:39pm
Last seen: 3 years 7 months ago

0 Answers:

No answers yet