]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
FOP-2315: Incorrect example for leaders
authorVincent Hennebert <vhennebert@apache.org>
Thu, 21 Nov 2013 15:02:15 +0000 (15:02 +0000)
committerVincent Hennebert <vhennebert@apache.org>
Thu, 21 Nov 2013 15:02:15 +0000 (15:02 +0000)
Patch by Alexey Neyman

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1544205 13f79535-47bb-0310-9956-ffa450edef68

examples/fo/basic/leader.fo

index 26ac49005b2db3a28e38f6c6696a85b1c1450d2b..328d95010788fc9f3abc907dd1b02ed0ea10f8ea 100644 (file)
@@ -2,7 +2,7 @@
 
 <!-- examples for the use of the fo leader -->
 
-<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
+<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format" font-family="sans-serif">
 
   <fo:layout-master-set>
 
         <fo:list-item>
           <!-- insert a bullet -->
           <fo:list-item-label end-indent="label-end()">
-            <fo:block><fo:inline font-size="10pt" font-family="Symbol">&#183;</fo:inline></fo:block>
+            <fo:block><fo:inline font-size="10pt">&#183;</fo:inline></fo:block>
           </fo:list-item-label>
           <!-- list text -->
           <fo:list-item-body start-indent="body-start()">
         <fo:list-item>
           <!-- insert a bullet -->
           <fo:list-item-label end-indent="label-end()">
-            <fo:block><fo:inline font-size="10pt" font-family="Symbol">&#183;</fo:inline></fo:block>
+            <fo:block><fo:inline font-size="10pt">&#183;</fo:inline></fo:block>
           </fo:list-item-label>
           <!-- list text -->
           <fo:list-item-body start-indent="body-start()">
 
         <fo:table-row line-height="12pt">
         <fo:table-cell><fo:block text-align="end">A) </fo:block></fo:table-cell>
-        <fo:table-cell><fo:block text-align="start">This is some longer sample text<fo:leader leader-pattern="dots"
+        <fo:table-cell><fo:block text-align="start" text-align-last="justify">This is some longer sample text<fo:leader leader-pattern="dots"
                    leader-pattern-width="8pt"
                    leader-alignment="reference-area"
                    /></fo:block></fo:table-cell>
 
         <fo:table-row line-height="12pt">
         <fo:table-cell><fo:block text-align="end">B) </fo:block></fo:table-cell>
-        <fo:table-cell><fo:block text-align="start">Some text<fo:leader leader-pattern="dots"
+        <fo:table-cell><fo:block text-align="start" text-align-last="justify">Some text<fo:leader leader-pattern="dots"
                    leader-pattern-width="8pt"
                    leader-alignment="reference-area"
                    /></fo:block></fo:table-cell>
 
         <fo:table-row line-height="12pt">
         <fo:table-cell><fo:block text-align="end" >C) </fo:block></fo:table-cell>
-        <fo:table-cell><fo:block text-align="start">Text<fo:leader leader-pattern="dots"
+        <fo:table-cell><fo:block text-align="start" text-align-last="justify">Text<fo:leader leader-pattern="dots"
                    leader-pattern-width="8pt"
                    leader-alignment="reference-area"
                    /></fo:block></fo:table-cell>
 
         <fo:table-row line-height="12pt">
         <fo:table-cell><fo:block text-align="end">D) </fo:block></fo:table-cell>
-        <fo:table-cell><fo:block text-align="start">This text is even longer than the first entry <fo:leader leader-pattern="dots"
+        <fo:table-cell><fo:block text-align="start" text-align-last="justify">This text is even longer than the first entry <fo:leader leader-pattern="dots"
                    leader-pattern-width="8pt"
                    leader-alignment="reference-area"
                    /></fo:block></fo:table-cell>
 
         <fo:table-row line-height="12pt">
         <fo:table-cell><fo:block text-align="end">E) </fo:block></fo:table-cell>
-        <fo:table-cell><fo:block text-align="start">Shorter text example<fo:leader leader-pattern="dots"
+        <fo:table-cell><fo:block text-align="start" text-align-last="justify">Shorter text example<fo:leader leader-pattern="dots"
                    leader-pattern-width="8pt"
                    leader-alignment="reference-area"
                    /></fo:block></fo:table-cell>