]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
set correct whitespace handling
authorKeiron Liddle <keiron@apache.org>
Thu, 12 Sep 2002 14:09:36 +0000 (14:09 +0000)
committerKeiron Liddle <keiron@apache.org>
Thu, 12 Sep 2002 14:09:36 +0000 (14:09 +0000)
fixed image url

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

docs/examples/fo/list.fo

index cceefe1bac13d6a1dfa590719866d5b4d4c330b5..27a30623e54bf0f4d11351c219c2ad45f0474e4e 100644 (file)
                 text-align="start"
                 space-before.optimum="3cm"
                 white-space-collapse="false" 
+                linefeed-treatment="preserve"
+                white-space-treatment="preserve"
                 wrap-option="no-wrap">
-<![CDATA[
-<!-- list start -->
-<fo:list-block >
+<![CDATA[<!-- list start -->
+<fo:list-block>
   <!-- list item -->
   <fo:list-item>
     <!-- insert a bullet -->
     <fo:list-item-label end-indent="label-end()">
       <fo:block>
-        <fo:inline font-family="Symbol">&amp;#183;</fo:inline>
+        <fo:inline font-family="Symbol">&#183;</fo:inline>
       </fo:block>
     </fo:list-item-label>
-    <!-- list text --> 
+    <!-- list text -->
     <fo:list-item-body start-indent="body-start()">
       <fo:block>
         here is text in the list item body
            url: http://www.w3.org/TR/xsl/ -->
       <fo:block text-align="center"
                 space-before.optimum="0.5cm">
-        <fo:external-graphic src="file:../graphics/listgeometry.gif"/>
+        <fo:external-graphic src="file:../../graphics/listgeometry.gif"/>
       </fo:block>
       <fo:block font-size="10pt" 
             font-family="sans-serif"
                 text-align="start"
                 space-before.optimum="0.7cm"
                 white-space-collapse="false" 
+                white-space-treatment="preserve"
+                linefeed-treatment="preserve"
                 wrap-option="no-wrap">
-<![CDATA[
-<!-- list start -->
-<fo:list-block provisional-distance-between-starts="0.3cm" 
+<![CDATA[<!-- list start -->
+<fo:list-block provisional-distance-between-starts="0.3cm"
                   provisional-label-separation="0.15cm">
   <!-- list item -->
   <fo:list-item>
     <!-- insert a bullet -->
     <fo:list-item-label end-indent="label-end()">
       <fo:block>
-        <fo:inline font-family="Symbol">&amp;#183;</fo:inline>
+        <fo:inline font-family="Symbol">&#183;</fo:inline>
       </fo:block>
     </fo:list-item-label>
-    <!-- list text --> 
+    <!-- list text -->
     <fo:list-item-body start-indent="body-start()">
       <fo:block>
         here is text in the list item body
     </fo:list-item-body>
   </fo:list-item>
 
-  [other list items...] 
+  [other list items...]
 
 </fo:list-block>
 <!-- end list -->
 ]]>
-</fo:block>        
+</fo:block>
 
       <!-- code ends -->
 
                 text-align="start"
                 space-before.optimum="3cm"
                 white-space-collapse="false" 
+                white-space-treatment="preserve"
+                linefeed-treatment="preserve"
                 wrap-option="no-wrap">
-                
-
-<![CDATA[
-<!-- list level 1 -->
+<![CDATA[<!-- list level 1 -->
 <fo:list-block provisional-distance-between-starts="0.4cm"
                provisional-label-separation="0.15cm">
   
     <fo:list-item-label end-indent="label-end()">
       <fo:block><fo:inline font-family="Symbol">&#x2022;</fo:inline></fo:block>
     </fo:list-item-label>
-    <!-- list text --> 
+    <!-- list text -->
     <fo:list-item-body start-indent="body-start()">
       <fo:block text-align="justify">
         here is text in the list item body.  here is text in the list item body. 
-        here is text in the list item body. here is text in the list item body. 
+        here is text in the list item body. here is text in the list item body.
       </fo:block>
     </fo:list-item-body>
   </fo:list-item>
     <fo:list-item-label end-indent="label-end()">
       <fo:block><fo:inline font-family="Symbol">&#x2022;</fo:inline></fo:block>
     </fo:list-item-label>
-    <!-- list text --> 
+    <!-- list text -->
     <fo:list-item-body start-indent="body-start()">
       <fo:block text-align="justify">here comes a nested list with numbers
 
             <fo:list-item-label end-indent="label-end()">
               <fo:block text-align="end">1.)</fo:block>
             </fo:list-item-label>
-            <!-- list text --> 
+            <!-- list text -->
             <fo:list-item-body start-indent="body-start()">
               <fo:block text-align="justify">
                 nested list item             </fo:block>
             </fo:list-item-body>
           </fo:list-item>
-          
+
           [more item in nested list ...]
 
-        </fo:list-block >
+        </fo:list-block>
       <!-- end nested list -->
 
       <!-- continuing list-->
       </fo:block>
     </fo:list-item-body>
   </fo:list-item>
-          
+
           [more item in list ...]
 
 </fo:list-block>