From 7c6d0ace0d6dec45f581c5f2bbf607f129b92308 Mon Sep 17 00:00:00 2001 From: fotis Date: Tue, 14 Nov 2000 15:13:16 +0000 Subject: [PATCH] some list examples git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@193799 13f79535-47bb-0310-9956-ffa450edef68 --- docs/examples/fo/list2.fo | 2305 +++++++++++++++++++++++++++++++++++++ 1 file changed, 2305 insertions(+) create mode 100644 docs/examples/fo/list2.fo diff --git a/docs/examples/fo/list2.fo b/docs/examples/fo/list2.fo new file mode 100644 index 000000000..c4fc6496e --- /dev/null +++ b/docs/examples/fo/list2.fo @@ -0,0 +1,2305 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + How to use list elements + + + + + A simple list with bullets in list-item-label + + + + + + + + + + + · + + + + + here is text in the list item body + + + + + + + + + · + + + + + here is text in the list item body + + + + + + + + + · + + + + + here is text in the list item body + + + + + + + + + · + + + + + here is text in the list item body + + + + + + + + + · + + + + + here is text in the list item body + + + + + + + + + + <!-- list start --> + + + <fo:list-block > + + + <!-- list item --> + + + <fo:list-item> + + + <!-- insert a bullet --> + + + <fo:list-item-label> + + + <fo:block><fo:inline font-family="Symbol">&#183;</fo:inline></fo:block> + + + </fo:list-item-label> + + + <!-- list text --> + + + <fo:list-item-body> + + + <fo:block> + + + here is text in the list item body + + + </fo:block> + + + </fo:list-item-body> + + + </fo:list-item> + + + + [other list items...] + + + <!-- end start --> + + + </fo:list-block> + + + + + + + + + + + + Doing it better + + + + The distance between the bullets and the list text in the example on the + previous page is too large. You can define this distance and some more. Here is + an overview how to specify what aspects of a list + + + + + + + + image from the w3c xsl working draft 18.10.2000 (full info in list2.fo) + + + + This is the same list with a defined provisional-distance-between-starts (0.3cm) and + provisional-label-separation (0.15cm). + + + + + + + + + + + · + + + + + here is text in the list item body + + + + + + + + + · + + + + + here is text in the list item body + + + + + + + + + · + + + + + here is text in the list item body + + + + + + + + + + + <!-- list start --> + + + <fo:list-block provisional-distance-between-starts="0.3cm" provisional-label-separation="0.15cm"> + + + <!-- list item --> + + + <fo:list-item> + + + <!-- insert a bullet --> + + + <fo:list-item-label> + + + <fo:block><fo:inline font-family="Symbol">&#183;</fo:inline></fo:block> + + + </fo:list-item-label> + + + <!-- list text --> + + + <fo:list-item-body> + + + <fo:block> + + + here is text in the list item body + + + </fo:block> + + + </fo:list-item-body> + + + </fo:list-item> + + + + [other list items...] + + + <!-- end start --> + + + </fo:list-block> + + + + + + + + + A simple list with text before and after + + + + + This is normal text. This is normal text. This is normal text. This is normal text. This is normal text. + This is normal text. This is normal text. This is normal text. This is normal text. This is normal text. + + + + + + + + + + · + + + + + here is text in the list item body + + + + + + + + + · + + + + + here is text in the list item body + + + + + + + + + · + + + + + here is text in the list item body + + + + + + + + + · + + + + + here is text in the list item body + + + + + + + + + · + + + + + here is text in the list item body + + + + + + + + + + This is normal text. This is normal text. This is normal text. This is normal text. This is normal text. + This is normal text. This is normal text. This is normal text. This is normal text. This is normal text. + + + + + + + + + A list with longer text + + + + + + + + + + · + + + + + here is text in the list item body. here is text in the list item body. + here is text in the list item body. here is text in the list item body. + here is text in the list item body. here is text in the list item body. + here is text in the list item body. here is text in the list item body. + + + + + + + + + · + + + + + here is text in the list item body. here is text in the list item body. + here is text in the list item body. here is text in the list item body. + here is text in the list item body. here is text in the list item body. + here is text in the list item body. here is text in the list item body. + + + + + + + + + · + + + + + here is text in the list item body. here is text in the list item body. + here is text in the list item body. here is text in the list item body. + here is text in the list item body. here is text in the list item body. + here is text in the list item body. here is text in the list item body. + + + + + + + + + · + + + + + here is text in the list item body. here is text in the list item body. + here is text in the list item body. here is text in the list item body. + here is text in the list item body. here is text in the list item body. + here is text in the list item body. here is text in the list item body. + + + + + + + + + · + + + + + here is text in the list item body. here is text in the list item body. + here is text in the list item body. here is text in the list item body. + here is text in the list item body. here is text in the list item body. + here is text in the list item body. here is text in the list item body. + + + + + + + + + + + + A simple list with long labels + + + + + This is normal text. This is normal text. This is normal text. This is normal text. This is normal text. + This is normal text. This is normal text. This is normal text. This is normal text. This is normal text. + + + + + + + + + + label 1) + + + + + here is text in the list item body + + + + + + + + + lab. 2) + + + + + here is text in the list item body + + + + + + + + + lab. 3) + + + + + here is text in the list item body + + + + + + + + + lab. 4) + + + + + here is text in the list item body + + + + + + + + + lab. 5) + + + + + here is text in the list item body + + + + + + + + + + This is normal text. This is normal text. This is normal text. This is normal text. This is normal text. + This is normal text. This is normal text. This is normal text. This is normal text. This is normal text. + + + + + + + + + A long list + + + + + + + + + + · + + + + + here is text in the list item body + + + + + + + + + · + + + + + here is text in the list item body + + + + + + + + + · + + + + + here is text in the list item body + + + + + + + + + · + + + + + here is text in the list item body + + + + + + + + + · + + + + + here is text in the list item body + + + + + + + + + · + + + + + here is text in the list item body + + + + + + + + + · + + + + + here is text in the list item body + + + + + + + + + · + + + + + here is text in the list item body + + + + + + + + + · + + + + + here is text in the list item body + + + + + + + + + · + + + + + here is text in the list item body + + + + + + + + + · + + + + + here is text in the list item body + + + + + + + + + · + + + + + here is text in the list item body + + + + + + + + + · + + + + + here is text in the list item body + + + + + + + + + · + + + + + here is text in the list item body + + + + + + + + + · + + + + + here is text in the list item body + + + + + + + + + · + + + + + here is text in the list item body + + + + + + + + + · + + + + + here is text in the list item body + + + + + + + + + · + + + + + here is text in the list item body + + + + + + + + + · + + + + + here is text in the list item body + + + + + + + + + · + + + + + here is text in the list item body + + + + + + + + + · + + + + + here is text in the list item body + + + + + + + + + · + + + + + here is text in the list item body + + + + + + + + + · + + + + + here is text in the list item body + + + + + + + + + · + + + + + here is text in the list item body + + + + + + + + + · + + + + + here is text in the list item body + + + + + + + + + · + + + + + here is text in the list item body + + + + + + + + + · + + + + + here is text in the list item body + + + + + + + + + · + + + + + here is text in the list item body + + + + + + + + + · + + + + + here is text in the list item body + + + + + + + + + · + + + + + here is text in the list item body + + + + + + + + + · + + + + + here is text in the list item body + + + + + + + + + · + + + + + here is text in the list item body + + + + + + + + + · + + + + + here is text in the list item body + + + + + + + + + · + + + + + here is text in the list item body + + + + + + + + + · + + + + + here is text in the list item body + + + + + + + + + · + + + + + here is text in the list item body + + + + + + + + + · + + + + + here is text in the list item body + + + + + + + + + · + + + + + here is text in the list item body + + + + + + + + + · + + + + + here is text in the list item body + + + + + + + + + · + + + + + here is text in the list item body + + + + + + + + + · + + + + + here is text in the list item body + + + + + + + + + · + + + + + here is text in the list item body + + + + + + + + + · + + + + + here is text in the list item body + + + + + + + + + · + + + + + here is text in the list item body + + + + + + + + + · + + + + + here is text in the list item body + + + + + + + + + · + + + + + here is text in the list item body + + + + + + + + + · + + + + + here is text in the list item body + + + + + + + + + · + + + + + here is text in the list item body + + + + + + + + + · + + + + + here is text in the list item body + + + + + + + + + · + + + + + here is text in the list item body + + + + + + + + + · + + + + + here is text in the list item body + + + + + + + + + · + + + + + here is text in the list item body + + + + + + + + · + + + + + here is text in the list item body + + + + + + + + + · + + + + + here is text in the list item body + + + + + + + + + · + + + + + here is text in the list item body + + + + + + + + + · + + + + + here is text in the list item body + + + + + + + + + · + + + + + here is text in the list item body + + + + + + + + + · + + + + + here is text in the list item body + + + + + + + + + · + + + + + here is text in the list item body + + + + + + + + + · + + + + + here is text in the list item body + + + + + + + + + · + + + + + here is text in the list item body + + + + + + + + + · + + + + + here is text in the list item body + + + + + + + + + · + + + + + here is text in the list item body + + + + + + + + + · + + + + + here is text in the list item body + + + + + + + + + · + + + + + here is text in the list item body + + + + + + + + + · + + + + + here is text in the list item body + + + + + + + + + · + + + + + here is text in the list item body + + + + + + + + + · + + + + + here is text in the list item body + + + + + + + + + · + + + + + here is text in the list item body + + + + + + + + + · + + + + + here is text in the list item body + + + + + + + + + · + + + + + here is text in the list item body + + + + + + + + + · + + + + + here is text in the list item body + + + + + + + + + · + + + + + here is text in the list item body + + + + + + + + + · + + + + + here is text in the list item body + + + + + + + + + · + + + + + here is text in the list item body + + + + + + + + + · + + + + + here is text in the list item body + + + + + + + + + · + + + + + here is text in the list item body + + + + + + + + + · + + + + + here is text in the list item body + + + + + + + + · + + + + + here is text in the list item body + + + + + + + + + · + + + + + here is text in the list item body + + + + + + + + + · + + + + + here is text in the list item body + + + + + + + + + · + + + + + here is text in the list item body + + + + + + + + + · + + + + + here is text in the list item body + + + + + + + + + · + + + + + here is text in the list item body + + + + + + + + + · + + + + + here is text in the list item body + + + + + + + + + · + + + + + here is text in the list item body + + + + + + + + + · + + + + + here is text in the list item body + + + + + + + + + · + + + + + here is text in the list item body + + + + + + + + + · + + + + + here is text in the list item body + + + + + + + + + · + + + + + here is text in the list item body + + + + + + + + + · + + + + + here is text in the list item body + + + + + + + + + + + + + A nested list with justified text + + + + + This is normal text. This is normal text. This is normal text. This is normal text. This is normal text. + This is normal text. This is normal text. This is normal text. This is normal text. This is normal text. + + + + + + + + + + · + + + + + here is text in the list item body. here is text in the list item body. + here is text in the list item body. here is text in the list item body. + + + + + + + + + · + + + + here comes a nested list with numbers + + + + + + + + + + 1.) + + + + + nested list item + + + + + + + + 2.) + + + + + nested list item with more text. nested list item with more text. + nested list item with more text. nested list item with more text. + nested list item with more text. nested list item with more text. + + + + + + + + + 3.) + + + + + nested list item + + + + + + + + 4.) + + + + + nested list item with more text. nested list item with more text. + nested list item with more text. nested list item with more text. + nested list item with more text. nested list item with more text. + + + + + + + + + 5.) + + + + + nested list item + + + + + + + + + + + + + + + · + + + + + here is text in the list item body. here is text in the list item body. + here is text in the list item body. here is text in the list item body. + + + + + + + + + · + + + + + here is text in the list item body + + + + + + + + + · + + + + + here is text in the list item body. here is text in the list item body. + here is text in the list item body. here is text in the list item body. + + + + + + + + + + This is normal text. This is normal text. This is normal text. This is normal text. This is normal text. + This is normal text. This is normal text. This is normal text. This is normal text. This is normal text. + + + + + + + + + -- 2.39.5