]> granicus.if.org Git - docbook-dsssl/commitdiff
Make landscape tables actually landscape---if your FO processor supports changes...
authorNorman Walsh <ndw@nwalsh.com>
Mon, 28 Jan 2002 19:22:53 +0000 (19:22 +0000)
committerNorman Walsh <ndw@nwalsh.com>
Mon, 28 Jan 2002 19:22:53 +0000 (19:22 +0000)
xsl/fo/formal.xsl

index 90972b67e804bd1a89e5099b38fdbed22bed3622..38a8385636f2d02f2f4e84399f4cafb4ffe2977d 100644 (file)
         <xsl:otherwise>none</xsl:otherwise>
       </xsl:choose>
     </xsl:attribute>
+    <xsl:if test="@orient='land'">
+      <xsl:attribute name="reference-orientation">90</xsl:attribute>
+    </xsl:if>
 
     <fo:table-and-caption id="{$id}"
                           xsl:use-attribute-sets="formal.object.properties"
         <xsl:otherwise>none</xsl:otherwise>
       </xsl:choose>
     </xsl:attribute>
+    <xsl:if test="@orient='land'">
+      <xsl:attribute name="reference-orientation">90</xsl:attribute>
+    </xsl:if>
 
     <fo:table>
       <xsl:call-template name="table.frame"/>