Leader examples
leader with leader-pattern="space"
Entry 1 p. 12
Entry 2 p. 24
Left side middle right side
Using fo:leader with leader-pattern="dots"
Entry 1 p. 12
Entry 2 p. 24
Using fo:leader with leader-pattern="dots" and leader-pattern-width="5pt" and "8pt"
Entry 1 p. 12
Entry 2 p. 24
Entry 1 p. 12
Entry 2 p. 24
Using fo:leader with leader-pattern="dots" in a list
Using fo:leader with leader-pattern="dots", leader-pattern-width="5pt" and "8pt", leader-alignment="reference-area"
Entry 1 p. 12
Entry 2 p. 24
Entry 3 is longer p. 36
Entry 4 is even longer p. 48
1 p. 12
Entry 2 p. 24
Entry 3 is longer p. 36
Entry 4 is even longer p. 48
·
Entry 1 p. 12
·
Entry 2 p. 24
Using fo:leader with leader-pattern="dots" in a table

Entry 1
p. 12
Entry 2
p. 24
Entry 3
p. 36

Leader with leader-pattern="rule"
text before the rule (start) text after the rule
text before the rule (center) text after the rule
text before the rule (end) text after the rule
Here are some fo:leader with the property rule and different rule styles (solid, dashed, dotted, double, groove, ridge the last one with colored backgrounds to the effect)
Here are 4 fo:leader with increasing rule-thickness (1pt, 2pt, 3pt, 4pt)
Here are 4 fo:leader with increasing rule-thickness (1pt, 2pt, 3pt, 4pt) and leader-length: 25%, 50%, 75%, 100%
Using leader in combination with justified text
Here is some longer text. Here is some longer text. Here is some longer text. Here comes the leader (dots width 8pt): Here is some longer text. Here is some longer text. Here is some longer text. Here is some longer text. Here is some longer text.
Here is some longer text. Here is some longer text. Here is some longer text. Here comes the leader (dots width 5pt): Here is some longer text. Here is some longer text. Here is some longer text. Here is some longer text. Here is some longer text.
Here is some longer text. Here is some longer text. Here is some longer text. Here comes the leader (dots): Here is some longer text. Here is some longer text. Here is some longer text. Here is some longer text. Here is some longer text.
Here is some longer text. Here is some longer text. Here is some longer text. Here comes the leader (rule): Here is some longer text. Here is some longer text. Here is some longer text. Here is some longer text. Here is some longer text.
Here is some longer text. Here is some longer text. Here is some longer text. Here comes the leader (space): Here is some longer text. Here is some longer text. Here is some longer text. Here is some longer text. Here is some longer text.
Table of Content
shows the use of leader properties in combination to build a table of content. Following values are used for the leader: leader-pattern="dots" leader-pattern-width="8pt" leader-alignment="reference-area" leader-length.optimum="14cm"

A)
What is FOP?
1
B)
Downloading FOP
2
C)
Running FOP
3
D)
Embedding FOP
4
E)
What is Implemented?
5

Table of Content 2
shows the use of leader-length.minimum in the middle column. Values are increased from 0cm (default) to 0.5 and then to 1cm

A)
What is FOP doing here in the middle?
1
A)
What is FOP doing here in the middle?
1
A)
What is FOP doing here in the middle?
1

The text/leader combination from table 1 without the table
What is FOP?
Downloading FOP
Running FOP
Embedding FOP
What is Implemented?