forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jo...@apache.org
Subject svn commit: r651904 - /forrest/branches/UpdateFOPto094/plugins/org.apache.forrest.plugin.output.pdf/resources/stylesheets/document-to-fo.xsl
Date Sun, 27 Apr 2008 09:38:31 GMT
Author: josch
Date: Sun Apr 27 02:38:30 2008
New Revision: 651904

URL: http://svn.apache.org/viewvc?rev=651904&view=rev
Log:
using fo:table-header to format tr/th rows (this keeps header rows and table together and
repeats the table header on subsequent pages)

Modified:
    forrest/branches/UpdateFOPto094/plugins/org.apache.forrest.plugin.output.pdf/resources/stylesheets/document-to-fo.xsl

Modified: forrest/branches/UpdateFOPto094/plugins/org.apache.forrest.plugin.output.pdf/resources/stylesheets/document-to-fo.xsl
URL: http://svn.apache.org/viewvc/forrest/branches/UpdateFOPto094/plugins/org.apache.forrest.plugin.output.pdf/resources/stylesheets/document-to-fo.xsl?rev=651904&r1=651903&r2=651904&view=diff
==============================================================================
--- forrest/branches/UpdateFOPto094/plugins/org.apache.forrest.plugin.output.pdf/resources/stylesheets/document-to-fo.xsl
(original)
+++ forrest/branches/UpdateFOPto094/plugins/org.apache.forrest.plugin.output.pdf/resources/stylesheets/document-to-fo.xsl
Sun Apr 27 02:38:30 2008
@@ -1195,11 +1195,17 @@
       </fo:table-column>
 <!-- End of hack for Fop support (if removing this hack, remember
            you need the <fo:table> element) -->
+      <fo:table-header
+                font-size="10pt"
+                font-family="serif">
+        <xsl:apply-templates
+                    select="tr[th]" />
+      </fo:table-header>
       <fo:table-body
                 font-size="10pt"
                 font-family="serif">
         <xsl:apply-templates
-                    select="tr" />
+                    select="tr[td]" />
       </fo:table-body>
     </fo:table>
 <!-- FIXME: Apache Fop does not support the caption element yet.



Mime
View raw message