forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rgard...@apache.org
Subject svn commit: rev 56780 - in forrest/trunk/plugins/rtf: . WEB-INF WEB-INF/lib resources resources/stylesheets src src/documentation src/documentation/classes src/documentation/content src/documentation/content/xdocs src/documentation/content/xdocs/images src/documentation/content/xdocs/samples src/documentation/translations
Date Sat, 06 Nov 2004 22:40:54 GMT
Author: rgardler
Date: Sat Nov  6 14:40:53 2004
New Revision: 56780

Added:
   forrest/trunk/plugins/rtf/
   forrest/trunk/plugins/rtf/README.txt   (contents, props changed)
   forrest/trunk/plugins/rtf/WEB-INF/
   forrest/trunk/plugins/rtf/WEB-INF/lib/
   forrest/trunk/plugins/rtf/WEB-INF/lib/cocoon-jfor-block.jar   (contents, props changed)
   forrest/trunk/plugins/rtf/WEB-INF/lib/jfor-0.7.2rc1.jar   (contents, props changed)
   forrest/trunk/plugins/rtf/WEB-INF/lib/jfor-0.7.2rc1.jar.license.txt   (contents, props changed)
   forrest/trunk/plugins/rtf/forrest.properties   (contents, props changed)
   forrest/trunk/plugins/rtf/resources/
   forrest/trunk/plugins/rtf/resources/stylesheets/
   forrest/trunk/plugins/rtf/resources/stylesheets/sdocbook2document.xsl   (contents, props changed)
   forrest/trunk/plugins/rtf/sitemap.xmap   (contents, props changed)
   forrest/trunk/plugins/rtf/src/
   forrest/trunk/plugins/rtf/src/documentation/
   forrest/trunk/plugins/rtf/src/documentation/classes/
   forrest/trunk/plugins/rtf/src/documentation/classes/CatalogManager.properties   (contents, props changed)
   forrest/trunk/plugins/rtf/src/documentation/content/
   forrest/trunk/plugins/rtf/src/documentation/content/xdocs/
   forrest/trunk/plugins/rtf/src/documentation/content/xdocs/images/
   forrest/trunk/plugins/rtf/src/documentation/content/xdocs/images/apache-forrest.png   (contents, props changed)
   forrest/trunk/plugins/rtf/src/documentation/content/xdocs/images/group-logo.gif   (contents, props changed)
   forrest/trunk/plugins/rtf/src/documentation/content/xdocs/images/group.svg   (contents, props changed)
   forrest/trunk/plugins/rtf/src/documentation/content/xdocs/images/icon.png   (contents, props changed)
   forrest/trunk/plugins/rtf/src/documentation/content/xdocs/images/project-logo.gif   (contents, props changed)
   forrest/trunk/plugins/rtf/src/documentation/content/xdocs/images/project.svg   (contents, props changed)
   forrest/trunk/plugins/rtf/src/documentation/content/xdocs/index.xml   (contents, props changed)
   forrest/trunk/plugins/rtf/src/documentation/content/xdocs/samples/
   forrest/trunk/plugins/rtf/src/documentation/content/xdocs/samples/minimal.fo
   forrest/trunk/plugins/rtf/src/documentation/content/xdocs/site.xml   (contents, props changed)
   forrest/trunk/plugins/rtf/src/documentation/content/xdocs/tabs.xml   (contents, props changed)
   forrest/trunk/plugins/rtf/src/documentation/skinconf.xml   (contents, props changed)
   forrest/trunk/plugins/rtf/src/documentation/translations/
   forrest/trunk/plugins/rtf/src/documentation/translations/langcode.xml   (contents, props changed)
   forrest/trunk/plugins/rtf/src/documentation/translations/languages_en.xml   (contents, props changed)
   forrest/trunk/plugins/rtf/src/documentation/translations/languages_es.xml   (contents, props changed)
   forrest/trunk/plugins/rtf/src/documentation/translations/menu.xml   (contents, props changed)
   forrest/trunk/plugins/rtf/src/documentation/translations/menu_af.xml   (contents, props changed)
   forrest/trunk/plugins/rtf/src/documentation/translations/menu_de.xml   (contents, props changed)
   forrest/trunk/plugins/rtf/src/documentation/translations/menu_es.xml   (contents, props changed)
   forrest/trunk/plugins/rtf/src/documentation/translations/menu_it.xml   (contents, props changed)
   forrest/trunk/plugins/rtf/src/documentation/translations/menu_no.xml   (contents, props changed)
   forrest/trunk/plugins/rtf/src/documentation/translations/menu_ru.xml   (contents, props changed)
   forrest/trunk/plugins/rtf/src/documentation/translations/menu_sk.xml   (contents, props changed)
   forrest/trunk/plugins/rtf/src/documentation/translations/tabs.xml   (contents, props changed)
   forrest/trunk/plugins/rtf/src/documentation/translations/tabs_es.xml   (contents, props changed)
   forrest/trunk/plugins/rtf/status.xml   (contents, props changed)
Log:
iniital RTF plugin - not ready for the primetime yet - see known issues in the readme.txt file

Added: forrest/trunk/plugins/rtf/README.txt
==============================================================================
--- (empty file)
+++ forrest/trunk/plugins/rtf/README.txt	Sat Nov  6 14:40:53 2004
@@ -0,0 +1,24 @@
+STATUS
+------
+
+This plugin is pre-alpha, as such it may change considerably without warning.
+
+KNOWN PROBLEMS
+--------------
+
+Generating the samples/minimal.rtf file in the enclosed documentation project
+works fine. This file is provided as an fo source file. Generating index.rtf, 
+which uses the skin to create an fo file from the DocumentV* source currently
+fails.
+
+INSTALLATION
+------------
+
+Installation of this plugin is not automatic at this time. This is because there
+is no release of the plugin as yet. In order to install it follow these simple 
+steps:
+
+- copy the RTF plugin directory to forrest/build/plugins
+- copy the WEB-INF directory to forrest/main/webapp
+- add "rtf" (without quotes) to your projects "project.required.plgins"
+  property

Added: forrest/trunk/plugins/rtf/WEB-INF/lib/cocoon-jfor-block.jar
==============================================================================
Binary file. No diff available.

Added: forrest/trunk/plugins/rtf/WEB-INF/lib/jfor-0.7.2rc1.jar
==============================================================================
Binary file. No diff available.

Added: forrest/trunk/plugins/rtf/WEB-INF/lib/jfor-0.7.2rc1.jar.license.txt
==============================================================================

Added: forrest/trunk/plugins/rtf/forrest.properties
==============================================================================
--- (empty file)
+++ forrest/trunk/plugins/rtf/forrest.properties	Sat Nov  6 14:40:53 2004
@@ -0,0 +1,108 @@
+# Copyright 2002-2004 The Apache Software Foundation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+##############
+# Properties used by forrest.build.xml for building the website
+# These are the defaults, un-comment them if you need to change them.
+##############
+
+# Prints out a summary of Forrest settings for this project
+#forrest.echo=true 
+
+# Project name (used to name .war file)
+#project.name=my-project
+
+# Specifies name of Forrest skin to use
+#project.skin=tigris
+#project.skin=pelt
+
+# comma separated list, file:// is supported
+#forrest.skins.descriptors=http://forrest.apache.org/skins/skins.xml,file:///c:/myskins/skins.xml
+
+##############
+# behavioural properties
+#project.menu-scheme=tab_attributes
+#project.menu-scheme=directories
+
+##############
+# layout properties
+
+# Properties that can be set to override the default locations
+#
+# Parent properties must be set. This usually means uncommenting
+# project.content-dir if any other property using it is uncommented
+
+#project.status=status.xml
+#project.content-dir=src/documentation
+#project.raw-content-dir=${project.content-dir}/content
+#project.conf-dir=${project.content-dir}/conf
+#project.sitemap-dir=${project.content-dir}
+#project.xdocs-dir=${project.content-dir}/content/xdocs
+#project.resources-dir=${project.content-dir}/resources
+#project.stylesheets-dir=${project.resources-dir}/stylesheets
+#project.images-dir=${project.resources-dir}/images
+#project.schema-dir=${project.resources-dir}/schema
+#project.skins-dir=${project.content-dir}/skins
+#project.skinconf=${project.content-dir}/skinconf.xml
+#project.lib-dir=${project.content-dir}/lib
+#project.classes-dir=${project.content-dir}/classes
+#project.translations-dir=${project.content-dir}/translations
+
+##############
+# validation properties
+
+# This set of properties determine if validation is performed
+# Values are inherited unless overridden.
+# e.g. if forrest.validate=false then all others are false unless set to true.
+#forrest.validate=true
+#forrest.validate.xdocs=${forrest.validate}
+#forrest.validate.skinconf=${forrest.validate}
+#forrest.validate.sitemap=${forrest.validate}
+#forrest.validate.stylesheets=${forrest.validate}
+#forrest.validate.skins=${forrest.validate}
+#forrest.validate.skins.stylesheets=${forrest.validate.skins}
+
+# *.failonerror=(true|false) - stop when an XML file is invalid
+#forrest.validate.failonerror=true
+
+# *.excludes=(pattern) - comma-separated list of path patterns to not validate
+# e.g.
+#forrest.validate.xdocs.excludes=samples/subdir/**, samples/faq.xml
+#forrest.validate.xdocs.excludes=
+
+
+##############
+# General Forrest properties
+
+# The URL to start crawling from
+#project.start-uri=linkmap.html
+# Set logging level for messages printed to the console
+# (DEBUG, INFO, WARN, ERROR, FATAL_ERROR)
+#project.debuglevel=ERROR
+# Max memory to allocate to Java
+#forrest.maxmemory=64m
+# Any other arguments to pass to the JVM. For example, to run on an X-less
+# server, set to -Djava.awt.headless=true
+#forrest.jvmargs=
+# The bugtracking URL - the issue number will be appended
+#project.bugtracking-url=http://issues.apache.org/bugzilla/show_bug.cgi?id=
+#project.bugtracking-url=http://issues.apache.org/jira/browse/
+# The issues list as rss
+#project.issues-rss-url=
+#I18n Property only works for the "forrest run" target.
+#project.i18n=true
+
+# The names of plugins that are required to build the project
+# comma separated list (no spaces)
+project.required.plugins=rtf

Added: forrest/trunk/plugins/rtf/resources/stylesheets/sdocbook2document.xsl
==============================================================================
--- (empty file)
+++ forrest/trunk/plugins/rtf/resources/stylesheets/sdocbook2document.xsl	Sat Nov  6 14:40:53 2004
@@ -0,0 +1,787 @@
+<?xml version="1.0"?>
+<!--
+  Copyright 2002-2004 The Apache Software Foundation
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<!--
+A prototype Docbook-to-Forrest stylesheet.
+Volunteers are needed to improve this!
+
+Support for the range of Docbook tags is very patchy. If you need real
+Docbook support, then use Norm Walsh's stylesheets - see Forrest FAQ.
+
+Credit: original from the jakarta-avalon project
+
+-->
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
+
+      <xsl:template match="/">
+            <xsl:apply-templates select="book|chapter|revhistory|article|refentry"/>
+      </xsl:template>
+
+    <xsl:template match="refentry">
+        <document>
+            <header>
+            <title><xsl:value-of select="refmeta/refentrytitle"/><xsl:apply-templates select="refmeta/manvolnum"/></title>
+            </header>
+            <body>
+              <xsl:apply-templates select="refnamediv"/>
+              <xsl:apply-templates select="refsynopsisdiv"/>
+              <xsl:apply-templates select="refsect1"/>
+            </body>
+        </document>
+    </xsl:template>
+    
+    <xsl:template match="manvolnum">
+      (<xsl:value-of select="."/>)
+    </xsl:template>
+
+    <xsl:template match="refsect1">
+       <section>
+         <xsl:apply-templates/>
+       </section>
+    </xsl:template>
+    
+    <xsl:template match="refsynopsisdiv">
+      <section>
+        <title>SYNOPSIS</title>
+        <xsl:apply-templates select="cmdsynopsis"/>
+      </section>
+    </xsl:template>
+    
+    <xsl:template match="refnamediv">
+        <section>
+        <title>NAME</title>
+        <p>
+        <xsl:value-of select="refname"/>
+        <xsl:apply-templates select="refpurpose"/>
+        </p>
+        <xsl:apply-templates select="refdescriptor"/>
+        </section>
+    </xsl:template>
+    
+    <xsl:template match="refdescriptor">
+        <p>
+            <xsl:value-of select="."/>
+        </p>
+    </xsl:template>
+
+    <xsl:template match="refpurpose">
+      - <xsl:value-of select="."/>
+    </xsl:template>
+
+      <xsl:template match="book">
+            <document>
+                  <header>
+                        <xsl:apply-templates select="bookinfo/title"/>
+                        <xsl:apply-templates select="bookinfo/subtitle"/>
+                        <authors>
+                              <xsl:apply-templates select="bookinfo/author"/>
+                        </authors>
+                        <!--
+                        <notice/>
+                        <abstract/>
+                        -->
+                  </header>
+                  <body>
+                        <xsl:apply-templates select="node()[ local-name() != 'bookinfo']"/>
+                        <xsl:call-template name="apply-footnotes"/>
+                  </body>
+            </document>
+      </xsl:template>
+
+      <xsl:template match="chapter">
+            <document>
+                  <header>
+                        <xsl:apply-templates select="title"/>
+                        <xsl:apply-templates select="subtitle"/>
+                        <authors>
+                              <xsl:apply-templates select="chapterinfo/authorgroup/author"/>
+                        </authors>
+                  </header>
+                  <body>
+                        <xsl:apply-templates select="node()[
+                              local-name() != 'title' and
+                              local-name() != 'subtitle' and
+                              local-name() != 'chapterinfo' 
+                              ]"/>
+                        <xsl:call-template name="apply-footnotes"/>
+                  </body>
+            </document>
+      </xsl:template>
+
+       <xsl:template match="article">
+             <document>
+                   <header>
+                         <xsl:apply-templates select="articleinfo/title|title"/>
+                         <xsl:apply-templates select="articleinfo/subtitle|subtitle"/>
+                         <authors>
+                               <xsl:apply-templates select="articleinfo/author"/>
+                               <xsl:apply-templates select="articleinfo/corpauthor"/>
+                         </authors>
+                   </header>
+                   <body>
+                         <xsl:call-template name="extract-articleinfo"/>
+                         <xsl:apply-templates select="node()[
+                               local-name() != 'title' and
+                               local-name() != 'subtitle' and
+                               local-name() != 'articleinfo'
+                               ]"/>
+                         <xsl:call-template name="apply-footnotes"/>
+                   </body>
+             </document>
+       </xsl:template>
+
+      <xsl:template name="extract-articleinfo">
+          <xsl:if test="articleinfo/copyright">
+              <section id="pubinfo">
+                  <title>Publication Information</title>
+                  <xsl:if test="articleinfo/pubdate">
+                      <p>Date published:
+                          <xsl:value-of select="articleinfo/pubdate"/>
+                      </p>
+                  </xsl:if>
+                  <xsl:apply-templates select="articleinfo/copyright"/>
+              </section>
+          </xsl:if>
+      </xsl:template>
+
+      <xsl:template name="apply-footnotes">
+            <xsl:if test="//footnote">
+                  <section><title>Footnotes</title>
+                        <xsl:apply-templates select="//footnote" mode="base"/>
+                  </section>
+            </xsl:if>
+      </xsl:template>
+
+      <xsl:template match="author">
+            <xsl:element name="person">
+                  <xsl:if test="id"><xsl:attribute name="id"><xsl:value-of select="id"/></xsl:attribute></xsl:if>
+                  <xsl:attribute name="name">
+                        <xsl:if test="honorific"><xsl:value-of select="honorific"/>. </xsl:if>
+                        <xsl:if test="firstname"><xsl:value-of select="firstname"/></xsl:if>
+                        <xsl:text> </xsl:text><xsl:value-of select="surname"/>
+                        <xsl:if test="affiliation">
+                            <xsl:text> (</xsl:text>
+<!-- FIXME: horrid hack - there can be zero-or-more jobtitle -->
+                            <xsl:if test="affiliation/jobtitle">
+                                <xsl:value-of select="affiliation/jobtitle"/>
+                                <xsl:text>, </xsl:text>
+                            </xsl:if>
+                            <xsl:if test="affiliation/orgname">
+                                <xsl:value-of select="affiliation/orgname"/>
+                            </xsl:if>
+                            <xsl:text>)</xsl:text>
+                        </xsl:if>
+                  </xsl:attribute>
+                  <xsl:attribute name="email"><xsl:value-of select="address/email"/></xsl:attribute>
+            </xsl:element>
+      </xsl:template>
+      <xsl:template match="chapter">
+            <section>
+                  <xsl:apply-templates/>
+            </section>
+      </xsl:template>
+      
+      <xsl:template match="cmdsynopsis">
+            <!--
+            <cmdsynopsis>
+                  <command>xindice add_collection</command>
+                  <arg choice="req">-c <replaceable>context</replaceable></arg>
+                  <arg choice="req">-n <replaceable>name</replaceable></arg>
+                  <arg choice="opt">-v <replaceable></replaceable></arg>
+            </cmdsynopsis>
+            -->
+            <p>
+                  <code>
+                        <xsl:value-of select="command"/>
+                        <xsl:apply-templates select="node()[ local-name() != 'command' ]"/>
+                  </code>
+            </p>
+      </xsl:template>
+      <xsl:template match="arg">
+            <xsl:choose>
+                  <xsl:when test="@choice = 'req' ">
+                        <xsl:apply-templates/>
+                  </xsl:when>
+                  <xsl:otherwise>
+                        [<xsl:apply-templates/>]
+                  </xsl:otherwise>
+            </xsl:choose>
+      </xsl:template>
+      <xsl:template match="replaceable">
+            (or <xsl:value-of select="."/>)
+      </xsl:template>
+      <xsl:template match="bridgehead">
+            <section>
+                  <title>
+                        <xsl:value-of select="."/>
+                  </title>
+            </section>
+      </xsl:template>
+      <xsl:template match="example">
+            <section>
+                  <xsl:apply-templates/>
+            </section>
+      </xsl:template>
+      <xsl:template match="informaltable">
+            <table>
+                  <xsl:apply-templates/>
+            </table>
+      </xsl:template>
+      <xsl:template match="anchor">
+            <!--
+            <a name="{.}"/>
+            -->
+            <xsl:element name="link">
+                  <xsl:if test="@href">
+                        <xsl:attribute name="href"><xsl:value-of select="@href"/></xsl:attribute>
+                  </xsl:if>
+                  <xsl:attribute name="id"><xsl:value-of select="."/></xsl:attribute>
+            </xsl:element>
+      </xsl:template>
+      <xsl:template match="a">
+            <link href="{@href}">
+                  <xsl:value-of select="."/>
+            </link>
+      </xsl:template>
+      <xsl:template match="subtitle">
+            <subtitle>
+                  <xsl:value-of select="."/>
+            </subtitle>
+      </xsl:template>
+      <xsl:template match="title">
+            <title>
+                  <xsl:value-of select="."/>
+            </title>
+      </xsl:template>
+      <xsl:template match="affiliation">
+            <li>
+                  <xsl:text>[</xsl:text>
+                  <xsl:value-of select="shortaffil"/>
+                  <xsl:text>] </xsl:text>
+                  <b>
+                        <xsl:value-of select="jobtitle"/>
+                  </b>
+                  <i>
+                        <xsl:value-of select="orgname"/>
+                        <xsl:if test="orgdiv">
+                              <xsl:text>/</xsl:text>
+                              <xsl:value-of select="orgdiv"/>
+                        </xsl:if>
+                  </i>
+            </li>
+      </xsl:template>
+      <xsl:template match="authorblurb">
+            <section title="Bio">
+                  <xsl:apply-templates/>
+            </section>
+      </xsl:template>
+      <xsl:template match="honorific|firstname|surname|orgdiv|orgname|shortaffil|jobtitle"/>
+      <xsl:template match="revhistory">
+            <document>
+                  <header>
+                        <title>Revision History</title>
+                  </header>
+                  <body>
+                        <section>
+                              <title>Revision History</title>
+                              <table>
+                                    <xsl:variable name="unique-revisions" select="revision[not(revnumber=preceding-sibling::revision/revnumber)]/revnumber"/>
+                                    <xsl:variable name="base" select="."/>
+                                    <xsl:for-each select="$unique-revisions">
+                                          <tr>
+                                                <td>
+                                                      <b>Revision <xsl:value-of select="."/> 
+                                                            (<xsl:value-of select="$base/revision[revnumber=current()]/date"/>)
+                                                      </b>
+                                                </td>
+                                          </tr>
+                                          <tr>
+                                                <td>
+                                                      <font color="#000000" face="arial,helvetica,sanserif">
+                                                            <br/>
+                                                            <ul>
+                                                                  <xsl:apply-templates select="$base/revision[revnumber=current()]"/>
+                                                            </ul>
+                                                      </font>
+                                                </td>
+                                          </tr>
+                                    </xsl:for-each>
+                              </table>
+                        </section>
+                  </body>
+            </document>
+      </xsl:template>
+
+      <xsl:template match="para">
+            <p><xsl:apply-templates/></p>
+      </xsl:template>
+
+      <xsl:template match="emphasis">
+          <xsl:choose>
+              <xsl:when test="@role='bold'">
+                  <strong><xsl:apply-templates/></strong>
+              </xsl:when>
+              <xsl:otherwise>
+                  <em><xsl:apply-templates/></em>
+              </xsl:otherwise>
+          </xsl:choose>
+       </xsl:template>
+
+      <xsl:template match="firstterm">
+            <em><xsl:apply-templates/></em>
+      </xsl:template>
+
+      <xsl:template match="revision">
+            <li>
+                  <xsl:choose>
+                        <xsl:when test="@revisionflag='added'">
+                              <img align="absmiddle" alt="added" src="images/add.jpg"/>
+                        </xsl:when>
+                        <xsl:when test="@revisionflag='changed'">
+                              <img align="absmiddle" alt="changed" src="images/update.jpg"/>
+                        </xsl:when>
+                        <xsl:when test="@revisionflag='deleted'">
+                              <img align="absmiddle" alt="deleted" src="images/remove.jpg"/>
+                        </xsl:when>
+                        <xsl:when test="@revisionflag='off'">
+                              <img align="absmiddle" alt="off" src="images/fix.jpg"/>
+                        </xsl:when>
+                        <xsl:otherwise>
+                              <img align="absmiddle" alt="changed" src="images/update.jpg"/>
+                        </xsl:otherwise>
+                  </xsl:choose>
+                  <xsl:value-of select="revremark"/>
+                  <xsl:text> (</xsl:text>
+                  <xsl:value-of select="authorinitials"/>
+                  <xsl:text>)</xsl:text>
+            </li>
+      </xsl:template>
+      <xsl:template match="revnumber|revremark|authorinitials|date"/>
+    
+      <xsl:template match="sect1|sect2|sect3|sect4|sect5|section">
+            <xsl:param name="idval">
+                <xsl:if test="@id">
+                            <xsl:value-of select="@id"/>
+                </xsl:if>
+            </xsl:param>
+          <xsl:choose>
+              <xsl:when test="@id">
+                  <xsl:element name="section">
+                  <xsl:attribute name="id">
+                        <xsl:value-of select="$idval"/>
+                    </xsl:attribute>
+                    <xsl:apply-templates/>
+                  </xsl:element>                  
+              </xsl:when>
+              <xsl:otherwise>
+                  <xsl:element name="section">
+                      <xsl:apply-templates/>
+                  </xsl:element>
+              </xsl:otherwise>
+          </xsl:choose>
+      </xsl:template>
+    
+      <xsl:template match="dedication">
+            <table>
+                  <tr>
+                        <td>
+                              <b>Dedication</b>
+                        </td>
+                  </tr>
+                  <tr>
+                        <td>
+                              <br/>
+                              <xsl:apply-templates/>
+                        </td>
+                  </tr>
+            </table>
+      </xsl:template>
+      <xsl:template match="edition|pubdate|year|holder"/>
+      <xsl:template match="copyright">
+            <p>Copyright &#x00A9;<xsl:value-of select="year"/> by <xsl:value-of select="holder"/>
+                <xsl:text> </xsl:text>
+                <i>All rights reserved.</i>
+            </p>
+      </xsl:template>
+      <xsl:template match="legalnotice">
+            <table>
+                  <tr>
+                        <td>
+                              <xsl:apply-templates/>
+                        </td>
+                  </tr>
+            </table>
+      </xsl:template>
+      <xsl:template match="programlisting">
+            <source>
+                  <xsl:apply-templates/>
+            </source>
+      </xsl:template>
+      <xsl:template match="screen">
+            <source>
+                  <xsl:apply-templates/>
+            </source>
+      </xsl:template>
+      <xsl:template match="variablelist">
+          <dl>
+            <xsl:apply-templates/>
+          </dl>
+      </xsl:template>
+      <xsl:template match="varlistentry">
+         <dt><xsl:apply-templates select="term"/></dt>
+         <dd><xsl:apply-templates select="listitem/*"/></dd>
+      </xsl:template>
+      <xsl:template match="orderedlist">
+            <ol>
+                  <xsl:apply-templates/>
+            </ol>
+      </xsl:template>
+      <xsl:template match="listitem">
+            <li>
+                  <xsl:apply-templates/>
+            </li>
+      </xsl:template>
+      <xsl:template match="itemizedlist">
+            <ul>
+                  <xsl:apply-templates/>
+            </ul>
+      </xsl:template>
+      <xsl:template match="command">
+            <code>
+                  <xsl:value-of select="."/>
+            </code>
+      </xsl:template>
+      <xsl:template match="computeroutput">
+            <code>
+                  <xsl:value-of select="."/>
+            </code>
+      </xsl:template>
+      <xsl:template match="varname">
+            <code>
+                  <xsl:value-of select="."/>
+            </code>
+      </xsl:template>
+      <xsl:template match="literal">
+            <code><xsl:value-of select="."/></code>
+      </xsl:template>
+      <xsl:template match="option">
+            <code><xsl:value-of select="."/></code>
+      </xsl:template>
+       <xsl:template match="constant">
+            <code><xsl:value-of select="."/></code>
+      </xsl:template>
+      <xsl:template match="trademark">
+            <xsl:apply-templates/>&#x2122;
+      </xsl:template>
+      <xsl:template match="filename">
+            <code>
+                  <xsl:value-of select="."/>
+            </code>
+      </xsl:template>
+      <xsl:template match="classname|function|parameter">
+            <code>
+                  <xsl:apply-templates/>
+                  <xsl:if test="name(.)='function'">
+                        <xsl:text>()</xsl:text>
+                  </xsl:if>
+            </code>
+      </xsl:template>
+      <xsl:template match="quote">
+            <xsl:text>"</xsl:text><xsl:apply-templates/><xsl:text>"</xsl:text>
+      </xsl:template>
+
+      <xsl:template match="blockquote">
+            <table>
+                  <xsl:if test="title">
+                        <tr>
+                              <td>
+                                    <xsl:value-of select="title"/>
+                              </td>
+                        </tr>
+                  </xsl:if>
+                  <tr>
+                        <td>
+                              <xsl:apply-templates/>
+                        </td>
+                  </tr>
+            </table>
+      </xsl:template>
+      <xsl:template match="warning">
+            <warning>
+                  <xsl:apply-templates/>
+            </warning>
+      </xsl:template>
+      <xsl:template match="ulink">
+            <xsl:element name="link">
+                  <xsl:attribute name="href"><xsl:choose><xsl:when test="@uri"><xsl:value-of select="@uri"/></xsl:when><xsl:otherwise><xsl:value-of select="@url"/></xsl:otherwise></xsl:choose></xsl:attribute>
+                  <xsl:apply-templates/>
+            </xsl:element>
+      </xsl:template>
+      <xsl:template match="footnote">
+            <xsl:variable name="footnote-id">
+                  <xsl:value-of select="count(preceding::footnote)+1"/>
+            </xsl:variable>
+            <anchor id="footnote-{$footnote-id}-ref"/>
+            <sup>
+                  <link href="#footnote-{$footnote-id}">
+                        <xsl:value-of select="$footnote-id"/>
+                  </link>
+            </sup>
+      </xsl:template>
+
+      <xsl:template match="footnote" mode="base">
+            <p>
+                  <xsl:variable name="footnote-id">
+                        <xsl:value-of select="count(preceding::footnote)+1"/>
+                  </xsl:variable>
+                  <anchor id="footnote-{$footnote-id}"/>
+                  <link href="#footnote-{$footnote-id}-ref">
+                        <xsl:value-of select="$footnote-id"/>
+                  </link><xsl:text>) </xsl:text>
+                  <!-- Most footnotes have a para nested; strip if there is only one-->
+                  <xsl:if test="not(para)"><xsl:apply-templates/></xsl:if>
+                  <xsl:if test="count(para)=1"><xsl:apply-templates
+                              select="para/node()"/></xsl:if>
+            </p>
+            <xsl:if test="count(para)>1"><xsl:apply-templates/></xsl:if>
+      </xsl:template>
+
+      <xsl:template match="figure">
+            <table>
+                <tr>
+                    <td>
+                        <xsl:value-of select="title"/>
+                    </td>
+                </tr>
+                <tr>
+                    <td>
+                        <xsl:apply-templates select="*[not(self::title)]"/>
+                    </td>
+                </tr>
+            </table>
+      </xsl:template>
+
+      <xsl:template match="mediaobject|imageobject">
+            <xsl:apply-templates/>
+      </xsl:template>
+
+      <xsl:template match="inlinegraphic">
+            <img alt="{@srccredit}" src="{@fileref}"/>
+      </xsl:template>
+
+      <xsl:template match="graphic|imagedata">
+            <img alt="{@srccredit}" src="{@fileref}"/>
+            <xsl:if test="@srccredit">
+                <ul>
+                      <li>
+                          <xsl:value-of select="@srccredit"/>
+                      </li>
+                </ul>
+            </xsl:if>
+      </xsl:template>
+      <xsl:template match="simplelist">
+            <ul>
+                  <xsl:apply-templates/>
+            </ul>
+      </xsl:template>
+      <xsl:template match="member">
+            <li>
+                  <xsl:apply-templates/>
+            </li>
+      </xsl:template>
+      <xsl:template match="table">
+            <table>
+                  <xsl:apply-templates/>
+            </table>
+      </xsl:template>
+      <xsl:template match="tgroup">
+            <xsl:apply-templates select="thead|tbody|tfoot"/>
+      </xsl:template>
+      <xsl:template match="thead">
+            <xsl:apply-templates mode="thead"/>
+      </xsl:template>
+      <xsl:template match="row" mode="thead">
+            <tr>
+              <xsl:apply-templates mode="thead"/>
+            </tr>
+      </xsl:template>
+      <xsl:template match="entry" mode="thead">
+            <th>
+                  <xsl:apply-templates/>
+            </th>
+      </xsl:template>
+      <xsl:template match="row">
+            <tr>
+                  <xsl:apply-templates/>
+            </tr>
+      </xsl:template>
+      <xsl:template match="tbody|tfoot">
+            <xsl:apply-templates/>
+      </xsl:template>
+      <xsl:template match="entry">
+            <td>
+                  <xsl:apply-templates/>
+            </td>
+      </xsl:template>
+      <xsl:template match="trademark">
+            <xsl:apply-templates/>
+            <sup>TM</sup>
+      </xsl:template>
+      <xsl:template match="email">
+        &lt;<link>
+            <xsl:attribute name="href">
+                <xsl:value-of select="concat('mailto:',.)"/>
+            </xsl:attribute>
+             <xsl:apply-templates/>
+         </link>&gt;
+      </xsl:template>
+
+      <!-- Filched from Norm Walsh's inline.xsl -->
+      <xsl:template match="sgmltag">
+            <xsl:call-template name="format.sgmltag"/>
+      </xsl:template>
+
+      <xsl:template name="format.sgmltag">
+            <xsl:param name="class">
+                  <xsl:choose>
+                        <xsl:when test="@class">
+                              <xsl:value-of select="@class"/>
+                        </xsl:when>
+                        <xsl:otherwise>element</xsl:otherwise>
+                  </xsl:choose>
+            </xsl:param>
+
+            <tt class="sgmltag-{$class}">
+                  <xsl:choose>
+                        <xsl:when test="$class='attribute'">
+                              <xsl:apply-templates/>
+                        </xsl:when>
+                        <xsl:when test="$class='attvalue'">
+                              <xsl:apply-templates/>
+                        </xsl:when>
+                        <xsl:when test="$class='element'">
+                              <xsl:apply-templates/>
+                        </xsl:when>
+                        <xsl:when test="$class='endtag'">
+                              <xsl:text>&lt;/</xsl:text>
+                              <xsl:apply-templates/>
+                              <xsl:text>&gt;</xsl:text>
+                        </xsl:when>
+                        <xsl:when test="$class='genentity'">
+                              <xsl:text>&amp;</xsl:text>
+                              <xsl:apply-templates/>
+                              <xsl:text>;</xsl:text>
+                        </xsl:when>
+                        <xsl:when test="$class='numcharref'">
+                              <xsl:text>&amp;#</xsl:text>
+                              <xsl:apply-templates/>
+                              <xsl:text>;</xsl:text>
+                        </xsl:when>
+                        <xsl:when test="$class='paramentity'">
+                              <xsl:text>%</xsl:text>
+                              <xsl:apply-templates/>
+                              <xsl:text>;</xsl:text>
+                        </xsl:when>
+                        <xsl:when test="$class='pi'">
+                              <xsl:text>&lt;?</xsl:text>
+                              <xsl:apply-templates/>
+                              <xsl:text>&gt;</xsl:text>
+                        </xsl:when>
+                        <xsl:when test="$class='xmlpi'">
+                              <xsl:text>&lt;?</xsl:text>
+                              <xsl:apply-templates/>
+                              <xsl:text>?&gt;</xsl:text>
+                        </xsl:when>
+                        <xsl:when test="$class='starttag'">
+                              <xsl:text>&lt;</xsl:text>
+                              <xsl:apply-templates/>
+                              <xsl:text>&gt;</xsl:text>
+                        </xsl:when>
+                        <xsl:when test="$class='emptytag'">
+                              <xsl:text>&lt;</xsl:text>
+                              <xsl:apply-templates/>
+                              <xsl:text>/&gt;</xsl:text>
+                        </xsl:when>
+                        <xsl:when test="$class='sgmlcomment'">
+                              <xsl:text>&lt;!--</xsl:text>
+                              <xsl:apply-templates/>
+                              <xsl:text>--&gt;</xsl:text>
+                        </xsl:when>
+                        <xsl:otherwise>
+                              <xsl:apply-templates/>
+                        </xsl:otherwise>
+                  </xsl:choose>
+            </tt>
+      </xsl:template>
+    
+    <xsl:template match="xref">
+        <xsl:param name="linkend">
+            <xsl:value-of select="@linkend"/>
+        </xsl:param>
+        <xsl:param name="endterm">
+            <xsl:value-of select="@endterm"/>
+        </xsl:param>
+        <xsl:param name="xreflabelvalue">
+            <xsl:value-of select="@xreflabel"/>
+        </xsl:param>
+        <xsl:param name="linkendvalue">
+            <xsl:if test="$linkend">
+                <xsl:value-of select="//*[@id=$linkend]/title"/>
+            </xsl:if>
+        </xsl:param>
+        <xsl:param name="endtermvalue">
+            <xsl:if test="$endterm">
+                <xsl:value-of select="//*[@id=$endterm]"/>
+            </xsl:if>
+        </xsl:param>
+        <xsl:choose>
+            <xsl:when test="//xref[not(@endterm)]">
+                <xsl:element name="link">
+                    <xsl:attribute name="href">
+                        <xsl:text>#</xsl:text>
+                        <xsl:value-of select="$linkend"/>
+                    </xsl:attribute>
+                    <xsl:choose>
+                        <xsl:when test="@xreflabel">
+                            <xsl:value-of select="$xreflabelvalue"/>
+                        </xsl:when>
+                        <xsl:otherwise>
+                            <xsl:value-of select="$linkendvalue"/>
+                        </xsl:otherwise>
+                    </xsl:choose>
+                </xsl:element>
+                <xsl:apply-templates/>
+            </xsl:when>
+            <xsl:otherwise>
+                <xsl:element name="link">
+                    <xsl:attribute name="href">
+                        <xsl:text>#</xsl:text>
+                        <xsl:value-of select="$linkend"/>
+                    </xsl:attribute>
+                    <xsl:value-of select="$endtermvalue"/>
+                </xsl:element>
+                <xsl:apply-templates/>
+            </xsl:otherwise>
+        </xsl:choose>
+    </xsl:template>
+
+      <xsl:template match="node()|@*" priority="-1">
+            <xsl:copy>
+                  <xsl:apply-templates select="node()|@*"/>
+            </xsl:copy>
+      </xsl:template>
+</xsl:stylesheet>
+<!-- vim: set ft=xml sw=6: -->

Added: forrest/trunk/plugins/rtf/sitemap.xmap
==============================================================================
--- (empty file)
+++ forrest/trunk/plugins/rtf/sitemap.xmap	Sat Nov  6 14:40:53 2004
@@ -0,0 +1,41 @@
+<?xml version="1.0"?>
+<!--
+  Copyright 2002-2004 The Apache Software Foundation
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+  <!-- ============================================================ -->
+  <!-- Simplified-Docbook Plugin                                    -->
+  <!-- This plugin allows Simplified DocBook files to be            -->
+  <!-- used in a Forrest site                                       -->
+  <!-- ============================================================ -->
+
+<map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0">
+
+  <map:components>
+    <map:serializers>
+      <map:serializer name="fo2rtf" src="org.apache.cocoon.serialization.RTFSerializer" mime-type="application/msword"/>
+    </map:serializers>
+  </map:components>
+  
+  <map:pipelines>
+    <map:pipeline internal="true">
+
+      <!-- generate .rtf files from .fo -->
+      <map:match type="regexp" pattern="^(.*?)([^/]*).rtf$">
+        <map:generate src="cocoon://{1}{2}.fo"/>
+        <map:serialize type="fo2rtf"/>
+      </map:match>
+    </map:pipeline>
+  </map:pipelines>
+</map:sitemap>

Added: forrest/trunk/plugins/rtf/src/documentation/classes/CatalogManager.properties
==============================================================================
--- (empty file)
+++ forrest/trunk/plugins/rtf/src/documentation/classes/CatalogManager.properties	Sat Nov  6 14:40:53 2004
@@ -0,0 +1,37 @@
+# Copyright 2002-2004 The Apache Software Foundation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+#=======================================================================
+# CatalogManager.properties
+#
+# This is the default properties file for Apache Forrest.
+# This facilitates local configuration of application-specific catalogs.
+#
+# See the Apache Forrest documentation:
+# http://forrest.apache.org/docs/your-project.html
+# http://forrest.apache.org/docs/validation.html
+
+# verbosity ... level of messages for status/debug
+# See forrest/src/core/context/WEB-INF/cocoon.xconf
+
+# catalogs ... list of additional catalogs to load
+#  (Note that Apache Forrest will automatically load its own default catalog
+#  from src/core/context/resources/schema/catalog.xcat)
+# use full pathnames
+# pathname separator is always semi-colon (;) regardless of operating system
+# directory separator is always slash (/) regardless of operating system
+#
+#catalogs=/home/me/forrest/my-site/src/documentation/resources/schema/catalog.xcat
+catalogs=
+

Added: forrest/trunk/plugins/rtf/src/documentation/content/xdocs/images/apache-forrest.png
==============================================================================
Binary file. No diff available.

Added: forrest/trunk/plugins/rtf/src/documentation/content/xdocs/images/group-logo.gif
==============================================================================
Binary file. No diff available.

Added: forrest/trunk/plugins/rtf/src/documentation/content/xdocs/images/group.svg
==============================================================================
--- (empty file)
+++ forrest/trunk/plugins/rtf/src/documentation/content/xdocs/images/group.svg	Sat Nov  6 14:40:53 2004
@@ -0,0 +1,81 @@
+<?xml version="1.0" standalone="no"?>
+<!--
+  Copyright 2002-2004 The Apache Software Foundation
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+
+<!--
+       SVG Anteater logo
+
+To get started with SVG, I'd recommend getting the Adobe SVG plugin, and the
+xml-batik CVS module. Then have a look at the xml-batik/samples files. Use the
+SVG spec (http://www.w3.org/TR/SVG/) as a reference.
+-->
+
+<!-- See Forrest Issue: FOR-229
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN"
+"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd"
+[
+ <!ATTLIST svg xmlns:for CDATA #FIXED "http://apache.org/forrest">
+ <!ENTITY % textExt "|for:group-name">
+ <!ELEMENT for:group-name (#PCDATA)>
+]>
+-->
+<svg xmlns="http://www.w3.org/2000/svg"
+     xmlns:xlink="http://www.w3.org/1999/xlink"
+     xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+     xsl:version="1.0"
+     xmlns:for="http://apache.org/forrest"
+     width="220" height="65" >
+  <title>Anteater logo</title>
+
+  <defs>
+
+    <!--
+    <radialGradient id="radialGradient">
+      <stop style="stop-color:gold" offset="0"/>
+      <stop style="stop-color:orange" offset=".5"/>
+      <stop style="stop-color:crimson" offset="1"/>
+    </radialGradient>
+    <linearGradient id="linearGradient">
+      <stop style="stop-color:gold" offset="0"/>
+      <stop style="stop-color:orange" offset=".5"/>
+      <stop style="stop-color:crimson" offset="1"/>
+    </linearGradient>
+    -->
+
+    <linearGradient id="gradient" x1="0" y1="0" x2="0" y2="1">
+      <stop style="stop-color:white" offset="0"/>
+      <stop style="stop-color:lightgreen" offset="1"/>
+    </linearGradient>
+
+    <filter id="shadowFilter"  filterUnits="objectBoundingBox">
+      <!-- Takes the alpha channel (black outline of the text), blurs it and saves as 'blur' -->
+      <feGaussianBlur in="SourceAlpha" stdDeviation="2 2" result="blur"/>
+      <!-- Takes saved 'blur' and offsets it by 4 pixels, saves as 'offsetBlur' -->
+      <feOffset in="blur" dx="4" dy="4" result="offsetBlur"/>
+      <!-- Merges SourceGraphic (original image) and 'offsetBlur', putting the
+      former 'over' the latter, and using the merged result as the finished
+      image -->
+      <feComposite in="SourceGraphic" in2="offsetBlur" operator="over"/>
+    </filter>
+
+  </defs>
+
+  <g filter="url(#shadowFilter)" fill="url(#gradient)">
+    <text x="40%" y="60%" style="font-size:24pt; font-family:Verdana ; text-anchor: middle">
+    <for:group-name />
+    </text>
+  </g>
+</svg>

Added: forrest/trunk/plugins/rtf/src/documentation/content/xdocs/images/icon.png
==============================================================================
Binary file. No diff available.

Added: forrest/trunk/plugins/rtf/src/documentation/content/xdocs/images/project-logo.gif
==============================================================================
Binary file. No diff available.

Added: forrest/trunk/plugins/rtf/src/documentation/content/xdocs/images/project.svg
==============================================================================
--- (empty file)
+++ forrest/trunk/plugins/rtf/src/documentation/content/xdocs/images/project.svg	Sat Nov  6 14:40:53 2004
@@ -0,0 +1,81 @@
+<?xml version="1.0" standalone="no"?>
+<!--
+  Copyright 2002-2004 The Apache Software Foundation
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+
+<!--
+       SVG Anteater logo
+
+To get started with SVG, I'd recommend getting the Adobe SVG plugin, and the
+xml-batik CVS module. Then have a look at the xml-batik/samples files. Use the
+SVG spec (http://www.w3.org/TR/SVG/) as a reference.
+-->
+
+<!-- See Forrest Issue: FOR-229
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN"
+"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd"
+[
+ <!ATTLIST svg xmlns:for CDATA #FIXED "http://apache.org/forrest">
+ <!ENTITY % textExt "|for:project-name">
+ <!ELEMENT for:project-name (#PCDATA)>
+]>
+-->
+<svg xmlns="http://www.w3.org/2000/svg"
+     xmlns:xlink="http://www.w3.org/1999/xlink"
+     xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+     xsl:version="1.0"
+     xmlns:for="http://apache.org/forrest"
+     width="220" height="65" >
+  <title>Anteater logo</title>
+
+  <defs>
+
+    <!--
+    <radialGradient id="radialGradient">
+      <stop style="stop-color:gold" offset="0"/>
+      <stop style="stop-color:orange" offset=".5"/>
+      <stop style="stop-color:crimson" offset="1"/>
+    </radialGradient>
+    <linearGradient id="linearGradient">
+      <stop style="stop-color:gold" offset="0"/>
+      <stop style="stop-color:orange" offset=".5"/>
+      <stop style="stop-color:crimson" offset="1"/>
+    </linearGradient>
+    -->
+
+    <linearGradient id="gradient" x1="0" y1="0" x2="0" y2="1">
+      <stop style="stop-color:white" offset="0"/>
+      <stop style="stop-color:lightgreen" offset="1"/>
+    </linearGradient>
+
+    <filter id="shadowFilter"  filterUnits="objectBoundingBox">
+      <!-- Takes the alpha channel (black outline of the text), blurs it and saves as 'blur' -->
+      <feGaussianBlur in="SourceAlpha" stdDeviation="2 2" result="blur"/>
+      <!-- Takes saved 'blur' and offsets it by 4 pixels, saves as 'offsetBlur' -->
+      <feOffset in="blur" dx="4" dy="4" result="offsetBlur"/>
+      <!-- Merges SourceGraphic (original image) and 'offsetBlur', putting the
+      former 'over' the latter, and using the merged result as the finished
+      image -->
+      <feComposite in="SourceGraphic" in2="offsetBlur" operator="over"/>
+    </filter>
+
+  </defs>
+
+  <g filter="url(#shadowFilter)" fill="url(#gradient)">
+    <text x="51%" y="75%" style="font-size:32pt; font-family:Verdana ; text-anchor: middle" >
+    <for:project-name />
+    </text>
+  </g>
+</svg>

Added: forrest/trunk/plugins/rtf/src/documentation/content/xdocs/index.xml
==============================================================================
--- (empty file)
+++ forrest/trunk/plugins/rtf/src/documentation/content/xdocs/index.xml	Sat Nov  6 14:40:53 2004
@@ -0,0 +1,43 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Copyright 2002-2004 The Apache Software Foundation
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V2.0//EN" "http://forrest.apache.org/dtd/document-v20.dtd">
+<document> 
+  <header> 
+    <title>Welcome to the RTF Plugin</title> 
+  </header> 
+  <body> 
+    <section>
+      <title>Apache Forrest - RTF Plugin</title>
+      <p>This plugin allows Forrest files to be iutput in RTF format.</p>
+    </section>
+    
+    <section>
+      <title>How to Use the RTF Plugin</title>
+      <p>Currently, there is no auto-install feature for the RTF plugin
+      since it is pre-alpha. For installation instructions see the 
+      <code>README.txt</code> file.</p>
+      
+      <p>Once you have the RTF plugin installed, it is simply a case of
+      requesting a file with an rtf extension. For example,
+      <a href="samples/minimal.rtf">samples/minimal.rtf</a>.</p>
+      
+      <warning>Currently, the Forrest generated fo files are not working
+      in this RTF plugin. See the <a href="todo.html">To Do List</a> for more 
+      details.</warning>
+    </section>
+  </body>
+</document>

Added: forrest/trunk/plugins/rtf/src/documentation/content/xdocs/samples/minimal.fo
==============================================================================
--- (empty file)
+++ forrest/trunk/plugins/rtf/src/documentation/content/xdocs/samples/minimal.fo	Sat Nov  6 14:40:53 2004
@@ -0,0 +1,49 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+  Copyright 1999-2004 The Apache Software Foundation
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+
+<!-- example for a simple fo file. At the beginning the page layout is set. 
+  Below fo:root there is always 
+- a single fo:layout-master-set which defines one or more page layouts
+- an optional fo:declarations 
+- and a sequence of one or more fo:page-sequences containing the text and formatting instructions 
+-->
+
+<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
+    <fo:layout-master-set>
+        <fo:simple-page-master master-name="simple"
+                  page-height="29.7cm" 
+                  page-width="21cm"
+                  margin-top="1cm" 
+                  margin-bottom="2cm" 
+                  margin-left="2.5cm" 
+                  margin-right="2.5cm">
+            <fo:region-body margin-top="3cm"/>
+            <fo:region-before extent="3cm"/>
+            <fo:region-after extent="1.5cm"/>
+        </fo:simple-page-master>
+    </fo:layout-master-set>
+
+
+    <fo:page-sequence master-name="simple">
+        <fo:flow flow-name="xsl-region-body">
+            <fo:block>
+            If you see this in an RTF document, it means it was successfully converted from xsl:fo to RTF.
+            If converted by jfor, a document property called jforVersion tells you the version of jfor used for conversion
+            </fo:block>
+        </fo:flow>
+    </fo:page-sequence>
+</fo:root>

Added: forrest/trunk/plugins/rtf/src/documentation/content/xdocs/site.xml
==============================================================================
--- (empty file)
+++ forrest/trunk/plugins/rtf/src/documentation/content/xdocs/site.xml	Sat Nov  6 14:40:53 2004
@@ -0,0 +1,64 @@
+<?xml version="1.0"?>
+<!--
+  Copyright 2002-2004 The Apache Software Foundation
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+
+<!--
+Forrest site.xml
+
+This file contains an outline of the site's information content.  It is used to:
+- Generate the website menus (though these can be overridden - see docs)
+- Provide semantic, location-independent aliases for internal 'site:' URIs, eg
+<link href="site:changes"> links to changes.html (or ../changes.html if in
+  subdir).
+- Provide aliases for external URLs in the external-refs section.  Eg, <link
+  href="ext:cocoon"> links to http://cocoon.apache.org/ 
+
+See http://forrest.apache.org/docs/linking.html for more info
+-->
+
+<site label="MyProj" href="" xmlns="http://apache.org/forrest/linkmap/1.0" tab="">
+
+  <about label="About">
+    <index label="Index" href="index.html" description="Welcome to the Feed Plugin Example"/>
+    <changes label="Changes" href="changes.html" description="History of Changes" />
+    <todo label="Todo" href="todo.html" description="Todo List" />
+  </about>
+  
+  <samples label="Samples" href="samples/">
+    <minimal label="Minimal" href="minimal.rtf" 
+      description="Minimal sample, generated from .fo directly" />     
+  </samples>
+  
+  <!--
+  The href must be wholesite.html/pdf  You can change the labels and node names
+  <all label="All">
+    <whole_site_html label="Whole Site HTML" href="wholesite.html"/>
+    <whole_site_pdf label="Whole Site PDF" href="wholesite.pdf"/>
+  </all>
+  -->
+
+  <external-refs>
+    <forrest href="http://forrest.apache.org/">
+      <linking href="docs/linking.html"/>
+      <validation href="docs/validation.html"/>
+      <webapp href="docs/your-project.html#webapp"/>
+      <dtd-docs href="docs/dtd-docs.html"/>
+    </forrest>
+    <cocoon href="http://cocoon.apache.org/"/>
+    <xml.apache.org href="http://xml.apache.org/"/>
+  </external-refs>
+
+</site>

Added: forrest/trunk/plugins/rtf/src/documentation/content/xdocs/tabs.xml
==============================================================================
--- (empty file)
+++ forrest/trunk/plugins/rtf/src/documentation/content/xdocs/tabs.xml	Sat Nov  6 14:40:53 2004
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Copyright 2002-2004 The Apache Software Foundation
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<!DOCTYPE tabs PUBLIC "-//APACHE//DTD Cocoon Documentation Tab V1.1//EN" "http://forrest.apache.org/dtd/tab-cocoon-v11.dtd">
+
+<tabs software="MyProj"
+  title="MyProj"
+  copyright="Foo"
+  xmlns:xlink="http://www.w3.org/1999/xlink">
+
+  <!-- The rules for tabs are:
+    @dir will always have '/@indexfile' added.
+    @indexfile gets appended to @dir if the tab is selected. Defaults to 'index.html'
+    @href is not modified unless it is root-relative and obviously specifies a
+    directory (ends in '/'), in which case /index.html will be added
+    If @id's are present, site.xml entries with a matching @tab will be in that tab.
+
+   Tabs can be embedded to a depth of two. The second level of tabs will only 
+    be displayed when their parent tab is selected.    
+  -->
+
+  <tab id="" label="Home" dir="" indexfile="index.html"/>
+  <tab id="samples" label="Samples" dir="samples" indexfile="index.html"/>
+  <!-- Add new tabs here, eg:
+  <tab label="How-Tos" dir="community/howto/"/>
+  <tab label="XML Site" dir="xml-site/"/>
+  -->
+
+</tabs>

Added: forrest/trunk/plugins/rtf/src/documentation/skinconf.xml
==============================================================================
--- (empty file)
+++ forrest/trunk/plugins/rtf/src/documentation/skinconf.xml	Sat Nov  6 14:40:53 2004
@@ -0,0 +1,359 @@
+<?xml version="1.0"?>
+<!--
+  Copyright 2002-2004 The Apache Software Foundation
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+
+<!--
+Skin configuration file. This file contains details of your project,
+which will be used to configure the chosen Forrest skin.
+-->
+
+<!-- See issue FOR-255
+  The parser is not getting the local copy of the DTD and is going to
+  the network. The workaround is to comment-out the document type declaration
+  and add the line "forrest.validate.skinconf=false" to forrest.properties
+-->
+<!DOCTYPE skinconfig PUBLIC "-//APACHE//DTD Skin Configuration V0.6-3//EN" "http://forrest.apache.org/dtd/skinconfig-v06-3.dtd">
+<skinconfig>
+  <!-- To enable lucene search add provider="lucene"
+    Add box-location="alt" to move the search box to an alternate location
+    (if the skin supports it) and box-location="all" to show it in all
+    available locations on the page.  Remove the <search> element to show
+    no search box. @domain will enable sitesearch for the specific domain with google.
+    In other words google will search the @domain for the query string.
+  -->
+  <search name="rtf" domain="forrest.apache.org/plugins/rtf"/>
+
+  <!-- Disable the print link? If enabled, invalid HTML 4.0.1 -->
+  <disable-print-link>true</disable-print-link>  
+  <!-- Disable the PDF link? -->
+  <disable-pdf-link>false</disable-pdf-link>
+  <!-- Disable the POD link? -->
+  <disable-pod-link>true</disable-pod-link>
+  <!-- Disable the Text link? FIXME: NOT YET IMPLEMENETED. -->
+  <disable-txt-link>true</disable-txt-link>
+  <!-- Disable the xml source link? -->
+  <!-- The xml source link makes it possible to access the xml rendition
+    of the source frim the html page, and to have it generated statically.
+    This can be used to enable other sites and services to reuse the
+    xml format for their uses. Keep this disabled if you don't want other
+    sites to easily reuse your pages.-->
+  <disable-xml-link>true</disable-xml-link>
+
+  <!-- Disable navigation icons on all external links? -->
+  <disable-external-link-image>false</disable-external-link-image>
+
+  <!-- Disable w3c compliance links? 
+    Use e.g. align="center" to move the compliance links logos to 
+    an alternate location default is left.
+    (if the skin supports it) -->
+  <disable-compliance-links>false</disable-compliance-links>
+
+  <!-- Render mailto: links unrecognisable by spam harvesters? -->
+  <obfuscate-mail-links>true</obfuscate-mail-links>
+  <obfuscate-mail-value>.at.</obfuscate-mail-value>
+
+  <!-- Disable the javascript facility to change the font size -->
+  <disable-font-script>true</disable-font-script>
+
+  <!-- mandatory project logo
+       default skin: renders it at the top -->
+  <project-name>RTF</project-name>
+  <project-description>Apache Forrest RTF Plugin - generate RTF files from Forrest documents</project-description>
+  <project-url>http://forrest.apache.org/plugins/rtf</project-url>
+  <project-logo>images/project.png</project-logo>
+  <!-- Alternative static image:
+  <project-logo>images/project-logo.gif</project-logo> -->
+
+  <!-- optional group logo
+       default skin: renders it at the top-left corner -->
+  <group-name>Apache Forrest</group-name>
+  <group-description>Apache Forrest</group-description>
+  <group-url>http://forrest.apache.org</group-url>
+  <group-logo>images/apache-forrest.png</group-logo>
+  <!-- Alternative static image:
+  <group-logo>images/group-logo.gif</group-logo> -->
+
+  <!-- optional host logo (e.g. sourceforge logo)
+       default skin: renders it at the bottom-left corner -->
+  <host-url></host-url>
+  <host-logo></host-logo>
+
+  <!-- relative url of a favicon file, normally favicon.ico -->
+  <favicon-url></favicon-url>
+
+  <!-- The following are used to construct a copyright statement -->
+  <year>2004</year><vendor>The Apache Software Foundation.</vendor>
+  <copyright-link>http://www.apache.org/licenses/</copyright-link>
+  <!-- The optional copyright-link URL will be used as a link in the
+    copyright statement
+  <copyright-link>http://www.apache.org/licenses/</copyright-link>
+  -->
+
+  <!-- Some skins use this to form a 'breadcrumb trail' of links.
+    Use location="alt" to move the trail to an alternate location
+    (if the skin supports it).
+	  Omit the location attribute to display the trail in the default location.
+	  Use location="none" to not display the trail (if the skin supports it).
+    For some skins just set the attributes to blank.
+  -->
+  <trail>
+    <link1 name="Apache" href="http://www.apache.org/"/>
+    <link2 name="Forrest" href="http://forrest.apache.org/"/>
+    <link3 name="" href=""/>
+  </trail>
+
+  <!-- Configure the TOC, i.e. the Table of Contents.
+  @max-depth
+   how many "section" levels need to be included in the
+   generated Table of Contents (TOC). 
+  @min-sections
+   Minimum required to create a TOC.
+  @location ("page","menu","page,menu", "none")
+   Where to show the TOC.
+  -->
+  <toc max-depth="2" min-sections="1" location="page"/>
+
+  <!-- Heading types can be clean|underlined|boxed  -->
+  <headings type="boxed"/>
+  
+  <!-- The optional feedback element will be used to construct a
+    feedback link in the footer with the page pathname appended:
+    <a href="@href">{@to}</a>
+    -->
+  <!--<feedback to="rgardler@apache.org"
+    href="mailto:rgardler@apache.org?subject=Apache Forrest openOffice.Org Plugin Feedback&#160;" >
+    Send feedback about the website to:
+  </feedback>-->
+  <!--
+    extra-css - here you can define custom css-elements that are 
+    a. overriding the fallback elements or 
+    b. adding the css definition from new elements that you may have 
+       used in your documentation.
+    -->
+  <extra-css>
+    <!--Example of b. 
+        To define the css definition of a new element that you may have used
+        in the class attribute of a <p> node. 
+        e.g. <p class="quote"/>
+    -->
+    p.quote {
+      margin-left: 2em;
+      padding: .5em;
+      background-color: #f0f0f0;
+      font-family: monospace;
+    }
+  </extra-css>
+
+  <colors>
+  <!-- These values are used for the generated CSS files. -->
+
+  <!-- Krysalis -->
+<!--
+    <color name="header"    value="#FFFFFF"/>
+
+    <color name="tab-selected" value="#a5b6c6" link="#000000" vlink="#000000" hlink="#000000"/>
+    <color name="tab-unselected" value="#F7F7F7"  link="#000000" vlink="#000000" hlink="#000000"/>
+    <color name="subtab-selected" value="#a5b6c6"  link="#000000" vlink="#000000" hlink="#000000"/>
+    <color name="subtab-unselected" value="#a5b6c6"  link="#000000" vlink="#000000" hlink="#000000"/>
+
+    <color name="heading" value="#a5b6c6"/>
+    <color name="subheading" value="#CFDCED"/>
+        
+    <color name="navstrip" value="#CFDCED" font="#000000" link="#000000" vlink="#000000" hlink="#000000"/>
+    <color name="toolbox" value="#a5b6c6"/>
+    <color name="border" value="#a5b6c6"/>
+        
+    <color name="menu" value="#F7F7F7" link="#000000" vlink="#000000" hlink="#000000"/>    
+    <color name="dialog" value="#F7F7F7"/>
+            
+    <color name="body"    value="#ffffff" link="#0F3660" vlink="#009999" hlink="#000066"/>
+    
+    <color name="table" value="#a5b6c6"/>    
+    <color name="table-cell" value="#ffffff"/>    
+    <color name="highlight" value="#ffff00"/>
+    <color name="fixme" value="#cc6600"/>
+    <color name="note" value="#006699"/>
+    <color name="warning" value="#990000"/>
+    <color name="code" value="#a5b6c6"/>
+        
+    <color name="footer" value="#a5b6c6"/>
+-->
+  
+  <!-- Forrest -->
+<!--
+    <color name="header"    value="#294563"/>
+
+    <color name="tab-selected" value="#4a6d8c" link="#0F3660" vlink="#0F3660" hlink="#000066"/>
+    <color name="tab-unselected" value="#b5c7e7" link="#0F3660" vlink="#0F3660" hlink="#000066"/>
+    <color name="subtab-selected" value="#4a6d8c" link="#0F3660" vlink="#0F3660" hlink="#000066"/>
+    <color name="subtab-unselected" value="#4a6d8c" link="#0F3660" vlink="#0F3660" hlink="#000066"/>
+
+    <color name="heading" value="#294563"/>
+    <color name="subheading" value="#4a6d8c"/>
+        
+    <color name="navstrip" value="#cedfef" font="#0F3660" link="#0F3660" vlink="#0F3660" hlink="#000066"/>
+    <color name="toolbox" value="#4a6d8c"/>
+    <color name="border" value="#294563"/>
+    
+    <color name="menu" value="#4a6d8c" font="#cedfef" link="#ffffff" vlink="#ffffff" hlink="#ffcf00"/>    
+    <color name="dialog" value="#4a6d8c"/>
+            
+    <color name="body" value="#ffffff"  link="#0F3660" vlink="#009999" hlink="#000066"/>
+    
+    <color name="table" value="#7099C5"/>    
+    <color name="table-cell" value="#f0f0ff"/>    
+    <color name="highlight" value="#ffff00"/>
+    <color name="fixme" value="#cc6600"/>
+    <color name="note" value="#006699"/>
+    <color name="warning" value="#990000"/>
+    <color name="code" value="#CFDCED"/>
+        
+    <color name="footer" value="#cedfef"/>
+-->
+
+  <!-- Collabnet --> 
+<!--
+    <color name="header"    value="#003366"/>
+
+    <color name="tab-selected" value="#dddddd" link="#555555" vlink="#555555" hlink="#555555"/>
+    <color name="tab-unselected" value="#999999" link="#ffffff" vlink="#ffffff" hlink="#ffffff"/>
+    <color name="subtab-selected" value="#cccccc" link="#000000" vlink="#000000" hlink="#000000"/>
+    <color name="subtab-unselected" value="#cccccc" link="#555555" vlink="#555555" hlink="#555555"/>
+
+    <color name="heading" value="#003366"/>
+    <color name="subheading" value="#888888"/>
+    
+    <color name="navstrip" value="#dddddd" font="#555555"/>
+    <color name="toolbox" value="#dddddd" font="#555555"/>
+    <color name="border" value="#999999"/>
+    
+    <color name="menu" value="#ffffff"/>    
+    <color name="dialog" value="#eeeeee"/>
+            
+    <color name="body"      value="#ffffff"/>
+    
+    <color name="table" value="#ccc"/>    
+    <color name="table-cell" value="#ffffff"/>   
+    <color name="highlight" value="#ffff00"/>
+    <color name="fixme" value="#cc6600"/>
+    <color name="note" value="#006699"/>
+    <color name="warning" value="#990000"/>
+    <color name="code" value="#003366"/>
+        
+    <color name="footer" value="#ffffff"/>
+-->
+ <!-- Lenya using pelt-->
+<!--
+    <color name="header" value="#ffffff"/>
+
+    <color name="tab-selected" value="#4C6C8F" link="#ffffff" vlink="#ffffff" hlink="#ffffff"/>
+    <color name="tab-unselected" value="#E5E4D9" link="#000000" vlink="#000000" hlink="#000000"/>
+    <color name="subtab-selected" value="#000000" link="#000000" vlink="#000000" hlink="#000000"/>
+    <color name="subtab-unselected" value="#E5E4D9" link="#000000" vlink="#000000" hlink="#000000"/>
+
+    <color name="heading" value="#E5E4D9"/>
+    <color name="subheading" value="#000000"/>
+    <color name="published" value="#4C6C8F" font="#FFFFFF"/>
+    <color name="feedback" value="#4C6C8F" font="#FFFFFF" align="center"/>
+    <color name="navstrip" value="#E5E4D9" font="#000000"/>
+
+    <color name="toolbox" value="#CFDCED" font="#000000"/>
+
+    <color name="border" value="#999999"/>
+    <color name="menu" value="#4C6C8F" font="#ffffff" link="#ffffff" vlink="#ffffff" hlink="#ffffff" current="#FFCC33" />    
+    <color name="menuheading" value="#cfdced" font="#000000" />
+    <color name="searchbox" value="#E5E4D9" font="#000000"/>
+    
+    <color name="dialog" value="#CFDCED"/>
+    <color name="body" value="#ffffff" />            
+    
+    <color name="table" value="#ccc"/>    
+    <color name="table-cell" value="#ffffff"/>   
+    <color name="highlight" value="#ffff00"/>
+    <color name="fixme" value="#cc6600"/>
+    <color name="note" value="#006699"/>
+    <color name="warning" value="#990000"/>
+    <color name="code" value="#003366"/>
+        
+    <color name="footer" value="#E5E4D9"/>
+-->
+  </colors>
+ 
+  <!-- Settings specific to PDF output. -->
+  <pdf>
+    <!-- 
+       Supported page sizes are a0, a1, a2, a3, a4, a5, executive,
+       folio, legal, ledger, letter, quarto, tabloid (default letter).
+       Supported page orientations are portrait, landscape (default
+       portrait).
+       Supported text alignments are left, right, justify (default left).
+    -->
+    <page size="letter" orientation="portrait" text-align="left"/>
+
+    <!--
+       Margins can be specified for top, bottom, inner, and outer
+       edges. If double-sided="false", the inner edge is always left
+       and the outer is always right. If double-sided="true", the
+       inner edge will be left on odd pages, right on even pages,
+       the outer edge vice versa.
+       Specified below are the default settings.
+    -->
+    <margins double-sided="false">
+      <top>1in</top>
+      <bottom>1in</bottom>
+      <inner>1.25in</inner>
+      <outer>1in</outer>
+    </margins>
+
+    <!--
+      Print the URL text next to all links going outside the file
+    -->
+    <show-external-urls>false</show-external-urls>
+
+    <!--
+      Disable the copyright footer on each page of the PDF.
+      A footer is composed for each page. By default, a "credit" with role=pdf
+      will be used, as explained below. Otherwise a copyright statement
+      will be generated. This latter can be disabled.
+    -->
+    <disable-copyright-footer>false</disable-copyright-footer>
+  </pdf>
+
+  <!-- Credits are typically rendered as a set of small clickable
+    images in the page footer.
+    Use box-location="alt" to move the credit to an alternate location
+    (if the skin supports it). 
+  -->
+  <credits>
+    <credit box-location="alt">
+      <name>Built with Apache Forrest</name>
+      <url>http://forrest.apache.org/</url>
+      <image>images/built-with-forrest-button.png</image>
+      <width>88</width>
+      <height>31</height>
+    </credit>
+    <!-- A credit with @role="pdf" will be used to compose a footer
+     for each page in the PDF, using either "name" or "url" or both.
+    -->
+    <!--
+    <credit role="pdf">
+      <name>Built with Apache Forrest</name>
+      <url>http://forrest.apache.org/</url>
+    </credit>
+    -->
+  </credits>
+
+</skinconfig>

Added: forrest/trunk/plugins/rtf/src/documentation/translations/langcode.xml
==============================================================================
--- (empty file)
+++ forrest/trunk/plugins/rtf/src/documentation/translations/langcode.xml	Sat Nov  6 14:40:53 2004
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Copyright 2002-2004 The Apache Software Foundation
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<!--
+  This catalog is used so displays how the language name 
+  is named by their speakers.
+-->
+<catalogue >
+  <message key="en">English</message>
+  <message key="es">Espanol</message>
+  <message key="it">Italiano</message>
+</catalogue>

Added: forrest/trunk/plugins/rtf/src/documentation/translations/languages_en.xml
==============================================================================
--- (empty file)
+++ forrest/trunk/plugins/rtf/src/documentation/translations/languages_en.xml	Sat Nov  6 14:40:53 2004
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Copyright 2002-2004 The Apache Software Foundation
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<catalogue xml:lang="en">
+  <message key="en">English</message>
+  <message key="es">Spanish</message>
+  <message key="nl">Dutch</message>
+</catalogue>

Added: forrest/trunk/plugins/rtf/src/documentation/translations/languages_es.xml
==============================================================================
--- (empty file)
+++ forrest/trunk/plugins/rtf/src/documentation/translations/languages_es.xml	Sat Nov  6 14:40:53 2004
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Copyright 2002-2004 The Apache Software Foundation
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<catalogue xml:lang="es">
+  <message key="en">Ingles</message>
+  <message key="es">Espanol</message>
+  <message key="nl">Holandes</message>
+</catalogue>

Added: forrest/trunk/plugins/rtf/src/documentation/translations/menu.xml
==============================================================================
--- (empty file)
+++ forrest/trunk/plugins/rtf/src/documentation/translations/menu.xml	Sat Nov  6 14:40:53 2004
@@ -0,0 +1,32 @@
+<?xml version="1.0"?>
+<!--
+  Copyright 2002-2004 The Apache Software Foundation
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<catalogue xml:lang="en">
+  <message key="About">About</message>
+  <message key="Index">Index</message>
+  <message key="Changes">Changes</message>
+  <message key="Todo">Todo</message>
+  <message key="Samples">Samples</message>
+  <message key="Apache document">Apache document</message>
+  <message key="Static content">Static content</message>
+  <message key="Linking">Linking</message>
+  <message key="Wiki page">Wiki page</message>
+  <message key="ihtml page">Ihtml page</message>
+  <message key="ehtml page">Ehtml page</message>
+  <message key="FAQ">FAQ</message>
+  <message key="Simplifed Docbook">Simplifed Docbook</message>
+  <message key="XSP page">XSP page</message>
+</catalogue>

Added: forrest/trunk/plugins/rtf/src/documentation/translations/menu_af.xml
==============================================================================
--- (empty file)
+++ forrest/trunk/plugins/rtf/src/documentation/translations/menu_af.xml	Sat Nov  6 14:40:53 2004
@@ -0,0 +1,32 @@
+<?xml version="1.0"?>
+<!--
+  Copyright 2002-2004 The Apache Software Foundation
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<catalogue xml:lang="af">
+    <message key="About">Aangaande</message>
+    <message key="Index">Inhoud</message>
+    <message key="Changes">Veranderinge</message>
+    <message key="Todo">Om te doen</message>
+    <message key="Samples">Voorbeelde</message>
+    <message key="Apache document">Apache dokument</message>
+    <message key="Static content">Statise Inhoud</message>
+    <message key="Linking">Linking</message>
+    <message key="Wiki page">Wiki bladsy</message>
+    <message key="ihtml page">Ihtml bladsy</message>
+    <message key="ehtml page">Ehtml bladsy</message>
+    <message key="FAQ">FAQ</message>
+    <message key="Simplifed Docbook">Vereenvoudigde Docbook</message>
+    <message key="XSP page">XSP bladsy</message>
+</catalogue>

Added: forrest/trunk/plugins/rtf/src/documentation/translations/menu_de.xml
==============================================================================
--- (empty file)
+++ forrest/trunk/plugins/rtf/src/documentation/translations/menu_de.xml	Sat Nov  6 14:40:53 2004
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Copyright 2002-2004 The Apache Software Foundation
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<catalogue xml:lang="de">
+  <message key="About">Über</message>
+  <message key="Index">Index</message>
+  <message key="Changes">Änderungen </message>
+  <message key="Todo">Todo</message>
+  <message key="Samples">Beispiele</message>
+  <message key="Apache document">Apache Dokumentationsseite</message>
+  <message key="Static content">Statischer Inhalt</message>
+  <message key="Linking">Linking</message>
+  <message key="Wiki page">Wiki Seite</message>
+  <message key="ihtml page">ihtml Seite</message>
+  <message key="ehtml page">ehtml Seite</message>
+  <message key="FAQ">FAQ</message>
+  <message key="Simplifed Docbook">Vereinfachte Docbook</message>
+  <message key="XSP page">XSP Seite</message>
+</catalogue>

Added: forrest/trunk/plugins/rtf/src/documentation/translations/menu_es.xml
==============================================================================
--- (empty file)
+++ forrest/trunk/plugins/rtf/src/documentation/translations/menu_es.xml	Sat Nov  6 14:40:53 2004
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Copyright 2002-2004 The Apache Software Foundation
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<catalogue xml:lang="es">
+    <message key="About">Acerca de</message>
+    <message key="Index">Indice</message>
+    <message key="Changes">Cambios</message>
+    <message key="Todo">Tareas pendientes</message>
+    <message key="Samples">Ejemplos</message>
+    <message key="Apache document">Documento Apache</message>
+    <message key="Static content">Contenido Estático</message>
+    <message key="Linking">Linking</message>
+    <message key="Wiki page">Página Wiki</message>
+    <message key="ihtml page">Página ihtml</message>
+    <message key="ehtml page">Página ehtml</message>
+    <message key="FAQ">Preguntas Frecuentes</message>
+    <message key="Simplifed Docbook">Página Simplifed Docbook</message>
+    <message key="XSP page">Página XSP</message>
+</catalogue>

Added: forrest/trunk/plugins/rtf/src/documentation/translations/menu_it.xml
==============================================================================
--- (empty file)
+++ forrest/trunk/plugins/rtf/src/documentation/translations/menu_it.xml	Sat Nov  6 14:40:53 2004
@@ -0,0 +1,32 @@
+<?xml version="1.0"?>
+<!--
+  Copyright 2002-2004 The Apache Software Foundation
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<catalogue xml:lang="it">
+    <message key="About">Riguardo a</message>
+    <message key="Index">Indice</message>
+    <message key="Changes">Cambiamenti</message>
+    <message key="Todo">Cose da fare</message>
+    <message key="Samples">Esempi</message>
+    <message key="Apache document">Apache document</message>
+    <message key="Static content">Contenuto Statico</message>
+    <message key="Linking">Linking</message>
+    <message key="Wiki page">Pagina Wiki</message>
+    <message key="ihtml page">Pagina ihtml</message>
+    <message key="ehtml page">Pagina ehtml</message>
+    <message key="FAQ">Domande frequenti</message>
+    <message key="Simplifed Docbook">Simplifed Docbook</message>
+    <message key="XSP page">Pagina XSP</message>
+</catalogue>

Added: forrest/trunk/plugins/rtf/src/documentation/translations/menu_no.xml
==============================================================================
--- (empty file)
+++ forrest/trunk/plugins/rtf/src/documentation/translations/menu_no.xml	Sat Nov  6 14:40:53 2004
@@ -0,0 +1,32 @@
+<?xml version="1.0"?>
+<!--
+  Copyright 2002-2004 The Apache Software Foundation
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<catalogue xml:lang="no">
+    <message key="About">Om</message>
+    <message key="Index">Indeks</message>
+    <message key="Changes">Endringer</message>
+    <message key="Todo">Oppgave liste</message>
+    <message key="Samples">Eksempler</message>
+    <message key="Apache document">Apache Dokument</message>
+    <message key="Static content">Statisk innhold</message>
+    <message key="Linking">Linking</message>
+    <message key="Wiki page">Wiki side</message>
+    <message key="ihtml page">ihtml side</message>
+    <message key="ehtml page">ehtml side</message>
+    <message key="FAQ">FAQ</message>
+    <message key="Simplifed Docbook">Simplifed Docbook</message>
+    <message key="XSP page">XSP side</message>
+</catalogue>

Added: forrest/trunk/plugins/rtf/src/documentation/translations/menu_ru.xml
==============================================================================
--- (empty file)
+++ forrest/trunk/plugins/rtf/src/documentation/translations/menu_ru.xml	Sat Nov  6 14:40:53 2004
@@ -0,0 +1,32 @@
+<?xml version="1.0"?>
+<!--
+  Copyright 2002-2004 The Apache Software Foundation
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<catalogue xml:lang="ru">
+    <message key="About">О проекте</message>
+    <message key="Index">Содержание</message>
+    <message key="Changes">Изменения</message>
+    <message key="Todo">План</message>
+    <message key="Samples">Примеры</message>
+    <message key="Apache document">Страница документа Apache</message>
+    <message key="Static content">Статическое содержание</message>
+    <message key="Linking">Linking</message>
+    <message key="Wiki page">Страница Wiki</message>
+    <message key="ihtml page">Страница ihtml</message>
+    <message key="ehtml page">Страница ehtml</message>
+    <message key="FAQ">Вопросы/Ответы</message>
+    <message key="Simplifed Docbook">Docbook страница</message>
+    <message key="XSP page">XSP страница</message>
+</catalogue>

Added: forrest/trunk/plugins/rtf/src/documentation/translations/menu_sk.xml
==============================================================================
--- (empty file)
+++ forrest/trunk/plugins/rtf/src/documentation/translations/menu_sk.xml	Sat Nov  6 14:40:53 2004
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Copyright 2002-2004 The Apache Software Foundation
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<catalogue xml:lang="sk">
+    <message key="About">O programe</message>
+    <message key="Index">Zoznám</message>
+    <message key="Changes">Zmeny</message>
+    <message key="Todo">Úlohy</message>
+    <message key="Samples">Príklady</message>
+    <message key="Apache document">Apache Document</message>
+    <message key="Static content">Statický Obsah</message>
+    <message key="Linking">Linking</message>
+    <message key="Wiki page">Wiki stránka</message>
+    <message key="ihtml page">ihtml stránka</message>
+    <message key="ehtml page">ehtml stránka</message>
+    <message key="FAQ">Casté Otázky</message>
+    <message key="Simplifed Docbook">Simplifed Docbook stránka</message>
+    <message key="XSP page">XSP stránka</message>
+</catalogue>

Added: forrest/trunk/plugins/rtf/src/documentation/translations/tabs.xml
==============================================================================
--- (empty file)
+++ forrest/trunk/plugins/rtf/src/documentation/translations/tabs.xml	Sat Nov  6 14:40:53 2004
@@ -0,0 +1,21 @@
+<?xml version="1.0"?>
+<!--
+  Copyright 2002-2004 The Apache Software Foundation
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<catalogue xml:lang="en">
+  <message key="Home">Home</message>
+  <message key="Samples">Samples</message>
+  <message key="Apache XML Projects">Apache XML Projects</message>
+</catalogue>

Added: forrest/trunk/plugins/rtf/src/documentation/translations/tabs_es.xml
==============================================================================
--- (empty file)
+++ forrest/trunk/plugins/rtf/src/documentation/translations/tabs_es.xml	Sat Nov  6 14:40:53 2004
@@ -0,0 +1,21 @@
+<?xml version="1.0"?>
+<!--
+  Copyright 2002-2004 The Apache Software Foundation
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<catalogue xml:lang="es">
+  <message key="Home">Inicio</message>
+  <message key="Samples">Ejemplos</message>
+  <message key="Apache XML Projects">Projectos XML Apache</message>
+</catalogue>

Added: forrest/trunk/plugins/rtf/status.xml
==============================================================================
--- (empty file)
+++ forrest/trunk/plugins/rtf/status.xml	Sat Nov  6 14:40:53 2004
@@ -0,0 +1,61 @@
+<?xml version="1.0"?>
+<!--
+  Copyright 2002-2004 The Apache Software Foundation
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<status>
+
+  <developers>
+    <person name="Ross Gardler"      email="rgardler@apache.org"    id="RDG" />
+    <!-- Add more people here -->
+  </developers>
+
+  <changes>
+    <!-- Add new releases here -->
+    <release version="0.1" date="unreleased">
+      <!-- Some action types have associated images. By default, images are
+      defined for 'add', 'fix', 'remove', 'update' and 'hack'. If you add
+      src/documentation/resources/images/<foo>.jpg images, these will
+      automatically be used for entries of type <foo>. -->
+
+      <action dev="RDG" type="add" context="code">
+        Created the initial plugin.
+      </action>
+      <!-- Sample action:
+      <action dev="JB" type="fix" due-to="Joe Contributor"
+          due-to-email="joec@apache.org" fixes-bug="123">
+          Fixed a bug in the Foo class.
+        </action>
+        -->
+    </release>
+  </changes>
+
+  <todo>
+    <actions priority="high">
+      <action context="code" dev="RDG">
+      Generating the samples/minimal.rtf file in the enclosed documentation project
+      works fine. This file is provided as an fo source file. Generating index.rtf, 
+      which uses the skin to create an fo file from the DocumentV* source currently
+      fails.
+      </action>
+      <action context="code" dev="RDG">
+      When plugin is installed we need to copy the WEB-INF files to 
+      forrest/main/webapp/WEB-INF, it would be better to have the relevant lib
+      directories added to the CLASSPATH for that execution
+      </action>
+    </actions>
+    
+  </todo>
+
+</status>

Mime
View raw message