Formatting HTML texts
HTML text from activities, for example, is processed by JasperReports in normal text fields. As a special feature, the markup in these fields is changed from 'none' to 'html'. In the older JasperReports version this was still the 'styled' markup. But since JasperReports 4 this is no longer supported by the CRM system.
|
p |
Paragraph |
|---|---|
|
b |
Mark text bold |
|
i |
Mark text italic |
|
u |
Underline text |
|
sub |
Subscript text |
|
sup |
Superscript text |
|
ul |
Normal list (each line is embedded with 'li') |
|
ol |
Numerical list (each line is embedded with 'li') The "type" attribute is not taken into account |
|
font |
Font Attributes: 'face', 'size' (in pt) |
|
span |
Attributes: 'font-family', 'font-size', 'font-weight', 'color', 'background-color' |
|
a |
Hyperlinks Only standard protocols are supported (http, https) |
Exceptions
The following elements are not supported:
-
css statements in the HTML header
-
em - emphasizes text
-
tt - teletype text
-
table - table (table cells are displayed directly below each other)
-
image - images cannot be included as URLs
-
center - the alignment of texts is determined by the properties of the field in the report design (see 'align' HTML attribute)