]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Fixed code example
authorKelly Campbell <kellyc@apache.org>
Sat, 3 Mar 2001 08:06:04 +0000 (08:06 +0000)
committerKelly Campbell <kellyc@apache.org>
Sat, 3 Mar 2001 08:06:04 +0000 (08:06 +0000)
PR:
Obtained from:
Submitted by:
Reviewed by:

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

docs/html-docs/extensions.html
docs/xml-docs/fop/extensions.xml

index 4ffe06d43467436f948003c1c639a662677b8067..ab60fe854948d5e0bca0b2e0e8725492004b9bca 100644 (file)
     <P>You can provide outlines inside the root object (but outside any page-sequences or
        other formatting objects). Here's an example of an outline entry:</P>
     <DIV align="right"><TABLE border="0" cellpadding="0" cellspacing="4" width="464"><TR><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#0086b2" height="1" width="462"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="462"></TD><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#0086b2" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#ffffff" width="462"><FONT size="-1"><PRE>
-    &lt;fo:root xmlns:fo=&quot;http://www.w3.org/1999/XSL/Format&quot;
-             &amp;#160;&amp;#160; xmlns:fox=&quot;http://xml.apache.org/fop/extensions&quot;&gt;
-    &lt;fox:outline internal-destination=&quot;sec3&quot;&gt;
-    &amp;#160;&amp;#160;  &lt;fox:label&gt;Running FOP&lt;/fox:label&gt;
+&lt;fo:root xmlns:fo=&quot;http://www.w3.org/1999/XSL/Format&quot;
+               xmlns:fox=&quot;http://xml.apache.org/fop/extensions&quot;&gt;
+  &lt;fox:outline internal-destination=&quot;sec3&quot;&gt;
+    &lt;fox:label&gt;Running FOP&lt;/fox:label&gt;
 
-    &amp;#160;&amp;#160;&lt;fox:outline internal-destination=&quot;sec3-1&quot;&gt;
-    &amp;#160;&amp;#160;&amp;#160;&amp;#160;&lt;fox:label&gt;Prerequisites&lt;/fox:label&gt;
-    &amp;#160;&amp;#160;&lt;/fox:outline&gt;
-    &lt;fox:outline&gt;
-    &lt;/fo:root&gt;
+    &lt;fox:outline internal-destination=&quot;sec3-1&quot;&gt;
+      &lt;fox:label&gt;Prerequisites&lt;/fox:label&gt;
+    &lt;/fox:outline&gt;
+  &lt;fox:outline&gt;
+&lt;/fo:root&gt;
 </PRE></FONT></TD><TD bgcolor="#0086b2" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#0086b2" height="1" width="462"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="462"></TD><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR></TABLE></DIV>
     <P>It works similarly to a basic-link. There is also an external-destination 
        property, but it isn't supported currently. See the pdfoutline.fo file in 
index d31ebae2a2826c720f3f1e50098fba866f7d0e10..388519e7bb58ff5e42f873cbeebcb85c381376b5 100644 (file)
     <p>You can provide outlines inside the root object (but outside any page-sequences or
        other formatting objects). Here's an example of an outline entry:</p>
     <source>
-    <![CDATA[<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"
-             &#160;&#160; xmlns:fox="http://xml.apache.org/fop/extensions">
-    <fox:outline internal-destination="sec3">
-    &#160;&#160;  <fox:label>Running FOP</fox:label>
+<![CDATA[<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"
+               xmlns:fox="http://xml.apache.org/fop/extensions">
+  <fox:outline internal-destination="sec3">
+    <fox:label>Running FOP</fox:label>
 
-    &#160;&#160;<fox:outline internal-destination="sec3-1">
-    &#160;&#160;&#160;&#160;<fox:label>Prerequisites</fox:label>
-    &#160;&#160;</fox:outline>
-    <fox:outline>
-    </fo:root>
+    <fox:outline internal-destination="sec3-1">
+      <fox:label>Prerequisites</fox:label>
+    </fox:outline>
+  <fox:outline>
+</fo:root>
 ]]></source>
     <p>It works similarly to a basic-link. There is also an external-destination 
        property, but it isn't supported currently. See the pdfoutline.fo file in