diff options
Diffstat (limited to 'docs/examples/fo/leader.fo')
-rw-r--r-- | docs/examples/fo/leader.fo | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/docs/examples/fo/leader.fo b/docs/examples/fo/leader.fo index 4f5c8ea94..0fd310980 100644 --- a/docs/examples/fo/leader.fo +++ b/docs/examples/fo/leader.fo @@ -756,6 +756,31 @@ </fo:instream-foreign-object> </fo:leader> </fo:block> + + <fo:block space-before.optimum="5pt" text-align="start">Mixed: + <fo:leader leader-pattern="use-content"> +abc +<fo:instream-foreign-object> +<svg xmlns="http://www.w3.org/2000/svg" width="10" height="10"> +<rect x="0" y="0" width="5" height="5" style="fill:red"/> +<rect x="5" y="5" width="5" height="5" style="fill:black"/> +</svg> +</fo:instream-foreign-object> + </fo:leader> + </fo:block> + + <fo:block space-before.optimum="5pt" text-align="start">Mixed: + <fo:leader leader-pattern="use-content"> +abc +<fo:instream-foreign-object> +<svg xmlns="http://www.w3.org/2000/svg" width="10" height="10"> +<rect x="0" y="0" width="5" height="5" style="fill:red"/> +<rect x="5" y="5" width="5" height="5" style="fill:black"/> +</svg> +</fo:instream-foreign-object> +def + </fo:leader> + </fo:block> </fo:flow> </fo:page-sequence> </fo:root> |