In settings you can upload texts that are shown in reports with a specific layout.
Place the text between <style> tags or use the following HTML tags: <b>, <u>, <i>, <font>, <li> and <br>. The <style> tag has several attributes to change color, font and other stylistic properties. The possibilities are incorporated into the following DTD structure:
<!ELEMENT style (style*, b*, u*, i*, font*, li*, br*)*>
<!ATTLIST style
fontName CDATA #IMPLIED
size NMTOKEN #IMPLIED
pdfFontName CDATA #IMPLIED
pdfEncoding CDATA #IMPLIED
forecolor CDATA #IMPLIED
backcolor CDATA #IMPLIED
isBold (true | false) #IMPLIED
isItalic (true | false) #IMPLIED
isUnderline (true | false) #IMPLIED
isStrikeThrough (true | false) #IMPLIED
isPdfEmbedded (true | false) #IMPLIED
>
<!ATTLIST font
fontFace CDATA #IMPLIED
color CDATA #IMPLIED
size NMTOKEN #IMPLIED
>
Some examples:
<style fontName="GillSans" size="16" pdfFontName="gillsli_.ttf" isPdfEmbedded="true" forecolor="#0091ff">IT solutions for<br />financial services providers</style>
Result:
<style fontName="GillSans" size="8" pdfFontName="gillsli_.ttf" isPdfEmbedded="true">Bank account <b>1234.09.780</b>, IBAN NL 42 RABO0123.4097.80<br />Chamber of Commerce 13031406, VAT NL 8126.02.377.B01</style>
Result:
<style fontName="GillSans" size="8" pdfFontName="gillsli_.ttf" isPdfEmbedded="true">Oosteinde 23<br />NL-3842 DR Harderwijk<br />Tel: +31 (0) 341 - 42 88 66<br />Fax: +31 (0) 341 - 36 18 26<br />info@invantive.com<br />http://<style forecolor="#0091ff">www.invantive.com</style></style>
Result:
Note that the fonts are placed in the directory WEB-INF/classes and that the web server is restarted. Otherwise they will not be found.