Author: pete.muir(a)jboss.org
Date: 2008-12-19 12:41:56 -0500 (Fri, 19 Dec 2008)
New Revision: 581
Added:
doc/trunk/xslt/src/main/resources/xslt/org/jboss/webbeans/
Removed:
doc/trunk/xslt/src/main/resources/xslt/org/jboss/seam/
doc/trunk/xslt/src/main/resources/xslt/org/jboss/webbeans/common.xsl
doc/trunk/xslt/src/main/resources/xslt/org/jboss/webbeans/eclipse.xsl
doc/trunk/xslt/src/main/resources/xslt/org/jboss/webbeans/fop1.xsl
doc/trunk/xslt/src/main/resources/xslt/org/jboss/webbeans/xhtml-single.xsl
doc/trunk/xslt/src/main/resources/xslt/org/jboss/webbeans/xhtml.xsl
Modified:
doc/trunk/reference/pom.xml
doc/trunk/xslt/src/main/resources/xslt/org/jboss/webbeans/pdf.xsl
Log:
Final version of xslt
Modified: doc/trunk/reference/pom.xml
===================================================================
--- doc/trunk/reference/pom.xml 2008-12-19 17:29:17 UTC (rev 580)
+++ doc/trunk/reference/pom.xml 2008-12-19 17:41:56 UTC (rev 581)
@@ -30,12 +30,13 @@
<plugin>
<groupId>org.jboss.maven.plugins</groupId>
<artifactId>maven-jdocbook-plugin</artifactId>
+
<extensions>true</extensions>
<dependencies>
<dependency>
- <groupId>org.jboss.seam</groupId>
- <artifactId>seam-docbook-xslt</artifactId>
- <version>1.1.0.GA</version>
+ <groupId>org.jboss.webbeans</groupId>
+ <artifactId>webbeans-docbook-xslt</artifactId>
+ <version>1.1.1-SNAPSHOT</version>
<exclusions>
<exclusion>
<groupId>org.eclipse.wst.css</groupId>
@@ -76,7 +77,7 @@
<format>
<formatName>pdf</formatName>
<stylesheetResource>
- classpath:/xslt/org/jboss/seam/pdf.xsl
+ classpath:/xslt/org/jboss/webbeans/pdf.xsl
</stylesheetResource>
<finalName>webbeans_reference.pdf</finalName>
</format>
Copied: doc/trunk/xslt/src/main/resources/xslt/org/jboss/webbeans (from rev 579,
doc/trunk/xslt/src/main/resources/xslt/org/jboss/seam)
Deleted: doc/trunk/xslt/src/main/resources/xslt/org/jboss/webbeans/common.xsl
===================================================================
--- doc/trunk/xslt/src/main/resources/xslt/org/jboss/seam/common.xsl 2008-12-19 17:24:58
UTC (rev 579)
+++ doc/trunk/xslt/src/main/resources/xslt/org/jboss/webbeans/common.xsl 2008-12-19
17:41:56 UTC (rev 581)
@@ -1,35 +0,0 @@
-<?xml version='1.0'?>
-
-<!--
- Copyright 2008 JBoss, a division of Red Hat
- License: LGPL
- Author: Mark Newton <mark.newton(a)jboss.org>
--->
-
-<xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
-
- <xsl:param name="use.simplified.author.group" select="1"/>
-
- <!-- XHTML settings -->
- <xsl:param name="html.stylesheet"
select="'css/seamframework.css'"/>
-
- <xsl:param name="siteHref"
select="'http://www.seamframework.org'"/>
- <xsl:param name="docHref"
select="'http://www.seamframework.org/Documentation'"/>
- <xsl:param name="siteLinkText"
select="'SeamFramework.org'"/>
-
- <!-- XHTML and PDF -->
- <xsl:param name="callout.graphics.path">
- <xsl:if test="$img.src.path != ''">
- <xsl:value-of select="$img.src.path"/>
- </xsl:if>
- <xsl:text>images/seamframework/docbook/callouts/</xsl:text>
- </xsl:param>
-
- <xsl:param name="admon.graphics.path">
- <xsl:if test="$img.src.path != ''">
- <xsl:value-of select="$img.src.path"/>
- </xsl:if>
- <xsl:text>images/seamframework/docbook/</xsl:text>
- </xsl:param>
-
-</xsl:stylesheet>
Deleted: doc/trunk/xslt/src/main/resources/xslt/org/jboss/webbeans/eclipse.xsl
===================================================================
--- doc/trunk/xslt/src/main/resources/xslt/org/jboss/seam/eclipse.xsl 2008-12-19 17:24:58
UTC (rev 579)
+++ doc/trunk/xslt/src/main/resources/xslt/org/jboss/webbeans/eclipse.xsl 2008-12-19
17:41:56 UTC (rev 581)
@@ -1,20 +0,0 @@
-<?xml version='1.0'?>
-
-<!--
- Copyright 2008 JBoss, a division of Red Hat
- License: LGPL
- Author: Mark Newton <mark.newton(a)jboss.org>
--->
-
-<xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
-
- <xsl:import href="classpath:/xslt/org/jboss/eclipse.xsl"/>
- <xsl:import href="common.xsl"/>
-
- <xsl:param name="html.stylesheet"
select="'css/seamframework-eclipse.css'"/>
-
- <xsl:param name="eclipse.plugin.name">Seam Framework
Help</xsl:param>
- <xsl:param
name="eclipse.plugin.id">org.jboss.seam.help</xsl:param>
- <xsl:param
name="eclipse.plugin.provider">SeamFramework.org</xsl:param>
-
-</xsl:stylesheet>
Deleted: doc/trunk/xslt/src/main/resources/xslt/org/jboss/webbeans/fop1.xsl
===================================================================
--- doc/trunk/xslt/src/main/resources/xslt/org/jboss/seam/fop1.xsl 2008-12-19 17:24:58 UTC
(rev 579)
+++ doc/trunk/xslt/src/main/resources/xslt/org/jboss/webbeans/fop1.xsl 2008-12-19 17:41:56
UTC (rev 581)
@@ -1,71 +0,0 @@
-<?xml version='1.0'?>
-<xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
-
xmlns:fo="http://www.w3.org/1999/XSL/Format"
- version='1.0'>
-
-<xsl:template match="*" mode="fop1.outline">
- <xsl:apply-templates select="*" mode="fop1.outline"/>
-</xsl:template>
-
-<xsl:template match="set|book|part|reference|
- preface|chapter|appendix|article
- |glossary|bibliography|index|setindex
- |refentry
- |sect1|sect2|sect3|sect4|sect5|section"
- mode="fop1.outline">
-
- <xsl:variable name="id">
- <xsl:call-template name="object.id"/>
- </xsl:variable>
- <xsl:variable name="bookmark-label">
- <xsl:apply-templates select="."
mode="object.title.markup"/>
- </xsl:variable>
-
- <!-- Put the root element bookmark at the same level as its children -->
- <!-- If the object is a set or book, generate a bookmark for the toc -->
-
- <xsl:choose>
- <xsl:when test="parent::*">
- <fo:bookmark internal-destination="{$id}"
starting-state="hide">
- <fo:bookmark-title>
- <xsl:value-of select="normalize-space(translate($bookmark-label,
$a-dia, $a-asc))"/>
- </fo:bookmark-title>
- <xsl:apply-templates select="*" mode="fop1.outline"/>
- </fo:bookmark>
- </xsl:when>
- <xsl:otherwise>
- <fo:bookmark internal-destination="{$id}"
starting-state="hide">
- <fo:bookmark-title>
- <xsl:value-of select="normalize-space(translate($bookmark-label,
$a-dia, $a-asc))"/>
- </fo:bookmark-title>
- </fo:bookmark>
-
- <xsl:variable name="toc.params">
- <xsl:call-template name="find.path.params">
- <xsl:with-param name="table"
select="normalize-space($generate.toc)"/>
- </xsl:call-template>
- </xsl:variable>
-
- <xsl:if test="contains($toc.params, 'toc')
- and (book|part|reference|preface|chapter|appendix|article
- |glossary|bibliography|index|setindex
- |refentry
- |sect1|sect2|sect3|sect4|sect5|section)">
- <fo:bookmark internal-destination="toc...{$id}"
starting-state="hide">
- <fo:bookmark-title>
- <xsl:call-template name="gentext">
- <xsl:with-param name="key"
select="'TableofContents'"/>
- </xsl:call-template>
- </fo:bookmark-title>
- </fo:bookmark>
- </xsl:if>
- <xsl:apply-templates select="*" mode="fop1.outline"/>
- </xsl:otherwise>
- </xsl:choose>
-<!--
- <fo:bookmark internal-destination="{$id}"/>
--->
-</xsl:template>
-
-
-</xsl:stylesheet>
Modified: doc/trunk/xslt/src/main/resources/xslt/org/jboss/webbeans/pdf.xsl
===================================================================
--- doc/trunk/xslt/src/main/resources/xslt/org/jboss/seam/pdf.xsl 2008-12-19 17:24:58 UTC
(rev 579)
+++ doc/trunk/xslt/src/main/resources/xslt/org/jboss/webbeans/pdf.xsl 2008-12-19 17:41:56
UTC (rev 581)
@@ -13,59 +13,8 @@
xmlns:fo="http://www.w3.org/1999/XSL/Format"
exclude-result-prefixes="#default">
- <xsl:import href="classpath:/xslt/org/jboss/pdf.xsl"/>
- <xsl:import href="common.xsl"/>
- <xsl:import href="fop1.xsl" />
-
- <!-- Change the font color for titles to
SeamFramework.org one -->
- <xsl:param name="title.color">#576C74</xsl:param>
- <xsl:param name="titlepage.color">#885324</xsl:param>
- <xsl:param name="chapter.title.color">#BA5624</xsl:param>
- <xsl:param name="section.title.color">#BA5624</xsl:param>
+ <xsl:import href="classpath:/xslt/org/jboss/seam/pdf.xsl"/>
- <!-- 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:template name="book.titlepage.recto">
<xsl:choose>
<xsl:when test="bookinfo/title">
Deleted: doc/trunk/xslt/src/main/resources/xslt/org/jboss/webbeans/xhtml-single.xsl
===================================================================
--- doc/trunk/xslt/src/main/resources/xslt/org/jboss/seam/xhtml-single.xsl 2008-12-19
17:24:58 UTC (rev 579)
+++ doc/trunk/xslt/src/main/resources/xslt/org/jboss/webbeans/xhtml-single.xsl 2008-12-19
17:41:56 UTC (rev 581)
@@ -1,17 +0,0 @@
-<?xml version='1.0'?>
-
-<!--
- Copyright 2008 JBoss, a division of Red Hat
- License: LGPL
- Author: Pete Muir
- Author: Mark Newton <mark.newton(a)jboss.org>
--->
-
-<xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
-
- <xsl:import href="classpath:/xslt/org/jboss/xhtml-single.xsl"/>
- <xsl:import href="common.xsl"/>
-
- <xsl:param name="html.stylesheet"
select="'css/seamframework-single.css'"/>
-
-</xsl:stylesheet>
Deleted: doc/trunk/xslt/src/main/resources/xslt/org/jboss/webbeans/xhtml.xsl
===================================================================
--- doc/trunk/xslt/src/main/resources/xslt/org/jboss/seam/xhtml.xsl 2008-12-19 17:24:58
UTC (rev 579)
+++ doc/trunk/xslt/src/main/resources/xslt/org/jboss/webbeans/xhtml.xsl 2008-12-19
17:41:56 UTC (rev 581)
@@ -1,15 +0,0 @@
-<?xml version='1.0'?>
-
-<!--
- Copyright 2008 JBoss, a division of Red Hat
- License: LGPL
- Author: Pete Muir
- Author: Mark Newton <mark.newton(a)jboss.org>
--->
-
-<xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
-
- <xsl:import href="classpath:/xslt/org/jboss/xhtml.xsl"/>
- <xsl:import href="common.xsl"/>
-
-</xsl:stylesheet>