]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
PR:
authorTore Engvig <tore@apache.org>
Mon, 10 Dec 2001 18:58:25 +0000 (18:58 +0000)
committerTore Engvig <tore@apache.org>
Mon, 10 Dec 2001 18:58:25 +0000 (18:58 +0000)
Obtained from:
Submitted by: Christian Geisert [Christian.Geisert@isu-gmbh.de]

Updates tests to use master-reference in page-sequences

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/fop-0_20_2-maintain@194593 13f79535-47bb-0310-9956-ffa450edef68

39 files changed:
CHANGES
test/errors/foreign.fo
test/errors/inavlidxml2.fo
test/errors/unknown.fo
test/xml/bugtests/background_color.fo
test/xml/bugtests/background_transparent.fo
test/xml/bugtests/block-container.fo
test/xml/bugtests/block.fo
test/xml/bugtests/border.fo
test/xml/bugtests/break-before.fo
test/xml/bugtests/charwidth.fo
test/xml/bugtests/color.fo
test/xml/bugtests/external-graphic.fo
test/xml/bugtests/font-family.fo
test/xml/bugtests/font-size.fo
test/xml/bugtests/font.fo
test/xml/bugtests/header_footer.fo
test/xml/bugtests/image.fo
test/xml/bugtests/indent.fo
test/xml/bugtests/inline.fo
test/xml/bugtests/keep-with-next.fo
test/xml/bugtests/leader.fo
test/xml/bugtests/letter-spacing.fo
test/xml/bugtests/line-height.fo
test/xml/bugtests/list-mountjoy.fo
test/xml/bugtests/list-nested-breaks.fo
test/xml/bugtests/list-nested.fo
test/xml/bugtests/padding.fo
test/xml/bugtests/page-number.fo
test/xml/bugtests/rule.fo
test/xml/bugtests/simple-link.fo
test/xml/bugtests/space-treatment.fo
test/xml/bugtests/space.fo
test/xml/bugtests/text-align.fo
test/xml/bugtests/text-decoration.fo
test/xml/bugtests/text-indent.fo
test/xml/bugtests/word-spacing.fo
test/xml/bugtests/wrap.fo
test/xsl/doc.xsl

diff --git a/CHANGES b/CHANGES
index 13492b604c194106b89f00fd3fdce2dcde5e6ee0..47054f934be63f4506d5a62eb45358e7eab08bdd 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -37,7 +37,7 @@ remaining for content. (Karen Lease)
   fo:single-page-master-reference, fo:repeatable-page-master-reference and 
   fo:conditional-page-master-reference to comply with the latest XSL recommendation.
   Also changed the unimplemented property space-treatment to white-space-treatment and 
-  updated examples to use the new syntax.
+  updated examples and tests to use the new syntax.
   Submitted by: Christian Geisert [Christian.Geisert@isu-gmbh.de]
 - Add support for inline-progression-dimension and table-layout. (Karen)
 - Add support for letter-spacing.
index 31833717fecb17a7bc32ea840f3a4372d56f63ac..cc77c241d58374fd4cee586dee41e0f5eab76b09 100644 (file)
@@ -15,7 +15,7 @@
     </fo:simple-page-master>
   </fo:layout-master-set>
 
-  <fo:page-sequence master-name="first">
+  <fo:page-sequence master-reference="first">
     <fo:static-content flow-name="xsl-region-before">
       <fo:block line-height="14pt" font-size="10pt"
     text-align="end">Embedding SVG examples</fo:block>
index 2e7c583c12da48813fabea0b51c24d28bc649191..4ff0a6941d964d27d9400cbd05b8a07b6c64df43 100644 (file)
@@ -19,7 +19,7 @@ fegsdfgdsgfsdgf
   <!-- end: defines page layout -->
 
   <!-- actual layout -->
-  <fo:page-sequence master-name="first">
+  <fo:page-sequence master-reference="first">
 
     <!-- text body -->
     <fo:flow flow-name="xsl-region-body">
index 490a6375b82c6a2f44660841ac01505ca4d6888c..a1ad313d8bda964601f89c0731a8f1783599f541 100644 (file)
@@ -15,7 +15,7 @@
     </fo:simple-page-master>
   </fo:layout-master-set>
 
-  <fo:page-sequence master-name="first">
+  <fo:page-sequence master-reference="first">
     <fo:flow source-document="a" flow-name="xsl-region-body">
 
       <fo:block source-document="inherit" space-before.optimum="3pt" space-after.optimum="15pt">
index feef6e9da40079ae8c28ae3cd37690a34be54ee1..d9ba083aaa37133dfae2fc7ecd5a76f1e72dd79f 100644 (file)
@@ -1,26 +1,26 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
-       <fo:layout-master-set>
-           <fo:simple-page-master master-name="simplePM"
-                         page-height="25cm" 
-                         page-width="20cm"
-                         margin-top="1cm" 
-                         margin-bottom="1cm" 
-                         margin-left="1.5cm" 
-                         margin-right="1.5cm">
-             <fo:region-before extent="2.5cm"/>
-             <fo:region-body margin-top="3cm" margin-bottom="3cm"/>
-             <fo:region-after extent="2.5cm"/>
-           </fo:simple-page-master>
-       </fo:layout-master-set>
+    <fo:layout-master-set>
+        <fo:simple-page-master master-name="simplePM"
+                      page-height="25cm" 
+                      page-width="20cm"
+                      margin-top="1cm" 
+                      margin-bottom="1cm" 
+                      margin-left="1.5cm" 
+                      margin-right="1.5cm">
+          <fo:region-before extent="2.5cm"/>
+          <fo:region-body margin-top="3cm" margin-bottom="3cm"/>
+          <fo:region-after extent="2.5cm"/>
+        </fo:simple-page-master>
+    </fo:layout-master-set>
 
-       <fo:page-sequence master-name="simplePM">
-           <fo:flow flow-name="xsl-region-body">
-               <fo:block background-color="#FF0000">
-                               <fo:block>
-                                       This is a simple fo block with red background.
-                               </fo:block>
-                       </fo:block>
-               </fo:flow>
-       </fo:page-sequence>
+    <fo:page-sequence master-reference="simplePM">
+        <fo:flow flow-name="xsl-region-body">
+            <fo:block background-color="#FF0000">
+                <fo:block>
+                    This is a simple fo block with red background.
+                </fo:block>
+            </fo:block>
+        </fo:flow>
+    </fo:page-sequence>
 </fo:root>
index 3f6c474cd4f79db06c2b0cd7c7811ae5b3c64d0d..5fb179511468a91338da68dcf7b645fcc290a0ea 100644 (file)
@@ -1,24 +1,24 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
-       <fo:layout-master-set>
-           <fo:simple-page-master master-name="simplePM"
-                         page-height="25cm" 
-                         page-width="20cm"
-                         margin-top="1cm" 
-                         margin-bottom="1cm" 
-                         margin-left="1.5cm" 
-                         margin-right="1.5cm">
-             <fo:region-before extent="2.5cm"/>
-             <fo:region-body margin-top="3cm" margin-bottom="3cm"/>
-             <fo:region-after extent="2.5cm"/>
-           </fo:simple-page-master>
-       </fo:layout-master-set>
+    <fo:layout-master-set>
+        <fo:simple-page-master master-name="simplePM"
+                      page-height="25cm" 
+                      page-width="20cm"
+                      margin-top="1cm" 
+                      margin-bottom="1cm" 
+                      margin-left="1.5cm" 
+                      margin-right="1.5cm">
+          <fo:region-before extent="2.5cm"/>
+          <fo:region-body margin-top="3cm" margin-bottom="3cm"/>
+          <fo:region-after extent="2.5cm"/>
+        </fo:simple-page-master>
+    </fo:layout-master-set>
 
-       <fo:page-sequence master-name="simplePM">
-           <fo:flow flow-name="xsl-region-body">
-                       <fo:block>
-                               This is a simple fo block with transparent background.
-                       </fo:block>
-               </fo:flow>
-       </fo:page-sequence>
+    <fo:page-sequence master-reference="simplePM">
+        <fo:flow flow-name="xsl-region-body">
+            <fo:block>
+                This is a simple fo block with transparent background.
+            </fo:block>
+        </fo:flow>
+    </fo:page-sequence>
 </fo:root>
index f9e49d6ceffe6c013e561c979be1d58227c7c7a1..b7a28362bd8c603b34ccd1c60c97584f5b20a7eb 100644 (file)
@@ -1,40 +1,40 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
-       <fo:layout-master-set>
-           <fo:simple-page-master master-name="simplePM"
-                         page-height="25cm" 
-                         page-width="20cm"
-                         margin-top="1cm" 
-                         margin-bottom="1cm" 
-                         margin-left="1.5cm" 
-                         margin-right="1.5cm">
-             <fo:region-before extent="2.5cm"/>
-             <fo:region-body margin-top="3cm" margin-bottom="3cm"/>
-             <fo:region-after extent="2.5cm"/>
-           </fo:simple-page-master>
-       </fo:layout-master-set>
+    <fo:layout-master-set>
+        <fo:simple-page-master master-name="simplePM"
+                      page-height="25cm" 
+                      page-width="20cm"
+                      margin-top="1cm" 
+                      margin-bottom="1cm" 
+                      margin-left="1.5cm" 
+                      margin-right="1.5cm">
+          <fo:region-before extent="2.5cm"/>
+          <fo:region-body margin-top="3cm" margin-bottom="3cm"/>
+          <fo:region-after extent="2.5cm"/>
+        </fo:simple-page-master>
+    </fo:layout-master-set>
 
-       <fo:page-sequence master-name="simplePM">
-           <fo:static-content flow-name="xsl-region-before">
+    <fo:page-sequence master-reference="simplePM">
+        <fo:static-content flow-name="xsl-region-before">
             <fo:block-container border-color="black" border-style="solid" border-width="1pt" height="2.5cm" width="4cm" padding="8pt" position="absolute">
                 <fo:block text-align="start" line-height="2cm" font-family="sans-serif" font-size="12pt">
-                                   SOLD TO
-                               </fo:block>
+                    SOLD TO
+                </fo:block>
                 <fo:block text-align="start" line-height="1cm" font-family="sans-serif" font-size="12pt">
-                                   Akf;lhdsaf;paesifhe;oifhqewf;oiewfhefdf;lhdsfadslhkfhdsafdshSOLDTO
-                                   Akf;lhdsaf;paesifhe;oifhqewf;oiewfhefdf;lhdsfadslhkfhdsafdshSOLDTO
-                                   Akf;lhdsaf;paesifhe;oifhqewf;oiewfhefdf;lhdsfadslhkfhdsafdshSOLDTO
-                                   Akf;lhdsaf;paesifhe;oifhqewf;oiewfhefdf;lhdsfadslhkfhdsafdshSOLDTO
-                                   Akf;lhdsaf;paesifhe;oifhqewf;oiewfhefdf;lhdsfadslhkfhdsafdshSOLDTO
-                                   Akf;lhdsaf;paesifhe;oifhqewf;oiewfhefdf;lhdsfadslhkfhdsafdshSOLDTO
-                                   Akf;lhdsaf;paesifhe;oifhqewf;oiewfhefdf;lhdsfadslhkfhdsafdshSOLDTO
-                               </fo:block>
+                    Akf;lhdsaf;paesifhe;oifhqewf;oiewfhefdf;lhdsfadslhkfhdsafdshSOLDTO
+                    Akf;lhdsaf;paesifhe;oifhqewf;oiewfhefdf;lhdsfadslhkfhdsafdshSOLDTO
+                    Akf;lhdsaf;paesifhe;oifhqewf;oiewfhefdf;lhdsfadslhkfhdsafdshSOLDTO
+                    Akf;lhdsaf;paesifhe;oifhqewf;oiewfhefdf;lhdsfadslhkfhdsafdshSOLDTO
+                    Akf;lhdsaf;paesifhe;oifhqewf;oiewfhefdf;lhdsfadslhkfhdsafdshSOLDTO
+                    Akf;lhdsaf;paesifhe;oifhqewf;oiewfhefdf;lhdsfadslhkfhdsafdshSOLDTO
+                    Akf;lhdsaf;paesifhe;oifhqewf;oiewfhefdf;lhdsfadslhkfhdsafdshSOLDTO
+                </fo:block>
                    </fo:block-container>
-           </fo:static-content>
-           <fo:flow flow-name="xsl-region-body">
+        </fo:static-content>
+        <fo:flow flow-name="xsl-region-body">
                 <fo:block text-align="start" line-height="1cm" font-family="sans-serif" font-size="12pt">
-                                       BBBBBBBBBBBBBBB
-                               </fo:block>
-               </fo:flow>
-       </fo:page-sequence>
+                    BBBBBBBBBBBBBBB
+                </fo:block>
+        </fo:flow>
+    </fo:page-sequence>
 </fo:root>
index f77dc17651d878e18c4a0e1f409094ee7afecbae..c404dc5b93cdc410e857757505b8ae2e61fddad4 100644 (file)
@@ -1,24 +1,24 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
-       <fo:layout-master-set>
-           <fo:simple-page-master master-name="simplePM"
-                         page-height="25cm" 
-                         page-width="20cm"
-                         margin-top="1cm" 
-                         margin-bottom="1cm" 
-                         margin-left="1.5cm" 
-                         margin-right="1.5cm">
-             <fo:region-before extent="2.5cm"/>
-             <fo:region-body margin-top="3cm" margin-bottom="3cm"/>
-             <fo:region-after extent="2.5cm"/>
-           </fo:simple-page-master>
-       </fo:layout-master-set>
+    <fo:layout-master-set>
+        <fo:simple-page-master master-name="simplePM"
+                      page-height="25cm" 
+                      page-width="20cm"
+                      margin-top="1cm" 
+                      margin-bottom="1cm" 
+                      margin-left="1.5cm" 
+                      margin-right="1.5cm">
+          <fo:region-before extent="2.5cm"/>
+          <fo:region-body margin-top="3cm" margin-bottom="3cm"/>
+          <fo:region-after extent="2.5cm"/>
+        </fo:simple-page-master>
+    </fo:layout-master-set>
 
-       <fo:page-sequence master-name="simplePM">
-           <fo:flow flow-name="xsl-region-body">
-                       <fo:block>
-                               This is a simple fo block.
-                       </fo:block>
-               </fo:flow>
-       </fo:page-sequence>
+    <fo:page-sequence master-reference="simplePM">
+        <fo:flow flow-name="xsl-region-body">
+            <fo:block>
+                This is a simple fo block.
+            </fo:block>
+        </fo:flow>
+    </fo:page-sequence>
 </fo:root>
index 0a55fde034bb040994dbe2457814f2ac00003754..905c6008bc9918e85a15b398e4920e01d4f78b55 100644 (file)
@@ -1,71 +1,71 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
-       <fo:layout-master-set>
-           <fo:simple-page-master master-name="simplePM"
-                         page-height="25cm" 
-                         page-width="20cm"
-                         margin-top="1cm" 
-                         margin-bottom="1cm" 
-                         margin-left="1.5cm" 
-                         margin-right="1.5cm">
-             <fo:region-before extent="2.5cm"/>
-             <fo:region-body margin-top="3cm" margin-bottom="3cm"/>
-             <fo:region-after extent="2.5cm"/>
-           </fo:simple-page-master>
-       </fo:layout-master-set>
+    <fo:layout-master-set>
+        <fo:simple-page-master master-name="simplePM"
+                      page-height="25cm" 
+                      page-width="20cm"
+                      margin-top="1cm" 
+                      margin-bottom="1cm" 
+                      margin-left="1.5cm" 
+                      margin-right="1.5cm">
+          <fo:region-before extent="2.5cm"/>
+          <fo:region-body margin-top="3cm" margin-bottom="3cm"/>
+          <fo:region-after extent="2.5cm"/>
+        </fo:simple-page-master>
+    </fo:layout-master-set>
 
-       <fo:page-sequence master-name="simplePM">
-           <fo:flow flow-name="xsl-region-body">
-                       <fo:block>
-                               This is a simple fo block.
-                       </fo:block>
+    <fo:page-sequence master-reference="simplePM">
+        <fo:flow flow-name="xsl-region-body">
+            <fo:block>
+                This is a simple fo block.
+            </fo:block>
 
-                       <fo:block space-before.optimum="1cm" border-color="blue" border-style="solid" border-width="2pt">
-                               This is a simple fo block with borders.
-                       </fo:block>
+            <fo:block space-before.optimum="1cm" border-color="blue" border-style="solid" border-width="2pt">
+                This is a simple fo block with borders.
+            </fo:block>
 
-                       <fo:block space-before.optimum="1cm" 
-                                       border-left-color="blue" border-left-style="solid" border-left-width="2pt"
-                                       border-right-color="blue" border-right-style="solid" border-right-width="2pt"
-                                       border-top-color="blue" border-top-style="solid" border-top-width="2pt"
-                                       border-bottom-color="blue" border-bottom-style="solid" border-bottom-width="2pt">
-                               This is a simple fo block with borders.
-                       </fo:block>
+            <fo:block space-before.optimum="1cm" 
+                    border-left-color="blue" border-left-style="solid" border-left-width="2pt"
+                    border-right-color="blue" border-right-style="solid" border-right-width="2pt"
+                    border-top-color="blue" border-top-style="solid" border-top-width="2pt"
+                    border-bottom-color="blue" border-bottom-style="solid" border-bottom-width="2pt">
+                This is a simple fo block with borders.
+            </fo:block>
 
-                       <fo:block space-before.optimum="1cm" border-left-color="black" border-left-style="solid" border-left-width="2pt"
-                                       border-right-color="black" border-right-style="dotted" border-right-width="1cm"
-                                       border-top-color="black" border-top-style="dashed" border-top-width="5pt"
-                                       border-bottom-color="black" border-bottom-style="double" border-bottom-width="1in">
-                               This is a simple fo block with different borders viz;
-                               border-left-color="black" 
-                               border-left-style="solid" 
-                               border-left-width="2pt"
-                               border-right-color="black" 
-                               border-right-style="dotted" 
-                               border-right-width="1cm"
-                               border-top-color="black" 
-                               border-top-style="dashed" 
-                               border-top-width="5pt"
-                               border-bottom-color="black" 
-                               border-bottom-style="double" 
-                               border-bottom-width="1in"
-                       </fo:block>
+            <fo:block space-before.optimum="1cm" border-left-color="black" border-left-style="solid" border-left-width="2pt"
+                    border-right-color="black" border-right-style="dotted" border-right-width="1cm"
+                    border-top-color="black" border-top-style="dashed" border-top-width="5pt"
+                    border-bottom-color="black" border-bottom-style="double" border-bottom-width="1in">
+                This is a simple fo block with different borders viz;
+                border-left-color="black" 
+                border-left-style="solid" 
+                border-left-width="2pt"
+                border-right-color="black" 
+                border-right-style="dotted" 
+                border-right-width="1cm"
+                border-top-color="black" 
+                border-top-style="dashed" 
+                border-top-width="5pt"
+                border-bottom-color="black" 
+                border-bottom-style="double" 
+                border-bottom-width="1in"
+            </fo:block>
 
-                       <fo:block space-before.optimum="1cm" 
-                               border-top="2pt solid blue"
-                               border-bottom="2pt solid blue"
-                               border-left="2pt solid blue"
-                               border-right="2pt solid blue">
-                               This is a simple fo block with borders.
-                       </fo:block>
+            <fo:block space-before.optimum="1cm" 
+                border-top="2pt solid blue"
+                border-bottom="2pt solid blue"
+                border-left="2pt solid blue"
+                border-right="2pt solid blue">
+                This is a simple fo block with borders.
+            </fo:block>
 
-                       <fo:block space-before.optimum="1cm" 
-                               border-top="2pt || solid || blue"
-                               border-bottom="2pt || solid || blue"
-                               border-left="2pt || solid || blue"
-                               border-right="2pt || solid || blue">
-                               This is a simple fo block with borders.
-                       </fo:block>
-               </fo:flow>
-       </fo:page-sequence>
+            <fo:block space-before.optimum="1cm" 
+                border-top="2pt || solid || blue"
+                border-bottom="2pt || solid || blue"
+                border-left="2pt || solid || blue"
+                border-right="2pt || solid || blue">
+                This is a simple fo block with borders.
+            </fo:block>
+        </fo:flow>
+    </fo:page-sequence>
 </fo:root>
index 45ff156b1e278fdf19c46da79aad128041e73944..4aa74301bb49c816025cda025f4195b5cd738aba 100644 (file)
@@ -1,27 +1,27 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
-       <fo:layout-master-set>
-           <fo:simple-page-master master-name="simplePM"
-                         page-height="25cm" 
-                         page-width="20cm"
-                         margin-top="1cm" 
-                         margin-bottom="1cm" 
-                         margin-left="1.5cm" 
-                         margin-right="1.5cm">
-             <fo:region-before extent="2.5cm"/>
-             <fo:region-body margin-top="3cm" margin-bottom="3cm"/>
-             <fo:region-after extent="2.5cm"/>
-           </fo:simple-page-master>
-       </fo:layout-master-set>
+    <fo:layout-master-set>
+        <fo:simple-page-master master-name="simplePM"
+                      page-height="25cm" 
+                      page-width="20cm"
+                      margin-top="1cm" 
+                      margin-bottom="1cm" 
+                      margin-left="1.5cm" 
+                      margin-right="1.5cm">
+          <fo:region-before extent="2.5cm"/>
+          <fo:region-body margin-top="3cm" margin-bottom="3cm"/>
+          <fo:region-after extent="2.5cm"/>
+        </fo:simple-page-master>
+    </fo:layout-master-set>
 
-       <fo:page-sequence master-name="simplePM">
-           <fo:flow flow-name="xsl-region-body">
-                       <fo:block>
-                               This is a simple fo block.
-                       </fo:block>
-                       <fo:block break-before="page">
-                               This is a simple fo block on a new page due to page-break using break-before="page".
-                       </fo:block>
-               </fo:flow>
-       </fo:page-sequence>
+    <fo:page-sequence master-reference="simplePM">
+        <fo:flow flow-name="xsl-region-body">
+            <fo:block>
+                This is a simple fo block.
+            </fo:block>
+            <fo:block break-before="page">
+                This is a simple fo block on a new page due to page-break using break-before="page".
+            </fo:block>
+        </fo:flow>
+    </fo:page-sequence>
 </fo:root>
index 15772a4bc67426c3b7069308ea3b730b9ae70a43..313262b66889289f121c5ae822a98019509fef52 100644 (file)
 <?xml version="1.0" encoding="UTF-8"?>
 <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
 <fo:layout-master-set>
-       <fo:simple-page-master margin-right="40pt" margin-left="40pt" master-name="one">
-               <fo:region-body margin-bottom="30pt" margin-top="30pt"/>
-               </fo:simple-page-master>
-       </fo:layout-master-set>
-       <fo:page-sequence master-name="one">
-               <fo:flow font-size="12pt" flow-name="xsl-region-body">
-                       <fo:block>
-                               This file contains a list of many characters in various fonts. The text is
-                               aligned with the end in order to check that all the characters have their
-                               correct width set in FOP.
-                       </fo:block>
-                       <fo:block>
-                           If the right hand edge is left of the other lines in the same font then
-                           this indicates it expects one (or more) of the characters to be wider
-                           than it really is. Also if the end is to the right of the other lines
-                           then FOP expects a character to be smaller than it really is or the
-                           character is missing from the lookup.
-                       </fo:block>
-                       <fo:block font-size="12pt" font-family="Helvetica" text-align="end">
-                               <fo:block>
-                                       1
-                               </fo:block>
-                               <fo:block>
-                                       abcdefghijklmnopqrstuvwxyz1
-                               </fo:block>
-                               <fo:block>
-                                       ABCDEFGHIJKLMNOPQRSTUVWXYZ1
-                               </fo:block>
-                               <fo:block>
-                                       12345678901
-                               </fo:block>
-                               <fo:block>
-                                       `~!@#$%^&amp;*()-_=+1
-                               </fo:block>
-                               <fo:block>
-                                       [{]}\|;:'1
-                               </fo:block>
-                               <fo:block>
-                                       ",&lt;.&gt;/?1
-                               </fo:block>
-                               <fo:block>
+    <fo:simple-page-master margin-right="40pt" margin-left="40pt" master-name="one">
+        <fo:region-body margin-bottom="30pt" margin-top="30pt"/>
+        </fo:simple-page-master>
+    </fo:layout-master-set>
+    <fo:page-sequence master-reference="one">
+        <fo:flow font-size="12pt" flow-name="xsl-region-body">
+            <fo:block>
+                This file contains a list of many characters in various fonts. The text is
+                aligned with the end in order to check that all the characters have their
+                correct width set in FOP.
+            </fo:block>
+            <fo:block>
+                If the right hand edge is left of the other lines in the same font then
+                this indicates it expects one (or more) of the characters to be wider
+                than it really is. Also if the end is to the right of the other lines
+                then FOP expects a character to be smaller than it really is or the
+                character is missing from the lookup.
+            </fo:block>
+            <fo:block font-size="12pt" font-family="Helvetica" text-align="end">
+                <fo:block>
+                    1
+                </fo:block>
+                <fo:block>
+                    abcdefghijklmnopqrstuvwxyz1
+                </fo:block>
+                <fo:block>
+                    ABCDEFGHIJKLMNOPQRSTUVWXYZ1
+                </fo:block>
+                <fo:block>
+                    12345678901
+                </fo:block>
+                <fo:block>
+                    `~!@#$%^&amp;*()-_=+1
+                </fo:block>
+                <fo:block>
+                    [{]}\|;:'1
+                </fo:block>
+                <fo:block>
+                    ",&lt;.&gt;/?1
+                </fo:block>
+                <fo:block>
 &#33;&#34;&#35;&#36;&#37;&#38;&#39;&#40;&#41;&#42;&#43;&#44;&#45;&#46;&#47;&#48;&#49;&#50;&#51;&#52;&#53;&#54;&#55;&#56;&#57;&#58;&#59;&#60;1
-                               </fo:block>
-                               <fo:block>
+                </fo:block>
+                <fo:block>
 &#61;&#62;&#63;&#64;&#65;&#66;&#67;&#68;&#69;&#70;&#71;&#72;&#73;&#74;&#75;&#76;&#77;&#78;&#79;&#80;&#81;&#82;&#83;&#84;&#85;&#86;&#87;&#88;1
-                               </fo:block>
-                               <fo:block>
+                </fo:block>
+                <fo:block>
 &#89;&#90;&#91;&#92;&#93;&#94;&#95;&#96;&#97;&#98;&#99;&#100;&#101;&#102;&#103;&#104;&#105;&#106;&#107;&#108;&#109;&#110;&#111;&#112;&#113;1
-                               </fo:block>
-                               <fo:block>
+                </fo:block>
+                <fo:block>
 &#114;&#115;&#116;&#117;&#118;&#119;&#120;&#121;&#122;&#123;&#124;&#125;&#126;&#127;&#160;&#161;&#162;&#163;&#164;&#165;&#166;&#167;&#168;1
-                               </fo:block>
-                               <fo:block>
+                </fo:block>
+                <fo:block>
 &#169;&#170;&#171;&#172;&#174;&#175;&#176;&#177;&#178;&#179;&#180;&#181;&#182;&#183;&#184;&#185;&#186;&#187;&#188;&#189;&#190;&#191;&#192;&#193;1
-                               </fo:block>
-                               <fo:block>
+                </fo:block>
+                <fo:block>
 &#194;&#195;&#196;&#197;&#198;&#199;&#200;&#201;&#202;&#203;&#204;&#205;&#206;&#207;&#208;&#209;&#210;&#211;&#212;&#213;&#214;&#215;&#216;&#217;1
-                               </fo:block>
-                               <fo:block>
+                </fo:block>
+                <fo:block>
 &#218;&#219;&#220;&#221;&#222;&#223;&#224;&#225;&#226;&#227;&#228;&#229;&#230;&#231;&#232;&#233;&#234;&#235;&#236;&#237;&#238;&#239;&#240;&#241;1
-                               </fo:block>
-                               <fo:block>
+                </fo:block>
+                <fo:block>
 &#242;&#243;&#244;&#245;&#246;&#247;&#248;&#249;&#250;&#251;&#252;&#253;&#254;1
-                               </fo:block>
-                       </fo:block>
-                       <fo:block font-size="12pt" font-family="Times Roman" text-align="end">
-                               <fo:block>
-                                       1
-                               </fo:block>
-                               <fo:block>
-                                       abcdefghijklmnopqrstuvwxyz1
-                               </fo:block>
-                               <fo:block>
-                                       ABCDEFGHIJKLMNOPQRSTUVWXYZ1
-                               </fo:block>
-                               <fo:block>
-                                       12345678901
-                               </fo:block>
-                               <fo:block>
-                                       `~!@#$%^&amp;*()-_=+1
-                               </fo:block>
-                               <fo:block>
-                                       [{]}\|;:'1
-                               </fo:block>
-                               <fo:block>
-                                       ",&lt;.&gt;/?1
-                               </fo:block>
-                               <fo:block>
+                </fo:block>
+            </fo:block>
+            <fo:block font-size="12pt" font-family="Times Roman" text-align="end">
+                <fo:block>
+                    1
+                </fo:block>
+                <fo:block>
+                    abcdefghijklmnopqrstuvwxyz1
+                </fo:block>
+                <fo:block>
+                    ABCDEFGHIJKLMNOPQRSTUVWXYZ1
+                </fo:block>
+                <fo:block>
+                    12345678901
+                </fo:block>
+                <fo:block>
+                    `~!@#$%^&amp;*()-_=+1
+                </fo:block>
+                <fo:block>
+                    [{]}\|;:'1
+                </fo:block>
+                <fo:block>
+                    ",&lt;.&gt;/?1
+                </fo:block>
+                <fo:block>
 &#33;&#34;&#35;&#36;&#37;&#38;&#39;&#40;&#41;&#42;&#43;&#44;&#45;&#46;&#47;&#48;&#49;&#50;&#51;&#52;&#53;&#54;&#55;&#56;&#57;&#58;&#59;&#60;1
-                               </fo:block>
-                               <fo:block>
+                </fo:block>
+                <fo:block>
 &#61;&#62;&#63;&#64;&#65;&#66;&#67;&#68;&#69;&#70;&#71;&#72;&#73;&#74;&#75;&#76;&#77;&#78;&#79;&#80;&#81;&#82;&#83;&#84;&#85;&#86;&#87;&#88;1
-                               </fo:block>
-                               <fo:block>
+                </fo:block>
+                <fo:block>
 &#89;&#90;&#91;&#92;&#93;&#94;&#95;&#96;&#97;&#98;&#99;&#100;&#101;&#102;&#103;&#104;&#105;&#106;&#107;&#108;&#109;&#110;&#111;&#112;&#113;1
-                               </fo:block>
-                               <fo:block>
+                </fo:block>
+                <fo:block>
 &#114;&#115;&#116;&#117;&#118;&#119;&#120;&#121;&#122;&#123;&#124;&#125;&#126;&#127;&#160;&#161;&#162;&#163;&#164;&#165;&#166;&#167;&#168;1
-                               </fo:block>
-                               <fo:block>
+                </fo:block>
+                <fo:block>
 &#169;&#170;&#171;&#172;&#174;&#175;&#176;&#177;&#178;&#179;&#180;&#181;&#182;&#183;&#184;&#185;&#186;&#187;&#188;&#189;&#190;&#191;&#192;&#193;1
-                               </fo:block>
-                               <fo:block>
+                </fo:block>
+                <fo:block>
 &#194;&#195;&#196;&#197;&#198;&#199;&#200;&#201;&#202;&#203;&#204;&#205;&#206;&#207;&#208;&#209;&#210;&#211;&#212;&#213;&#214;&#215;&#216;&#217;1
-                               </fo:block>
-                               <fo:block>
+                </fo:block>
+                <fo:block>
 &#218;&#219;&#220;&#221;&#222;&#223;&#224;&#225;&#226;&#227;&#228;&#229;&#230;&#231;&#232;&#233;&#234;&#235;&#236;&#237;&#238;&#239;&#240;&#241;1
-                               </fo:block>
-                               <fo:block>
+                </fo:block>
+                <fo:block>
 &#242;&#243;&#244;&#245;&#246;&#247;&#248;&#249;&#250;&#251;&#252;&#253;&#254;1
-                               </fo:block>
-                       </fo:block>
-                       <fo:block font-family="Courier" text-align="end">
-                               <fo:block>
-                                       1
-                               </fo:block>
-                               <fo:block>
-                                       abcdefghijklmnopqrstuvwxyz1
-                               </fo:block>
-                               <fo:block>
-                                       ABCDEFGHIJKLMNOPQRSTUVWXYZ1
-                               </fo:block>
-                               <fo:block>
-                                       12345678901
-                               </fo:block>
-                               <fo:block>
-                                       `~!@#$%^&amp;*()-_=+1
-                               </fo:block>
-                               <fo:block>
-                                       [{]}\|;:'1
-                               </fo:block>
-                               <fo:block>
-                                       ",&lt;.&gt;/?1
-                               </fo:block>
-                               <fo:block>
+                </fo:block>
+            </fo:block>
+            <fo:block font-family="Courier" text-align="end">
+                <fo:block>
+                    1
+                </fo:block>
+                <fo:block>
+                    abcdefghijklmnopqrstuvwxyz1
+                </fo:block>
+                <fo:block>
+                    ABCDEFGHIJKLMNOPQRSTUVWXYZ1
+                </fo:block>
+                <fo:block>
+                    12345678901
+                </fo:block>
+                <fo:block>
+                    `~!@#$%^&amp;*()-_=+1
+                </fo:block>
+                <fo:block>
+                    [{]}\|;:'1
+                </fo:block>
+                <fo:block>
+                    ",&lt;.&gt;/?1
+                </fo:block>
+                <fo:block>
 &#33;&#34;&#35;&#36;&#37;&#38;&#39;&#40;&#41;&#42;&#43;&#44;&#45;&#46;&#47;&#48;&#49;&#50;&#51;&#52;&#53;&#54;&#55;&#56;&#57;&#58;&#59;&#60;1
-                               </fo:block>
-                               <fo:block>
+                </fo:block>
+                <fo:block>
 &#61;&#62;&#63;&#64;&#65;&#66;&#67;&#68;&#69;&#70;&#71;&#72;&#73;&#74;&#75;&#76;&#77;&#78;&#79;&#80;&#81;&#82;&#83;&#84;&#85;&#86;&#87;&#88;1
-                               </fo:block>
-                               <fo:block>
+                </fo:block>
+                <fo:block>
 &#89;&#90;&#91;&#92;&#93;&#94;&#95;&#96;&#97;&#98;&#99;&#100;&#101;&#102;&#103;&#104;&#105;&#106;&#107;&#108;&#109;&#110;&#111;&#112;&#113;1
-                               </fo:block>
-                               <fo:block>
+                </fo:block>
+                <fo:block>
 &#114;&#115;&#116;&#117;&#118;&#119;&#120;&#121;&#122;&#123;&#124;&#125;&#126;&#127;&#160;&#161;&#162;&#163;&#164;&#165;&#166;&#167;&#168;1
-                               </fo:block>
-                               <fo:block>
+                </fo:block>
+                <fo:block>
 &#169;&#170;&#171;&#172;&#174;&#175;&#176;&#177;&#178;&#179;&#180;&#181;&#182;&#183;&#184;&#185;&#186;&#187;&#188;&#189;&#190;&#191;&#192;&#193;1
-                               </fo:block>
-                               <fo:block>
+                </fo:block>
+                <fo:block>
 &#194;&#195;&#196;&#197;&#198;&#199;&#200;&#201;&#202;&#203;&#204;&#205;&#206;&#207;&#208;&#209;&#210;&#211;&#212;&#213;&#214;&#215;&#216;&#217;1
-                               </fo:block>
-                               <fo:block>
+                </fo:block>
+                <fo:block>
 &#218;&#219;&#220;&#221;&#222;&#223;&#224;&#225;&#226;&#227;&#228;&#229;&#230;&#231;&#232;&#233;&#234;&#235;&#236;&#237;&#238;&#239;&#240;&#241;1
-                               </fo:block>
-                               <fo:block>
+                </fo:block>
+                <fo:block>
 &#242;&#243;&#244;&#245;&#246;&#247;&#248;&#249;&#250;&#251;&#252;&#253;&#254;1
-                               </fo:block>
-                       </fo:block>
-                       <fo:block font-family="ZapfDingbats" text-align="end">
-                               <fo:block>
-                                       1
-                               </fo:block>
-                               <fo:block>
-                                       abcdefghijklmnopqrstuvwxyz1
-                               </fo:block>
-                               <fo:block>
-                                       ABCDEFGHIJKLMNOPQRSTUVWXYZ1
-                               </fo:block>
-                               <fo:block>
-                                       12345678901
-                               </fo:block>
-                               <fo:block>
-                                       `~!@#$%^&amp;*()-_=+1
-                               </fo:block>
-                               <fo:block>
-                                       [{]}\|;:'1
-                               </fo:block>
-                               <fo:block>
-                                       ",&lt;.&gt;/?1
-                               </fo:block>
-                               <fo:block>
+                </fo:block>
+            </fo:block>
+            <fo:block font-family="ZapfDingbats" text-align="end">
+                <fo:block>
+                    1
+                </fo:block>
+                <fo:block>
+                    abcdefghijklmnopqrstuvwxyz1
+                </fo:block>
+                <fo:block>
+                    ABCDEFGHIJKLMNOPQRSTUVWXYZ1
+                </fo:block>
+                <fo:block>
+                    12345678901
+                </fo:block>
+                <fo:block>
+                    `~!@#$%^&amp;*()-_=+1
+                </fo:block>
+                <fo:block>
+                    [{]}\|;:'1
+                </fo:block>
+                <fo:block>
+                    ",&lt;.&gt;/?1
+                </fo:block>
+                <fo:block>
 &#33;&#34;&#35;&#36;&#37;&#38;&#39;&#40;&#41;&#42;&#43;&#44;&#45;&#46;&#47;&#48;&#49;&#50;&#51;&#52;&#53;&#54;&#55;&#56;&#57;&#58;&#59;&#60;1
-                               </fo:block>
-                               <fo:block>
+                </fo:block>
+                <fo:block>
 &#61;&#62;&#63;&#64;&#65;&#66;&#67;&#68;&#69;&#70;&#71;&#72;&#73;&#74;&#75;&#76;&#77;&#78;&#79;&#80;&#81;&#82;&#83;&#84;&#85;&#86;&#87;&#88;1
-                               </fo:block>
-                               <fo:block>
+                </fo:block>
+                <fo:block>
 &#89;&#90;&#91;&#92;&#93;&#94;&#95;&#96;&#97;&#98;&#99;&#100;&#101;&#102;&#103;&#104;&#105;&#106;&#107;&#108;&#109;&#110;&#111;&#112;&#113;1
-                               </fo:block>
-                               <fo:block>
+                </fo:block>
+                <fo:block>
 &#114;&#115;&#116;&#117;&#118;&#119;&#120;&#121;&#122;&#123;&#124;&#125;&#126;&#127;&#160;&#161;&#162;&#163;&#164;&#165;&#166;&#167;&#168;1
-                               </fo:block>
-                               <fo:block>
+                </fo:block>
+                <fo:block>
 &#169;&#170;&#171;&#172;&#174;&#175;&#176;&#177;&#178;&#179;&#180;&#181;&#182;&#183;&#184;&#185;&#186;&#187;&#188;&#189;&#190;&#191;&#192;&#193;1
-                               </fo:block>
-                               <fo:block>
+                </fo:block>
+                <fo:block>
 &#194;&#195;&#196;&#197;&#198;&#199;&#200;&#201;&#202;&#203;&#204;&#205;&#206;&#207;&#208;&#209;&#210;&#211;&#212;&#213;&#214;&#215;&#216;&#217;1
-                               </fo:block>
-                               <fo:block>
+                </fo:block>
+                <fo:block>
 &#218;&#219;&#220;&#221;&#222;&#223;&#224;&#225;&#226;&#227;&#228;&#229;&#230;&#231;&#232;&#233;&#234;&#235;&#236;&#237;&#238;&#239;&#240;&#241;1
-                               </fo:block>
-                               <fo:block>
+                </fo:block>
+                <fo:block>
 &#242;&#243;&#244;&#245;&#246;&#247;&#248;&#249;&#250;&#251;&#252;&#253;&#254;1
-                               </fo:block>
-                       </fo:block>
-                       <fo:block font-family="Symbol" text-align="end">
-                               <fo:block>
-                                       1
-                               </fo:block>
-                               <fo:block>
-                                       abcdefghijklmnopqrstuvwxyz1
-                               </fo:block>
-                               <fo:block>
-                                       ABCDEFGHIJKLMNOPQRSTUVWXYZ1
-                               </fo:block>
-                               <fo:block>
-                                       12345678901
-                               </fo:block>
-                               <fo:block>
-                                       `~!@#$%^&amp;*()-_=+1
-                               </fo:block>
-                               <fo:block>
-                                       [{]}\|;:'1
-                               </fo:block>
-                               <fo:block>
-                                       ",&lt;.&gt;/?1
-                               </fo:block>
-                               <fo:block>
+                </fo:block>
+            </fo:block>
+            <fo:block font-family="Symbol" text-align="end">
+                <fo:block>
+                    1
+                </fo:block>
+                <fo:block>
+                    abcdefghijklmnopqrstuvwxyz1
+                </fo:block>
+                <fo:block>
+                    ABCDEFGHIJKLMNOPQRSTUVWXYZ1
+                </fo:block>
+                <fo:block>
+                    12345678901
+                </fo:block>
+                <fo:block>
+                    `~!@#$%^&amp;*()-_=+1
+                </fo:block>
+                <fo:block>
+                    [{]}\|;:'1
+                </fo:block>
+                <fo:block>
+                    ",&lt;.&gt;/?1
+                </fo:block>
+                <fo:block>
 &#33;&#34;&#35;&#36;&#37;&#38;&#39;&#40;&#41;&#42;&#43;&#44;&#45;&#46;&#47;&#48;&#49;&#50;&#51;&#52;&#53;&#54;&#55;&#56;&#57;&#58;&#59;&#60;1
-                               </fo:block>
-                               <fo:block>
+                </fo:block>
+                <fo:block>
 &#61;&#62;&#63;&#64;&#65;&#66;&#67;&#68;&#69;&#70;&#71;&#72;&#73;&#74;&#75;&#76;&#77;&#78;&#79;&#80;&#81;&#82;&#83;&#84;&#85;&#86;&#87;&#88;1
-                               </fo:block>
-                               <fo:block>
+                </fo:block>
+                <fo:block>
 &#89;&#90;&#91;&#92;&#93;&#94;&#95;&#96;&#97;&#98;&#99;&#100;&#101;&#102;&#103;&#104;&#105;&#106;&#107;&#108;&#109;&#110;&#111;&#112;&#113;1
-                               </fo:block>
-                               <fo:block>
+                </fo:block>
+                <fo:block>
 &#114;&#115;&#116;&#117;&#118;&#119;&#120;&#121;&#122;&#123;&#124;&#125;&#126;&#127;&#160;&#161;&#162;&#163;&#164;&#165;&#166;&#167;&#168;1
-                               </fo:block>
-                               <fo:block>
+                </fo:block>
+                <fo:block>
 &#169;&#170;&#171;&#172;&#174;&#175;&#176;&#177;&#178;&#179;&#180;&#181;&#182;&#183;&#184;&#185;&#186;&#187;&#188;&#189;&#190;&#191;&#192;&#193;1
-                               </fo:block>
-                               <fo:block>
+                </fo:block>
+                <fo:block>
 &#194;&#195;&#196;&#197;&#198;&#199;&#200;&#201;&#202;&#203;&#204;&#205;&#206;&#207;&#208;&#209;&#210;&#211;&#212;&#213;&#214;&#215;&#216;&#217;1
-                               </fo:block>
-                               <fo:block>
+                </fo:block>
+                <fo:block>
 &#218;&#219;&#220;&#221;&#222;&#223;&#224;&#225;&#226;&#227;&#228;&#229;&#230;&#231;&#232;&#233;&#234;&#235;&#236;&#237;&#238;&#239;&#240;&#241;1
-                               </fo:block>
-                               <fo:block>
+                </fo:block>
+                <fo:block>
 &#242;&#243;&#244;&#245;&#246;&#247;&#248;&#249;&#250;&#251;&#252;&#253;&#254;1
-                               </fo:block>
-                       </fo:block>
-               </fo:flow>
-       </fo:page-sequence>
+                </fo:block>
+            </fo:block>
+        </fo:flow>
+    </fo:page-sequence>
 </fo:root>
index 8538aa31547945f4128953404d5dee18b1d98ddc..6d360637b0f975a7b4b0fbce5283e46ee276e5db 100644 (file)
@@ -1,38 +1,38 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
-       <fo:layout-master-set>
-           <fo:simple-page-master master-name="simplePM"
-                         page-height="25cm" 
-                         page-width="20cm"
-                         margin-top="1cm" 
-                         margin-bottom="1cm" 
-                         margin-left="1.5cm" 
-                         margin-right="1.5cm">
-             <fo:region-before extent="2.5cm"/>
-             <fo:region-body margin-top="3cm" margin-bottom="3cm"/>
-             <fo:region-after extent="2.5cm"/>
-           </fo:simple-page-master>
-       </fo:layout-master-set>
+    <fo:layout-master-set>
+        <fo:simple-page-master master-name="simplePM"
+                      page-height="25cm" 
+                      page-width="20cm"
+                      margin-top="1cm" 
+                      margin-bottom="1cm" 
+                      margin-left="1.5cm" 
+                      margin-right="1.5cm">
+          <fo:region-before extent="2.5cm"/>
+          <fo:region-body margin-top="3cm" margin-bottom="3cm"/>
+          <fo:region-after extent="2.5cm"/>
+        </fo:simple-page-master>
+    </fo:layout-master-set>
 
-       <fo:page-sequence master-name="simplePM">
-           <fo:flow flow-name="xsl-region-body">
-                       <fo:block color="#C00000">
-                               This is a simple fo text in red color.
-                           <fo:leader leader-pattern="rule" rule-thickness="3.0pt"></fo:leader>                 
-                       </fo:block>
+    <fo:page-sequence master-reference="simplePM">
+        <fo:flow flow-name="xsl-region-body">
+            <fo:block color="#C00000">
+                This is a simple fo text in red color.
+                <fo:leader leader-pattern="rule" rule-thickness="3.0pt"></fo:leader>                 
+            </fo:block>
 
-                       <fo:block color="#00C000">
-                               This is a simple fo text in green color followed by black line.
-                           <fo:leader color="#000000" leader-pattern="rule" rule-thickness="3.0pt"></fo:leader>                 
-                       </fo:block>
+            <fo:block color="#00C000">
+                This is a simple fo text in green color followed by black line.
+                <fo:leader color="#000000" leader-pattern="rule" rule-thickness="3.0pt"></fo:leader>                 
+            </fo:block>
 
-                       <fo:block color="#0000C0">
-                               This is a simple fo text in blue color.
-                               <fo:inline color="#C055C0">This is in</fo:inline>
-                               <fo:inline color="#550055">the same sentence</fo:inline>
-                               This is text in blue again
-                           <fo:leader leader-pattern="rule" rule-thickness="3.0pt"></fo:leader>                 
-                       </fo:block>
-               </fo:flow>
-       </fo:page-sequence>
+            <fo:block color="#0000C0">
+                This is a simple fo text in blue color.
+                <fo:inline color="#C055C0">This is in</fo:inline>
+                <fo:inline color="#550055">the same sentence</fo:inline>
+                This is text in blue again
+                <fo:leader leader-pattern="rule" rule-thickness="3.0pt"></fo:leader>                 
+            </fo:block>
+        </fo:flow>
+    </fo:page-sequence>
 </fo:root>
index ec7e1d1781b9042ee4da9ea33528fb95ca415b81..aa40910a6b8741e4dcff55e1fcc601ba4da12784 100644 (file)
@@ -1,23 +1,23 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
-       <fo:layout-master-set>
-           <fo:simple-page-master master-name="simplePM"
-                         page-height="25cm" 
-                         page-width="20cm"
-                         margin-top="1cm" 
-                         margin-bottom="1cm" 
-                         margin-left="1.5cm" 
-                         margin-right="1.5cm">
-             <fo:region-body/>
-           </fo:simple-page-master>
-       </fo:layout-master-set>
+    <fo:layout-master-set>
+        <fo:simple-page-master master-name="simplePM"
+                      page-height="25cm" 
+                      page-width="20cm"
+                      margin-top="1cm" 
+                      margin-bottom="1cm" 
+                      margin-left="1.5cm" 
+                      margin-right="1.5cm">
+          <fo:region-body/>
+        </fo:simple-page-master>
+    </fo:layout-master-set>
 
-       <fo:page-sequence master-name="simplePM">
-           <fo:flow flow-name="xsl-region-body">
-                       <fo:block>
-                               <fo:external-graphic src="file:../graphics/page.gif"/>
-                       </fo:block>
+    <fo:page-sequence master-reference="simplePM">
+        <fo:flow flow-name="xsl-region-body">
+            <fo:block>
+                <fo:external-graphic src="file:../graphics/page.gif"/>
+            </fo:block>
 
-               </fo:flow>
-       </fo:page-sequence>
+        </fo:flow>
+    </fo:page-sequence>
 </fo:root>
index 4b46449c6c07752b69c8d466ff455d580131c5bf..d0908908bc9e1da67463634bd979be54d4a01775 100644 (file)
@@ -1,76 +1,76 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
-       <fo:layout-master-set>
-           <fo:simple-page-master master-name="simplePM"
-                         page-height="25cm" 
-                         page-width="20cm"
-                         margin-top="1cm" 
-                         margin-bottom="1cm" 
-                         margin-left="1.5cm" 
-                         margin-right="1.5cm">
-             <fo:region-before extent="2.5cm"/>
-             <fo:region-body margin-top="3cm" margin-bottom="3cm"/>
-             <fo:region-after extent="2.5cm"/>
-           </fo:simple-page-master>
-       </fo:layout-master-set>
+    <fo:layout-master-set>
+        <fo:simple-page-master master-name="simplePM"
+                      page-height="25cm" 
+                      page-width="20cm"
+                      margin-top="1cm" 
+                      margin-bottom="1cm" 
+                      margin-left="1.5cm" 
+                      margin-right="1.5cm">
+          <fo:region-before extent="2.5cm"/>
+          <fo:region-body margin-top="3cm" margin-bottom="3cm"/>
+          <fo:region-after extent="2.5cm"/>
+        </fo:simple-page-master>
+    </fo:layout-master-set>
 
-       <fo:page-sequence master-name="simplePM">
-           <fo:flow flow-name="xsl-region-body">
-                       <fo:block>
-                               default:
-                       </fo:block>
-                       <fo:block text-align="center">
-                               This is a simple fo text in FOP default font.
-                       </fo:block>
-                       <fo:block>
-                               sans-serif:
-                       </fo:block>
-                       <fo:block text-align="center" font-family="sans-serif">
-                               This is a simple fo text in sans-serif font.
-                       </fo:block>
+    <fo:page-sequence master-reference="simplePM">
+        <fo:flow flow-name="xsl-region-body">
+            <fo:block>
+                default:
+            </fo:block>
+            <fo:block text-align="center">
+                This is a simple fo text in FOP default font.
+            </fo:block>
+            <fo:block>
+                sans-serif:
+            </fo:block>
+            <fo:block text-align="center" font-family="sans-serif">
+                This is a simple fo text in sans-serif font.
+            </fo:block>
 
-                       <fo:block>
-                               monospace:
-                       </fo:block>
-                       <fo:block text-align="center" font-family="monospace">
-                               This is a simple fo text in monospace font.
-                       </fo:block>
+            <fo:block>
+                monospace:
+            </fo:block>
+            <fo:block text-align="center" font-family="monospace">
+                This is a simple fo text in monospace font.
+            </fo:block>
 
-                       <fo:block>
-                               Courier:
-                       </fo:block>
-                       <fo:block text-align="center" font-family="Courier">
-                               This is a simple fo text in Courier font.
-                       </fo:block>
+            <fo:block>
+                Courier:
+            </fo:block>
+            <fo:block text-align="center" font-family="Courier">
+                This is a simple fo text in Courier font.
+            </fo:block>
 
-                       <fo:block>
-                               Helvetica:
-                       </fo:block>
-                       <fo:block text-align="center" font-family="Helvetica">
-                               This is a simple fo text in Helvetica font.
-                       </fo:block>
+            <fo:block>
+                Helvetica:
+            </fo:block>
+            <fo:block text-align="center" font-family="Helvetica">
+                This is a simple fo text in Helvetica font.
+            </fo:block>
 
-                       <fo:block>
-                               Symbol:
-                       </fo:block>
-                       <fo:block text-align="center" font-family="Symbol">
-                               This is a simple fo text in Symbol font.
-                       </fo:block>
+            <fo:block>
+                Symbol:
+            </fo:block>
+            <fo:block text-align="center" font-family="Symbol">
+                This is a simple fo text in Symbol font.
+            </fo:block>
 
-                       <fo:block>
-                               Times Roman:
-                       </fo:block>
-                       <fo:block text-align="center" font-family="Times Roman">
-                               This is a simple fo text in Times Roman font.
-                       </fo:block>
+            <fo:block>
+                Times Roman:
+            </fo:block>
+            <fo:block text-align="center" font-family="Times Roman">
+                This is a simple fo text in Times Roman font.
+            </fo:block>
 
-                       <fo:block>
-                               ZapfDingbats:
-                       </fo:block>
-                       <fo:block text-align="center" font-family="ZapfDingbats">
-                               This is a simple fo text in ZapfDingBats font.
-                       </fo:block>
-                       
-               </fo:flow>
-       </fo:page-sequence>
+            <fo:block>
+                ZapfDingbats:
+            </fo:block>
+            <fo:block text-align="center" font-family="ZapfDingbats">
+                This is a simple fo text in ZapfDingBats font.
+            </fo:block>
+            
+        </fo:flow>
+    </fo:page-sequence>
 </fo:root>
index 1ba4bb14f7d615f3d5091e7ad161f6f9ac0786bc..83e6ef3888a6412673b06ce2bd3e3a0834ce91f0 100644 (file)
@@ -1,53 +1,53 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
-       <fo:layout-master-set>
-           <fo:simple-page-master master-name="simplePM"
-                         page-height="25cm" 
-                         page-width="20cm"
-                         margin-top="1cm" 
-                         margin-bottom="1cm" 
-                         margin-left="1.5cm" 
-                         margin-right="1.5cm">
-             <fo:region-before extent="2.5cm"/>
-             <fo:region-body margin-top="3cm" margin-bottom="3cm"/>
-             <fo:region-after extent="2.5cm"/>
-           </fo:simple-page-master>
-       </fo:layout-master-set>
+    <fo:layout-master-set>
+        <fo:simple-page-master master-name="simplePM"
+                      page-height="25cm" 
+                      page-width="20cm"
+                      margin-top="1cm" 
+                      margin-bottom="1cm" 
+                      margin-left="1.5cm" 
+                      margin-right="1.5cm">
+          <fo:region-before extent="2.5cm"/>
+          <fo:region-body margin-top="3cm" margin-bottom="3cm"/>
+          <fo:region-after extent="2.5cm"/>
+        </fo:simple-page-master>
+    </fo:layout-master-set>
 
-       <fo:page-sequence master-name="simplePM">
-           <fo:flow flow-name="xsl-region-body">
-                       <fo:block>
-                               This is a simple fo text in FOP default font size and default font.
-                       </fo:block>
+    <fo:page-sequence master-reference="simplePM">
+        <fo:flow flow-name="xsl-region-body">
+            <fo:block>
+                This is a simple fo text in FOP default font size and default font.
+            </fo:block>
 
-                       <fo:block font-family="Courier" font-size="8pt">
-                               This is a simple fo text in 8pt font Courier.
-                       </fo:block>
-                       <fo:block font-family="Courier" font-size="10pt">
-                               This is a simple fo text in 10pt font.
-                       </fo:block>
-                       <fo:block font-family="Courier" font-size="12pt">
-                               This is a simple fo text in 12pt font.
-                       </fo:block>
-                       <fo:block font-family="Courier" font-size="14pt">
-                               This is a simple fo text in 14pt font.
-                       </fo:block>
-                       <fo:block font-family="Courier" font-size="16pt">
-                               This is a simple fo text in 16pt font.
-                       </fo:block>
-                       <fo:block font-family="Courier" font-size="18pt">
-                               This is a simple fo text in 18pt font.
-                       </fo:block>
-                       <fo:block font-family="Courier" font-size="20pt">
-                               This is a simple fo text in 20pt font.
-                       </fo:block>
-                       <fo:block font-family="Courier" font-size="24pt">
-                               This is a simple fo text in 24pt font.
-                       </fo:block>
-                       <fo:block font-family="Courier" font-size="32pt">
-                               This is a simple fo text in 32pt font.
-                       </fo:block>
-                       
-               </fo:flow>
-       </fo:page-sequence>
+            <fo:block font-family="Courier" font-size="8pt">
+                This is a simple fo text in 8pt font Courier.
+            </fo:block>
+            <fo:block font-family="Courier" font-size="10pt">
+                This is a simple fo text in 10pt font.
+            </fo:block>
+            <fo:block font-family="Courier" font-size="12pt">
+                This is a simple fo text in 12pt font.
+            </fo:block>
+            <fo:block font-family="Courier" font-size="14pt">
+                This is a simple fo text in 14pt font.
+            </fo:block>
+            <fo:block font-family="Courier" font-size="16pt">
+                This is a simple fo text in 16pt font.
+            </fo:block>
+            <fo:block font-family="Courier" font-size="18pt">
+                This is a simple fo text in 18pt font.
+            </fo:block>
+            <fo:block font-family="Courier" font-size="20pt">
+                This is a simple fo text in 20pt font.
+            </fo:block>
+            <fo:block font-family="Courier" font-size="24pt">
+                This is a simple fo text in 24pt font.
+            </fo:block>
+            <fo:block font-family="Courier" font-size="32pt">
+                This is a simple fo text in 32pt font.
+            </fo:block>
+            
+        </fo:flow>
+    </fo:page-sequence>
 </fo:root>
index d9ab2da4b56a7c03382f718579ec1a9a2a0dd190..43f75a6945b674426b07be30ed7f8639fcd76a63 100644 (file)
@@ -1,85 +1,85 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
-       <fo:layout-master-set>
-           <fo:simple-page-master master-name="simplePM"
-                         page-height="25cm" 
-                         page-width="20cm"
-                         margin-top="1cm" 
-                         margin-bottom="1cm" 
-                         margin-left="1.5cm" 
-                         margin-right="1.5cm">
-             <fo:region-before extent="2.5cm"/>
-             <fo:region-body margin-top="3cm" margin-bottom="3cm"/>
-             <fo:region-after extent="2.5cm"/>
-           </fo:simple-page-master>
-       </fo:layout-master-set>
+    <fo:layout-master-set>
+        <fo:simple-page-master master-name="simplePM"
+                      page-height="25cm" 
+                      page-width="20cm"
+                      margin-top="1cm" 
+                      margin-bottom="1cm" 
+                      margin-left="1.5cm" 
+                      margin-right="1.5cm">
+          <fo:region-before extent="2.5cm"/>
+          <fo:region-body margin-top="3cm" margin-bottom="3cm"/>
+          <fo:region-after extent="2.5cm"/>
+        </fo:simple-page-master>
+    </fo:layout-master-set>
 
-       <fo:page-sequence master-name="simplePM">
-           <fo:flow flow-name="xsl-region-body">
-                       <fo:block font-family="Courier" font-size="12pt">
-                               This is a simple fo text in Courier font.
-                       </fo:block>
-                       <fo:block font-family="Courier" font-size="12pt" 
-                                       font-weight="bold">
-                               This is a simple fo text in bold.
-                       </fo:block>
-                       <fo:block font-family="Courier" font-size="12pt" 
-                                       font-style="italic">
-                               This is a simple fo text in italic.
-                       </fo:block>
-                       <fo:block font-family="Courier" font-size="12pt" 
-                                       font-style="italic" font-weight="bold">
-                               This is a simple fo text in italic and bold.
-                       </fo:block>
-                       <fo:block font-family="Courier" font-size="12pt" 
-                                       font-variant="small-caps">
-                               This is a simple fo text in small caps.
-                       </fo:block>
+    <fo:page-sequence master-reference="simplePM">
+        <fo:flow flow-name="xsl-region-body">
+            <fo:block font-family="Courier" font-size="12pt">
+                This is a simple fo text in Courier font.
+            </fo:block>
+            <fo:block font-family="Courier" font-size="12pt" 
+                    font-weight="bold">
+                This is a simple fo text in bold.
+            </fo:block>
+            <fo:block font-family="Courier" font-size="12pt" 
+                    font-style="italic">
+                This is a simple fo text in italic.
+            </fo:block>
+            <fo:block font-family="Courier" font-size="12pt" 
+                    font-style="italic" font-weight="bold">
+                This is a simple fo text in italic and bold.
+            </fo:block>
+            <fo:block font-family="Courier" font-size="12pt" 
+                    font-variant="small-caps">
+                This is a simple fo text in small caps.
+            </fo:block>
 
-                       <fo:block space-before.optimum="1cm"></fo:block>
-                       
-                       <fo:block font-family="Times" font-size="12pt">
-                               This is a simple fo text in Times font.
-                       </fo:block>
-                       <fo:block font-family="Times" font-size="12pt" 
-                                       font-weight="bold">
-                               This is a simple fo text in bold.
-                       </fo:block>
-                       <fo:block font-family="Times" font-size="12pt" 
-                                       font-style="italic">
-                               This is a simple fo text in italic.
-                       </fo:block>
-                       <fo:block font-family="Times" font-size="12pt" 
-                                       font-style="italic" font-weight="bold">
-                               This is a simple fo text in italic and bold.
-                       </fo:block>
-                       <fo:block font-family="Times" font-size="12pt" 
-                                       font-variant="small-caps">
-                               This is a simple fo text in small caps.
-                       </fo:block>
+            <fo:block space-before.optimum="1cm"></fo:block>
+            
+            <fo:block font-family="Times" font-size="12pt">
+                This is a simple fo text in Times font.
+            </fo:block>
+            <fo:block font-family="Times" font-size="12pt" 
+                    font-weight="bold">
+                This is a simple fo text in bold.
+            </fo:block>
+            <fo:block font-family="Times" font-size="12pt" 
+                    font-style="italic">
+                This is a simple fo text in italic.
+            </fo:block>
+            <fo:block font-family="Times" font-size="12pt" 
+                    font-style="italic" font-weight="bold">
+                This is a simple fo text in italic and bold.
+            </fo:block>
+            <fo:block font-family="Times" font-size="12pt" 
+                    font-variant="small-caps">
+                This is a simple fo text in small caps.
+            </fo:block>
 
-                       <fo:block space-before.optimum="1cm"></fo:block>
+            <fo:block space-before.optimum="1cm"></fo:block>
 
-                       <fo:block font-family="Helvetica" font-size="12pt">
-                               This is a simple fo text in Helvetica font.
-                       </fo:block>
-                       <fo:block font-family="Helvetica" font-size="12pt" 
-                                       font-weight="bold">
-                               This is a simple fo text in bold.
-                       </fo:block>
-                       <fo:block font-family="Helvetica" font-size="12pt" 
-                                       font-style="italic">
-                               This is a simple fo text in italic.
-                       </fo:block>
-                       <fo:block font-family="Helvetica" font-size="12pt" 
-                                       font-style="italic" font-weight="bold">
-                               This is a simple fo text in italic and bold.
-                       </fo:block>
-                       <fo:block font-family="Helvetica" font-size="12pt" 
-                                       font-variant="small-caps">
-                               This is a simple fo text in small caps.
-                       </fo:block>
-                       
-               </fo:flow>
-       </fo:page-sequence>
+            <fo:block font-family="Helvetica" font-size="12pt">
+                This is a simple fo text in Helvetica font.
+            </fo:block>
+            <fo:block font-family="Helvetica" font-size="12pt" 
+                    font-weight="bold">
+                This is a simple fo text in bold.
+            </fo:block>
+            <fo:block font-family="Helvetica" font-size="12pt" 
+                    font-style="italic">
+                This is a simple fo text in italic.
+            </fo:block>
+            <fo:block font-family="Helvetica" font-size="12pt" 
+                    font-style="italic" font-weight="bold">
+                This is a simple fo text in italic and bold.
+            </fo:block>
+            <fo:block font-family="Helvetica" font-size="12pt" 
+                    font-variant="small-caps">
+                This is a simple fo text in small caps.
+            </fo:block>
+            
+        </fo:flow>
+    </fo:page-sequence>
 </fo:root>
index 22dc945e28ed37246b5ec9bd5586c090f6b8e09a..565830c9774fb1cf996be62d67a9d318ec29785b 100644 (file)
 <?xml version="1.0" encoding="UTF-8"?>
 <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
-       <fo:layout-master-set>
-           <fo:simple-page-master master-name="simplePM"
-                         page-height="25cm" 
-                         page-width="18cm"
-                         margin-top="1cm" 
-                         margin-bottom="1cm" 
-                         margin-left="1.5cm" 
-                         margin-right="1.5cm">
-             <fo:region-before extent="3cm"/>
-             <fo:region-body margin-top="4cm" margin-bottom="3cm"/>
-             <fo:region-after extent="3cm"/>
-           </fo:simple-page-master>
-       </fo:layout-master-set>
+    <fo:layout-master-set>
+        <fo:simple-page-master master-name="simplePM"
+                      page-height="25cm" 
+                      page-width="18cm"
+                      margin-top="1cm" 
+                      margin-bottom="1cm" 
+                      margin-left="1.5cm" 
+                      margin-right="1.5cm">
+          <fo:region-before extent="3cm"/>
+          <fo:region-body margin-top="4cm" margin-bottom="3cm"/>
+          <fo:region-after extent="3cm"/>
+        </fo:simple-page-master>
+    </fo:layout-master-set>
 
-       <fo:page-sequence master-name="simplePM">
-           <!-- header -->
-           <fo:static-content flow-name="xsl-region-before">
-             <fo:block-container width="5cm" height="3cm" position="absolute" background-color="#22CC55">
-                     <fo:block text-align="start">
-                       Left
-                     </fo:block>
-             </fo:block-container>
-             <fo:block-container width="5cm" height="3cm" left="5cm" position="absolute" background-color="#55AA55">
-                     <fo:block text-align="center">
-                       Center
-                     </fo:block>
-             </fo:block-container>
-             <fo:block-container width="5cm" height="3cm" left="10cm" position="absolute" background-color="#FFCCFF">
-                     <fo:block text-align="end">
-                       Right
-                     </fo:block>
-             </fo:block-container>
-             
-           </fo:static-content> 
-          
-           <!-- footer -->
-           <fo:static-content flow-name="xsl-region-after">
-             <fo:block-container width="5cm" height="3cm" position="absolute">
-                     <fo:block text-align="start">
-                       Left
-                     </fo:block>
-             </fo:block-container>
-             <fo:block-container width="5cm" height="3cm" left="5cm" position="absolute">
-                     <fo:block text-align="center">
-                       Center
-                     </fo:block>
-             </fo:block-container>
-             <fo:block-container width="5cm" height="3cm" left="10cm" position="absolute">
-                     <fo:block text-align="end">
-                       Right
-                     </fo:block>
-             </fo:block-container>
-             
-           </fo:static-content>
+    <fo:page-sequence master-reference="simplePM">
+        <!-- header -->
+        <fo:static-content flow-name="xsl-region-before">
+          <fo:block-container width="5cm" height="3cm" position="absolute" background-color="#22CC55">
+              <fo:block text-align="start">
+                Left
+              </fo:block>
+          </fo:block-container>
+          <fo:block-container width="5cm" height="3cm" left="5cm" position="absolute" background-color="#55AA55">
+              <fo:block text-align="center">
+                Center
+              </fo:block>
+          </fo:block-container>
+          <fo:block-container width="5cm" height="3cm" left="10cm" position="absolute" background-color="#FFCCFF">
+              <fo:block text-align="end">
+                Right
+              </fo:block>
+          </fo:block-container>
+          
+        </fo:static-content> 
+       
+        <!-- footer -->
+        <fo:static-content flow-name="xsl-region-after">
+          <fo:block-container width="5cm" height="3cm" position="absolute">
+              <fo:block text-align="start">
+                Left
+              </fo:block>
+          </fo:block-container>
+          <fo:block-container width="5cm" height="3cm" left="5cm" position="absolute">
+              <fo:block text-align="center">
+                Center
+              </fo:block>
+          </fo:block-container>
+          <fo:block-container width="5cm" height="3cm" left="10cm" position="absolute">
+              <fo:block text-align="end">
+                Right
+              </fo:block>
+          </fo:block-container>
+          
+        </fo:static-content>
 
-           <fo:flow flow-name="xsl-region-body">
-                       <fo:block>
-                               There is top-margin for body region.This is bcos margin-top for body is greater than extent of region-before.
-                       </fo:block>
-                       <fo:block>
-                               There is NO bottom-margin for body region. Bcos margin-bottom for body = extent for region-after.                       
-                       </fo:block>
-                       <fo:block>
-                       </fo:block>
-                       <fo:block>
-               The fo:static-content formatting object holds a sequence or a tree of formatting objects that is to be presented in a single region or repeated in like-named regions on one or more pages in the page-sequence. Its common use is for repeating or running headers and footers. 
-                       </fo:block>
-                       <fo:block>
-               This content is repeated, in its entirety, on every page to which it is assigned. 
-                       </fo:block>
-                       <fo:block>
-               This content is repeated, in its entirety, on every page to which it is assigned. 
-                       </fo:block>
-                       <fo:block>
-               This content is repeated, in its entirety, on every page to which it is assigned. 
-                       </fo:block>
-                       <fo:block>
-               This content is repeated, in its entirety, on every page to which it is assigned. 
-                       </fo:block>
-                       <fo:block>
-               This content is repeated, in its entirety, on every page to which it is assigned. 
-                       </fo:block>
-                       <fo:block>
-               This content is repeated, in its entirety, on every page to which it is assigned. 
-                       </fo:block>
-                       <fo:block>
-               This content is repeated, in its entirety, on every page to which it is assigned. 
-                       </fo:block>
-                       <fo:block>
-               This content is repeated, in its entirety, on every page to which it is assigned. 
-                       </fo:block>
-                       <fo:block>
-               This content is repeated, in its entirety, on every page to which it is assigned. 
-                       </fo:block>
-                       <fo:block>
-               This content is repeated, in its entirety, on every page to which it is assigned. 
-                       </fo:block>
-                       <fo:block>
-               This content is repeated, in its entirety, on every page to which it is assigned. 
-                       </fo:block>
-                       <fo:block>
-               This content is repeated, in its entirety, on every page to which it is assigned. 
-                       </fo:block>
-                       <fo:block>
-               This content is repeated, in its entirety, on every page to which it is assigned. 
-                       </fo:block>
-                       <fo:block>
-               This content is repeated, in its entirety, on every page to which it is assigned. 
-                       </fo:block>
-                       <fo:block>
-               This content is repeated, in its entirety, on every page to which it is assigned. 
-                       </fo:block>
-                       <fo:block>
-               This content is repeated, in its entirety, on every page to which it is assigned. 
-                       </fo:block>
-                       <fo:block>
-               This content is repeated, in its entirety, on every page to which it is assigned. 
-                       </fo:block>
-                       <fo:block>
+        <fo:flow flow-name="xsl-region-body">
+            <fo:block>
+                There is top-margin for body region.This is bcos margin-top for body is greater than extent of region-before.
+            </fo:block>
+            <fo:block>
+                There is NO bottom-margin for body region. Bcos margin-bottom for body = extent for region-after.           
+            </fo:block>
+            <fo:block>
+            </fo:block>
+            <fo:block>
+        The fo:static-content formatting object holds a sequence or a tree of formatting objects that is to be presented in a single region or repeated in like-named regions on one or more pages in the page-sequence. Its common use is for repeating or running headers and footers. 
+            </fo:block>
+            <fo:block>
+        This content is repeated, in its entirety, on every page to which it is assigned. 
+            </fo:block>
+            <fo:block>
+        This content is repeated, in its entirety, on every page to which it is assigned. 
+            </fo:block>
+            <fo:block>
+        This content is repeated, in its entirety, on every page to which it is assigned. 
+            </fo:block>
+            <fo:block>
+        This content is repeated, in its entirety, on every page to which it is assigned. 
+            </fo:block>
+            <fo:block>
+        This content is repeated, in its entirety, on every page to which it is assigned. 
+            </fo:block>
+            <fo:block>
+        This content is repeated, in its entirety, on every page to which it is assigned. 
+            </fo:block>
+            <fo:block>
+        This content is repeated, in its entirety, on every page to which it is assigned. 
+            </fo:block>
+            <fo:block>
+        This content is repeated, in its entirety, on every page to which it is assigned. 
+            </fo:block>
+            <fo:block>
+        This content is repeated, in its entirety, on every page to which it is assigned. 
+            </fo:block>
+            <fo:block>
+        This content is repeated, in its entirety, on every page to which it is assigned. 
+            </fo:block>
+            <fo:block>
+        This content is repeated, in its entirety, on every page to which it is assigned. 
+            </fo:block>
+            <fo:block>
+        This content is repeated, in its entirety, on every page to which it is assigned. 
+            </fo:block>
+            <fo:block>
+        This content is repeated, in its entirety, on every page to which it is assigned. 
+            </fo:block>
+            <fo:block>
+        This content is repeated, in its entirety, on every page to which it is assigned. 
+            </fo:block>
+            <fo:block>
+        This content is repeated, in its entirety, on every page to which it is assigned. 
+            </fo:block>
+            <fo:block>
+        This content is repeated, in its entirety, on every page to which it is assigned. 
+            </fo:block>
+            <fo:block>
+        This content is repeated, in its entirety, on every page to which it is assigned. 
+            </fo:block>
+            <fo:block>
 The fo:static-content formatting object does not generate any areas. The fo:static-content formatting object returns the sequence of areas created by concatenating the sequences of areas returned by each of the children of the fo:static-content. The order of concatenation is the same order as the children are ordered under the fo:static-content. 
-                       </fo:block>
-                       <fo:block>
+            </fo:block>
+            <fo:block>
 The fo:static-content formatting object does not generate any areas. The fo:static-content formatting object returns the sequence of areas created by concatenating the sequences of areas returned by each of the children of the fo:static-content. The order of concatenation is the same order as the children are ordered under the fo:static-content. 
-                       </fo:block>
-                       <fo:block>
+            </fo:block>
+            <fo:block>
 The fo:static-content formatting object does not generate any areas. The fo:static-content formatting object returns the sequence of areas created by concatenating the sequences of areas returned by each of the children of the fo:static-content. The order of concatenation is the same order as the children are ordered under the fo:static-content. 
-                       </fo:block>
-                       <fo:block>
+            </fo:block>
+            <fo:block>
 The fo:static-content formatting object does not generate any areas. The fo:static-content formatting object returns the sequence of areas created by concatenating the sequences of areas returned by each of the children of the fo:static-content. The order of concatenation is the same order as the children are ordered under the fo:static-content. 
-                       </fo:block>
+            </fo:block>
 
-               </fo:flow>
+        </fo:flow>
  
-       </fo:page-sequence>
+    </fo:page-sequence>
 </fo:root>
index 8c5b3c7c66d1dfb84f3e2586e104d9099013348f..2e55738ce39f7a66903c763b81e8aa0c2742ef94 100644 (file)
@@ -1,43 +1,43 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
-       <fo:layout-master-set>
-           <fo:simple-page-master master-name="simplePM"
-                         page-height="25cm" 
-                         page-width="10cm"
-                         margin-top="3cm" 
-                         margin-bottom="2cm" 
-                         margin-left="3cm" 
-                         margin-right="2cm">
-             <fo:region-body/>
-           </fo:simple-page-master>
-       </fo:layout-master-set>
+    <fo:layout-master-set>
+        <fo:simple-page-master master-name="simplePM"
+                      page-height="25cm" 
+                      page-width="10cm"
+                      margin-top="3cm" 
+                      margin-bottom="2cm" 
+                      margin-left="3cm" 
+                      margin-right="2cm">
+          <fo:region-body/>
+        </fo:simple-page-master>
+    </fo:layout-master-set>
 
-       <fo:page-sequence master-name="simplePM">
-           <fo:flow flow-name="xsl-region-body">
-                       <fo:block>
-                               <fo:external-graphic src="file:../graphics/page.gif"/>
-                       </fo:block>
+    <fo:page-sequence master-reference="simplePM">
+        <fo:flow flow-name="xsl-region-body">
+            <fo:block>
+                <fo:external-graphic src="file:../graphics/page.gif"/>
+            </fo:block>
 
-                       <fo:block>
-                               <fo:external-graphic height="3in" width="3in" src="file:../graphics/page.gif"/>
-                               height=3in width=3in
-                       </fo:block>
+            <fo:block>
+                <fo:external-graphic height="3in" width="3in" src="file:../graphics/page.gif"/>
+                height=3in width=3in
+            </fo:block>
 
-                       <fo:block>
-                               <fo:external-graphic height="3in" src="file:../graphics/page.gif"/>
-                               height="3in"
-                       </fo:block>
-                       
-                       <fo:block>
-                               <fo:external-graphic width="1.5in" src="file:../graphics/page.gif"/>
-                               width="1.5in" 
-                       </fo:block>
+            <fo:block>
+                <fo:external-graphic height="3in" src="file:../graphics/page.gif"/>
+                height="3in"
+            </fo:block>
+            
+            <fo:block>
+                <fo:external-graphic width="1.5in" src="file:../graphics/page.gif"/>
+                width="1.5in" 
+            </fo:block>
 
-                       <fo:block>
-                               <fo:external-graphic height="6in" width="4in" src="file:../graphics/page.gif"/>
-                               height="6in" width="4in"
-                       </fo:block>
+            <fo:block>
+                <fo:external-graphic height="6in" width="4in" src="file:../graphics/page.gif"/>
+                height="6in" width="4in"
+            </fo:block>
 
-               </fo:flow>
-       </fo:page-sequence>
+        </fo:flow>
+    </fo:page-sequence>
 </fo:root>
index e415f8115a4b61641e7d0303629462431a7b4aec..3ec82e547e657466a0d5e9fae415c63f464a8ba8 100644 (file)
@@ -1,55 +1,55 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
-       <fo:layout-master-set>
-           <fo:simple-page-master master-name="simplePM"
-                         page-height="25cm" 
-                         page-width="20cm"
-                         margin-top="1cm" 
-                         margin-bottom="1cm" 
-                         margin-left="1.5cm" 
-                         margin-right="1.5cm">
-             <fo:region-before extent="2.5cm"/>
-             <fo:region-body margin-top="3cm" margin-bottom="3cm"/>
-             <fo:region-after extent="2.5cm"/>
-           </fo:simple-page-master>
-       </fo:layout-master-set>
+    <fo:layout-master-set>
+        <fo:simple-page-master master-name="simplePM"
+                      page-height="25cm" 
+                      page-width="20cm"
+                      margin-top="1cm" 
+                      margin-bottom="1cm" 
+                      margin-left="1.5cm" 
+                      margin-right="1.5cm">
+          <fo:region-before extent="2.5cm"/>
+          <fo:region-body margin-top="3cm" margin-bottom="3cm"/>
+          <fo:region-after extent="2.5cm"/>
+        </fo:simple-page-master>
+    </fo:layout-master-set>
 
-       <fo:page-sequence master-name="simplePM">
-           <fo:flow flow-name="xsl-region-body">
-                       <fo:block text-align="justify" start-indent="1in">
-                               This is a simple fo block with justify indented in the start.
-                               This is a simple fo block indented in the start.
-                               This is a simple fo block indented in the start.
-                               This is a simple fo block indented in the start.
-                               This is a simple fo block indented in the start.
-                               This is a simple fo block indented in the start.
-                       </fo:block>
-                       <fo:block text-align="justify" end-indent="1in">
-                               This is a simple fo block with justify indented in the end.
-                               This is a simple fo block indented in the end.
-                               This is a simple fo block indented in the end.
-                               This is a simple fo block indented in the end.
-                               This is a simple fo block indented in the end.
-                               This is a simple fo block indented in the end.
-                       </fo:block>
-                       <fo:block start-indent="1in">
-                               This is a simple fo block indented in the start.
-                               This is a simple fo block indented in the start.
-                               This is a simple fo block indented in the start.
-                               This is a simple fo block indented in the start.
-                               This is a simple fo block indented in the start.
-                               This is a simple fo block indented in the start.
-                               This is a simple fo block indented in the start.
-                       </fo:block>
-                       <fo:block end-indent="1in">
-                               This is a simple fo block indented in the end.
-                               This is a simple fo block indented in the end.
-                               This is a simple fo block indented in the end.
-                               This is a simple fo block indented in the end.
-                               This is a simple fo block indented in the end.
-                               This is a simple fo block indented in the end.
-                               This is a simple fo block indented in the end.
-                       </fo:block>
-               </fo:flow>
-       </fo:page-sequence>
+    <fo:page-sequence master-reference="simplePM">
+        <fo:flow flow-name="xsl-region-body">
+            <fo:block text-align="justify" start-indent="1in">
+                This is a simple fo block with justify indented in the start.
+                This is a simple fo block indented in the start.
+                This is a simple fo block indented in the start.
+                This is a simple fo block indented in the start.
+                This is a simple fo block indented in the start.
+                This is a simple fo block indented in the start.
+            </fo:block>
+            <fo:block text-align="justify" end-indent="1in">
+                This is a simple fo block with justify indented in the end.
+                This is a simple fo block indented in the end.
+                This is a simple fo block indented in the end.
+                This is a simple fo block indented in the end.
+                This is a simple fo block indented in the end.
+                This is a simple fo block indented in the end.
+            </fo:block>
+            <fo:block start-indent="1in">
+                This is a simple fo block indented in the start.
+                This is a simple fo block indented in the start.
+                This is a simple fo block indented in the start.
+                This is a simple fo block indented in the start.
+                This is a simple fo block indented in the start.
+                This is a simple fo block indented in the start.
+                This is a simple fo block indented in the start.
+            </fo:block>
+            <fo:block end-indent="1in">
+                This is a simple fo block indented in the end.
+                This is a simple fo block indented in the end.
+                This is a simple fo block indented in the end.
+                This is a simple fo block indented in the end.
+                This is a simple fo block indented in the end.
+                This is a simple fo block indented in the end.
+                This is a simple fo block indented in the end.
+            </fo:block>
+        </fo:flow>
+    </fo:page-sequence>
 </fo:root>
index 3b1e9215056e11d493936997edd593eb1790d3b0..f27cfd037e2039148603983abc2f2ac4ff4af18e 100644 (file)
@@ -1,25 +1,25 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
-       <fo:layout-master-set>
-           <fo:simple-page-master master-name="simplePM"
-                         page-height="25cm" 
-                         page-width="20cm"
-                         margin-top="1cm" 
-                         margin-bottom="1cm" 
-                         margin-left="1.5cm" 
-                         margin-right="1.5cm">
-             <fo:region-before extent="2.5cm"/>
-             <fo:region-body margin-top="3cm" margin-bottom="3cm"/>
-             <fo:region-after extent="2.5cm"/>
-           </fo:simple-page-master>
-       </fo:layout-master-set>
+    <fo:layout-master-set>
+        <fo:simple-page-master master-name="simplePM"
+                      page-height="25cm" 
+                      page-width="20cm"
+                      margin-top="1cm" 
+                      margin-bottom="1cm" 
+                      margin-left="1.5cm" 
+                      margin-right="1.5cm">
+          <fo:region-before extent="2.5cm"/>
+          <fo:region-body margin-top="3cm" margin-bottom="3cm"/>
+          <fo:region-after extent="2.5cm"/>
+        </fo:simple-page-master>
+    </fo:layout-master-set>
 
-       <fo:page-sequence master-name="simplePM">
-           <fo:flow flow-name="xsl-region-body">
-                       <fo:block>
-                               <fo:inline>The sentence is</fo:inline>
-                               <fo:inline>in the same line.</fo:inline>
-                       </fo:block>
-               </fo:flow>
-       </fo:page-sequence>
+    <fo:page-sequence master-reference="simplePM">
+        <fo:flow flow-name="xsl-region-body">
+            <fo:block>
+                <fo:inline>The sentence is</fo:inline>
+                <fo:inline>in the same line.</fo:inline>
+            </fo:block>
+        </fo:flow>
+    </fo:page-sequence>
 </fo:root>
index b17d0ed7660f0ab9b0bc0ed204496b0433de5d97..90ca40e527569b315e773659752c48e5a8cb1c51 100644 (file)
@@ -1,22 +1,22 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
-       <fo:layout-master-set>
-           <fo:simple-page-master master-name="simplePM"
-                         page-height="11in" 
-                         page-width="8.5in"
-                         margin-top="1cm" 
-                         margin-bottom="1cm" 
-                         margin-left="1in" 
-                         margin-right="0.75in">
-             <fo:region-before extent="2.5cm"/>
-             <fo:region-body margin-top="3cm" margin-bottom="3cm"/>
-             <fo:region-after extent="2.5cm"/>
-           </fo:simple-page-master>
-       </fo:layout-master-set>
+    <fo:layout-master-set>
+        <fo:simple-page-master master-name="simplePM"
+                      page-height="11in" 
+                      page-width="8.5in"
+                      margin-top="1cm" 
+                      margin-bottom="1cm" 
+                      margin-left="1in" 
+                      margin-right="0.75in">
+          <fo:region-before extent="2.5cm"/>
+          <fo:region-body margin-top="3cm" margin-bottom="3cm"/>
+          <fo:region-after extent="2.5cm"/>
+        </fo:simple-page-master>
+    </fo:layout-master-set>
 
-       <fo:page-sequence master-name="simplePM">
-           <fo:flow flow-name="xsl-region-body">
-                       <fo:block space-before.optimum="1cm" font-family="monospace" font-size="10pt" white-space-treatment="preserve" wrap-option="no-wrap">
+    <fo:page-sequence master-reference="simplePM">
+        <fo:flow flow-name="xsl-region-body">
+            <fo:block space-before.optimum="1cm" font-family="monospace" font-size="10pt" white-space-treatment="preserve" wrap-option="no-wrap">
  F I N A L    C A L C U L A T I O N                      AUD $      AUD $
    ----------------------------------
    L A B O U R            TIME BASIS   10 WU = 1 HR
@@ -32,8 +32,8 @@
    R E P A I R  C O S T S.......................................   1 466.70
    ----------------------
 C O M M E N T S :
-E-PART PRICES = MANUFACTURERS RRP.             *-POSITION = USER SUPPLIED DATA
-E-PART NUMBER IS NOT ORDER NUMBER              NN = NO MANUFACTURERS CODE EXISTS
+E-PART PRICES = MANUFACTURERS RRP.      *-POSITION = USER SUPPLIED DATA
+E-PART NUMBER IS NOT ORDER NUMBER       NN = NO MANUFACTURERS CODE EXISTS
 SKEZAX=WORKING UNITS AS PER AUDATEX       )=WU PARTIAL INCL IN OTHER POSITIONS
 C O N T R O L  -  I N F O R M A T I O N   NO         666          25.08.2000
 OWNER       MRS                         SARAH
@@ -54,14 +54,14 @@ MO-CODE
 - MODEL-OPTIONS          : E3 F3 I4 I7 J6 K2 M8 P8 Q6 Q7 V3 V6 W4 Z8
 PARTS / PAINTING
 - REP-METHOD/CODE-NO     : N  0741 LO
-                       </fo:block>
-                       
-               <fo:block keep-with-next="true" font-family="Helvetica" font-size="10pt">
-                       The following is the control page for the Repair Assessment. It includes the 
-                       <fo:inline font-weight="bold">Owner</fo:inline><fo:inline>, Reference No, Make, Reg No, and Options.</fo:inline>
-               </fo:block>
+            </fo:block>
+            
+            <fo:block keep-with-next="true" font-family="Helvetica" font-size="10pt">
+                The following is the control page for the Repair Assessment. It includes the 
+                <fo:inline font-weight="bold">Owner</fo:inline><fo:inline>, Reference No, Make, Reg No, and Options.</fo:inline>
+            </fo:block>
 
-                       <fo:block space-before.optimum="2cm" font-family="monospace" font-size="10pt" white-space-treatment="preserve" wrap-option="no-wrap">
+            <fo:block space-before.optimum="2cm" font-family="monospace" font-size="10pt" white-space-treatment="preserve" wrap-option="no-wrap">
 R E P A I R /-/ A S S E S S M E N T   NO         666              25.08.2000
 OWNER       MRS                         SARAH
             SCHAER                      GUNDELDINGERSTRASSE 131
@@ -82,7 +82,7 @@ OPTIONS     FROM VIN X_200001     LUGGAGE NET           ELECTRIC FRONT SEATS
             ALTERNATOR 120 AMP    4-SPEED AUTOMATIC     SPORTS SUSPENSION
             ANTI-LOCK BRAKES      ELECT STABILITY PROG  SUNROOF (ACCESSORY)
             2.7 LTR V6
-                       </fo:block>
-               </fo:flow>
-       </fo:page-sequence>
+            </fo:block>
+        </fo:flow>
+    </fo:page-sequence>
 </fo:root>
index b7507e99970fe4c5a9ca0309769e52639303e27f..6a08d3aff2a6f9f0f1c1726a628a96d22d13c218 100644 (file)
@@ -1,24 +1,24 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
-       <fo:layout-master-set>
-           <fo:simple-page-master master-name="simplePM"
-                         page-height="25cm" 
-                         page-width="20cm"
-                         margin-top="1cm" 
-                         margin-bottom="1cm" 
-                         margin-left="1.5cm" 
-                         margin-right="1.5cm">
-             <fo:region-before extent="2.5cm"/>
-             <fo:region-body margin-top="3cm" margin-bottom="3cm"/>
-             <fo:region-after extent="2.5cm"/>
-           </fo:simple-page-master>
-       </fo:layout-master-set>
+    <fo:layout-master-set>
+        <fo:simple-page-master master-name="simplePM"
+                      page-height="25cm" 
+                      page-width="20cm"
+                      margin-top="1cm" 
+                      margin-bottom="1cm" 
+                      margin-left="1.5cm" 
+                      margin-right="1.5cm">
+          <fo:region-before extent="2.5cm"/>
+          <fo:region-body margin-top="3cm" margin-bottom="3cm"/>
+          <fo:region-after extent="2.5cm"/>
+        </fo:simple-page-master>
+    </fo:layout-master-set>
 
-       <fo:page-sequence master-name="simplePM">
-           <fo:flow flow-name="xsl-region-body">
-                       <fo:block>
-                           <fo:leader leader-pattern="rule" rule-thickness="3.0pt"></fo:leader>                 
-                       </fo:block>
-               </fo:flow>
-       </fo:page-sequence>
+    <fo:page-sequence master-reference="simplePM">
+        <fo:flow flow-name="xsl-region-body">
+            <fo:block>
+                <fo:leader leader-pattern="rule" rule-thickness="3.0pt"></fo:leader>                 
+            </fo:block>
+        </fo:flow>
+    </fo:page-sequence>
 </fo:root>
index f871ee758c563d2c7839c6136c4f27dc517f4865..145fd608cb19abcae1f0b495b398f0b9d2818808 100644 (file)
@@ -1,59 +1,59 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
-       <fo:layout-master-set>
-           <fo:simple-page-master master-name="simplePM"
-                         page-height="25cm" 
-                         page-width="20cm"
-                         margin-top="1cm" 
-                         margin-bottom="1cm" 
-                         margin-left="1.5cm" 
-                         margin-right="1.5cm">
-             <fo:region-before extent="2.5cm"/>
-             <fo:region-body margin-top="3cm" margin-bottom="3cm"/>
-             <fo:region-after extent="2.5cm"/>
-           </fo:simple-page-master>
-       </fo:layout-master-set>
+    <fo:layout-master-set>
+        <fo:simple-page-master master-name="simplePM"
+                      page-height="25cm" 
+                      page-width="20cm"
+                      margin-top="1cm" 
+                      margin-bottom="1cm" 
+                      margin-left="1.5cm" 
+                      margin-right="1.5cm">
+          <fo:region-before extent="2.5cm"/>
+          <fo:region-body margin-top="3cm" margin-bottom="3cm"/>
+          <fo:region-after extent="2.5cm"/>
+        </fo:simple-page-master>
+    </fo:layout-master-set>
 
-       <fo:page-sequence master-name="simplePM">
-           <fo:flow flow-name="xsl-region-body">
-                       <fo:block letter-spacing="normal"> 
-                               This text is normally spaced.
-                               This text is normally spaced. 
-                               This text is normally spaced. 
-                               This text is normally spaced. 
-                               This text is normally spaced. 
-                       </fo:block>
+    <fo:page-sequence master-reference="simplePM">
+        <fo:flow flow-name="xsl-region-body">
+            <fo:block letter-spacing="normal"> 
+                This text is normally spaced.
+                This text is normally spaced. 
+                This text is normally spaced. 
+                This text is normally spaced. 
+                This text is normally spaced. 
+            </fo:block>
 
       
-                       <fo:block letter-spacing="1pt">  
-                               This text has inter-character intervals increased by 1pt.  
-                               This text has inter-character intervals increased by 1pt. 
-                               This text has inter-character intervals increased by 1pt.  
-                               This text has inter-character intervals increased by 1pt.
-                       </fo:block>
+            <fo:block letter-spacing="1pt">  
+                This text has inter-character intervals increased by 1pt.  
+                This text has inter-character intervals increased by 1pt. 
+                This text has inter-character intervals increased by 1pt.  
+                This text has inter-character intervals increased by 1pt.
+            </fo:block>
 
 
-                       <fo:block letter-spacing="8pt">  
-                               This text has inter-character intervals increased by 8pt.  
-                               This text has inter-character intervals increased by 8pt.  
-                               This text has inter-character intervals increased by 8pt.  
-                               This text has inter-character intervals increased by 8pt.
-                       </fo:block>
+            <fo:block letter-spacing="8pt">  
+                This text has inter-character intervals increased by 8pt.  
+                This text has inter-character intervals increased by 8pt.  
+                This text has inter-character intervals increased by 8pt.  
+                This text has inter-character intervals increased by 8pt.
+            </fo:block>
       
-                       <fo:block letter-spacing="0pt">  
-                               This text has inter-character intervals increased by 0pt (i.e. normally spaced).  
-                               This text has inter-character intervals increased by 0pt (i.e. normally spaced).  
-                               This text has inter-character intervals increased by 0pt (i.e. normally spaced).  
-                               This text has inter-character intervals increased by 0pt (i.e. normally spaced).
-                       </fo:block>
+            <fo:block letter-spacing="0pt">  
+                This text has inter-character intervals increased by 0pt (i.e. normally spaced).  
+                This text has inter-character intervals increased by 0pt (i.e. normally spaced).  
+                This text has inter-character intervals increased by 0pt (i.e. normally spaced).  
+                This text has inter-character intervals increased by 0pt (i.e. normally spaced).
+            </fo:block>
 
-                       <fo:block letter-spacing="-1pt">  
-                               This text has inter-character intervals increased by reduced by -1pt.
-                               This text has inter-character intervals increased by reduced by -1pt.
-                               This text has inter-character intervals increased by reduced by -1pt.
-                               This text has inter-character intervals increased by reduced by -1pt.
-                       </fo:block>
+            <fo:block letter-spacing="-1pt">  
+                This text has inter-character intervals increased by reduced by -1pt.
+                This text has inter-character intervals increased by reduced by -1pt.
+                This text has inter-character intervals increased by reduced by -1pt.
+                This text has inter-character intervals increased by reduced by -1pt.
+            </fo:block>
 
-               </fo:flow>
-       </fo:page-sequence>
+        </fo:flow>
+    </fo:page-sequence>
 </fo:root>
index eeb29bc04a03783b894b2113609e26ba2bab77db..200ee6a32bce29cfc25eeb5aaa3762dc7883d915 100644 (file)
 <?xml version="1.0" encoding="UTF-8"?>
 <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
-       <fo:layout-master-set>
-           <fo:simple-page-master master-name="simplePM"
-                         page-height="25cm" 
-                         page-width="20cm"
-                         margin-top="1cm" 
-                         margin-bottom="1cm" 
-                         margin-left="1.5cm" 
-                         margin-right="1.5cm">
-             <fo:region-before extent="2.5cm"/>
-             <fo:region-body margin-top="3cm" margin-bottom="3cm"/>
-             <fo:region-after extent="2.5cm"/>
-           </fo:simple-page-master>
-       </fo:layout-master-set>
+    <fo:layout-master-set>
+        <fo:simple-page-master master-name="simplePM"
+                      page-height="25cm" 
+                      page-width="20cm"
+                      margin-top="1cm" 
+                      margin-bottom="1cm" 
+                      margin-left="1.5cm" 
+                      margin-right="1.5cm">
+          <fo:region-before extent="2.5cm"/>
+          <fo:region-body margin-top="3cm" margin-bottom="3cm"/>
+          <fo:region-after extent="2.5cm"/>
+        </fo:simple-page-master>
+    </fo:layout-master-set>
 
-       <fo:page-sequence master-name="simplePM">
-           <fo:flow flow-name="xsl-region-body">
-                       <fo:block font-weight="bold" text-align="center">
-                               <fo:inline text-decoration="underline">
-                                       Absolute Values
-                               </fo:inline>
-                       </fo:block>
+    <fo:page-sequence master-reference="simplePM">
+        <fo:flow flow-name="xsl-region-body">
+            <fo:block font-weight="bold" text-align="center">
+                <fo:inline text-decoration="underline">
+                    Absolute Values
+                </fo:inline>
+            </fo:block>
 
 
-                       <fo:block line-height="12pt" font-size="8pt"> 
-                         This text has a fixed line height of 12pt and its font size is 8pt.
-                         This text has a fixed line height of 12pt and its font size is 8pt.
-                         This text has a fixed line height of 12pt and its font size is 8pt.
-                         This text has a fixed line height of 12pt and its font size is 8pt.
-                         This text has a fixed line height of 12pt and its font size is 8pt.
-                       </fo:block>
+            <fo:block line-height="12pt" font-size="8pt"> 
+              This text has a fixed line height of 12pt and its font size is 8pt.
+              This text has a fixed line height of 12pt and its font size is 8pt.
+              This text has a fixed line height of 12pt and its font size is 8pt.
+              This text has a fixed line height of 12pt and its font size is 8pt.
+              This text has a fixed line height of 12pt and its font size is 8pt.
+            </fo:block>
 
 
-                       <fo:block text-align="start" space-before.optimum="6pt" line-height="12pt" font-size="12pt"> 
-                         This text has a fixed line height of 12pt and its font size is 12pt.
-                         This text has a fixed line height of 12pt and its font size is 12pt.
-                         This text has a fixed line height of 12pt and its font size is 12pt.
-                         This text has a fixed line height of 12pt and its font size is 12pt.
-                         This text has a fixed line height of 12pt and its font size is 12pt.
-                       </fo:block>
+            <fo:block text-align="start" space-before.optimum="6pt" line-height="12pt" font-size="12pt"> 
+              This text has a fixed line height of 12pt and its font size is 12pt.
+              This text has a fixed line height of 12pt and its font size is 12pt.
+              This text has a fixed line height of 12pt and its font size is 12pt.
+              This text has a fixed line height of 12pt and its font size is 12pt.
+              This text has a fixed line height of 12pt and its font size is 12pt.
+            </fo:block>
 
 
-                       <fo:block text-align="start" space-before.optimum="6pt" line-height="12pt" font-size="16pt"> 
-                         This text has a fixed line height of 12pt and its font size is 16pt.
-                         This text has a fixed line height of 12pt and its font size is 16pt.
-                         This text has a fixed line height of 12pt and its font size is 16pt.
-                         This text has a fixed line height of 12pt and its font size is 16pt.
-                         This text has a fixed line height of 12pt and its font size is 16pt.
-                       </fo:block>
+            <fo:block text-align="start" space-before.optimum="6pt" line-height="12pt" font-size="16pt"> 
+              This text has a fixed line height of 12pt and its font size is 16pt.
+              This text has a fixed line height of 12pt and its font size is 16pt.
+              This text has a fixed line height of 12pt and its font size is 16pt.
+              This text has a fixed line height of 12pt and its font size is 16pt.
+              This text has a fixed line height of 12pt and its font size is 16pt.
+            </fo:block>
 
-                       <fo:block font-weight="bold" text-align="center">
-                               <fo:inline text-decoration="underline">
-                                       Relative Values
-                               </fo:inline>
-                       </fo:block>
+            <fo:block font-weight="bold" text-align="center">
+                <fo:inline text-decoration="underline">
+                    Relative Values
+                </fo:inline>
+            </fo:block>
 
-                       <fo:block text-align="start" space-before.optimum="6pt" line-height="normal" font-size="10pt"> 
-                         This text has a normal line height at font size of 10pt.
-                         This text has a normal line height at font size of 10pt.
-                         This text has a normal line height at font size of 10pt.
-                         This text has a normal line height at font size of 10pt.
-                         This text has a normal line height at font size of 10pt.
-                       </fo:block>
+            <fo:block text-align="start" space-before.optimum="6pt" line-height="normal" font-size="10pt"> 
+              This text has a normal line height at font size of 10pt.
+              This text has a normal line height at font size of 10pt.
+              This text has a normal line height at font size of 10pt.
+              This text has a normal line height at font size of 10pt.
+              This text has a normal line height at font size of 10pt.
+            </fo:block>
 
-                       <fo:block text-align="start" space-before.optimum="6pt" line-height="normal" font-size="14pt"> 
-                         This text has a normal line height at font size of 14pt.
-                         This text has a normal line height at font size of 14pt.
-                         This text has a normal line height at font size of 14pt.
-                         This text has a normal line height at font size of 14pt.
-                         This text has a normal line height at font size of 14pt.
-                       </fo:block>
+            <fo:block text-align="start" space-before.optimum="6pt" line-height="normal" font-size="14pt"> 
+              This text has a normal line height at font size of 14pt.
+              This text has a normal line height at font size of 14pt.
+              This text has a normal line height at font size of 14pt.
+              This text has a normal line height at font size of 14pt.
+              This text has a normal line height at font size of 14pt.
+            </fo:block>
 
-                       <fo:block text-align="start" space-before.optimum="6pt" line-height="1.0" font-size="10pt"> 
-                         This text is single-spaced at font size of 10pt.
-                         This text is single-spaced at font size of 10pt.
-                         This text is single-spaced at font size of 10pt.
-                         This text is single-spaced at font size of 10pt.
-                         This text is single-spaced at font size of 10pt.
-                       </fo:block>
+            <fo:block text-align="start" space-before.optimum="6pt" line-height="1.0" font-size="10pt"> 
+              This text is single-spaced at font size of 10pt.
+              This text is single-spaced at font size of 10pt.
+              This text is single-spaced at font size of 10pt.
+              This text is single-spaced at font size of 10pt.
+              This text is single-spaced at font size of 10pt.
+            </fo:block>
 
-                       <fo:block text-align="start" space-before.optimum="6pt" line-height="1.0" font-size="14pt"> 
-                         This text is single-spaced at font size of 14pt.
-                         This text is single-spaced at font size of 14pt.
-                         This text is single-spaced at font size of 14pt.
-                         This text is single-spaced at font size of 14pt.
-                         This text is single-spaced at font size of 14pt.
-                       </fo:block>
+            <fo:block text-align="start" space-before.optimum="6pt" line-height="1.0" font-size="14pt"> 
+              This text is single-spaced at font size of 14pt.
+              This text is single-spaced at font size of 14pt.
+              This text is single-spaced at font size of 14pt.
+              This text is single-spaced at font size of 14pt.
+              This text is single-spaced at font size of 14pt.
+            </fo:block>
 
-                       <fo:block text-align="start" space-before.optimum="6pt" line-height="2.0" font-size="10pt"> 
-                         This text is double-spaced at font size of 10pt.
-                         This text is double-spaced at font size of 10pt.
-                         This text is double-spaced at font size of 10pt.
-                         This text is double-spaced at font size of 10pt.
-                         This text is double-spaced at font size of 10pt.
-                       </fo:block>
+            <fo:block text-align="start" space-before.optimum="6pt" line-height="2.0" font-size="10pt"> 
+              This text is double-spaced at font size of 10pt.
+              This text is double-spaced at font size of 10pt.
+              This text is double-spaced at font size of 10pt.
+              This text is double-spaced at font size of 10pt.
+              This text is double-spaced at font size of 10pt.
+            </fo:block>
 
-                       <fo:block text-align="start" space-before.optimum="6pt" line-height="2.0" font-size="14pt"> 
-                         This text is double-spaced at font size of 14pt.
-                         This text is double-spaced at font size of 14pt.
-                         This text is double-spaced at font size of 14pt.
-                         This text is double-spaced at font size of 14pt.
-                         This text is double-spaced at font size of 14pt.
-                       </fo:block>
+            <fo:block text-align="start" space-before.optimum="6pt" line-height="2.0" font-size="14pt"> 
+              This text is double-spaced at font size of 14pt.
+              This text is double-spaced at font size of 14pt.
+              This text is double-spaced at font size of 14pt.
+              This text is double-spaced at font size of 14pt.
+              This text is double-spaced at font size of 14pt.
+            </fo:block>
     
-           </fo:flow>
-       </fo:page-sequence>
+        </fo:flow>
+    </fo:page-sequence>
 </fo:root>
index 6ee1fa5ae4081abb03d0a6d59711d96b39ed666c..752034aaa137e5edddabd62f8a4d3d6578b2a4d5 100644 (file)
@@ -16,7 +16,7 @@
   </fo:layout-master-set>
 
   <!-- starts actual layout -->
-  <fo:page-sequence master-name="first">
+  <fo:page-sequence master-reference="first">
 
   <!-- Inserts a header with the page number -->
   <fo:static-content flow-name="xsl-region-before">
index 1e7742d89d0a55330417310f43f6af88f8e768ff..c2ec3a7e838e151d1a6d2f27528d86ecc6a3ede8 100644 (file)
@@ -16,7 +16,7 @@
   </fo:layout-master-set>
 
   <!-- starts actual layout -->
-  <fo:page-sequence master-name="first">
+  <fo:page-sequence master-reference="first">
 
   <!-- Inserts a header with the page number -->
   <fo:static-content flow-name="xsl-region-before">
index c7f5c70572884927240269b5dd7b2b4e37dfce1b..1c3768d2c38818d6fb1cae39962365c20d9ac3d8 100644 (file)
@@ -16,7 +16,7 @@
   </fo:layout-master-set>
 
   <!-- starts actual layout -->
-  <fo:page-sequence master-name="first">
+  <fo:page-sequence master-reference="first">
 
   <!-- Inserts a header with the page number -->
   <fo:static-content flow-name="xsl-region-before">
index 8475a530691835d38fdc88189d5b056def925086..487734da2e3298e1b6579ba593d3a4e77f320332 100644 (file)
@@ -1,88 +1,88 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
-       <fo:layout-master-set>
-           <fo:simple-page-master master-name="simplePM"
-                         page-height="25cm" 
-                         page-width="20cm"
-                         margin-top="1cm" 
-                         margin-bottom="1cm" 
-                         margin-left="1.5cm" 
-                         margin-right="1.5cm">
-             <fo:region-before extent="2.5cm"/>
-             <fo:region-body margin-top="3cm" margin-bottom="3cm"/>
-             <fo:region-after extent="2.5cm"/>
-           </fo:simple-page-master>
-       </fo:layout-master-set>
+    <fo:layout-master-set>
+        <fo:simple-page-master master-name="simplePM"
+                      page-height="25cm" 
+                      page-width="20cm"
+                      margin-top="1cm" 
+                      margin-bottom="1cm" 
+                      margin-left="1.5cm" 
+                      margin-right="1.5cm">
+          <fo:region-before extent="2.5cm"/>
+          <fo:region-body margin-top="3cm" margin-bottom="3cm"/>
+          <fo:region-after extent="2.5cm"/>
+        </fo:simple-page-master>
+    </fo:layout-master-set>
 
-       <fo:page-sequence master-name="simplePM">
-           <fo:flow flow-name="xsl-region-body">
+    <fo:page-sequence master-reference="simplePM">
+        <fo:flow flow-name="xsl-region-body">
 
-             <fo:block font-size="18pt" 
-                   font-family="sans-serif" 
-                   line-height="24pt"
-                   space-after.optimum="15pt"
-                   background-color="blue"
-                   color="white"
-                   padding-top="6pt">
-               Extensible Markup Language (XML) 1.0 with padding
-             </fo:block>
+          <fo:block font-size="18pt" 
+                font-family="sans-serif" 
+                line-height="24pt"
+                space-after.optimum="15pt"
+                background-color="blue"
+                color="white"
+                padding-top="6pt">
+            Extensible Markup Language (XML) 1.0 with padding
+          </fo:block>
 
-             <fo:block font-size="18pt" 
-                   font-family="sans-serif" 
-                   line-height="24pt"
-                   space-after.optimum="15pt"
-                   background-color="blue"
-                   color="white">
-               Extensible Markup Language (XML) 1.0 without padding
-             </fo:block>
-             
-             <fo:block-container border-width="1pt" height="5cm" width="5cm" padding-top="1cm">
-               <fo:block>
-                       This block-container has a top padding of 1 cm.
-               </fo:block>
-             </fo:block-container>
+          <fo:block font-size="18pt" 
+                font-family="sans-serif" 
+                line-height="24pt"
+                space-after.optimum="15pt"
+                background-color="blue"
+                color="white">
+            Extensible Markup Language (XML) 1.0 without padding
+          </fo:block>
+          
+          <fo:block-container border-width="1pt" height="5cm" width="5cm" padding-top="1cm">
+            <fo:block>
+                This block-container has a top padding of 1 cm.
+            </fo:block>
+          </fo:block-container>
 
-             <fo:block-container border-width="1pt" height="5cm" width="5cm" padding-bottom="1cm">
-               <fo:block>
-                       bottom padding of 1 cm.
-               </fo:block>
-             </fo:block-container>
+          <fo:block-container border-width="1pt" height="5cm" width="5cm" padding-bottom="1cm">
+            <fo:block>
+                bottom padding of 1 cm.
+            </fo:block>
+          </fo:block-container>
 
-             <fo:block-container border-width="1pt" height="5cm" width="5cm" padding-left="1cm">
-               <fo:block>
-                       left padding of 1 cm.
-               </fo:block>
-             </fo:block-container>
+          <fo:block-container border-width="1pt" height="5cm" width="5cm" padding-left="1cm">
+            <fo:block>
+                left padding of 1 cm.
+            </fo:block>
+          </fo:block-container>
 
-             <fo:block-container border-width="1pt" height="5cm" width="5cm" padding-right="1cm">
-               <fo:block>
-                       right padding of 1 cm.
-               </fo:block>
-             </fo:block-container>
-             
-             <fo:block-container border-width="1pt" height="5cm" width="5cm" padding-before="1cm">
-               <fo:block>
-                       This block-container has a before padding of 1 cm.
-               </fo:block>
-             </fo:block-container>
+          <fo:block-container border-width="1pt" height="5cm" width="5cm" padding-right="1cm">
+            <fo:block>
+                right padding of 1 cm.
+            </fo:block>
+          </fo:block-container>
+          
+          <fo:block-container border-width="1pt" height="5cm" width="5cm" padding-before="1cm">
+            <fo:block>
+                This block-container has a before padding of 1 cm.
+            </fo:block>
+          </fo:block-container>
 
-             <fo:block-container border-width="1pt" height="5cm" width="5cm" padding-after="1cm">
-               <fo:block>
-                       after padding of 1 cm.
-               </fo:block>
-             </fo:block-container>
+          <fo:block-container border-width="1pt" height="5cm" width="5cm" padding-after="1cm">
+            <fo:block>
+                after padding of 1 cm.
+            </fo:block>
+          </fo:block-container>
 
-             <fo:block-container border-width="1pt" height="5cm" width="5cm" padding-start="1cm">
-               <fo:block>
-                       start padding of 1 cm.
-               </fo:block>
-             </fo:block-container>
+          <fo:block-container border-width="1pt" height="5cm" width="5cm" padding-start="1cm">
+            <fo:block>
+                start padding of 1 cm.
+            </fo:block>
+          </fo:block-container>
 
-             <fo:block-container border-width="1pt" height="5cm" width="5cm" padding-end="1cm">
-               <fo:block>
-                       end padding of 1 cm.
-               </fo:block>
-             </fo:block-container>
-               </fo:flow>
-       </fo:page-sequence>
+          <fo:block-container border-width="1pt" height="5cm" width="5cm" padding-end="1cm">
+            <fo:block>
+                end padding of 1 cm.
+            </fo:block>
+          </fo:block-container>
+        </fo:flow>
+    </fo:page-sequence>
 </fo:root>
index 13fb110b9c51d3df3a4bac9468ddc9426bce494c..7adb5f1db54e965b3c3aa95fe24d1cbcd65571cc 100644 (file)
@@ -1,24 +1,24 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
-       <fo:layout-master-set>
-           <fo:simple-page-master master-name="simplePM"
-                         page-height="25cm" 
-                         page-width="20cm"
-                         margin-top="1cm" 
-                         margin-bottom="1cm" 
-                         margin-left="1.5cm" 
-                         margin-right="1.5cm">
-             <fo:region-before extent="2.5cm"/>
-             <fo:region-body margin-top="3cm" margin-bottom="3cm"/>
-             <fo:region-after extent="2.5cm"/>
-           </fo:simple-page-master>
-       </fo:layout-master-set>
+    <fo:layout-master-set>
+        <fo:simple-page-master master-name="simplePM"
+                      page-height="25cm" 
+                      page-width="20cm"
+                      margin-top="1cm" 
+                      margin-bottom="1cm" 
+                      margin-left="1.5cm" 
+                      margin-right="1.5cm">
+          <fo:region-before extent="2.5cm"/>
+          <fo:region-body margin-top="3cm" margin-bottom="3cm"/>
+          <fo:region-after extent="2.5cm"/>
+        </fo:simple-page-master>
+    </fo:layout-master-set>
 
-       <fo:page-sequence master-name="simplePM">
-           <fo:flow flow-name="xsl-region-body">
-                       <fo:block>
-                               This is Page Number <fo:page-number/>.
-                       </fo:block>
-               </fo:flow>
-       </fo:page-sequence>
+    <fo:page-sequence master-reference="simplePM">
+        <fo:flow flow-name="xsl-region-body">
+            <fo:block>
+                This is Page Number <fo:page-number/>.
+            </fo:block>
+        </fo:flow>
+    </fo:page-sequence>
 </fo:root>
index c0a3032d6d4001f216f298459a7c17d0c93a89d2..15b5da8dbda88ecdb08f39d77d2bb3dcd5ef53a1 100644 (file)
@@ -1,85 +1,85 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
-       <fo:layout-master-set>
-           <fo:simple-page-master master-name="simplePM"
-                         page-height="25cm" 
-                         page-width="20cm"
-                         margin-top="1cm" 
-                         margin-bottom="1cm" 
-                         margin-left="1.5cm" 
-                         margin-right="1.5cm">
-             <fo:region-before extent="2.5cm"/>
-             <fo:region-body margin-top="3cm" margin-bottom="3cm"/>
-             <fo:region-after extent="2.5cm"/>
-           </fo:simple-page-master>
-       </fo:layout-master-set>
+    <fo:layout-master-set>
+        <fo:simple-page-master master-name="simplePM"
+                      page-height="25cm" 
+                      page-width="20cm"
+                      margin-top="1cm" 
+                      margin-bottom="1cm" 
+                      margin-left="1.5cm" 
+                      margin-right="1.5cm">
+          <fo:region-before extent="2.5cm"/>
+          <fo:region-body margin-top="3cm" margin-bottom="3cm"/>
+          <fo:region-after extent="2.5cm"/>
+        </fo:simple-page-master>
+    </fo:layout-master-set>
 
-       <fo:page-sequence master-name="simplePM">
-           <fo:flow flow-name="xsl-region-body">
-                       <fo:block space-before.optimum="1cm">
-                               leader-pattern="rule" rule-style="solid" rule-thickness="0.5pt"
-                       </fo:block>
-                       <fo:block space-before.optimum="1cm">
-                           <fo:leader leader-pattern="rule" rule-style="solid" rule-thickness="0.5pt"></fo:leader>
-                       </fo:block>
-                       <fo:block space-before.optimum="1cm">
-                           <fo:leader leader-pattern="rule" rule-style="solid" rule-thickness="1pt"></fo:leader>                 
-                       </fo:block>
-                       <fo:block space-before.optimum="1cm">
-                           <fo:leader leader-pattern="rule" rule-style="solid" rule-thickness="3pt"></fo:leader>
-                       </fo:block>
-                       <fo:block space-before.optimum="1cm">
-                           <fo:leader leader-pattern="rule" rule-style="solid" rule-thickness="3mm"></fo:leader>                 
-                       </fo:block>
+    <fo:page-sequence master-reference="simplePM">
+        <fo:flow flow-name="xsl-region-body">
+            <fo:block space-before.optimum="1cm">
+                leader-pattern="rule" rule-style="solid" rule-thickness="0.5pt"
+            </fo:block>
+            <fo:block space-before.optimum="1cm">
+                <fo:leader leader-pattern="rule" rule-style="solid" rule-thickness="0.5pt"></fo:leader>
+            </fo:block>
+            <fo:block space-before.optimum="1cm">
+                <fo:leader leader-pattern="rule" rule-style="solid" rule-thickness="1pt"></fo:leader>                 
+            </fo:block>
+            <fo:block space-before.optimum="1cm">
+                <fo:leader leader-pattern="rule" rule-style="solid" rule-thickness="3pt"></fo:leader>
+            </fo:block>
+            <fo:block space-before.optimum="1cm">
+                <fo:leader leader-pattern="rule" rule-style="solid" rule-thickness="3mm"></fo:leader>                 
+            </fo:block>
 
-                       <fo:block space-before.optimum="1cm">
-                               leader-pattern="rule" rule-style="dotted" rule-thickness="0.5pt"
-                       </fo:block>
-                       <fo:block space-before.optimum="1cm">
-                           <fo:leader leader-pattern="rule" rule-style="dotted" rule-thickness="0.5pt"></fo:leader>                 
-                       </fo:block>
-                       <fo:block space-before.optimum="1cm">
-                           <fo:leader leader-pattern="rule" rule-style="dotted" rule-thickness="1pt"></fo:leader>                 
-                       </fo:block>
-                       <fo:block space-before.optimum="1cm">
-                           <fo:leader leader-pattern="rule" rule-style="dotted" rule-thickness="3pt"></fo:leader>                 
-                       </fo:block>
-                       <fo:block space-before.optimum="1cm">
-                           <fo:leader leader-pattern="rule" rule-style="dotted" rule-thickness="5mm"></fo:leader>                 
-                       </fo:block>
+            <fo:block space-before.optimum="1cm">
+                leader-pattern="rule" rule-style="dotted" rule-thickness="0.5pt"
+            </fo:block>
+            <fo:block space-before.optimum="1cm">
+                <fo:leader leader-pattern="rule" rule-style="dotted" rule-thickness="0.5pt"></fo:leader>                 
+            </fo:block>
+            <fo:block space-before.optimum="1cm">
+                <fo:leader leader-pattern="rule" rule-style="dotted" rule-thickness="1pt"></fo:leader>                 
+            </fo:block>
+            <fo:block space-before.optimum="1cm">
+                <fo:leader leader-pattern="rule" rule-style="dotted" rule-thickness="3pt"></fo:leader>                 
+            </fo:block>
+            <fo:block space-before.optimum="1cm">
+                <fo:leader leader-pattern="rule" rule-style="dotted" rule-thickness="5mm"></fo:leader>                 
+            </fo:block>
 
-                       <fo:block space-before.optimum="1cm">
-                               leader-pattern="rule" rule-dashed="dotted" rule-thickness="0.5pt"
-                       </fo:block>
-                       <fo:block space-before.optimum="1cm">
-                           <fo:leader leader-pattern="rule" rule-style="dashed" rule-thickness="0.5pt"></fo:leader>                 
-                       </fo:block>
-                       <fo:block space-before.optimum="1cm">
-                           <fo:leader leader-pattern="rule" rule-style="dashed" rule-thickness="1pt"></fo:leader>                 
-                       </fo:block>
-                       <fo:block space-before.optimum="1cm">
-                           <fo:leader leader-pattern="rule" rule-style="dashed" rule-thickness="3pt"></fo:leader>                 
-                       </fo:block>
-                       <fo:block space-before.optimum="1cm">
-                           <fo:leader leader-pattern="rule" rule-style="dashed" rule-thickness="1mm"></fo:leader>                 
-                       </fo:block>
+            <fo:block space-before.optimum="1cm">
+                leader-pattern="rule" rule-dashed="dotted" rule-thickness="0.5pt"
+            </fo:block>
+            <fo:block space-before.optimum="1cm">
+                <fo:leader leader-pattern="rule" rule-style="dashed" rule-thickness="0.5pt"></fo:leader>                 
+            </fo:block>
+            <fo:block space-before.optimum="1cm">
+                <fo:leader leader-pattern="rule" rule-style="dashed" rule-thickness="1pt"></fo:leader>                 
+            </fo:block>
+            <fo:block space-before.optimum="1cm">
+                <fo:leader leader-pattern="rule" rule-style="dashed" rule-thickness="3pt"></fo:leader>                 
+            </fo:block>
+            <fo:block space-before.optimum="1cm">
+                <fo:leader leader-pattern="rule" rule-style="dashed" rule-thickness="1mm"></fo:leader>                 
+            </fo:block>
 
-                       <fo:block space-before.optimum="1cm">
-                               leader-pattern="rule" rule-style="double" rule-thickness="0.5pt"
-                       </fo:block>
-                       <fo:block space-before.optimum="1cm">
-                           <fo:leader leader-pattern="rule" rule-style="double" rule-thickness="0.5pt"></fo:leader>                 
-                       </fo:block>
-                       <fo:block space-before.optimum="1cm">
-                           <fo:leader leader-pattern="rule" rule-style="double" rule-thickness="1pt"></fo:leader>                 
-                       </fo:block>
-                       <fo:block space-before.optimum="1cm">
-                           <fo:leader leader-pattern="rule" rule-style="double" rule-thickness="3pt"></fo:leader>                 
-                       </fo:block>
-                       <fo:block space-before.optimum="1cm">
-                           <fo:leader leader-pattern="rule" rule-style="double" rule-thickness="1mm"></fo:leader>                 
-                       </fo:block>
+            <fo:block space-before.optimum="1cm">
+                leader-pattern="rule" rule-style="double" rule-thickness="0.5pt"
+            </fo:block>
+            <fo:block space-before.optimum="1cm">
+                <fo:leader leader-pattern="rule" rule-style="double" rule-thickness="0.5pt"></fo:leader>                 
+            </fo:block>
+            <fo:block space-before.optimum="1cm">
+                <fo:leader leader-pattern="rule" rule-style="double" rule-thickness="1pt"></fo:leader>                 
+            </fo:block>
+            <fo:block space-before.optimum="1cm">
+                <fo:leader leader-pattern="rule" rule-style="double" rule-thickness="3pt"></fo:leader>                 
+            </fo:block>
+            <fo:block space-before.optimum="1cm">
+                <fo:leader leader-pattern="rule" rule-style="double" rule-thickness="1mm"></fo:leader>                 
+            </fo:block>
 
-               </fo:flow>
-       </fo:page-sequence>
+        </fo:flow>
+    </fo:page-sequence>
 </fo:root>
index 75f22ee592c1c28c936b90b3f4862aa282687757..b27b00334672499a0bbdfebbe293b5e9b4fefcea 100644 (file)
@@ -1,29 +1,29 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
-       <fo:layout-master-set>
-           <fo:simple-page-master master-name="simplePM"
-                         page-height="25cm" 
-                         page-width="20cm"
-                         margin-top="1cm" 
-                         margin-bottom="1cm" 
-                         margin-left="1.5cm" 
-                         margin-right="1.5cm">
-             <fo:region-before extent="2.5cm"/>
-             <fo:region-body margin-top="3cm" margin-bottom="3cm"/>
-             <fo:region-after extent="2.5cm"/>
-           </fo:simple-page-master>
-       </fo:layout-master-set>
+    <fo:layout-master-set>
+        <fo:simple-page-master master-name="simplePM"
+                      page-height="25cm" 
+                      page-width="20cm"
+                      margin-top="1cm" 
+                      margin-bottom="1cm" 
+                      margin-left="1.5cm" 
+                      margin-right="1.5cm">
+          <fo:region-before extent="2.5cm"/>
+          <fo:region-body margin-top="3cm" margin-bottom="3cm"/>
+          <fo:region-after extent="2.5cm"/>
+        </fo:simple-page-master>
+    </fo:layout-master-set>
 
-       <fo:page-sequence master-name="simplePM">
-           <fo:flow flow-name="xsl-region-body">
-                       <fo:block text-align="start">
-                               <fo:basic-link external-destination="font.pdf">Link to font.pdf</fo:basic-link>
-                       </fo:block>
+    <fo:page-sequence master-reference="simplePM">
+        <fo:flow flow-name="xsl-region-body">
+            <fo:block text-align="start">
+                <fo:basic-link external-destination="font.pdf">Link to font.pdf</fo:basic-link>
+            </fo:block>
 
-                       <fo:block text-align="start">
-                               <fo:basic-link external-destination="http://www.wilco-int.com">Link to Wilco International</fo:basic-link>
-                       </fo:block>
+            <fo:block text-align="start">
+                <fo:basic-link external-destination="http://www.wilco-int.com">Link to Wilco International</fo:basic-link>
+            </fo:block>
 
-               </fo:flow>
-       </fo:page-sequence>
+        </fo:flow>
+    </fo:page-sequence>
 </fo:root>
index 29cf8e2dfbf00e9fcf0e8fd7286bf22690632fab..dc66e519e2a220c6369fcff4ea0aa929b8f097c7 100644 (file)
@@ -1,26 +1,26 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
-       <fo:layout-master-set>
-           <fo:simple-page-master master-name="simplePM"
-                         page-height="11in" 
-                         page-width="8.5in"
-                         margin-top="1cm" 
-                         margin-bottom="1cm" 
-                         margin-left="1in" 
-                         margin-right="0.75in">
-             <fo:region-before extent="2.5cm"/>
-             <fo:region-body margin-top="3cm" margin-bottom="3cm"/>
-             <fo:region-after extent="2.5cm"/>
-           </fo:simple-page-master>
-       </fo:layout-master-set>
+    <fo:layout-master-set>
+        <fo:simple-page-master master-name="simplePM"
+                      page-height="11in" 
+                      page-width="8.5in"
+                      margin-top="1cm" 
+                      margin-bottom="1cm" 
+                      margin-left="1in" 
+                      margin-right="0.75in">
+          <fo:region-before extent="2.5cm"/>
+          <fo:region-body margin-top="3cm" margin-bottom="3cm"/>
+          <fo:region-after extent="2.5cm"/>
+        </fo:simple-page-master>
+    </fo:layout-master-set>
 
-       <fo:page-sequence master-name="simplePM">
-           <fo:flow flow-name="xsl-region-body">
-               <fo:block space-after.optimum="1cm">
-                       The text below is in monospace font(useful for displayed formatted text, program code etc.)
-               </fo:block>
+    <fo:page-sequence master-reference="simplePM">
+        <fo:flow flow-name="xsl-region-body">
+            <fo:block space-after.optimum="1cm">
+                The text below is in monospace font(useful for displayed formatted text, program code etc.)
+            </fo:block>
 
-                       <fo:block space-before.optimum="1cm" font-family="monospace" font-size="10pt" white-space-treatment="preserve" wrap-option="no-wrap">
+            <fo:block space-before.optimum="1cm" font-family="monospace" font-size="10pt" white-space-treatment="preserve" wrap-option="no-wrap">
 OWNER       MR                    DHARAMVEER
             SALECHA                    
 
@@ -33,7 +33,7 @@ OPTIONS     FROM VIN X_200001     LUGGAGE NET           ELECTRIC FRONT SEATS
             ALTERNATOR 120 AMP    4-SPEED AUTOMATIC     SPORTS SUSPENSION
             ANTI-LOCK BRAKES      ELECT STABILITY PROG  SUNROOF (ACCESSORY)
             2.7 LTR V6
-                       </fo:block>
-               </fo:flow>
-       </fo:page-sequence>
+            </fo:block>
+        </fo:flow>
+    </fo:page-sequence>
 </fo:root>
index f9556759523d46cad71cfbef6f5fb18a718f62b6..d31c9af2812c37c750f204c90128920e25fd2d8d 100644 (file)
@@ -1,67 +1,67 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
-       <fo:layout-master-set>
-           <fo:simple-page-master master-name="simplePM"
-                         page-height="25cm" 
-                         page-width="20cm"
-                         margin-top="1cm" 
-                         margin-bottom="1cm" 
-                         margin-left="1.5cm" 
-                         margin-right="1.5cm">
-             <fo:region-before extent="2.5cm"/>
-             <fo:region-body margin-top="3cm" margin-bottom="3cm"/>
-             <fo:region-after extent="2.5cm"/>
-           </fo:simple-page-master>
-       </fo:layout-master-set>
+    <fo:layout-master-set>
+        <fo:simple-page-master master-name="simplePM"
+                      page-height="25cm" 
+                      page-width="20cm"
+                      margin-top="1cm" 
+                      margin-bottom="1cm" 
+                      margin-left="1.5cm" 
+                      margin-right="1.5cm">
+          <fo:region-before extent="2.5cm"/>
+          <fo:region-body margin-top="3cm" margin-bottom="3cm"/>
+          <fo:region-after extent="2.5cm"/>
+        </fo:simple-page-master>
+    </fo:layout-master-set>
 
-       <fo:page-sequence master-name="simplePM">
-           <fo:flow flow-name="xsl-region-body">
-                       <fo:block space-after.optimum="1cm">
-                               space-after.optimum="1cm"
-                               This is a simple fo block.
-                               This is a simple fo block.
-                               This is a simple fo block.
-                               This is a simple fo block.
-                       </fo:block>
-                       <fo:block>
-                               This is a simple fo block.
-                               This is a simple fo block.
-                               This is a simple fo block.
-                               This is a simple fo block.
-                       </fo:block>
-                       <fo:block space-before.optimum="1cm" space-after.optimum="1cm">
-                               space-before.optimum="1cm" space-after.optimum="1cm"
-                               This is a simple fo block.
-                               This is a simple fo block.
-                               This is a simple fo block.
-                               This is a simple fo block.
-                       </fo:block>
-                       <fo:block space-before.optimum="1cm" space-after.optimum="1cm">
-                               space-before.optimum="1cm" space-after.optimum="1cm"
-                               This is a simple fo block.
-                               This is a simple fo block.
-                               This is a simple fo block.
-                               This is a simple fo block.
-                       </fo:block>
-                       <fo:block>
-                               This is a simple fo block.
-                               This is a simple fo block.
-                               This is a simple fo block.
-                               This is a simple fo block.
-                       </fo:block>
-                       <fo:block space-before.optimum="1cm">
-                               space-before.optimum="1cm"
-                               This is a simple fo block.
-                               This is a simple fo block.
-                               This is a simple fo block.
-                               This is a simple fo block.
-                       </fo:block>
-                       <fo:block>
-                               This is a simple fo block.
-                               This is a simple fo block.
-                               This is a simple fo block.
-                               This is a simple fo block.
-                       </fo:block>
-               </fo:flow>
-       </fo:page-sequence>
+    <fo:page-sequence master-reference="simplePM">
+        <fo:flow flow-name="xsl-region-body">
+            <fo:block space-after.optimum="1cm">
+                space-after.optimum="1cm"
+                This is a simple fo block.
+                This is a simple fo block.
+                This is a simple fo block.
+                This is a simple fo block.
+            </fo:block>
+            <fo:block>
+                This is a simple fo block.
+                This is a simple fo block.
+                This is a simple fo block.
+                This is a simple fo block.
+            </fo:block>
+            <fo:block space-before.optimum="1cm" space-after.optimum="1cm">
+                space-before.optimum="1cm" space-after.optimum="1cm"
+                This is a simple fo block.
+                This is a simple fo block.
+                This is a simple fo block.
+                This is a simple fo block.
+            </fo:block>
+            <fo:block space-before.optimum="1cm" space-after.optimum="1cm">
+                space-before.optimum="1cm" space-after.optimum="1cm"
+                This is a simple fo block.
+                This is a simple fo block.
+                This is a simple fo block.
+                This is a simple fo block.
+            </fo:block>
+            <fo:block>
+                This is a simple fo block.
+                This is a simple fo block.
+                This is a simple fo block.
+                This is a simple fo block.
+            </fo:block>
+            <fo:block space-before.optimum="1cm">
+                space-before.optimum="1cm"
+                This is a simple fo block.
+                This is a simple fo block.
+                This is a simple fo block.
+                This is a simple fo block.
+            </fo:block>
+            <fo:block>
+                This is a simple fo block.
+                This is a simple fo block.
+                This is a simple fo block.
+                This is a simple fo block.
+            </fo:block>
+        </fo:flow>
+    </fo:page-sequence>
 </fo:root>
index 7efcf621a1ce3410ce8fa60688dc252edfe46284..451c0e6f22d62c65d783e5defc902811da5fba22 100644 (file)
@@ -1,42 +1,42 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
-       <fo:layout-master-set>
-           <fo:simple-page-master master-name="simplePM"
-                         page-height="25cm" 
-                         page-width="20cm"
-                         margin-top="1cm" 
-                         margin-bottom="1cm" 
-                         margin-left="1.5cm" 
-                         margin-right="1.5cm">
-             <fo:region-before extent="2.5cm"/>
-             <fo:region-body margin-top="3cm" margin-bottom="3cm"/>
-             <fo:region-after extent="2.5cm"/>
-           </fo:simple-page-master>
-       </fo:layout-master-set>
+    <fo:layout-master-set>
+        <fo:simple-page-master master-name="simplePM"
+                      page-height="25cm" 
+                      page-width="20cm"
+                      margin-top="1cm" 
+                      margin-bottom="1cm" 
+                      margin-left="1.5cm" 
+                      margin-right="1.5cm">
+          <fo:region-before extent="2.5cm"/>
+          <fo:region-body margin-top="3cm" margin-bottom="3cm"/>
+          <fo:region-after extent="2.5cm"/>
+        </fo:simple-page-master>
+    </fo:layout-master-set>
 
-       <fo:page-sequence master-name="simplePM">
-           <fo:flow flow-name="xsl-region-body">
-                       <fo:block>
-                               This is a simple fo block.
-                       </fo:block>
-                       <fo:block space-before.optimum="1cm" text-align="start">
-                               This is a simple fo block with text aligned to start. 
-                               dfdsfaaaaafdsfasdf fadsfadsssf fadsfdsfadsf dfadsfdfasdsfsd dsfadfdsfadsfadsfdf
-                               dfdsfaaaaafdsfasdf fadsfadsssf fadsfdsfadsf dfadsfdfasdsfsd dsfadfdsfadsfadsfdf
-                               dfdsfaaaaafdsfasdf fadsfadsssf fadsfdsfadsf dfadsfdfasdsfsd dsfadfdsfadsfadsfdf
-                       </fo:block>
-                       <fo:block space-before.optimum="1cm" text-align="justify">
-                               This is a simple fo block with text justified.
-                               dfdsfaaaaafdsfasdf fadsfadsssf fadsfdsfadsf dfadsfdfasdsfsd dsfadfdsfadsfadsfdf
-                               dfdsfaaaaafdsfasdf fadsfadsssf fadsfdsfadsf dfadsfdfasdsfsd dsfadfdsfadsfadsfdf
-                               dfdsfaaaaafdsfasdf fadsfadsssf fadsfdsfadsf dfadsfdfasdsfsd dsfadfdsfadsfadsfdf
-                       </fo:block>
-                       <fo:block space-before.optimum="1cm" text-align="end">
-                               This is a simple fo block with text aligned to end.
-                               dfdsfaaaaafdsfasdf fadsfadsssf fadsfdsfadsf dfadsfdfasdsfsd dsfadfdsfadsfadsfdf
-                               dfdsfaaaaafdsfasdf fadsfadsssf fadsfdsfadsf dfadsfdfasdsfsd dsfadfdsfadsfadsfdf
-                               dfdsfaaaaafdsfasdf fadsfadsssf fadsfdsfadsf dfadsfdfasdsfsd dsfadfdsfadsfadsfdf
-                       </fo:block>
-               </fo:flow>
-       </fo:page-sequence>
+    <fo:page-sequence master-reference="simplePM">
+        <fo:flow flow-name="xsl-region-body">
+            <fo:block>
+                This is a simple fo block.
+            </fo:block>
+            <fo:block space-before.optimum="1cm" text-align="start">
+                This is a simple fo block with text aligned to start. 
+                dfdsfaaaaafdsfasdf fadsfadsssf fadsfdsfadsf dfadsfdfasdsfsd dsfadfdsfadsfadsfdf
+                dfdsfaaaaafdsfasdf fadsfadsssf fadsfdsfadsf dfadsfdfasdsfsd dsfadfdsfadsfadsfdf
+                dfdsfaaaaafdsfasdf fadsfadsssf fadsfdsfadsf dfadsfdfasdsfsd dsfadfdsfadsfadsfdf
+            </fo:block>
+            <fo:block space-before.optimum="1cm" text-align="justify">
+                This is a simple fo block with text justified.
+                dfdsfaaaaafdsfasdf fadsfadsssf fadsfdsfadsf dfadsfdfasdsfsd dsfadfdsfadsfadsfdf
+                dfdsfaaaaafdsfasdf fadsfadsssf fadsfdsfadsf dfadsfdfasdsfsd dsfadfdsfadsfadsfdf
+                dfdsfaaaaafdsfasdf fadsfadsssf fadsfdsfadsf dfadsfdfasdsfsd dsfadfdsfadsfadsfdf
+            </fo:block>
+            <fo:block space-before.optimum="1cm" text-align="end">
+                This is a simple fo block with text aligned to end.
+                dfdsfaaaaafdsfasdf fadsfadsssf fadsfdsfadsf dfadsfdfasdsfsd dsfadfdsfadsfadsfdf
+                dfdsfaaaaafdsfasdf fadsfadsssf fadsfdsfadsf dfadsfdfasdsfsd dsfadfdsfadsfadsfdf
+                dfdsfaaaaafdsfasdf fadsfadsssf fadsfdsfadsf dfadsfdfasdsfsd dsfadfdsfadsfadsfdf
+            </fo:block>
+        </fo:flow>
+    </fo:page-sequence>
 </fo:root>
index 29668f2b6a999f1dcbbe30155adfe5348172eb78..bcee852b20e9e44c84e12ae475a76d4bd7ab866e 100644 (file)
@@ -1,30 +1,30 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
-       <fo:layout-master-set>
-           <fo:simple-page-master master-name="simplePM"
-                         page-height="25cm" 
-                         page-width="20cm"
-                         margin-top="1cm" 
-                         margin-bottom="1cm" 
-                         margin-left="1.5cm" 
-                         margin-right="1.5cm">
-             <fo:region-before extent="2.5cm"/>
-             <fo:region-body margin-top="3cm" margin-bottom="3cm"/>
-             <fo:region-after extent="2.5cm"/>
-           </fo:simple-page-master>
-       </fo:layout-master-set>
+    <fo:layout-master-set>
+        <fo:simple-page-master master-name="simplePM"
+                      page-height="25cm" 
+                      page-width="20cm"
+                      margin-top="1cm" 
+                      margin-bottom="1cm" 
+                      margin-left="1.5cm" 
+                      margin-right="1.5cm">
+          <fo:region-before extent="2.5cm"/>
+          <fo:region-body margin-top="3cm" margin-bottom="3cm"/>
+          <fo:region-after extent="2.5cm"/>
+        </fo:simple-page-master>
+    </fo:layout-master-set>
 
-       <fo:page-sequence master-name="simplePM">
-           <fo:flow flow-name="xsl-region-body">
-                       <fo:block>
-                               This is a simple fo text.
-                               <fo:inline text-decoration="underline">
-                                       This is a simple fo text and underlined.
-                               </fo:inline>
-                               <fo:inline text-decoration="line-through">
-                                       This is a simple fo text and line-through.
-                               </fo:inline>
-                       </fo:block>
-               </fo:flow>
-       </fo:page-sequence>
+    <fo:page-sequence master-reference="simplePM">
+        <fo:flow flow-name="xsl-region-body">
+            <fo:block>
+                This is a simple fo text.
+                <fo:inline text-decoration="underline">
+                    This is a simple fo text and underlined.
+                </fo:inline>
+                <fo:inline text-decoration="line-through">
+                    This is a simple fo text and line-through.
+                </fo:inline>
+            </fo:block>
+        </fo:flow>
+    </fo:page-sequence>
 </fo:root>
index 3b8147cc6b3761013fa921dac356872a0681d5b1..43ed884623c4bd2ad0d6e2a1823780aa43bec735 100644 (file)
@@ -1,36 +1,36 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
-       <fo:layout-master-set>
-           <fo:simple-page-master master-name="simplePM"
-                         page-height="25cm" 
-                         page-width="20cm"
-                         margin-top="1cm" 
-                         margin-bottom="1cm" 
-                         margin-left="1.5cm" 
-                         margin-right="1.5cm">
-             <fo:region-before extent="2.5cm"/>
-             <fo:region-body margin-top="3cm" margin-bottom="3cm"/>
-             <fo:region-after extent="2.5cm"/>
-           </fo:simple-page-master>
-       </fo:layout-master-set>
+    <fo:layout-master-set>
+        <fo:simple-page-master master-name="simplePM"
+                      page-height="25cm" 
+                      page-width="20cm"
+                      margin-top="1cm" 
+                      margin-bottom="1cm" 
+                      margin-left="1.5cm" 
+                      margin-right="1.5cm">
+          <fo:region-before extent="2.5cm"/>
+          <fo:region-body margin-top="3cm" margin-bottom="3cm"/>
+          <fo:region-after extent="2.5cm"/>
+        </fo:simple-page-master>
+    </fo:layout-master-set>
 
-       <fo:page-sequence master-name="simplePM">
-           <fo:flow flow-name="xsl-region-body">
-                       <fo:block text-align="start" space-before.optimum="6pt" text-indent="1in"> 
-                         This text is formatted into a left-justified paragraph.
-                         The first line has an indent of 1 inch from the left.
-                       
-                         This text is formatted into a left-justified paragraph.
-                         The first line has an indent of 1 inch from the left.
-                       </fo:block>
+    <fo:page-sequence master-reference="simplePM">
+        <fo:flow flow-name="xsl-region-body">
+            <fo:block text-align="start" space-before.optimum="6pt" text-indent="1in"> 
+              This text is formatted into a left-justified paragraph.
+              The first line has an indent of 1 inch from the left.
+            
+              This text is formatted into a left-justified paragraph.
+              The first line has an indent of 1 inch from the left.
+            </fo:block>
 
-                       <fo:block space-before.optimum="6pt" text-indent="40%"> 
-                         This text is formatted into a left-justified paragraph.
-                         The first line has an indent of 30% from the left.
-                       
-                         This text is formatted into a left-justified paragraph.
-                         The first line has an indent of 30% inch from the left.
-                       </fo:block>
-               </fo:flow>
-       </fo:page-sequence>
+            <fo:block space-before.optimum="6pt" text-indent="40%"> 
+              This text is formatted into a left-justified paragraph.
+              The first line has an indent of 30% from the left.
+            
+              This text is formatted into a left-justified paragraph.
+              The first line has an indent of 30% inch from the left.
+            </fo:block>
+        </fo:flow>
+    </fo:page-sequence>
 </fo:root>
index 09c65dd841c602a2a7c5d4ec9238012c8f6766a2..7215f8e3b80ea291d244f9b4e57095d9fd345a91 100644 (file)
@@ -1,50 +1,50 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
-       <fo:layout-master-set>
-           <fo:simple-page-master master-name="simplePM"
-                         page-height="25cm" 
-                         page-width="20cm"
-                         margin-top="1cm" 
-                         margin-bottom="1cm" 
-                         margin-left="1.5cm" 
-                         margin-right="1.5cm">
-             <fo:region-before extent="2.5cm"/>
-             <fo:region-body margin-top="3cm" margin-bottom="3cm"/>
-             <fo:region-after extent="2.5cm"/>
-           </fo:simple-page-master>
-       </fo:layout-master-set>
+    <fo:layout-master-set>
+        <fo:simple-page-master master-name="simplePM"
+                      page-height="25cm" 
+                      page-width="20cm"
+                      margin-top="1cm" 
+                      margin-bottom="1cm" 
+                      margin-left="1.5cm" 
+                      margin-right="1.5cm">
+          <fo:region-before extent="2.5cm"/>
+          <fo:region-body margin-top="3cm" margin-bottom="3cm"/>
+          <fo:region-after extent="2.5cm"/>
+        </fo:simple-page-master>
+    </fo:layout-master-set>
 
-       <fo:page-sequence master-name="simplePM">
-           <fo:flow flow-name="xsl-region-body">
-                       <fo:block> 
-                               <fo:inline word-spacing="normal">In this text, spaces between words are normal.</fo:inline>   
-                               <fo:inline word-spacing="normal">In this text, spaces between words are normal.</fo:inline>   
-                               <fo:inline word-spacing="normal">In this text, spaces between words are normal.</fo:inline>   
-                               <fo:inline word-spacing="normal">In this text, spaces between words are normal.</fo:inline>   
-                               <fo:inline word-spacing="normal">In this text, spaces between words are normal.</fo:inline>   
-                       </fo:block>
+    <fo:page-sequence master-reference="simplePM">
+        <fo:flow flow-name="xsl-region-body">
+            <fo:block> 
+                <fo:inline word-spacing="normal">In this text, spaces between words are normal.</fo:inline>   
+                <fo:inline word-spacing="normal">In this text, spaces between words are normal.</fo:inline>   
+                <fo:inline word-spacing="normal">In this text, spaces between words are normal.</fo:inline>   
+                <fo:inline word-spacing="normal">In this text, spaces between words are normal.</fo:inline>   
+                <fo:inline word-spacing="normal">In this text, spaces between words are normal.</fo:inline>   
+            </fo:block>
 
-                       <fo:block space-before.optimum="1cm"> 
-                               <fo:inline word-spacing="2pt">In this text, spaces between words are increased by 2pt.</fo:inline>                              <fo:inline word-spacing="2pt">In this text, spaces between words are increased by 2pt.</fo:inline>                              <fo:inline word-spacing="2pt">In this text, spaces between words are increased by 2pt.</fo:inline>                              <fo:inline word-spacing="2pt">In this text, spaces between words are increased by 2pt.</fo:inline>                              <fo:inline word-spacing="2pt">In this text, spaces between words are increased by 2pt.</fo:inline>                      </fo:block>
+            <fo:block space-before.optimum="1cm"> 
+                <fo:inline word-spacing="2pt">In this text, spaces between words are increased by 2pt.</fo:inline>                  <fo:inline word-spacing="2pt">In this text, spaces between words are increased by 2pt.</fo:inline>                  <fo:inline word-spacing="2pt">In this text, spaces between words are increased by 2pt.</fo:inline>                  <fo:inline word-spacing="2pt">In this text, spaces between words are increased by 2pt.</fo:inline>                  <fo:inline word-spacing="2pt">In this text, spaces between words are increased by 2pt.</fo:inline>              </fo:block>
 
-                       <fo:block space-before.optimum="1cm"> 
-                               <fo:inline word-spacing="6pt">In this text, spaces between words are increased by 6pt.</fo:inline>  
-                               <fo:inline word-spacing="6pt">In this text, spaces between words are increased by 6pt.</fo:inline>  
-                               <fo:inline word-spacing="6pt">In this text, spaces between words are increased by 6pt.</fo:inline>  
-                               <fo:inline word-spacing="6pt">In this text, spaces between words are increased by 6pt.</fo:inline>  
-                               <fo:inline word-spacing="6pt">In this text, spaces between words are increased by 6pt.</fo:inline>  
-                       </fo:block>
-                                     
-                       <fo:block space-before.optimum="1cm"> 
-                               <fo:inline word-spacing="0pt">In this text, spaces between words are increased by 0pt (i.e. normally spaced).</fo:inline>  
-                               <fo:inline word-spacing="0pt">In this text, spaces between words are increased by 0pt (i.e. normally spaced).</fo:inline>  
-                               <fo:inline word-spacing="0pt">In this text, spaces between words are increased by 0pt (i.e. normally spaced).</fo:inline>  
-                               <fo:inline word-spacing="0pt">In this text, spaces between words are increased by 0pt (i.e. normally spaced).</fo:inline>  
-                               <fo:inline word-spacing="0pt">In this text, spaces between words are increased by 0pt (i.e. normally spaced).</fo:inline>  
-                       </fo:block>
+            <fo:block space-before.optimum="1cm"> 
+                <fo:inline word-spacing="6pt">In this text, spaces between words are increased by 6pt.</fo:inline>  
+                <fo:inline word-spacing="6pt">In this text, spaces between words are increased by 6pt.</fo:inline>  
+                <fo:inline word-spacing="6pt">In this text, spaces between words are increased by 6pt.</fo:inline>  
+                <fo:inline word-spacing="6pt">In this text, spaces between words are increased by 6pt.</fo:inline>  
+                <fo:inline word-spacing="6pt">In this text, spaces between words are increased by 6pt.</fo:inline>  
+            </fo:block>
+                      
+            <fo:block space-before.optimum="1cm"> 
+                <fo:inline word-spacing="0pt">In this text, spaces between words are increased by 0pt (i.e. normally spaced).</fo:inline>  
+                <fo:inline word-spacing="0pt">In this text, spaces between words are increased by 0pt (i.e. normally spaced).</fo:inline>  
+                <fo:inline word-spacing="0pt">In this text, spaces between words are increased by 0pt (i.e. normally spaced).</fo:inline>  
+                <fo:inline word-spacing="0pt">In this text, spaces between words are increased by 0pt (i.e. normally spaced).</fo:inline>  
+                <fo:inline word-spacing="0pt">In this text, spaces between words are increased by 0pt (i.e. normally spaced).</fo:inline>  
+            </fo:block>
       
-                       <fo:block space-before.optimum="1cm">  
-                               <fo:inline word-spacing="-2pt">In this text, spaces between words are reduced by -2pt</fo:inline>                               <fo:inline word-spacing="-2pt">In this text, spaces between words are reduced by -2pt</fo:inline>                               <fo:inline word-spacing="-2pt">In this text, spaces between words are reduced by -2pt</fo:inline>                               <fo:inline word-spacing="-2pt">In this text, spaces between words are reduced by -2pt</fo:inline>                               <fo:inline word-spacing="-2pt">In this text, spaces between words are reduced by -2pt</fo:inline>                       </fo:block>
-               </fo:flow>
-       </fo:page-sequence>
+            <fo:block space-before.optimum="1cm">  
+                <fo:inline word-spacing="-2pt">In this text, spaces between words are reduced by -2pt</fo:inline>                   <fo:inline word-spacing="-2pt">In this text, spaces between words are reduced by -2pt</fo:inline>                   <fo:inline word-spacing="-2pt">In this text, spaces between words are reduced by -2pt</fo:inline>                   <fo:inline word-spacing="-2pt">In this text, spaces between words are reduced by -2pt</fo:inline>                   <fo:inline word-spacing="-2pt">In this text, spaces between words are reduced by -2pt</fo:inline>               </fo:block>
+        </fo:flow>
+    </fo:page-sequence>
 </fo:root>
index c1e4b6272cb205bbb42b9eb7b0569ddf55d9b352..a67a780630c8e34a4fdd44bde4c6771a70511ed7 100644 (file)
@@ -1,17 +1,17 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
-       <fo:layout-master-set>
-           <fo:simple-page-master master-name="simplePM"
-                         page-height="25cm" 
-                         page-width="20cm"
-                         margin-top="1cm" 
-                         margin-bottom="1cm" 
-                         margin-left="1.5cm" 
-                         margin-right="1.5cm">
-             <fo:region-before extent="2.5cm"/>
-             <fo:region-body margin-top="3cm" margin-bottom="3cm"/>
-             <fo:region-after extent="2.5cm"/>
-           </fo:simple-page-master>
+    <fo:layout-master-set>
+        <fo:simple-page-master master-name="simplePM"
+                      page-height="25cm" 
+                      page-width="20cm"
+                      margin-top="1cm" 
+                      margin-bottom="1cm" 
+                      margin-left="1.5cm" 
+                      margin-right="1.5cm">
+          <fo:region-before extent="2.5cm"/>
+          <fo:region-body margin-top="3cm" margin-bottom="3cm"/>
+          <fo:region-after extent="2.5cm"/>
+        </fo:simple-page-master>
       <fo:simple-page-master master-name="no-overflow"
                     page-height="25cm"
                     page-width="20cm"
         <fo:region-body overflow="hidden" margin-top="3cm" margin-bottom="3cm"/>
         <fo:region-after extent="2.5cm"/>
       </fo:simple-page-master>
-       </fo:layout-master-set>
+    </fo:layout-master-set>
 
-       <fo:page-sequence master-name="simplePM">
-           <fo:flow flow-name="xsl-region-body">
+    <fo:page-sequence master-reference="simplePM">
+        <fo:flow flow-name="xsl-region-body">
       <fo:block>
 This test is to check a number of different possibilities when dealing with
 text being wrapped at the end of an area.
       </fo:block>
-                       <fo:block wrap-option="no-wrap">
-                               <fo:inline>This is a simple fo block.This is a simple fo block.This is a simple fo block.</fo:inline>
-                               <fo:inline>This is a simple fo block.This is a simple fo block.This is a simple fo block.</fo:inline>
-                               <fo:inline>This is a simple fo block.This is a simple fo block.This is a simple fo block.</fo:inline>
-                               <fo:inline>This is a simple fo block.This is a simple fo block.This is a simple fo block.</fo:inline>
-                               
-                               <fo:block space-before.optimum="1cm" wrap-option="wrap">
-                                       <fo:inline>This is a simple fo block.This is a simple fo block.This is a simple fo block.</fo:inline>
-                                       <fo:inline>This is a simple fo block.This is a simple fo block.This is a simple fo block.</fo:inline>
-                                       <fo:inline>This is a simple fo block.This is a simple fo block.This is a simple fo block.</fo:inline>
-                               </fo:block>
-                               This is simple fo block.This is simple fo block.This is simple fo block.This is simple fo block.
-                               This is simple fo block.This is simple fo block.This is simple fo block.This is simple fo block.
-                       </fo:block>
+            <fo:block wrap-option="no-wrap">
+                <fo:inline>This is a simple fo block.This is a simple fo block.This is a simple fo block.</fo:inline>
+                <fo:inline>This is a simple fo block.This is a simple fo block.This is a simple fo block.</fo:inline>
+                <fo:inline>This is a simple fo block.This is a simple fo block.This is a simple fo block.</fo:inline>
+                <fo:inline>This is a simple fo block.This is a simple fo block.This is a simple fo block.</fo:inline>
+                
+                <fo:block space-before.optimum="1cm" wrap-option="wrap">
+                    <fo:inline>This is a simple fo block.This is a simple fo block.This is a simple fo block.</fo:inline>
+                    <fo:inline>This is a simple fo block.This is a simple fo block.This is a simple fo block.</fo:inline>
+                    <fo:inline>This is a simple fo block.This is a simple fo block.This is a simple fo block.</fo:inline>
+                </fo:block>
+                This is simple fo block.This is simple fo block.This is simple fo block.This is simple fo block.
+                This is simple fo block.This is simple fo block.This is simple fo block.This is simple fo block.
+            </fo:block>
       <fo:block space-before.optimum="10pt">
 Some examples in a table.
       </fo:block>
@@ -118,9 +118,9 @@ words with hypenation the activated when not doing lots of wrapping
 </fo:table-row>
 </fo:table-body>
 </fo:table>
-               </fo:flow>
-       </fo:page-sequence>
-  <fo:page-sequence master-name="no-overflow">
+        </fo:flow>
+    </fo:page-sequence>
+  <fo:page-sequence master-reference="no-overflow">
       <fo:flow flow-name="xsl-region-body">
       <fo:block wrap-option="no-wrap">
         <fo:inline>This is a simple fo block.This is a simple fo block.This is a simple fo block.</fo:inline>
index 71a2cc434d0fd4266bb6d2357bb585abd629176d..44924865b41b742792140c58380547710940c22a 100644 (file)
@@ -1,35 +1,35 @@
 <?xml version="1.0"?>
 <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:svg="http://www.w3.org/2000/svg">
-       <xsl:output method="xml" indent="yes"/>
-       <xsl:template match="test">
-               <fo:root>
-                       <fo:layout-master-set>
-                               <fo:simple-page-master master-name="one" page-height="29.7cm" page-width="21cm" margin-top="0.5cm" margin-bottom="0.5cm" margin-left="1.5cm" margin-right="1.5cm">
-                                       <fo:region-before extent="1.5cm"/>
-                                       <fo:region-body margin-top="1.5cm" margin-bottom="2cm"/>
-                                       <fo:region-after extent="1.5cm"/>
-                               </fo:simple-page-master>
-                       </fo:layout-master-set>
-                       <fo:page-sequence master-name="one">
-                               <fo:flow font-size="10pt" line-height="10pt" flow-name="xsl-region-body">
-                                       <xsl:apply-templates select="data"/>
-                               </fo:flow>
-                       </fo:page-sequence>
-               </fo:root>
-       </xsl:template>
+    <xsl:output method="xml" indent="yes"/>
+    <xsl:template match="test">
+        <fo:root>
+            <fo:layout-master-set>
+                <fo:simple-page-master master-name="one" page-height="29.7cm" page-width="21cm" margin-top="0.5cm" margin-bottom="0.5cm" margin-left="1.5cm" margin-right="1.5cm">
+                    <fo:region-before extent="1.5cm"/>
+                    <fo:region-body margin-top="1.5cm" margin-bottom="2cm"/>
+                    <fo:region-after extent="1.5cm"/>
+                </fo:simple-page-master>
+            </fo:layout-master-set>
+            <fo:page-sequence master-reference="one">
+                <fo:flow font-size="10pt" line-height="10pt" flow-name="xsl-region-body">
+                    <xsl:apply-templates select="data"/>
+                </fo:flow>
+            </fo:page-sequence>
+        </fo:root>
+    </xsl:template>
 
-       <xsl:template match="data">
-               <xsl:apply-templates/>
-       </xsl:template>
+    <xsl:template match="data">
+        <xsl:apply-templates/>
+    </xsl:template>
 
 <!-- note: this causes any node not otherwise defined to be copied -->
-       <xsl:template match="@*|node()">
-               <xsl:copy>
-                       <xsl:apply-templates select="@*|node()"/>
-               </xsl:copy>
-       </xsl:template>
+    <xsl:template match="@*|node()">
+        <xsl:copy>
+            <xsl:apply-templates select="@*|node()"/>
+        </xsl:copy>
+    </xsl:template>
 
-       <xsl:template match="title">
-               <xsl:apply-templates/>
-       </xsl:template>
+    <xsl:template match="title">
+        <xsl:apply-templates/>
+    </xsl:template>
 </xsl:stylesheet>