[hibernate-commits] Hibernate SVN: r18976 - in hibernate-jdocbook-style/tags: hibernate-jdocbook-style-2.0.1 and 2 other directories.

hibernate-commits at lists.jboss.org hibernate-commits at lists.jboss.org
Wed Mar 10 13:31:05 EST 2010


Author: steve.ebersole at jboss.com
Date: 2010-03-10 13:31:04 -0500 (Wed, 10 Mar 2010)
New Revision: 18976

Added:
   hibernate-jdocbook-style/tags/hibernate-jdocbook-style-2.0.1/
   hibernate-jdocbook-style/tags/hibernate-jdocbook-style-2.0.1/pom.xml
   hibernate-jdocbook-style/tags/hibernate-jdocbook-style-2.0.1/src/main/css/css/hibernate.css
   hibernate-jdocbook-style/tags/hibernate-jdocbook-style-2.0.1/src/main/xslt/org/hibernate/jdocbook/xslt/pdf.xsl
Removed:
   hibernate-jdocbook-style/tags/hibernate-jdocbook-style-2.0.1/pom.xml
   hibernate-jdocbook-style/tags/hibernate-jdocbook-style-2.0.1/src/main/css/css/hibernate.css
   hibernate-jdocbook-style/tags/hibernate-jdocbook-style-2.0.1/src/main/xslt/org/hibernate/jdocbook/xslt/pdf.xsl
Log:
[maven-release-plugin]  copy for tag hibernate-jdocbook-style-2.0.1

Copied: hibernate-jdocbook-style/tags/hibernate-jdocbook-style-2.0.1 (from rev 18923, hibernate-jdocbook-style/trunk)

Deleted: hibernate-jdocbook-style/tags/hibernate-jdocbook-style-2.0.1/pom.xml
===================================================================
--- hibernate-jdocbook-style/trunk/pom.xml	2010-03-04 18:15:19 UTC (rev 18923)
+++ hibernate-jdocbook-style/tags/hibernate-jdocbook-style-2.0.1/pom.xml	2010-03-10 18:31:04 UTC (rev 18976)
@@ -1,131 +0,0 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
-
-    <modelVersion>4.0.0</modelVersion>
-
-    <groupId>org.hibernate</groupId>
-    <artifactId>hibernate-jdocbook-style</artifactId>
-    <packaging>jdocbook-style</packaging>
-    <version>2.0.1-SNAPSHOT</version>
-
-    <name>Hibernate jDocBook Style Bundle</name>
-    <description>
-        The jDocBook style bundle for the Hibernate reference documentation.
-    </description>
-    <url>http://hibernate.org</url>
-
-    <organization>
-        <name>Hibernate.org</name>
-        <url>http://hibernate.org</url>
-    </organization>
-
-    <developers>
-        <developer>
-            <name>Cheyenne Weaver</name>
-            <organization>JBoss, a divsion of Red Hat</organization>
-            <roles>
-                <role>Graphic Design</role>
-            </roles>
-        </developer>
-    </developers>
-
-    <contributors>
-        <contributor>
-            <name>Mark Newton</name>
-            <email>mark.newton at jboss.org</email>
-            <organization>Red Hat</organization>
-            <roles>
-                <role>Content Lead</role>
-            </roles>
-            <timezone>+1</timezone>
-        </contributor>
-    </contributors>
-
-    <licenses>
-        <license>
-            <name>GNU Lesser General Public License</name>
-            <url>http://www.gnu.org/copyleft/lesser.html</url>
-            <comments>See discussion at http://hibernate.org/356.html for more details.</comments>
-            <distribution>repo</distribution>
-        </license>
-    </licenses>
-
-    <scm>
-        <connection>scm:svn:http://anonsvn.jboss.org/repos/hibernate/hibernate-jdocbook-style/trunk</connection>
-        <developerConnection>scm:svn:https://svn.jboss.org/repos/hibernate/hibernate-jdocbook-style/trunk</developerConnection>
-        <url>http://viewvc.jboss.org/cgi-bin/viewvc.cgi/hibernate/hibernate-jdocbook-style/trunk</url>
-    </scm>
-
-    <dependencies>
-        <dependency>
-            <groupId>org.jboss</groupId>
-            <artifactId>jbossorg-jdocbook-style</artifactId>
-            <version>1.1.0</version>
-            <type>jdocbook-style</type>
-            <exclusions>
-                <exclusion>
-                    <groupId>org.eclipse.wst.css</groupId>
-                    <artifactId>core</artifactId>
-                </exclusion>
-                <exclusion>
-                    <groupId>org.eclipse.wst.sse</groupId>
-                    <artifactId>core</artifactId>
-                </exclusion>
-            </exclusions>
-        </dependency>
-         <dependency>
-            <groupId>org.jboss</groupId>
-            <artifactId>jbossorg-docbook-xslt</artifactId>
-            <version>1.1.0</version>
-            <exclusions>
-                <exclusion>
-                    <groupId>org.eclipse.wst.css</groupId>
-                    <artifactId>core</artifactId>
-                </exclusion>
-                <exclusion>
-                    <groupId>org.eclipse.wst.sse</groupId>
-                    <artifactId>core</artifactId>
-                </exclusion>
-            </exclusions>
-         </dependency>
-        <dependency>
-            <groupId>org.jboss</groupId>
-            <artifactId>jbossorg-fonts</artifactId>
-            <type>jdocbook-style</type>
-            <version>1.0.0</version>
-        </dependency>
-    </dependencies>
-
-    <build>
-        <extensions>
-            <extension>
-                <groupId>org.apache.maven.wagon</groupId>
-                <artifactId>wagon-webdav</artifactId>
-                <version>1.0-beta-2</version>
-            </extension>
-        </extensions>
-        <plugins>
-            <plugin>
-                <groupId>org.jboss.maven.plugins</groupId>
-                <artifactId>maven-jdocbook-style-plugin</artifactId>
-                <version>2.0.0</version>
-                <extensions>true</extensions>
-            </plugin>
-        </plugins>
-    </build>
-
-    <distributionManagement>
-        <repository>
-            <!-- Copy the dist to the local checkout of the JBoss maven2 repo ${maven.repository.root} -->
-            <!-- It is anticipated that ${maven.repository.root} be set in user's settings.xml -->
-            <!-- todo : replace this with direct svn access once the svnkit providers are available -->
-            <id>repository.jboss.org</id>
-            <url>file://${maven.repository.root}</url>
-        </repository>
-        <snapshotRepository>
-            <id>snapshots.jboss.org</id>
-            <name>JBoss Snapshot Repository</name>
-            <url>dav:https://snapshots.jboss.org/maven2</url>
-        </snapshotRepository>
-    </distributionManagement>
-
-</project>
\ No newline at end of file

Copied: hibernate-jdocbook-style/tags/hibernate-jdocbook-style-2.0.1/pom.xml (from rev 18975, hibernate-jdocbook-style/trunk/pom.xml)
===================================================================
--- hibernate-jdocbook-style/tags/hibernate-jdocbook-style-2.0.1/pom.xml	                        (rev 0)
+++ hibernate-jdocbook-style/tags/hibernate-jdocbook-style-2.0.1/pom.xml	2010-03-10 18:31:04 UTC (rev 18976)
@@ -0,0 +1,147 @@
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+
+    <modelVersion>4.0.0</modelVersion>
+
+    <groupId>org.hibernate</groupId>
+    <artifactId>hibernate-jdocbook-style</artifactId>
+    <packaging>jdocbook-style</packaging>
+    <version>2.0.1</version>
+
+    <name>Hibernate jDocBook Style Bundle</name>
+    <description>
+        The jDocBook style bundle for the Hibernate reference documentation.
+    </description>
+    <url>http://hibernate.org</url>
+
+    <organization>
+        <name>Hibernate.org</name>
+        <url>http://hibernate.org</url>
+    </organization>
+
+    <developers>
+        <developer>
+            <name>Steve Ebersole</name>
+            <organization>JBoss, a divsion of Red Hat</organization>
+        </developer>
+        <developer>
+            <name>James Cobb</name>
+            <organization>JBoss, a divsion of Red Hat</organization>
+            <roles>
+                <role>Graphic Design</role>
+            </roles>
+        </developer>
+        <developer>
+            <name>Cheyenne Weaver</name>
+            <organization>JBoss, a divsion of Red Hat</organization>
+            <roles>
+                <role>Graphic Design</role>
+            </roles>
+        </developer>
+    </developers>
+
+    <contributors>
+        <contributor>
+            <name>Mark Newton</name>
+            <email>mark.newton at jboss.org</email>
+            <organization>Red Hat</organization>
+            <roles>
+                <role>Content Lead</role>
+            </roles>
+            <timezone>+1</timezone>
+        </contributor>
+    </contributors>
+
+    <licenses>
+        <license>
+            <name>GNU Lesser General Public License</name>
+            <url>http://www.gnu.org/copyleft/lesser.html</url>
+            <comments>See discussion at http://hibernate.org/356.html for more details.</comments>
+            <distribution>repo</distribution>
+        </license>
+    </licenses>
+
+    <scm>
+        <connection>scm:svn:http://anonsvn.jboss.org/repos/hibernate/hibernate-jdocbook-style/tags/hibernate-jdocbook-style-2.0.1</connection>
+        <developerConnection>scm:svn:https://svn.jboss.org/repos/hibernate/hibernate-jdocbook-style/tags/hibernate-jdocbook-style-2.0.1</developerConnection>
+        <url>http://viewvc.jboss.org/cgi-bin/viewvc.cgi/hibernate/hibernate-jdocbook-style/tags/hibernate-jdocbook-style-2.0.1</url>
+    </scm>
+
+    <issueManagement>
+        <system>jira</system>
+        <url>http://opensource.atlassian.com/projects/hibernate/browse/STYLE</url>
+    </issueManagement>
+
+    <dependencies>
+        <dependency>
+            <groupId>org.jboss</groupId>
+            <artifactId>jbossorg-jdocbook-style</artifactId>
+            <version>1.1.0</version>
+            <type>jdocbook-style</type>
+            <exclusions>
+                <exclusion>
+                    <groupId>org.eclipse.wst.css</groupId>
+                    <artifactId>core</artifactId>
+                </exclusion>
+                <exclusion>
+                    <groupId>org.eclipse.wst.sse</groupId>
+                    <artifactId>core</artifactId>
+                </exclusion>
+            </exclusions>
+        </dependency>
+         <dependency>
+            <groupId>org.jboss</groupId>
+            <artifactId>jbossorg-docbook-xslt</artifactId>
+            <version>1.1.0</version>
+            <exclusions>
+                <exclusion>
+                    <groupId>org.eclipse.wst.css</groupId>
+                    <artifactId>core</artifactId>
+                </exclusion>
+                <exclusion>
+                    <groupId>org.eclipse.wst.sse</groupId>
+                    <artifactId>core</artifactId>
+                </exclusion>
+            </exclusions>
+         </dependency>
+        <dependency>
+            <groupId>org.jboss</groupId>
+            <artifactId>jbossorg-fonts</artifactId>
+            <type>jdocbook-style</type>
+            <version>1.0.0</version>
+        </dependency>
+    </dependencies>
+
+    <build>
+        <extensions>
+            <extension>
+                <groupId>org.apache.maven.wagon</groupId>
+                <artifactId>wagon-webdav</artifactId>
+                <version>1.0-beta-2</version>
+            </extension>
+        </extensions>
+        <plugins>
+            <plugin>
+                <groupId>org.jboss.maven.plugins</groupId>
+                <artifactId>maven-jdocbook-style-plugin</artifactId>
+                <version>2.0.0</version>
+                <extensions>true</extensions>
+            </plugin>
+        </plugins>
+    </build>
+
+    <distributionManagement>
+        <repository>
+            <!-- Copy the dist to the local checkout of the JBoss maven2 repo ${maven.repository.root} -->
+            <!-- It is anticipated that ${maven.repository.root} be set in user's settings.xml -->
+            <!-- todo : replace this with direct svn access once the svnkit providers are available -->
+            <id>repository.jboss.org</id>
+            <url>file://${maven.repository.root}</url>
+        </repository>
+        <snapshotRepository>
+            <id>snapshots.jboss.org</id>
+            <name>JBoss Snapshot Repository</name>
+            <url>dav:https://snapshots.jboss.org/maven2</url>
+        </snapshotRepository>
+    </distributionManagement>
+
+</project>
\ No newline at end of file

Deleted: hibernate-jdocbook-style/tags/hibernate-jdocbook-style-2.0.1/src/main/css/css/hibernate.css
===================================================================
--- hibernate-jdocbook-style/trunk/src/main/css/css/hibernate.css	2010-03-04 18:15:19 UTC (rev 18923)
+++ hibernate-jdocbook-style/tags/hibernate-jdocbook-style-2.0.1/src/main/css/css/hibernate.css	2010-03-10 18:31:04 UTC (rev 18976)
@@ -1,65 +0,0 @@
- at import url("jbossorg.css");
-
-body{
-	background-image:url(../images/org/hibernate/bkg_gradient.png);
-    font-family:'Lucida Grande', Geneva, Verdana, Arial, sans-serif;
-}
-
-a{
-    text-decoration:none;
-}
-
-h1{
-	background-image:url(../images/org/hibernate/title_hdr.png);
-	color:#182737;
-}
-
-h2,h3,h4,h5,h6{
-    color:#4a5d75;
-}
-
-#title a.site_href {
-    display:block;
-    height:100px;
-    width:362px;
-    float:left;
-    background:url(../images/org/hibernate/hibernatelogo.png) top left no-repeat;
-}
-
-#title a.doc_href {
-    display:block;
-    height:100px;
-    background:transparent url(../images/org/hibernate/community_doc.png) top right no-repeat;
-}
-
-.releaseinfo {
-    color:#4a5d75;
-    font-size:150%;
-}
-
-div.note {
-    background-color:#849092;
-    color:white;
-}
-
-div.note h2 {color:white;}
-
-div.note a:visited, div.tip a:visited, div.important a:visited, div.caution a:visited, div.warning a:visited, div.note a:link, div.tip a:link, div.important a:link, div.caution a:link, div.warning a:link {
-    color: #f7f2d0;
-}
-
-.docnav li.next a strong {background-image:url(../images/org/hibernate/docbook/next.png);}
-.docnav li.previous a strong {background-image:url(../images/org/hibernate/docbook/prev.png);}
-.docnav li.home a strong {background-image:url(../images/org/hibernate/docbook/home.png);}
-.docnav li.up a strong {background-image:url(../images/org/hibernate/docbook/up.png);}
-
-/* Eclipse Help Navigation */
-.navheader td.next a {background-image:url(../images/org/hibernate/docbook/next.png);}
-.navheader td.previous a {background-image:url(../images/org/hibernate/docbook/prev.png);}
-
-.navfooter td.next a {background-image:url(../images/org/hibernate/docbook/next.png);}
-.navfooter td.previous a {background-image:url(../images/org/hibernate/docbook/prev.png);}
-.navfooter td.home a {background-image:url(../images/org/hibernate/docbook/home.png);}
-.navfooter td.up a {background-image:url(../images/org/hibernate/docbook/up.png);}
-
-

Copied: hibernate-jdocbook-style/tags/hibernate-jdocbook-style-2.0.1/src/main/css/css/hibernate.css (from rev 18947, hibernate-jdocbook-style/trunk/src/main/css/css/hibernate.css)
===================================================================
--- hibernate-jdocbook-style/tags/hibernate-jdocbook-style-2.0.1/src/main/css/css/hibernate.css	                        (rev 0)
+++ hibernate-jdocbook-style/tags/hibernate-jdocbook-style-2.0.1/src/main/css/css/hibernate.css	2010-03-10 18:31:04 UTC (rev 18976)
@@ -0,0 +1,94 @@
+ at import url("jbossorg.css");
+
+/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
+/* work around problems in the jboss.org styles wrt html & jHighLight */
+/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
+pre {
+    font-family:Monaco,monospace;
+    line-height: 1.29em;
+}
+
+pre br {
+    display:none;
+}
+
+pre.JAVA {
+    line-height: 1.29em;
+}
+
+pre.XML {
+    line-height: 1.29em;
+}
+
+pre.JSP {
+    line-height: 1.29em;
+}
+
+pre.XHTML {
+    line-height: 1.29em;
+}
+/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
+
+body{
+	background-image:url(../images/org/hibernate/bkg_gradient.png);
+    font-family:'Lucida Grande', Geneva, Verdana, Arial, sans-serif;
+}
+
+a{
+    text-decoration:none;
+}
+
+h1{
+	background-image:url(../images/org/hibernate/title_hdr.png);
+	color:#182737;
+}
+
+h2,h3,h4,h5,h6{
+    color:#4a5d75;
+}
+
+#title a.site_href {
+    display:block;
+    height:100px;
+    width:362px;
+    float:left;
+    background:url(../images/org/hibernate/hibernatelogo.png) top left no-repeat;
+}
+
+#title a.doc_href {
+    display:block;
+    height:100px;
+    background:transparent url(../images/org/hibernate/community_doc.png) top right no-repeat;
+}
+
+.releaseinfo {
+    color:#4a5d75;
+    font-size:150%;
+}
+
+div.note {
+    background-color:#849092;
+    color:white;
+}
+
+div.note h2 {color:white;}
+
+div.note a:visited, div.tip a:visited, div.important a:visited, div.caution a:visited, div.warning a:visited, div.note a:link, div.tip a:link, div.important a:link, div.caution a:link, div.warning a:link {
+    color: #f7f2d0;
+}
+
+.docnav li.next a strong {background-image:url(../images/org/hibernate/docbook/next.png);}
+.docnav li.previous a strong {background-image:url(../images/org/hibernate/docbook/prev.png);}
+.docnav li.home a strong {background-image:url(../images/org/hibernate/docbook/home.png);}
+.docnav li.up a strong {background-image:url(../images/org/hibernate/docbook/up.png);}
+
+/* Eclipse Help Navigation */
+.navheader td.next a {background-image:url(../images/org/hibernate/docbook/next.png);}
+.navheader td.previous a {background-image:url(../images/org/hibernate/docbook/prev.png);}
+
+.navfooter td.next a {background-image:url(../images/org/hibernate/docbook/next.png);}
+.navfooter td.previous a {background-image:url(../images/org/hibernate/docbook/prev.png);}
+.navfooter td.home a {background-image:url(../images/org/hibernate/docbook/home.png);}
+.navfooter td.up a {background-image:url(../images/org/hibernate/docbook/up.png);}
+
+

Deleted: hibernate-jdocbook-style/tags/hibernate-jdocbook-style-2.0.1/src/main/xslt/org/hibernate/jdocbook/xslt/pdf.xsl
===================================================================
--- hibernate-jdocbook-style/trunk/src/main/xslt/org/hibernate/jdocbook/xslt/pdf.xsl	2010-03-04 18:15:19 UTC (rev 18923)
+++ hibernate-jdocbook-style/tags/hibernate-jdocbook-style-2.0.1/src/main/xslt/org/hibernate/jdocbook/xslt/pdf.xsl	2010-03-10 18:31:04 UTC (rev 18976)
@@ -1,133 +0,0 @@
-<?xml version='1.0'?>
-
-<!--
-  ~ Hibernate, Relational Persistence for Idiomatic Java
-  ~
-  ~ Copyright (c) 2008, Red Hat Middleware LLC or third-party contributors as
-  ~ indicated by the @author tags or express copyright attribution
-  ~ statements applied by the authors.  All third-party contributions are
-  ~ distributed under license by Red Hat Middleware LLC.
-  ~
-  ~ This copyrighted material is made available to anyone wishing to use, modify,
-  ~ copy, or redistribute it subject to the terms and conditions of the GNU
-  ~ Lesser General Public License, as published by the Free Software Foundation.
-  ~
-  ~ This program is distributed in the hope that it will be useful,
-  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
-  ~ or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public License
-  ~ for more details.
-  ~
-  ~ You should have received a copy of the GNU Lesser General Public License
-  ~ along with this distribution; if not, write to:
-  ~ Free Software Foundation, Inc.
-  ~ 51 Franklin Street, Fifth Floor
-  ~ Boston, MA  02110-1301  USA
-  ~
-  -->
-
-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
-                version="1.0"
-                xmlns="http://www.w3.org/TR/xhtml1/transitional"
-                xmlns:fo="http://www.w3.org/1999/XSL/Format"
-                exclude-result-prefixes="#default">
-
-    <!-- copied largely from the work done by Mark Newton for the Seam documentation -->
-
-   <xsl:import href="classpath:/xslt/org/jboss/pdf.xsl"/>
-   <xsl:import href="common.xsl"/>
-   <xsl:import href="fop1.xsl" />
-
-    <xsl:import href="classpath:/xslt/org/jboss/xslt/fonts/pdf/fonts.xsl" />
-
-	<xsl:param name="title.font.family">
-		<xsl:variable name="font">
-			<xsl:call-template name="pickfont-sans"/>
-		</xsl:variable>
-        <xsl:message>
-            <xsl:text>Setting 'title.font.family' param =</xsl:text><xsl:copy-of select="$font"/>
-        </xsl:message>
-		<xsl:copy-of select="$font"/>
-	</xsl:param>
-
-	<xsl:param name="body.font.family">
-		<xsl:variable name="font">
-			<xsl:call-template name="pickfont-sans"/>
-		</xsl:variable>
-        <xsl:message>
-            <xsl:text>Setting 'body.font.family' param =</xsl:text><xsl:copy-of select="$font"/>
-        </xsl:message>
-		<xsl:copy-of select="$font"/>
-	</xsl:param>
-
-	<xsl:param name="monospace.font.family">
-		<xsl:variable name="font">
-		    <xsl:call-template name="pickfont-mono"/>
-		</xsl:variable>
-        <xsl:message>
-            <xsl:text>Setting 'monospace.font.family' param =</xsl:text><xsl:copy-of select="$font"/>
-        </xsl:message>
-		<xsl:copy-of select="$font"/>
-	</xsl:param>
-
-	<xsl:param name="sans.font.family">
-		<xsl:variable name="font">
-			<xsl:call-template name="pickfont-sans"/>
-		</xsl:variable>
-        <xsl:message>
-            <xsl:text>Setting 'sans.font.family' param =</xsl:text><xsl:copy-of select="$font"/>
-        </xsl:message>
-		<xsl:copy-of select="$font"/>
-	</xsl:param>
-
-   <!-- Change the font color for titles to Hibernate.org one -->
-   <xsl:param name="title.color">#4a5d75</xsl:param>
-   <xsl:param name="titlepage.color">#4a5d75</xsl:param>
-   <xsl:param name="chapter.title.color">#4a5d75</xsl:param>
-   <xsl:param name="section.title.color">#4a5d75</xsl:param>
-
-   <!-- Style tables to look like SeamFramework.org
-   <xsl:param name="table.cell.border.color">#D3D2D1</xsl:param>
-   <xsl:param name="table.frame.border.color">#D3D2D1</xsl:param>
-   <xsl:param name="table.cell.border.thickness">0.6pt</xsl:param>
-
-   <xsl:param name="table.frame.border.thickness">0.6pt</xsl:param>
-   <xsl:param name="table.cell.border.right.color">white</xsl:param>
-   <xsl:param name="table.cell.border.left.color">#D3D2D1</xsl:param>
-   <xsl:param name="table.frame.border.right.color">white</xsl:param>
-   <xsl:param name="table.frame.border.left.color">white</xsl:param>
--->
-
-   <xsl:template name="table.cell.block.properties">
-      <!-- highlight this entry? -->
-      <xsl:if test="ancestor::thead or ancestor::tfoot">
-         <xsl:attribute name="font-weight">bold</xsl:attribute>
-         <xsl:attribute name="background-color">#EDE8DB</xsl:attribute>
-         <xsl:attribute name="color">black</xsl:attribute>
-      </xsl:if>
-   </xsl:template>
-
-   <!--
-      From: fo/table.xsl
-      Reason: Table Header format
-      Version:1.72
-   -->
-   <!-- customize this template to add row properties -->
-   <xsl:template name="table.row.properties">
-      <xsl:variable name="bgcolor">
-         <xsl:call-template name="dbfo-attribute">
-            <xsl:with-param name="pis" select="processing-instruction('dbfo')" />
-            <xsl:with-param name="attribute" select="'bgcolor'" />
-         </xsl:call-template>
-      </xsl:variable>
-      <xsl:if test="$bgcolor != ''">
-         <xsl:attribute name="background-color">
-      <xsl:value-of select="$bgcolor" />
-    </xsl:attribute>
-      </xsl:if>
-      <xsl:if test="ancestor::thead or ancestor::tfoot">
-         <xsl:attribute name="background-color">#EDE8DB</xsl:attribute>
-      </xsl:if>
-   </xsl:template>
-
-</xsl:stylesheet>
-

Copied: hibernate-jdocbook-style/tags/hibernate-jdocbook-style-2.0.1/src/main/xslt/org/hibernate/jdocbook/xslt/pdf.xsl (from rev 18947, hibernate-jdocbook-style/trunk/src/main/xslt/org/hibernate/jdocbook/xslt/pdf.xsl)
===================================================================
--- hibernate-jdocbook-style/tags/hibernate-jdocbook-style-2.0.1/src/main/xslt/org/hibernate/jdocbook/xslt/pdf.xsl	                        (rev 0)
+++ hibernate-jdocbook-style/tags/hibernate-jdocbook-style-2.0.1/src/main/xslt/org/hibernate/jdocbook/xslt/pdf.xsl	2010-03-10 18:31:04 UTC (rev 18976)
@@ -0,0 +1,137 @@
+<?xml version='1.0'?>
+
+<!--
+  ~ Hibernate, Relational Persistence for Idiomatic Java
+  ~
+  ~ Copyright (c) 2008, Red Hat Middleware LLC or third-party contributors as
+  ~ indicated by the @author tags or express copyright attribution
+  ~ statements applied by the authors.  All third-party contributions are
+  ~ distributed under license by Red Hat Middleware LLC.
+  ~
+  ~ This copyrighted material is made available to anyone wishing to use, modify,
+  ~ copy, or redistribute it subject to the terms and conditions of the GNU
+  ~ Lesser General Public License, as published by the Free Software Foundation.
+  ~
+  ~ This program is distributed in the hope that it will be useful,
+  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+  ~ or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public License
+  ~ for more details.
+  ~
+  ~ You should have received a copy of the GNU Lesser General Public License
+  ~ along with this distribution; if not, write to:
+  ~ Free Software Foundation, Inc.
+  ~ 51 Franklin Street, Fifth Floor
+  ~ Boston, MA  02110-1301  USA
+  ~
+  -->
+
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                version="1.0"
+                xmlns="http://www.w3.org/TR/xhtml1/transitional"
+                xmlns:fo="http://www.w3.org/1999/XSL/Format"
+                exclude-result-prefixes="#default">
+
+    <!-- copied largely from the work done by Mark Newton for the Seam documentation -->
+
+   <xsl:import href="classpath:/xslt/org/jboss/pdf.xsl"/>
+   <xsl:import href="common.xsl"/>
+   <xsl:import href="fop1.xsl" />
+
+    <xsl:import href="classpath:/xslt/org/jboss/xslt/fonts/pdf/fonts.xsl" />
+
+    <!-- work around problems in the jboss.org styles wrt pdf & jhighlight -->
+    <xsl:param name="programlisting.font" select="'monospace,fixed'" />
+    <xsl:param name="programlisting.font.size" select="'75%'" />
+
+	<xsl:param name="title.font.family">
+		<xsl:variable name="font">
+			<xsl:call-template name="pickfont-sans"/>
+		</xsl:variable>
+        <xsl:message>
+            <xsl:text>Setting 'title.font.family' param =</xsl:text><xsl:copy-of select="$font"/>
+        </xsl:message>
+		<xsl:copy-of select="$font"/>
+	</xsl:param>
+
+	<xsl:param name="body.font.family">
+		<xsl:variable name="font">
+			<xsl:call-template name="pickfont-sans"/>
+		</xsl:variable>
+        <xsl:message>
+            <xsl:text>Setting 'body.font.family' param =</xsl:text><xsl:copy-of select="$font"/>
+        </xsl:message>
+		<xsl:copy-of select="$font"/>
+	</xsl:param>
+
+	<xsl:param name="monospace.font.family">
+		<xsl:variable name="font">
+		    <xsl:call-template name="pickfont-mono"/>
+		</xsl:variable>
+        <xsl:message>
+            <xsl:text>Setting 'monospace.font.family' param =</xsl:text><xsl:copy-of select="$font"/>
+        </xsl:message>
+		<xsl:copy-of select="$font"/>
+	</xsl:param>
+
+	<xsl:param name="sans.font.family">
+		<xsl:variable name="font">
+			<xsl:call-template name="pickfont-sans"/>
+		</xsl:variable>
+        <xsl:message>
+            <xsl:text>Setting 'sans.font.family' param =</xsl:text><xsl:copy-of select="$font"/>
+        </xsl:message>
+		<xsl:copy-of select="$font"/>
+	</xsl:param>
+
+   <!-- Change the font color for titles to Hibernate.org one -->
+   <xsl:param name="title.color">#4a5d75</xsl:param>
+   <xsl:param name="titlepage.color">#4a5d75</xsl:param>
+   <xsl:param name="chapter.title.color">#4a5d75</xsl:param>
+   <xsl:param name="section.title.color">#4a5d75</xsl:param>
+
+   <!-- Style tables to look like SeamFramework.org
+   <xsl:param name="table.cell.border.color">#D3D2D1</xsl:param>
+   <xsl:param name="table.frame.border.color">#D3D2D1</xsl:param>
+   <xsl:param name="table.cell.border.thickness">0.6pt</xsl:param>
+
+   <xsl:param name="table.frame.border.thickness">0.6pt</xsl:param>
+   <xsl:param name="table.cell.border.right.color">white</xsl:param>
+   <xsl:param name="table.cell.border.left.color">#D3D2D1</xsl:param>
+   <xsl:param name="table.frame.border.right.color">white</xsl:param>
+   <xsl:param name="table.frame.border.left.color">white</xsl:param>
+-->
+
+   <xsl:template name="table.cell.block.properties">
+      <!-- highlight this entry? -->
+      <xsl:if test="ancestor::thead or ancestor::tfoot">
+         <xsl:attribute name="font-weight">bold</xsl:attribute>
+         <xsl:attribute name="background-color">#EDE8DB</xsl:attribute>
+         <xsl:attribute name="color">black</xsl:attribute>
+      </xsl:if>
+   </xsl:template>
+
+   <!--
+      From: fo/table.xsl
+      Reason: Table Header format
+      Version:1.72
+   -->
+   <!-- customize this template to add row properties -->
+   <xsl:template name="table.row.properties">
+      <xsl:variable name="bgcolor">
+         <xsl:call-template name="dbfo-attribute">
+            <xsl:with-param name="pis" select="processing-instruction('dbfo')" />
+            <xsl:with-param name="attribute" select="'bgcolor'" />
+         </xsl:call-template>
+      </xsl:variable>
+      <xsl:if test="$bgcolor != ''">
+         <xsl:attribute name="background-color">
+      <xsl:value-of select="$bgcolor" />
+    </xsl:attribute>
+      </xsl:if>
+      <xsl:if test="ancestor::thead or ancestor::tfoot">
+         <xsl:attribute name="background-color">#EDE8DB</xsl:attribute>
+      </xsl:if>
+   </xsl:template>
+
+</xsl:stylesheet>
+



More information about the hibernate-commits mailing list