You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-commits@xmlgraphics.apache.org by ga...@apache.org on 2012/06/27 20:08:36 UTC

svn commit: r1354651 - in /xmlgraphics/fop/trunk: ./ examples/fo/ examples/fo/advanced/ examples/fo/basic/ examples/fo/svg/ examples/fo/tables/ src/documentation/content/xdocs/ src/documentation/content/xdocs/fo/

Author: gadams
Date: Wed Jun 27 18:08:31 2012
New Revision: 1354651

URL: http://svn.apache.org/viewvc?rev=1354651&view=rev
Log:
Fix errors and warnings in example files. Add build.xml for documentation examples.

Added:
    xmlgraphics/fop/trunk/src/documentation/content/xdocs/fo/align.pdf
    xmlgraphics/fop/trunk/src/documentation/content/xdocs/fo/align2.pdf
    xmlgraphics/fop/trunk/src/documentation/content/xdocs/fo/build.xml
    xmlgraphics/fop/trunk/src/documentation/content/xdocs/fo/embed.pdf
    xmlgraphics/fop/trunk/src/documentation/content/xdocs/fo/fonts.pdf
    xmlgraphics/fop/trunk/src/documentation/content/xdocs/fo/size.pdf
Removed:
    xmlgraphics/fop/trunk/src/documentation/content/xdocs/fo/align.fo.pdf
    xmlgraphics/fop/trunk/src/documentation/content/xdocs/fo/align2.fo.pdf
    xmlgraphics/fop/trunk/src/documentation/content/xdocs/fo/embed.fo.pdf
    xmlgraphics/fop/trunk/src/documentation/content/xdocs/fo/fonts.fo.pdf
    xmlgraphics/fop/trunk/src/documentation/content/xdocs/fo/size.fo.pdf
Modified:
    xmlgraphics/fop/trunk/examples/fo/advanced/cid-fonts.fo
    xmlgraphics/fop/trunk/examples/fo/advanced/giro.fo
    xmlgraphics/fop/trunk/examples/fo/basic/images.fo
    xmlgraphics/fop/trunk/examples/fo/basic/tableunits.fo
    xmlgraphics/fop/trunk/examples/fo/build.xml
    xmlgraphics/fop/trunk/examples/fo/svg/embedding.fo
    xmlgraphics/fop/trunk/examples/fo/tables/background.fo
    xmlgraphics/fop/trunk/examples/fo/tables/borders.fo
    xmlgraphics/fop/trunk/examples/fo/tables/break.fo
    xmlgraphics/fop/trunk/examples/fo/tables/headfoot.fo
    xmlgraphics/fop/trunk/examples/fo/tables/keep.fo
    xmlgraphics/fop/trunk/examples/fo/tables/omit.fo
    xmlgraphics/fop/trunk/examples/fo/tables/space.fo
    xmlgraphics/fop/trunk/src/documentation/content/xdocs/examples.xml
    xmlgraphics/fop/trunk/src/documentation/content/xdocs/fo/align.fo
    xmlgraphics/fop/trunk/src/documentation/content/xdocs/fo/align2.fo
    xmlgraphics/fop/trunk/src/documentation/content/xdocs/fo/embed.fo
    xmlgraphics/fop/trunk/src/documentation/content/xdocs/fo/fonts.fo
    xmlgraphics/fop/trunk/src/documentation/content/xdocs/fo/size.fo
    xmlgraphics/fop/trunk/status.xml

Modified: xmlgraphics/fop/trunk/examples/fo/advanced/cid-fonts.fo
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/examples/fo/advanced/cid-fonts.fo?rev=1354651&r1=1354650&r2=1354651&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/examples/fo/advanced/cid-fonts.fo (original)
+++ xmlgraphics/fop/trunk/examples/fo/advanced/cid-fonts.fo Wed Jun 27 18:08:31 2012
@@ -369,7 +369,7 @@ This font contains no embedding license 
    </fo:block>
 
 </fo:wrapper>
-   <fo:table>
+   <fo:table table-layout="fixed" width="100%">
       <fo:table-column column-width="50mm"/>
       <fo:table-column column-width="50mm"/>
       <fo:table-column column-width="50mm"/>

Modified: xmlgraphics/fop/trunk/examples/fo/advanced/giro.fo
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/examples/fo/advanced/giro.fo?rev=1354651&r1=1354650&r2=1354651&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/examples/fo/advanced/giro.fo (original)
+++ xmlgraphics/fop/trunk/examples/fo/advanced/giro.fo Wed Jun 27 18:08:31 2012
@@ -32,7 +32,7 @@
         <fo:block-container absolute-position="absolute" width="100%" height="100%" border-top-color="silver" border-top-style="dotted" border-top-width="0.13mm">
           <fo:block/>
         </fo:block-container>
-         <fo:table space-before.optimum="1in div 12" margin-left="2in div 12" margin-top="1in div 10" font-family="sans-serif" font-size="7pt" color="green">
+         <fo:table space-before.optimum="1in div 12" margin-left="2in div 12" margin-top="1in div 10" font-family="sans-serif" font-size="7pt" color="green" table-layout="fixed" width="100%">
             <fo:table-column column-width="8in div 10 - 2in div 12"/>
             <fo:table-column border-right-style="solid" border-right-width="0.5mm" column-width="36in div 10"/>
             <fo:table-column column-width="5in div 10"/>
@@ -107,7 +107,7 @@
                      <fo:block>Från konto nr</fo:block>
                   </fo:table-cell>
                   <fo:table-cell border-bottom-style="solid" border-bottom-width="0.13mm" padding-top="6mm" display-align="after">
-                     <fo:table height="3mm">
+                     <fo:table height="3mm" table-layout="fixed" width="100%">
                         <fo:table-column border-right-style="solid" border-right-width="0.13mm" column-width="0.2in"/>
                         <fo:table-column border-right-style="solid" border-right-width="0.13mm" column-width="0.2in"/>
                         <fo:table-column border-right-style="solid" border-right-width="0.13mm" column-width="0.2in"/>
@@ -182,7 +182,7 @@
                      <fo:block color="black">16.6.2006</fo:block>
                   </fo:table-cell>
                   <fo:table-cell border-bottom-style="solid" border-bottom-width="0.5mm" padding-left="2mm" padding-top="4mm" font-size="10pt">
-                     <fo:table>
+                     <fo:table table-layout="fixed" width="100%">
                         <fo:table-column column-width="0.5cm"/>
                         <fo:table-column column-width="2cm"/>
                         <fo:table-body>
@@ -201,7 +201,7 @@
                <fo:table-row height="13in div 12 - 5mm">
                   <fo:table-cell number-columns-spanned="4" padding-left="40mm" display-align="after">
                      <fo:block>
-                        <fo:table height="5in div 12" margin-left="2.5mm" margin-right="2.5mm"><!--105-->
+                        <fo:table height="5in div 12" margin-left="2.5mm" margin-right="2.5mm" table-layout="fixed" width="100%"><!--105-->
                            <fo:table-column column-width="0.5mm"/>
                            <fo:table-column column-width="0.25mm"/>
                            <fo:table-column column-width="0.25mm"/>
@@ -950,7 +950,7 @@
    </fo:page-sequence>
    <fo:page-sequence master-reference="A4">
       <fo:static-content flow-name="xsl-region-after">
-         <fo:table space-before.optimum="1in div 12" margin-left="2in div 12" margin-top="1in div 10" font-family="sans-serif" font-size="7pt" color="green">
+         <fo:table space-before.optimum="1in div 12" margin-left="2in div 12" margin-top="1in div 10" font-family="sans-serif" font-size="7pt" color="green" table-layout="fixed" width="100%">
             <fo:table-column column-width="8in div 10 - 2in div 12"/>
             <fo:table-column border-right-style="solid" border-right-width="0.5mm" column-width="36in div 10"/>
             <fo:table-column column-width="5in div 10"/>
@@ -1025,7 +1025,7 @@
                      <fo:block>Från konto nr</fo:block>
                   </fo:table-cell>
                   <fo:table-cell border-bottom-style="solid" border-bottom-width="0.13mm" padding-top="6mm" display-align="after">
-                     <fo:table height="3mm">
+                     <fo:table height="3mm" table-layout="fixed" width="100%">
                         <fo:table-column border-right-style="solid" border-right-width="0.13mm" column-width="0.2in"/>
                         <fo:table-column border-right-style="solid" border-right-width="0.13mm" column-width="0.2in"/>
                         <fo:table-column border-right-style="solid" border-right-width="0.13mm" column-width="0.2in"/>
@@ -1100,7 +1100,7 @@
                      <fo:block color="black">16.6.2006</fo:block>
                   </fo:table-cell>
                   <fo:table-cell border-bottom-style="solid" border-bottom-width="0.5mm" padding-left="2mm" padding-top="4mm" font-size="10pt">
-                     <fo:table>
+                     <fo:table table-layout="fixed" width="100%">
                         <fo:table-column column-width="0.5cm"/>
                         <fo:table-column column-width="2cm"/>
                         <fo:table-body>

Modified: xmlgraphics/fop/trunk/examples/fo/basic/images.fo
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/examples/fo/basic/images.fo?rev=1354651&r1=1354650&r2=1354651&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/examples/fo/basic/images.fo (original)
+++ xmlgraphics/fop/trunk/examples/fo/basic/images.fo Wed Jun 27 18:08:31 2012
@@ -31,8 +31,6 @@
           odd-or-even="even" />
         <fo:conditional-page-master-reference master-reference="right"
           odd-or-even="odd" />
-        <!-- recommended fallback procedure -->
-        <fo:conditional-page-master-reference master-reference="rest" />
       </fo:repeatable-page-master-alternatives>
     </fo:page-sequence-master>
 </fo:layout-master-set>

Modified: xmlgraphics/fop/trunk/examples/fo/basic/tableunits.fo
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/examples/fo/basic/tableunits.fo?rev=1354651&r1=1354650&r2=1354651&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/examples/fo/basic/tableunits.fo (original)
+++ xmlgraphics/fop/trunk/examples/fo/basic/tableunits.fo Wed Jun 27 18:08:31 2012
@@ -67,9 +67,9 @@
       <fo:block space-before="12pt" space-after="6pt">The next table has width=100% on the table no column widths specified on the table-column element.</fo:block>
       <!-- table start -->
       <fo:table border-collapse="separate" table-layout="fixed" width="100%">
-        <fo:table-column background-color="yellow"/>
-        <fo:table-column background-color="blue"/>
-        <fo:table-column background-color="green"/>
+        <fo:table-column column-width="proportional-column-width(1)" background-color="yellow"/>
+        <fo:table-column column-width="proportional-column-width(1)" background-color="blue"/>
+        <fo:table-column column-width="proportional-column-width(1)" background-color="green"/>
         <fo:table-body>
           <fo:table-row>
             <fo:table-cell display-align="before"><fo:block>Some text to make this cell
@@ -83,7 +83,7 @@
       <fo:block space-before="12pt" space-after="6pt">The next table has fixed column widths=13cm, ipd.optimum=12cm and ipd.max = 100%.</fo:block>
       <!-- table start -->
       <fo:table border-collapse="separate" 
-                table-layout="fixed"
+                table-layout="fixed" width="100%"
                 inline-progression-dimension="12cm"
                 inline-progression-dimension.maximum="100%"
                 >
@@ -122,8 +122,8 @@
       <!-- table start -->
       <fo:table border-collapse="separate" table-layout="fixed" width="70% + 1cm">
         <fo:table-column column-width="from-parent('width') div 3" background-color="yellow"/>
-        <fo:table-column background-color="blue"/>
-        <fo:table-column background-color="green"/>
+        <fo:table-column column-width="proportional-column-width(1)" background-color="blue"/>
+        <fo:table-column column-width="proportional-column-width(1)" background-color="green"/>
         <fo:table-body>
           <fo:table-row>
             <fo:table-cell display-align="before"><fo:block>Some text to make this cell
@@ -140,11 +140,11 @@
       </fo:block>
       <!-- table start -->
       <fo:table border-collapse="separate"
-                table-layout="fixed"
+                table-layout="fixed" width="100%"
                 inline-progression-dimension="15cm">
-        <fo:table-column background-color="yellow"/>
+        <fo:table-column column-width="proportional-column-width(1)" background-color="yellow"/>
         <fo:table-column column-width="3cm" background-color="blue"/>
-        <fo:table-column background-color="green"/>
+        <fo:table-column column-width="proportional-column-width(1)" background-color="green"/>
         <fo:table-body>
           <fo:table-row>
             <fo:table-cell display-align="before"><fo:block>Some text to make this cell
@@ -159,10 +159,10 @@
         The next table specifies neither width nor inline-progression-dimension.
       </fo:block>
       <!-- table start -->
-      <fo:table table-layout="fixed" border-collapse="separate">
-        <fo:table-column background-color="yellow"/>
+      <fo:table table-layout="fixed" width="100%" border-collapse="separate">
+        <fo:table-column column-width="proportional-column-width(1)" background-color="yellow"/>
         <fo:table-column column-width="3cm" background-color="blue"/>
-        <fo:table-column background-color="green"/>
+        <fo:table-column column-width="proportional-column-width(1)" background-color="green"/>
         <fo:table-body>
           <fo:table-row>
             <fo:table-cell display-align="before"><fo:block>Some text to make this cell
@@ -178,11 +178,11 @@
         specifies a column width of 5cm on the middle column only.
       </fo:block>
       <!-- table start -->
-      <fo:table table-layout="fixed" border-collapse="separate"
+      <fo:table table-layout="fixed" width="100%" border-collapse="separate"
                 inline-progression-dimension.minimum="10cm">
-        <fo:table-column background-color="yellow"/>
+        <fo:table-column column-width="proportional-column-width(1)" background-color="yellow"/>
         <fo:table-column column-width="5cm" background-color="blue"/>
-        <fo:table-column background-color="green"/>
+        <fo:table-column column-width="proportional-column-width(1)" background-color="green"/>
         <fo:table-body>
           <fo:table-row>
             <fo:table-cell display-align="before"><fo:block>Some text to make this cell
@@ -194,17 +194,17 @@
       </fo:table>
 
       <fo:block space-before="12pt" space-after="6pt">
-        The next table specifies inline-progression-dimension.minimum="10cm",
-        inline-progression-dimension.maximum="17cm and
+        The next table specifies inline-progression-dimension.minimum=&quot;10cm&quot;,
+        inline-progression-dimension.maximum=&quot;17cm and
         specifies a column width of 5cm on the middle column only.
       </fo:block>
       <!-- table start -->
-      <fo:table table-layout="fixed" border-collapse="separate"
+      <fo:table table-layout="fixed" width="100%" border-collapse="separate"
                 inline-progression-dimension.minimum="10cm"
                 inline-progression-dimension.maximum="17cm">
-        <fo:table-column background-color="yellow"/>
+        <fo:table-column column-width="proportional-column-width(1)" background-color="yellow"/>
         <fo:table-column column-width="5cm" background-color="blue"/>
-        <fo:table-column background-color="green"/>
+        <fo:table-column column-width="proportional-column-width(1)" background-color="green"/>
         <fo:table-body>
           <fo:table-row>
             <fo:table-cell display-align="before"><fo:block>Some text to make this cell

Modified: xmlgraphics/fop/trunk/examples/fo/build.xml
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/examples/fo/build.xml?rev=1354651&r1=1354650&r2=1354651&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/examples/fo/build.xml (original)
+++ xmlgraphics/fop/trunk/examples/fo/build.xml Wed Jun 27 18:08:31 2012
@@ -127,6 +127,7 @@
   </target>
   <!-- =================================================================== -->
   <!-- Compares new test pdf files to reference pdf files                  -->
+  <!-- N.B. All comparisons fail due to differences in /CreationDate       -->
   <!-- =================================================================== -->
   <target name="comparePDF" depends="newPDF">
     <compare referenceDirectory="${referenceDir}" testDirectory="${testDir}" filenames="normal.pdf,table.pdf,list.pdf,link.pdf,border.pdf,images.pdf,extensive.pdf,readme.pdf,fonts.pdf,bordershorthand.pdf,character.pdf,corresprop.pdf,hyphen.pdf,inhprop.pdf,instream.pdf,leader.pdf,newlinktest.pdf,normalex.pdf,pdfoutline.pdf,simple.pdf,textdeko.pdf,tableunits.pdf"/>
@@ -144,6 +145,7 @@
 
   <!-- =================================================================== -->
   <!-- Starts the test                                                     -->
+  <!-- N.B. All tests fail due to differences in /CreationDate             -->
   <!-- =================================================================== -->
   <target name="runtest" depends="comparePDF">
     <echo message="Running Fop tests"/>
@@ -154,6 +156,9 @@
   <target name="clean" depends="init">
     <delete dir="${testDir}"/>
   </target>
+  <target name="cleantest" depends="init">
+    <delete dir="${referenceDir}"/>
+  </target>
 
 </project>
 <!-- End of file -->

Modified: xmlgraphics/fop/trunk/examples/fo/svg/embedding.fo
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/examples/fo/svg/embedding.fo?rev=1354651&r1=1354650&r2=1354651&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/examples/fo/svg/embedding.fo (original)
+++ xmlgraphics/fop/trunk/examples/fo/svg/embedding.fo Wed Jun 27 18:08:31 2012
@@ -794,7 +794,7 @@ XML Syntax
       <fo:block>
 Here we have some examples of how the XML can be specified in the fo document.
       <fo:block>
-          <fo:table>
+          <fo:table table-layout="fixed" width="100%">
               <fo:table-column column-width="350pt"/>
               <fo:table-column column-width="150pt"/>
   <fo:table-body>
@@ -932,7 +932,7 @@ Sizing
       The size of the instream-foreign-object is obtained in a number of ways.
 
       <fo:block>
-          <fo:table xmlns:svg="http://www.w3.org/2000/svg">
+          <fo:table xmlns:svg="http://www.w3.org/2000/svg" table-layout="fixed" width="100%">
               <fo:table-column column-width="350pt"/>
               <fo:table-column column-width="150pt"/>
   <fo:table-body>

Modified: xmlgraphics/fop/trunk/examples/fo/tables/background.fo
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/examples/fo/tables/background.fo?rev=1354651&r1=1354650&r2=1354651&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/examples/fo/tables/background.fo (original)
+++ xmlgraphics/fop/trunk/examples/fo/tables/background.fo Wed Jun 27 18:08:31 2012
@@ -30,7 +30,7 @@
       Table 1: cell background
       </fo:block>
 
-      <fo:table>
+      <fo:table table-layout="fixed" width="100%">
   <fo:table-column column-width="3cm"/>
   <fo:table-column column-width="3cm"/>
   <fo:table-column column-width="3cm"/>
@@ -72,7 +72,7 @@
       Table 1: row background
       </fo:block>
 
-      <fo:table>
+      <fo:table table-layout="fixed" width="100%">
   <fo:table-column column-width="3cm"/>
   <fo:table-column column-width="3cm"/>
   <fo:table-column column-width="3cm"/>
@@ -152,7 +152,7 @@
       Table 1: column background
       </fo:block>
 
-      <fo:table>
+      <fo:table table-layout="fixed" width="100%">
   <fo:table-column column-width="3cm" background-color="green"/>
   <fo:table-column column-width="3cm" background-color="red"/>
   <fo:table-column column-width="3cm" background-color="blue"/>
@@ -219,7 +219,7 @@
       Table 1: column backgrounds over page
       </fo:block>
 
-      <fo:table>
+      <fo:table table-layout="fixed" width="100%">
   <fo:table-column column-width="3cm" background-color="green"/>
   <fo:table-column column-width="3cm" background-color="red"/>
   <fo:table-column column-width="3cm" background-color="blue"/>
@@ -286,7 +286,7 @@
       Table 1: body background
       </fo:block>
 
-      <fo:table>
+      <fo:table table-layout="fixed" width="100%">
   <fo:table-column column-width="3cm"/>
   <fo:table-column column-width="3cm"/>
   <fo:table-column column-width="3cm"/>
@@ -323,7 +323,7 @@
   </fo:table-body>
       </fo:table>
 
-      <fo:table>
+      <fo:table table-layout="fixed" width="100%">
   <fo:table-column column-width="3cm"/>
   <fo:table-column column-width="3cm"/>
   <fo:table-column column-width="3cm"/>
@@ -360,7 +360,7 @@
   </fo:table-body>
       </fo:table>
 
-      <fo:table>
+      <fo:table table-layout="fixed" width="100%">
   <fo:table-column column-width="3cm"/>
   <fo:table-column column-width="3cm"/>
   <fo:table-column column-width="3cm"/>
@@ -397,7 +397,7 @@
   </fo:table-body>
       </fo:table>
 
-      <fo:table>
+      <fo:table table-layout="fixed" width="100%">
   <fo:table-column column-width="3cm"/>
   <fo:table-column column-width="3cm"/>
   <fo:table-column column-width="3cm"/>
@@ -438,7 +438,7 @@
       Table 1: table background
       </fo:block>
 
-      <fo:table background-color="green">
+      <fo:table background-color="green" table-layout="fixed" width="100%">
   <fo:table-column column-width="3cm"/>
   <fo:table-column column-width="3cm"/>
   <fo:table-column column-width="3cm"/>
@@ -475,7 +475,7 @@
   </fo:table-body>
       </fo:table>
 
-      <fo:table background-color="red">
+      <fo:table background-color="red" table-layout="fixed" width="100%">
   <fo:table-column column-width="3cm"/>
   <fo:table-column column-width="3cm"/>
   <fo:table-column column-width="3cm"/>
@@ -516,7 +516,7 @@
       Table 1: combinations
       </fo:block>
 
-      <fo:table background-color="green">
+      <fo:table background-color="green" table-layout="fixed" width="100%">
   <fo:table-column column-width="2.5cm"/>
   <fo:table-column column-width="2.5cm" background-color="green"/>
   <fo:table-column column-width="2.5cm" background-color="red"/>

Modified: xmlgraphics/fop/trunk/examples/fo/tables/borders.fo
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/examples/fo/tables/borders.fo?rev=1354651&r1=1354650&r2=1354651&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/examples/fo/tables/borders.fo (original)
+++ xmlgraphics/fop/trunk/examples/fo/tables/borders.fo Wed Jun 27 18:08:31 2012
@@ -30,7 +30,7 @@
       Table 1: cell borders
       </fo:block>
 
-      <fo:table border-collapse="separate">
+      <fo:table border-collapse="separate" table-layout="fixed" width="100%">
   <fo:table-column column-width="3cm"/>
   <fo:table-column column-width="3cm"/>
   <fo:table-column column-width="3cm"/>
@@ -186,7 +186,7 @@
       Table 2: row borders
       </fo:block>
 
-      <fo:table border-collapse="collapse">
+      <fo:table border-collapse="collapse" table-layout="fixed" width="100%">
   <fo:table-column column-width="3cm"/>
   <fo:table-column column-width="3cm"/>
   <fo:table-column column-width="3cm"/>
@@ -310,7 +310,7 @@
       Table 3: column borders
       </fo:block>
 
-      <fo:table border-collapse="collapse">
+      <fo:table border-collapse="collapse" table-layout="fixed" width="100%">
   <fo:table-column column-width="3cm" border-left-color="green" border-left-width="0.5pt" border-left-style="solid"/>
   <fo:table-column column-width="3cm" border-top-color="red" border-top-width="0.5pt" border-top-style="solid"/>
   <fo:table-column column-width="3cm" border-right-color="blue" border-right-width="0.5pt" border-right-style="solid"/>
@@ -377,7 +377,7 @@
       Table 4: column borders over page
       </fo:block>
 
-      <fo:table border-collapse="collapse">
+      <fo:table border-collapse="collapse" table-layout="fixed" width="100%">
   <fo:table-column column-width="3cm" border-left-color="green" border-left-width="0.5pt" border-left-style="solid"/>
   <fo:table-column column-width="3cm" border-top-color="red" border-top-width="0.5pt" border-top-style="solid"/>
   <fo:table-column column-width="3cm" border-right-color="blue" border-right-width="0.5pt" border-right-style="solid"/>
@@ -444,7 +444,7 @@
       Table 5: body borders
       </fo:block>
 
-      <fo:table border-collapse="separate">
+      <fo:table border-collapse="separate" table-layout="fixed" width="100%">
   <fo:table-column column-width="3cm"/>
   <fo:table-column column-width="3cm"/>
   <fo:table-column column-width="3cm"/>
@@ -480,7 +480,7 @@
   </fo:table-body>
       </fo:table>
 
-      <fo:table border-collapse="separate">
+      <fo:table border-collapse="separate" table-layout="fixed" width="100%">
   <fo:table-column column-width="3cm"/>
   <fo:table-column column-width="3cm"/>
   <fo:table-column column-width="3cm"/>
@@ -516,7 +516,7 @@
   </fo:table-body>
       </fo:table>
 
-      <fo:table border-collapse="separate">
+      <fo:table border-collapse="separate" table-layout="fixed" width="100%">
   <fo:table-column column-width="3cm"/>
   <fo:table-column column-width="3cm"/>
   <fo:table-column column-width="3cm"/>
@@ -552,7 +552,7 @@
   </fo:table-body>
       </fo:table>
 
-      <fo:table border-collapse="separate">
+      <fo:table border-collapse="separate" table-layout="fixed" width="100%">
   <fo:table-column column-width="3cm"/>
   <fo:table-column column-width="3cm"/>
   <fo:table-column column-width="3cm"/>
@@ -588,7 +588,7 @@
   </fo:table-body>
       </fo:table>
 
-      <fo:table border-collapse="separate">
+      <fo:table border-collapse="separate" table-layout="fixed" width="100%">
   <fo:table-column column-width="3cm"/>
   <fo:table-column column-width="3cm"/>
   <fo:table-column column-width="3cm"/>
@@ -628,8 +628,7 @@
       Table 6: table borders
       </fo:block>
 
-      <fo:table border-left-color="green" border-left-width="0.5pt" border-left-style="solid"
- border-collapse="separate">
+      <fo:table border-left-color="green" border-left-width="0.5pt" border-left-style="solid" border-collapse="separate" table-layout="fixed" width="100%">
   <fo:table-column column-width="3cm"/>
   <fo:table-column column-width="3cm"/>
   <fo:table-column column-width="3cm"/>
@@ -665,7 +664,7 @@
   </fo:table-body>
       </fo:table>
 
-      <fo:table border-top-color="red" border-top-width="0.5pt" border-top-style="solid" border-collapse="separate">
+      <fo:table border-top-color="red" border-top-width="0.5pt" border-top-style="solid" border-collapse="separate" table-layout="fixed" width="100%">
   <fo:table-column column-width="3cm"/>
   <fo:table-column column-width="3cm"/>
   <fo:table-column column-width="3cm"/>
@@ -701,7 +700,7 @@
   </fo:table-body>
       </fo:table>
 
-      <fo:table border-right-color="blue" border-right-width="0.5pt" border-right-style="solid" border-collapse="separate">
+      <fo:table border-right-color="blue" border-right-width="0.5pt" border-right-style="solid" border-collapse="separate" table-layout="fixed" width="100%">
   <fo:table-column column-width="3cm"/>
   <fo:table-column column-width="3cm"/>
   <fo:table-column column-width="3cm"/>
@@ -737,7 +736,7 @@
   </fo:table-body>
       </fo:table>
 
-      <fo:table border-bottom-color="yellow" border-bottom-width="0.5pt" border-bottom-style="solid" border-collapse="separate">
+      <fo:table border-bottom-color="yellow" border-bottom-width="0.5pt" border-bottom-style="solid" border-collapse="separate" table-layout="fixed" width="100%">
   <fo:table-column column-width="3cm"/>
   <fo:table-column column-width="3cm"/>
   <fo:table-column column-width="3cm"/>
@@ -773,7 +772,7 @@
   </fo:table-body>
       </fo:table>
 
-      <fo:table border-color="orange" border-width="0.5pt" border-style="solid" border-collapse="separate">
+      <fo:table border-color="orange" border-width="0.5pt" border-style="solid" border-collapse="separate" table-layout="fixed" width="100%">
   <fo:table-column column-width="3cm"/>
   <fo:table-column column-width="3cm"/>
   <fo:table-column column-width="3cm"/>
@@ -813,7 +812,7 @@
       Table 7: combinations
       </fo:block>
 
-      <fo:table border-left-color="green" border-left-width="0.5pt" border-left-style="solid" border-collapse="collapse">
+      <fo:table border-left-color="green" border-left-width="0.5pt" border-left-style="solid" border-collapse="collapse" table-layout="fixed" width="100%">
   <fo:table-column column-width="2.5cm"/>
   <fo:table-column column-width="2.5cm" border-left-color="green" border-left-width="0.5pt" border-left-style="solid"/>
   <fo:table-column column-width="2.5cm" border-top-color="red" border-top-width="0.5pt" border-top-style="solid"/>
@@ -1025,7 +1024,7 @@
   implementation status.
   </fo:block>
 
-    <fo:table border-collapse="collapse" table-layout="fixed">
+    <fo:table border-collapse="collapse" table-layout="fixed" width="100%">
     <fo:table-column column-width="3cm" border-color="blue" border-width="0.5pt" border-style="solid"/>
     <fo:table-column column-width="3cm" border-color="blue" border-width="0.5pt" border-style="solid"/>
     <fo:table-column column-width="3cm" border-color="blue" border-width="0.5pt" border-style="solid"/>
@@ -1090,7 +1089,7 @@
   fo:table-cell level.
   </fo:block>
 
-    <fo:table border-collapse="collapse" table-layout="fixed">
+    <fo:table border-collapse="collapse" table-layout="fixed" width="100%">
     <fo:table-column column-width="3cm"/>
     <fo:table-column column-width="3cm"/>
     <fo:table-column column-width="3cm"/>
@@ -1159,7 +1158,7 @@
   Check the FOP compliance page for current implementation status.
   </fo:block>
 
-    <fo:table border-collapse="collapse" table-layout="fixed" 
+    <fo:table border-collapse="collapse" table-layout="fixed" width="100%"
         border-style="solid" border-width="5pt" border-color="yellow">
     <fo:table-column column-width="3cm" 
         border-style="solid" border-width="3pt" border-color="black"/>
@@ -1264,7 +1263,7 @@
   the border properties differ only on color.
   </fo:block>
 
-    <fo:table border-collapse="collapse" table-layout="fixed">
+    <fo:table border-collapse="collapse" table-layout="fixed" width="100%">
 
     <fo:table-column column-width="3cm" 
         border-style="solid" border-width="3pt" border-color="black"/>

Modified: xmlgraphics/fop/trunk/examples/fo/tables/break.fo
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/examples/fo/tables/break.fo?rev=1354651&r1=1354650&r2=1354651&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/examples/fo/tables/break.fo (original)
+++ xmlgraphics/fop/trunk/examples/fo/tables/break.fo Wed Jun 27 18:08:31 2012
@@ -34,7 +34,7 @@
       Table 1: basic break after with next
       </fo:block>
 
-      <fo:table border-width="0.5pt" border-color="red">
+      <fo:table border-width="0.5pt" border-color="red" table-layout="fixed" width="100%">
   <fo:table-column column-width="3cm"/>
   <fo:table-column column-width="3cm"/>
   <fo:table-column column-width="3cm"/>
@@ -81,7 +81,7 @@
       Table 2: basic break before with next
       </fo:block>
 
-      <fo:table border-width="0.5pt" border-color="red">
+      <fo:table border-width="0.5pt" border-color="red" table-layout="fixed" width="100%">
   <fo:table-column column-width="3cm"/>
   <fo:table-column column-width="3cm"/>
   <fo:table-column column-width="3cm"/>
@@ -128,7 +128,7 @@
       Table 3: basic break before a keep with next
       </fo:block>
 
-      <fo:table border-width="0.5pt" border-color="red">
+      <fo:table border-width="0.5pt" border-color="red" table-layout="fixed" width="100%">
   <fo:table-column column-width="3cm"/>
   <fo:table-column column-width="3cm"/>
   <fo:table-column column-width="3cm"/>
@@ -175,7 +175,7 @@
       Table 4: basic break after a keep with previous
       </fo:block>
 
-      <fo:table border-width="0.5pt" border-color="red">
+      <fo:table border-width="0.5pt" border-color="red" table-layout="fixed" width="100%">
   <fo:table-column column-width="3cm"/>
   <fo:table-column column-width="3cm"/>
   <fo:table-column column-width="3cm"/>
@@ -222,7 +222,7 @@
       Table 5: basic break after a keep with previous
       </fo:block>
 
-      <fo:table border-width="0.5pt" border-color="red">
+      <fo:table border-width="0.5pt" border-color="red" table-layout="fixed" width="100%">
   <fo:table-column column-width="3cm"/>
   <fo:table-column column-width="3cm"/>
   <fo:table-column column-width="3cm"/>

Modified: xmlgraphics/fop/trunk/examples/fo/tables/headfoot.fo
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/examples/fo/tables/headfoot.fo?rev=1354651&r1=1354650&r2=1354651&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/examples/fo/tables/headfoot.fo (original)
+++ xmlgraphics/fop/trunk/examples/fo/tables/headfoot.fo Wed Jun 27 18:08:31 2012
@@ -30,7 +30,7 @@
       Table 1: with header
       </fo:block>
 
-      <fo:table>
+      <fo:table table-layout="fixed" width="100%">
   <fo:table-column column-width="2cm"/>
   <fo:table-column column-width="2cm"/>
   <fo:table-column column-width="2cm"/>
@@ -311,7 +311,7 @@
       Table 2: with footer
       </fo:block>
 
-      <fo:table>
+      <fo:table table-layout="fixed" width="100%">
   <fo:table-column column-width="2cm"/>
   <fo:table-column column-width="2cm"/>
   <fo:table-column column-width="2cm"/>
@@ -592,7 +592,7 @@
       Table 3: with header and footer and keeps
       </fo:block>
 
-      <fo:table>
+      <fo:table table-layout="fixed" width="100%">
   <fo:table-column column-width="2cm"/>
   <fo:table-column column-width="2cm"/>
   <fo:table-column column-width="2cm"/>
@@ -888,7 +888,7 @@
       Table 4: cells spanning columns
       </fo:block>
 
-      <fo:table>
+      <fo:table table-layout="fixed" width="100%">
   <fo:table-column column-width="2cm"/>
   <fo:table-column column-width="2cm"/>
   <fo:table-column column-width="2cm"/>
@@ -940,7 +940,7 @@
       Table 5: cells spanning rows
       </fo:block>
 
-      <fo:table>
+      <fo:table table-layout="fixed" width="100%">
   <fo:table-column column-width="48pt"/>
   <fo:table-column column-width="48pt"/>
   <fo:table-column column-width="48pt"/>
@@ -1054,7 +1054,7 @@
       Table 6: table with header and multiple body's
       </fo:block>
 
-      <fo:table>
+      <fo:table table-layout="fixed" width="100%">
   <fo:table-column column-width="2cm"/>
   <fo:table-column column-width="2cm"/>
   <fo:table-column column-width="2cm"/>
@@ -1242,7 +1242,7 @@
       Table 6: table with footer and multiple body's
       </fo:block>
 
-      <fo:table>
+      <fo:table table-layout="fixed" width="100%">
   <fo:table-column column-width="2cm"/>
   <fo:table-column column-width="2cm"/>
   <fo:table-column column-width="2cm"/>

Modified: xmlgraphics/fop/trunk/examples/fo/tables/keep.fo
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/examples/fo/tables/keep.fo?rev=1354651&r1=1354650&r2=1354651&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/examples/fo/tables/keep.fo (original)
+++ xmlgraphics/fop/trunk/examples/fo/tables/keep.fo Wed Jun 27 18:08:31 2012
@@ -34,7 +34,7 @@
       Table 1: basic keep with next
       </fo:block>
 
-      <fo:table border-width="0.5pt" border-color="red">
+      <fo:table border-width="0.5pt" border-color="red" table-layout="fixed" width="100%">
   <fo:table-column column-width="3cm"/>
   <fo:table-column column-width="3cm"/>
   <fo:table-column column-width="3cm"/>
@@ -81,7 +81,7 @@
       Table 1: basic keep with previous
       </fo:block>
 
-      <fo:table border-width="0.5pt" border-color="red">
+      <fo:table border-width="0.5pt" border-color="red" table-layout="fixed" width="100%">
   <fo:table-column column-width="3cm"/>
   <fo:table-column column-width="3cm"/>
   <fo:table-column column-width="3cm"/>
@@ -128,7 +128,7 @@
       Table 1: basic keep with next and keep with previous
       </fo:block>
 
-      <fo:table border-width="0.5pt" border-color="red">
+      <fo:table border-width="0.5pt" border-color="red" table-layout="fixed" width="100%">
   <fo:table-column column-width="3cm"/>
   <fo:table-column column-width="3cm"/>
   <fo:table-column column-width="3cm"/>
@@ -192,7 +192,7 @@
       Table 1: basic multiple keep with next after normal row
       </fo:block>
 
-      <fo:table border-width="0.5pt" border-color="red">
+      <fo:table border-width="0.5pt" border-color="red" table-layout="fixed" width="100%">
   <fo:table-column column-width="3cm"/>
   <fo:table-column column-width="3cm"/>
   <fo:table-column column-width="3cm"/>
@@ -324,7 +324,7 @@
       Table 1: basic multiple keep (next and previous) after normal row
       </fo:block>
 
-      <fo:table border-width="0.5pt" border-color="red">
+      <fo:table border-width="0.5pt" border-color="red" table-layout="fixed" width="100%">
   <fo:table-column column-width="3cm"/>
   <fo:table-column column-width="3cm"/>
   <fo:table-column column-width="6cm"/>
@@ -456,7 +456,7 @@
       Table 1: basic multiple keep with next after normal row with normal row in middle
       </fo:block>
 
-      <fo:table border-width="0.5pt" border-color="red">
+      <fo:table border-width="0.5pt" border-color="red" table-layout="fixed" width="100%">
   <fo:table-column column-width="3cm"/>
   <fo:table-column column-width="3cm"/>
   <fo:table-column column-width="6cm"/>

Modified: xmlgraphics/fop/trunk/examples/fo/tables/omit.fo
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/examples/fo/tables/omit.fo?rev=1354651&r1=1354650&r2=1354651&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/examples/fo/tables/omit.fo (original)
+++ xmlgraphics/fop/trunk/examples/fo/tables/omit.fo Wed Jun 27 18:08:31 2012
@@ -30,7 +30,7 @@
       Table 1: with header
       </fo:block>
 
-      <fo:table table-omit-header-at-break="true">
+      <fo:table table-omit-header-at-break="true" table-layout="fixed" width="100%">
   <fo:table-column column-width="2cm"/>
   <fo:table-column column-width="2cm"/>
   <fo:table-column column-width="2cm"/>
@@ -311,7 +311,7 @@
       Table 2: with footer
       </fo:block>
 
-      <fo:table table-omit-footer-at-break="true">
+      <fo:table table-omit-footer-at-break="true" table-layout="fixed" width="100%">
   <fo:table-column column-width="2cm"/>
   <fo:table-column column-width="2cm"/>
   <fo:table-column column-width="2cm"/>
@@ -592,7 +592,7 @@
       Table 3: with header and footer and keeps
       </fo:block>
 
-      <fo:table table-omit-header-at-break="true" table-omit-footer-at-break="true">
+      <fo:table table-omit-header-at-break="true" table-omit-footer-at-break="true" table-layout="fixed" width="100%">
   <fo:table-column column-width="2cm"/>
   <fo:table-column column-width="2cm"/>
   <fo:table-column column-width="2cm"/>
@@ -888,7 +888,7 @@
       Table 6: table with multiple body's
       </fo:block>
 
-      <fo:table table-omit-header-at-break="true">
+      <fo:table table-omit-header-at-break="true" table-layout="fixed" width="100%">
   <fo:table-column column-width="2cm"/>
   <fo:table-column column-width="2cm"/>
   <fo:table-column column-width="2cm"/>
@@ -1076,7 +1076,7 @@
       Table 6: table with multiple body's
       </fo:block>
 
-      <fo:table table-omit-footer-at-break="true">
+      <fo:table table-omit-footer-at-break="true" table-layout="fixed" width="100%">
   <fo:table-column column-width="2cm"/>
   <fo:table-column column-width="2cm"/>
   <fo:table-column column-width="2cm"/>

Modified: xmlgraphics/fop/trunk/examples/fo/tables/space.fo
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/examples/fo/tables/space.fo?rev=1354651&r1=1354650&r2=1354651&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/examples/fo/tables/space.fo (original)
+++ xmlgraphics/fop/trunk/examples/fo/tables/space.fo Wed Jun 27 18:08:31 2012
@@ -30,7 +30,7 @@
       Table 1: spaces around cells
       </fo:block>
 
-      <fo:table border-style="solid" border-width="0.5pt" border-color="red">
+      <fo:table border-style="solid" border-width="0.5pt" border-color="red" table-layout="fixed" width="100%">
   <fo:table-column column-width="3cm"/>
   <fo:table-column column-width="3cm"/>
   <fo:table-column column-width="3cm"/>
@@ -109,7 +109,7 @@
       Table 2: spaces around rows
       </fo:block>
 
-      <fo:table border-style="solid" border-width="0.5pt" border-color="red">
+      <fo:table border-style="solid" border-width="0.5pt" border-color="red" table-layout="fixed" width="100%">
   <fo:table-column column-width="3cm"/>
   <fo:table-column column-width="3cm"/>
   <fo:table-column column-width="3cm"/>
@@ -190,7 +190,7 @@
       Table 3: spaces around body
       </fo:block>
 
-      <fo:table border-style="solid" border-width="0.5pt" border-color="red">
+      <fo:table border-style="solid" border-width="0.5pt" border-color="red" table-layout="fixed" width="100%">
   <fo:table-column column-width="3cm"/>
   <fo:table-column column-width="3cm"/>
   <fo:table-column column-width="3cm"/>
@@ -281,7 +281,7 @@
       </fo:block>
 
     <fo:block border-style="solid" border-width="0.5pt">
-      <fo:table space-before.optimum="5pt" border-style="solid" border-width="0.5pt" border-color="red">
+      <fo:table space-before.optimum="5pt" border-style="solid" border-width="0.5pt" border-color="red" table-layout="fixed" width="100%">
   <fo:table-column column-width="3cm"/>
   <fo:table-column column-width="3cm"/>
   <fo:table-column column-width="3cm"/>
@@ -309,7 +309,7 @@
     </fo:block>
 
     <fo:block border-style="solid" border-width="0.5pt">
-      <fo:table padding-left="5pt" border-style="solid" border-width="0.5pt" border-color="red">
+      <fo:table padding-left="5pt" border-style="solid" border-width="0.5pt" border-color="red" table-layout="fixed" width="100%">
   <fo:table-column column-width="3cm"/>
   <fo:table-column column-width="3cm"/>
   <fo:table-column column-width="3cm"/>
@@ -337,7 +337,7 @@
     </fo:block>
 
     <fo:block border-style="solid" border-width="0.5pt">
-      <fo:table padding-right="5pt" border-style="solid" border-width="0.5pt" border-color="red">
+      <fo:table padding-right="5pt" border-style="solid" border-width="0.5pt" border-color="red" table-layout="fixed" width="100%">
   <fo:table-column column-width="3cm"/>
   <fo:table-column column-width="3cm"/>
   <fo:table-column column-width="3cm"/>
@@ -365,7 +365,7 @@
     </fo:block>
 
     <fo:block border-style="solid" border-width="0.5pt">
-      <fo:table space-after.optimum="5pt" border-style="solid" border-width="0.5pt" border-color="red">
+      <fo:table space-after.optimum="5pt" border-style="solid" border-width="0.5pt" border-color="red" table-layout="fixed" width="100%">
   <fo:table-column column-width="3cm"/>
   <fo:table-column column-width="3cm"/>
   <fo:table-column column-width="3cm"/>
@@ -397,7 +397,7 @@
       </fo:block>
 
     <fo:block border-style="solid" border-width="0.5pt">
-      <fo:table space-after.optimum="20pt" border-style="solid" border-width="0.5pt" border-color="red">
+      <fo:table space-after.optimum="20pt" border-style="solid" border-width="0.5pt" border-color="red" table-layout="fixed" width="100%">
   <fo:table-column column-width="3cm"/>
   <fo:table-column column-width="3cm"/>
   <fo:table-column column-width="3cm"/>
@@ -462,7 +462,7 @@
     </fo:block>
 
     <fo:block border-style="solid" border-width="0.5pt">
-      <fo:table space-after.optimum="5pt" border-style="solid" border-width="0.5pt" border-color="red">
+      <fo:table space-after.optimum="5pt" border-style="solid" border-width="0.5pt" border-color="red" table-layout="fixed" width="100%">
   <fo:table-column column-width="3cm"/>
   <fo:table-column column-width="3cm"/>
   <fo:table-column column-width="3cm"/>

Modified: xmlgraphics/fop/trunk/src/documentation/content/xdocs/examples.xml
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/documentation/content/xdocs/examples.xml?rev=1354651&r1=1354650&r2=1354651&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/src/documentation/content/xdocs/examples.xml (original)
+++ xmlgraphics/fop/trunk/src/documentation/content/xdocs/examples.xml Wed Jun 27 18:08:31 2012
@@ -39,7 +39,7 @@
       <tr>
         <td>default font characters</td>
         <td><link href="fo/fonts.fo">fonts.fo</link></td>
-        <td><link href="fo/fonts.fo.pdf">fonts.fo.pdf</link></td>
+        <td><link href="fo/fonts.pdf">fonts.pdf</link></td>
       </tr>
     </table>
     <p>Other basic examples on the use of XSL-FO can be found in the FOP distribution in
@@ -100,17 +100,17 @@ Embedding images in FO:
     <tr>
       <td>align in larger viewport</td>
       <td><link href="fo/align.fo">align.fo</link></td>
-      <td><link href="fo/align.fo.pdf">align.fo.pdf</link></td>
+      <td><link href="fo/align.pdf">align.pdf</link></td>
     </tr>
     <tr>
       <td>align in smaller viewport</td>
       <td><link href="fo/align2.fo">align2.fo</link></td>
-      <td><link href="fo/align2.fo.pdf">align2.fo.pdf</link></td>
+      <td><link href="fo/align2.pdf">align2.pdf</link></td>
     </tr>
     <tr>
       <td>scaling image</td>
       <td><link href="fo/size.fo">size.fo</link></td>
-      <td><link href="fo/size.fo.pdf">size.fo.pdf</link></td>
+      <td><link href="fo/size.pdf">size.pdf</link></td>
     </tr>
   </table>
       <p>Look also into the directory examples/fo/svg. There you find some very extensive SVG examples.
@@ -132,7 +132,7 @@ Instream Foreign Object images in FO, th
     <tr>
       <td>embedding svg in viewport</td>
       <td><link href="fo/embed.fo">embed.fo</link></td>
-      <td><link href="fo/embed.fo.pdf">embed.fo.pdf</link></td>
+      <td><link href="fo/embed.pdf">embed.pdf</link></td>
     </tr>
   </table>
   </section>

Modified: xmlgraphics/fop/trunk/src/documentation/content/xdocs/fo/align.fo
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/documentation/content/xdocs/fo/align.fo?rev=1354651&r1=1354650&r2=1354651&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/src/documentation/content/xdocs/fo/align.fo (original)
+++ xmlgraphics/fop/trunk/src/documentation/content/xdocs/fo/align.fo Wed Jun 27 18:08:31 2012
@@ -19,19 +19,18 @@
 <fo:root font-family="Times Roman" font-size="12pt" text-align="center" xmlns:fo="http://www.w3.org/1999/XSL/Format">
 
 <fo:layout-master-set>
-    <fo:simple-page-master
-  margin-right="1.5cm"
-  margin-left="1.5cm"
-  margin-bottom="2cm"
-  margin-top="1cm"
-  page-width="21cm"
-  page-height="29.7cm"
-  master-name="left">
-      <fo:region-before extent="1cm"/>
-      <fo:region-body margin-top="1cm"/>
-      <fo:region-after extent="1.5cm"/>
-    </fo:simple-page-master>
-
+  <fo:simple-page-master
+     margin-right="1.5cm"
+     margin-left="1.5cm"
+     margin-bottom="2cm"
+     margin-top="1cm"
+     page-width="21cm"
+     page-height="29.7cm"
+     master-name="left">
+    <fo:region-body margin-top="1cm"/>
+    <fo:region-before extent="1cm"/>
+    <fo:region-after extent="1.5cm"/>
+  </fo:simple-page-master>
 </fo:layout-master-set>
 
 <fo:page-sequence id="N2528" master-reference="left">

Added: xmlgraphics/fop/trunk/src/documentation/content/xdocs/fo/align.pdf
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/documentation/content/xdocs/fo/align.pdf?rev=1354651&view=auto
==============================================================================
Files xmlgraphics/fop/trunk/src/documentation/content/xdocs/fo/align.pdf (added) and xmlgraphics/fop/trunk/src/documentation/content/xdocs/fo/align.pdf Wed Jun 27 18:08:31 2012 differ

Modified: xmlgraphics/fop/trunk/src/documentation/content/xdocs/fo/align2.fo
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/documentation/content/xdocs/fo/align2.fo?rev=1354651&r1=1354650&r2=1354651&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/src/documentation/content/xdocs/fo/align2.fo (original)
+++ xmlgraphics/fop/trunk/src/documentation/content/xdocs/fo/align2.fo Wed Jun 27 18:08:31 2012
@@ -19,19 +19,18 @@
 <fo:root font-family="Times Roman" font-size="12pt" text-align="center" xmlns:fo="http://www.w3.org/1999/XSL/Format">
 
 <fo:layout-master-set>
-    <fo:simple-page-master
-  margin-right="1.5cm"
-  margin-left="1.5cm"
-  margin-bottom="2cm"
-  margin-top="1cm"
-  page-width="21cm"
-  page-height="29.7cm"
-  master-name="left">
-      <fo:region-before extent="1cm"/>
-      <fo:region-body margin-top="1cm"/>
-      <fo:region-after extent="1.5cm"/>
-    </fo:simple-page-master>
-
+  <fo:simple-page-master
+     margin-right="1.5cm"
+     margin-left="1.5cm"
+     margin-bottom="2cm"
+     margin-top="1cm"
+     page-width="21cm"
+     page-height="29.7cm"
+     master-name="left">
+    <fo:region-body margin-top="1cm"/>
+    <fo:region-before extent="1cm"/>
+    <fo:region-after extent="1.5cm"/>
+  </fo:simple-page-master>
 </fo:layout-master-set>
 
 <fo:page-sequence id="N2528" master-reference="left">
@@ -59,7 +58,7 @@ Default align:
   <fo:block>
 Default align:
 (<fo:external-graphic width="50pt" height="50pt" overflow="hidden" src="images/fop.jpg"/>), start-before
-(<fo:external-graphic width="50pt" height="50pt" overflow="hidden" text-align="start" display-align="start" src="images/fop.jpg"/>), start-center
+(<fo:external-graphic width="50pt" height="50pt" overflow="hidden" text-align="start" display-align="before" src="images/fop.jpg"/>), start-center
 (<fo:external-graphic width="50pt" height="50pt" overflow="hidden" text-align="start" display-align="center" src="images/fop.jpg"/>), start-after
 (<fo:external-graphic width="50pt" height="50pt" overflow="hidden" text-align="start" display-align="after" src="images/fop.jpg"/>), center-before
 (<fo:external-graphic width="50pt" height="50pt" overflow="hidden" text-align="center" display-align="before" src="images/fop.jpg"/>), center-after

Added: xmlgraphics/fop/trunk/src/documentation/content/xdocs/fo/align2.pdf
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/documentation/content/xdocs/fo/align2.pdf?rev=1354651&view=auto
==============================================================================
Files xmlgraphics/fop/trunk/src/documentation/content/xdocs/fo/align2.pdf (added) and xmlgraphics/fop/trunk/src/documentation/content/xdocs/fo/align2.pdf Wed Jun 27 18:08:31 2012 differ

Added: xmlgraphics/fop/trunk/src/documentation/content/xdocs/fo/build.xml
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/documentation/content/xdocs/fo/build.xml?rev=1354651&view=auto
==============================================================================
--- xmlgraphics/fop/trunk/src/documentation/content/xdocs/fo/build.xml (added)
+++ xmlgraphics/fop/trunk/src/documentation/content/xdocs/fo/build.xml Wed Jun 27 18:08:31 2012
@@ -0,0 +1,70 @@
+<?xml version="1.0"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<!-- =========================================================================== -->
+<project default="newPDF" basedir=".">
+  <!-- =================================================================== -->
+  <!-- Initialization target                                               -->
+  <!-- =================================================================== -->
+  <target name="init">
+    <tstamp/>
+    <mkdir dir="tests"/>
+    <property name="testDir" value="tests"/>
+    <property name="foDir" value="."/>
+    <path id="run-classpath">
+      <fileset dir="../../../../../lib">
+    	<include name="*.jar"/>
+      </fileset>
+      <pathelement location="../../../../../build/fop.jar"/>
+    </path>
+    <taskdef name="fop" classname="org.apache.fop.tools.anttasks.Fop" classpathref="run-classpath"/>
+  </target>
+  <!-- =================================================================== -->
+  <!-- Help on usage                                                       -->
+  <!-- =================================================================== -->
+  <target name="usage">
+    <echo message="Use '-projecthelp' instead"/>
+  </target>
+  <!-- =================================================================== -->
+  <!-- Produces new test files (function)                                  -->
+  <!-- =================================================================== -->
+  <target name="newTestFiles">
+    <fop format="${mimetype}" outdir="${outDir}" messagelevel="${msglevel}" relativebase="true" throwexceptions="false">
+      <fileset dir=".">
+        <include name="**/*.fo"/>
+      </fileset>
+    </fop>
+  </target>
+  <!-- =================================================================== -->
+  <!-- Produces new test PDF files                                         -->
+  <!-- =================================================================== -->
+  <target name="newPDF" depends="init" description="Creates a new set of PDF test files">
+    <antcall target="newTestFiles">
+      <param name="mimetype" value="application/pdf"/>
+      <param name="msglevel" value="warn"/>
+      <param name="outDir" value="${testDir}"/>
+    </antcall>
+  </target>
+  <!-- =================================================================== -->
+  <!-- Clean targets                                                       -->
+  <!-- =================================================================== -->
+  <target name="clean" depends="init">
+    <delete dir="${testDir}"/>
+  </target>
+
+</project>
+<!-- End of file -->

Modified: xmlgraphics/fop/trunk/src/documentation/content/xdocs/fo/embed.fo
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/documentation/content/xdocs/fo/embed.fo?rev=1354651&r1=1354650&r2=1354651&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/src/documentation/content/xdocs/fo/embed.fo (original)
+++ xmlgraphics/fop/trunk/src/documentation/content/xdocs/fo/embed.fo Wed Jun 27 18:08:31 2012
@@ -23,19 +23,18 @@
 <fo:root font-family="Times Roman" font-size="12pt" xmlns:fo="http://www.w3.org/1999/XSL/Format">
 
 <fo:layout-master-set>
-    <fo:simple-page-master
-  margin-right="1.5cm"
-  margin-left="1.5cm"
-  margin-bottom="2cm"
-  margin-top="1cm"
-  page-width="21cm"
-  page-height="29.7cm"
-  master-name="left">
-      <fo:region-before extent="1cm"/>
-      <fo:region-body margin-top="1cm"/>
-      <fo:region-after extent="1.5cm"/>
-    </fo:simple-page-master>
-
+  <fo:simple-page-master
+     margin-right="1.5cm"
+     margin-left="1.5cm"
+     margin-bottom="2cm"
+     margin-top="1cm"
+     page-width="21cm"
+     page-height="29.7cm"
+     master-name="left">
+    <fo:region-body margin-top="1cm"/>
+    <fo:region-before extent="1cm"/>
+    <fo:region-after extent="1.5cm"/>
+  </fo:simple-page-master>
 </fo:layout-master-set>
 
 <fo:page-sequence id="N2528" master-reference="left">

Added: xmlgraphics/fop/trunk/src/documentation/content/xdocs/fo/embed.pdf
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/documentation/content/xdocs/fo/embed.pdf?rev=1354651&view=auto
==============================================================================
Files xmlgraphics/fop/trunk/src/documentation/content/xdocs/fo/embed.pdf (added) and xmlgraphics/fop/trunk/src/documentation/content/xdocs/fo/embed.pdf Wed Jun 27 18:08:31 2012 differ

Modified: xmlgraphics/fop/trunk/src/documentation/content/xdocs/fo/fonts.fo
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/documentation/content/xdocs/fo/fonts.fo?rev=1354651&r1=1354650&r2=1354651&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/src/documentation/content/xdocs/fo/fonts.fo (original)
+++ xmlgraphics/fop/trunk/src/documentation/content/xdocs/fo/fonts.fo Wed Jun 27 18:08:31 2012
@@ -18,32 +18,32 @@
 <!-- $Id$ -->
 <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
 
-  <!-- defines the layout master -->
-  <fo:layout-master-set>
-    <fo:simple-page-master master-name="first"
-                           page-height="29.7cm"
-                           page-width="21cm"
-                           margin-top="1cm"
-                           margin-bottom="2cm"
-                           margin-left="2.5cm"
-                           margin-right="2.5cm">
-      <fo:region-body margin-top="1cm"/>
-      <fo:region-before extent="1cm"/>
-      <fo:region-after extent="1.5cm"/>
-    </fo:simple-page-master>
-  </fo:layout-master-set>
-
-  <!-- starts actual layout -->
-  <fo:page-sequence master-reference="first">
+<!-- defines the layout master -->
+<fo:layout-master-set>
+  <fo:simple-page-master
+     master-name="first"
+     page-height="29.7cm"
+     page-width="21cm"
+     margin-top="1cm"
+     margin-bottom="2cm"
+     margin-left="2.5cm"
+     margin-right="2.5cm">
+    <fo:region-body margin-top="1cm"/>
+    <fo:region-before extent="1cm"/>
+    <fo:region-after extent="1.5cm"/>
+  </fo:simple-page-master>
+</fo:layout-master-set>
 
+<!-- starts actual layout -->
+<fo:page-sequence master-reference="first">
 
 <fo:flow flow-name="xsl-region-body">
 
-  <fo:block font-family="Helvetica" font-size="14pt">
+<fo:block font-family="Helvetica" font-size="14pt">
 Helvetica
   </fo:block>
-  <fo:block space-after.optimum="10pt" font-family="Helvetica" font-size="10pt">
-<fo:table>
+<fo:block space-after.optimum="10pt" font-family="Helvetica" font-size="10pt">
+<fo:table table-layout="fixed" width="100%">
 <fo:table-column column-width="65pt"/>
 <fo:table-column column-width="30pt"/>
 <fo:table-column column-width="65pt"/>
@@ -303,7 +303,7 @@ Helvetica
 Times Roman
   </fo:block>
   <fo:block space-after.optimum="10pt" font-family="Times Roman" font-size="10pt">
-<fo:table> 
+<fo:table table-layout="fixed" width="100%"> 
 <fo:table-column column-width="65pt"/>
 <fo:table-column column-width="30pt"/>
 <fo:table-column column-width="65pt"/>
@@ -563,7 +563,7 @@ Times Roman
 Courier
   </fo:block>
   <fo:block space-after.optimum="10pt" font-family="Courier" font-size="10pt">
-<fo:table>
+<fo:table table-layout="fixed" width="100%">
 <fo:table-column column-width="65pt"/>
 <fo:table-column column-width="30pt"/>
 <fo:table-column column-width="65pt"/>
@@ -823,7 +823,7 @@ Courier
  ZapfDingbats:
   </fo:block>
   <fo:block space-after.optimum="10pt" font-family="ZapfDingbats" font-size="10pt">
-<fo:table>
+<fo:table table-layout="fixed" width="100%">
 <fo:table-column column-width="65pt"/>
 <fo:table-column column-width="30pt"/>
 <fo:table-column column-width="65pt"/>
@@ -1071,7 +1071,7 @@ Courier
  Symbol:
   </fo:block>
   <fo:block space-after.optimum="10pt" font-family="Symbol" font-size="10pt">
-<fo:table>
+<fo:table table-layout="fixed" width="100%">
 <fo:table-column column-width="65pt"/>
 <fo:table-column column-width="30pt"/>
 <fo:table-column column-width="65pt"/>

Added: xmlgraphics/fop/trunk/src/documentation/content/xdocs/fo/fonts.pdf
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/documentation/content/xdocs/fo/fonts.pdf?rev=1354651&view=auto
==============================================================================
Files xmlgraphics/fop/trunk/src/documentation/content/xdocs/fo/fonts.pdf (added) and xmlgraphics/fop/trunk/src/documentation/content/xdocs/fo/fonts.pdf Wed Jun 27 18:08:31 2012 differ

Modified: xmlgraphics/fop/trunk/src/documentation/content/xdocs/fo/size.fo
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/documentation/content/xdocs/fo/size.fo?rev=1354651&r1=1354650&r2=1354651&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/src/documentation/content/xdocs/fo/size.fo (original)
+++ xmlgraphics/fop/trunk/src/documentation/content/xdocs/fo/size.fo Wed Jun 27 18:08:31 2012
@@ -19,19 +19,18 @@
 <fo:root font-family="Times Roman" font-size="12pt" xmlns:fo="http://www.w3.org/1999/XSL/Format">
 
 <fo:layout-master-set>
-    <fo:simple-page-master
-  margin-right="1.5cm"
-  margin-left="1.5cm"
-  margin-bottom="2cm"
-  margin-top="1cm"
-  page-width="21cm"
-  page-height="29.7cm"
-  master-name="left">
-      <fo:region-before extent="0.5cm"/>
-      <fo:region-body margin-top="0.5cm" margin-bottom="1.7cm"/>
-      <fo:region-after extent="1.5cm"/>
-    </fo:simple-page-master>
-
+  <fo:simple-page-master
+     margin-right="1.5cm"
+     margin-left="1.5cm"
+     margin-bottom="2cm"
+     margin-top="1cm"
+     page-width="21cm"
+     page-height="29.7cm"
+     master-name="left">
+    <fo:region-body margin-top="0.5cm" margin-bottom="1.7cm"/>
+    <fo:region-before extent="0.5cm"/>
+    <fo:region-after extent="1.5cm"/>
+  </fo:simple-page-master>
 </fo:layout-master-set>
 
 <fo:page-sequence id="N2528" master-reference="left">

Added: xmlgraphics/fop/trunk/src/documentation/content/xdocs/fo/size.pdf
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/documentation/content/xdocs/fo/size.pdf?rev=1354651&view=auto
==============================================================================
Files xmlgraphics/fop/trunk/src/documentation/content/xdocs/fo/size.pdf (added) and xmlgraphics/fop/trunk/src/documentation/content/xdocs/fo/size.pdf Wed Jun 27 18:08:31 2012 differ

Modified: xmlgraphics/fop/trunk/status.xml
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/status.xml?rev=1354651&r1=1354650&r2=1354651&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/status.xml (original)
+++ xmlgraphics/fop/trunk/status.xml Wed Jun 27 18:08:31 2012
@@ -63,6 +63,9 @@
       documents. Example: the fix of marks layering will be such a case when it's done.
     -->
     <release version="FOP Trunk" date="TBD">
+      <action context="Test" dev="GA" type="fix">
+        Fix errors and warnings in example files. Add build.xml for documentation examples.
+      </action>
       <action context="Code" dev="GA" type="fix" fixes-bug="53458" due-to="Dieter von Holten">
         Fix incorrect language and country code key generation in hyphenation tree cache.
       </action>



---------------------------------------------------------------------
To unsubscribe, e-mail: fop-commits-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-commits-help@xmlgraphics.apache.org