Text
The <text>
can be used whenever you want to display some text.
Content within <text>
can contain some formatting tags like <b>
, <i>
or <u>
and can use <br/>
for force a new line.
It can be used both within <body>
and within <template>
.
Examples
Attributes
left
left
if used within <template>
this is the distance from the left border of the document, this can be in pt, mm or cm, e.g. left="20mm"
. Ignored when used in <body>
.
bottom
bottom
if used within a template this is the distance from the bottom border of the document, this can be in pt, mm or cm, e.g. top="20mm"
.
class
(optional)
class
(optional)The styleclass to use to display content.
color
(optional)
color
(optional)A color in either plain text html color (e.g. red, white, black, ...) or as an rgb value, e.g. rgb(255, 10, 10)
.
spaceBefore
(optional)
spaceBefore
(optional)Space in point to add before the element
spaceAfter
(optional)
spaceAfter
(optional)Space in point to add after the element
Last updated