[hibernate-commits] Hibernate SVN: r14005 - in documentation-style/trunk/src/main/xslt/hibernate: pdf and 1 other directory.

hibernate-commits at lists.jboss.org hibernate-commits at lists.jboss.org
Fri Sep 7 14:51:30 EDT 2007


Author: steve.ebersole at jboss.com
Date: 2007-09-07 14:51:29 -0400 (Fri, 07 Sep 2007)
New Revision: 14005

Modified:
   documentation-style/trunk/src/main/xslt/hibernate/html/coverpages.xsl
   documentation-style/trunk/src/main/xslt/hibernate/pdf/borders.xsl
Log:
minor cleanup

Modified: documentation-style/trunk/src/main/xslt/hibernate/html/coverpages.xsl
===================================================================
--- documentation-style/trunk/src/main/xslt/hibernate/html/coverpages.xsl	2007-09-07 18:49:45 UTC (rev 14004)
+++ documentation-style/trunk/src/main/xslt/hibernate/html/coverpages.xsl	2007-09-07 18:51:29 UTC (rev 14005)
@@ -22,7 +22,7 @@
 
     <!--
         *NOTE* : html formats do not define the verso coverpage, only the
-        recot page.
+        recto page.
     -->
 
     <xsl:import href="basic.xsl"/>
@@ -99,54 +99,6 @@
 
     </xsl:template>
 
-<!--
-    <xsl:template match="title" mode="book.titlepage.recto.auto.mode">
-        <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format"
-                  xsl:use-attribute-sets="book.titlepage.recto.style"
-                  text-align="center"
-                  font-size="24pt"
-                  space-before="18.6624pt"
-                  font-weight="bold"
-                  font-family="{$title.fontset}">
-            <xsl:call-template name="division.title">
-                <xsl:with-param name="node" select="ancestor-or-self::book[1]"/>
-            </xsl:call-template>
-        </fo:block>
-    </xsl:template>
-
-    <xsl:template match="subtitle" mode="book.titlepage.recto.auto.mode">
-        <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format"
-                  xsl:use-attribute-sets="book.titlepage.recto.style"
-                  text-align="center"
-                  font-size="16pt"
-                  space-before="30pt"
-                  font-weight="bold"
-                  font-style="italic"
-                  font-family="{$title.fontset}">
-            <xsl:apply-templates select="." mode="book.titlepage.recto.mode"/>
-        </fo:block>
-    </xsl:template>
-
-    <xsl:template match="releaseinfo" mode="book.titlepage.recto.auto.mode">
-        <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format"
-                  xsl:use-attribute-sets="book.titlepage.recto.style"
-                  text-align="center"
-                  font-size="16pt"
-                  space-before="15.552pt"
-                  font-family="{$title.fontset}">
-            <xsl:apply-templates select="." mode="book.titlepage.recto.mode"/>
-        </fo:block>
-    </xsl:template>
-
-    <xsl:template match="author" mode="book.titlepage.recto.auto.mode">
-        <fo:block xsl:use-attribute-sets="book.titlepage.recto.style" font-size="14pt" space-before="15.552pt">
-            <xsl:call-template name="person.name">
-                <xsl:with-param name="node" select="."/>
-            </xsl:call-template>
-        </fo:block>
-    </xsl:template>
--->
-
     <xsl:template match="authorgroup" mode="titlepage.mode">
         <div>
             <xsl:apply-templates select="." mode="class.attribute"/>

Modified: documentation-style/trunk/src/main/xslt/hibernate/pdf/borders.xsl
===================================================================
--- documentation-style/trunk/src/main/xslt/hibernate/pdf/borders.xsl	2007-09-07 18:49:45 UTC (rev 14004)
+++ documentation-style/trunk/src/main/xslt/hibernate/pdf/borders.xsl	2007-09-07 18:51:29 UTC (rev 14005)
@@ -211,70 +211,6 @@
                 </xsl:otherwise>
             </xsl:choose>
         </fo:block>
-<!--
-        <fo:block>
-            <xsl:choose>
-                <xsl:when test="$pageclass = 'titlepage'">
-                </xsl:when>
-                <xsl:when test="$sequence = 'blank'">
-                    <xsl:choose>
-                        <xsl:when test="$position = 'left'">
-                            <fo:page-number/>
-                        </xsl:when>
-                        <xsl:when test="$position = 'right'">
-                            <xsl:value-of select="$version"/>
-                        </xsl:when>
-                        <xsl:otherwise>
-                        </xsl:otherwise>
-                    </xsl:choose>
-                </xsl:when>
-                <xsl:when test="$double.sided = 0">
-                    <xsl:choose>
-                        <xsl:when test="$position = 'left'">
-                            <xsl:value-of select="$version"/>
-                        </xsl:when>
-                        <xsl:when test="$position = 'right'">
-                            <fo:page-number/>
-                        </xsl:when>
-                        <xsl:otherwise>
-                        </xsl:otherwise>
-                    </xsl:choose>
-                </xsl:when>
-                <xsl:when test="$double.sided != 0">
-                    <xsl:choose>
-                        <xsl:when test="( $sequence = 'first' or $sequence = 'odd' )">
-                            <xsl:choose>
-                                <xsl:when test="$position = 'left'">
-                                    <fo:page-number/>
-                                </xsl:when>
-                                <xsl:when test="$position = 'right'">
-                                    <xsl:value-of select="$version"/>
-                                </xsl:when>
-                                <xsl:otherwise>
-                                </xsl:otherwise>
-                            </xsl:choose>
-                        </xsl:when>
-                        <xsl:when test="$sequence = 'even'">
-                            <xsl:choose>
-                                <xsl:when test="$position = 'left'">
-                                    <xsl:value-of select="$version"/>
-                                </xsl:when>
-                                <xsl:when test="$position = 'right'">
-                                    <fo:page-number/>
-                                </xsl:when>
-                                <xsl:otherwise>
-                                </xsl:otherwise>
-                            </xsl:choose>
-                        </xsl:when>
-                        <xsl:otherwise>
-                        </xsl:otherwise>
-                    </xsl:choose>
-                </xsl:when>
-                <xsl:otherwise>
-                </xsl:otherwise>
-            </xsl:choose>
-        </fo:block>
--->
     </xsl:template>
 
     <xsl:template name="foot.sep.rule">




More information about the hibernate-commits mailing list