forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rgard...@apache.org
Subject svn commit: rev 55897 - in forrest/trunk/plugins/openOffice.org: . docs docs/src docs/src/documentation docs/src/documentation/classes docs/src/documentation/content docs/src/documentation/content/xdocs docs/src/documentation/content/xdocs/images docs/src/documentation/content/xdocs/samples docs/src/documentation/translations resources resources/stylesheets resources/stylesheets/aggregates
Date Thu, 28 Oct 2004 21:58:10 GMT
Author: rgardler
Date: Thu Oct 28 14:58:10 2004
New Revision: 55897

Added:
   forrest/trunk/plugins/openOffice.org/
   forrest/trunk/plugins/openOffice.org/README.txt   (contents, props changed)
   forrest/trunk/plugins/openOffice.org/docs/
   forrest/trunk/plugins/openOffice.org/docs/forrest.properties   (contents, props changed)
   forrest/trunk/plugins/openOffice.org/docs/src/
   forrest/trunk/plugins/openOffice.org/docs/src/documentation/
   forrest/trunk/plugins/openOffice.org/docs/src/documentation/classes/
   forrest/trunk/plugins/openOffice.org/docs/src/documentation/classes/CatalogManager.properties   (contents, props changed)
   forrest/trunk/plugins/openOffice.org/docs/src/documentation/content/
   forrest/trunk/plugins/openOffice.org/docs/src/documentation/content/xdocs/
   forrest/trunk/plugins/openOffice.org/docs/src/documentation/content/xdocs/images/
   forrest/trunk/plugins/openOffice.org/docs/src/documentation/content/xdocs/images/apache-forrest.png   (contents, props changed)
   forrest/trunk/plugins/openOffice.org/docs/src/documentation/content/xdocs/images/group-logo.gif   (contents, props changed)
   forrest/trunk/plugins/openOffice.org/docs/src/documentation/content/xdocs/images/group.svg   (contents, props changed)
   forrest/trunk/plugins/openOffice.org/docs/src/documentation/content/xdocs/images/icon.png   (contents, props changed)
   forrest/trunk/plugins/openOffice.org/docs/src/documentation/content/xdocs/images/project-logo.gif   (contents, props changed)
   forrest/trunk/plugins/openOffice.org/docs/src/documentation/content/xdocs/images/project.svg   (contents, props changed)
   forrest/trunk/plugins/openOffice.org/docs/src/documentation/content/xdocs/index.xml   (contents, props changed)
   forrest/trunk/plugins/openOffice.org/docs/src/documentation/content/xdocs/samples/
   forrest/trunk/plugins/openOffice.org/docs/src/documentation/content/xdocs/samples/openoffice-impress.sxi   (contents, props changed)
   forrest/trunk/plugins/openOffice.org/docs/src/documentation/content/xdocs/samples/openoffice-writer.sxw   (contents, props changed)
   forrest/trunk/plugins/openOffice.org/docs/src/documentation/content/xdocs/site.xml   (contents, props changed)
   forrest/trunk/plugins/openOffice.org/docs/src/documentation/content/xdocs/tabs.xml   (contents, props changed)
   forrest/trunk/plugins/openOffice.org/docs/src/documentation/skinconf.xml   (contents, props changed)
   forrest/trunk/plugins/openOffice.org/docs/src/documentation/translations/
   forrest/trunk/plugins/openOffice.org/docs/src/documentation/translations/langcode.xml   (contents, props changed)
   forrest/trunk/plugins/openOffice.org/docs/src/documentation/translations/languages_en.xml   (contents, props changed)
   forrest/trunk/plugins/openOffice.org/docs/src/documentation/translations/languages_es.xml   (contents, props changed)
   forrest/trunk/plugins/openOffice.org/docs/src/documentation/translations/menu.xml   (contents, props changed)
   forrest/trunk/plugins/openOffice.org/docs/src/documentation/translations/menu_af.xml   (contents, props changed)
   forrest/trunk/plugins/openOffice.org/docs/src/documentation/translations/menu_de.xml   (contents, props changed)
   forrest/trunk/plugins/openOffice.org/docs/src/documentation/translations/menu_es.xml   (contents, props changed)
   forrest/trunk/plugins/openOffice.org/docs/src/documentation/translations/menu_it.xml   (contents, props changed)
   forrest/trunk/plugins/openOffice.org/docs/src/documentation/translations/menu_no.xml   (contents, props changed)
   forrest/trunk/plugins/openOffice.org/docs/src/documentation/translations/menu_ru.xml   (contents, props changed)
   forrest/trunk/plugins/openOffice.org/docs/src/documentation/translations/menu_sk.xml   (contents, props changed)
   forrest/trunk/plugins/openOffice.org/docs/src/documentation/translations/tabs.xml   (contents, props changed)
   forrest/trunk/plugins/openOffice.org/docs/src/documentation/translations/tabs_es.xml   (contents, props changed)
   forrest/trunk/plugins/openOffice.org/docs/status.xml   (contents, props changed)
   forrest/trunk/plugins/openOffice.org/resources/
   forrest/trunk/plugins/openOffice.org/resources/stylesheets/
   forrest/trunk/plugins/openOffice.org/resources/stylesheets/aggregateToRSS20.xsl   (contents, props changed)
   forrest/trunk/plugins/openOffice.org/resources/stylesheets/aggregates/
   forrest/trunk/plugins/openOffice.org/resources/stylesheets/aggregates/openoffice-document.xsl   (contents, props changed)
   forrest/trunk/plugins/openOffice.org/resources/stylesheets/aggregates/openoffice-writer.xml   (contents, props changed)
   forrest/trunk/plugins/openOffice.org/resources/stylesheets/aggregates/openoffice-writer.xsl   (contents, props changed)
   forrest/trunk/plugins/openOffice.org/resources/stylesheets/aggregates/openoffice.xml   (contents, props changed)
   forrest/trunk/plugins/openOffice.org/resources/stylesheets/openoffice-common2forrest.xsl   (contents, props changed)
   forrest/trunk/plugins/openOffice.org/resources/stylesheets/openoffice-impress2forrest.xsl   (contents, props changed)
   forrest/trunk/plugins/openOffice.org/resources/stylesheets/openoffice-writer2forrest.xsl   (contents, props changed)
   forrest/trunk/plugins/openOffice.org/resources/stylesheets/rss20ToSnippet.xsl   (contents, props changed)
   forrest/trunk/plugins/openOffice.org/resources/stylesheets/rss20ToXdoc.xsl   (contents, props changed)
   forrest/trunk/plugins/openOffice.org/sitemap.xmap   (contents, props changed)
Log:
Extracted openOffice.org functionality from Forrest 0.6

Added: forrest/trunk/plugins/openOffice.org/README.txt
==============================================================================
--- (empty file)
+++ forrest/trunk/plugins/openOffice.org/README.txt	Thu Oct 28 14:58:10 2004
@@ -0,0 +1,26 @@
+OpenOffice.org Application Plugin
+=================================
+
+This plugin reads Open Office.org files and makes them available to forrest for inclusion in XDOcs
+
+Features:
+
+- embedd Open Office Writer files
+
+Known Issues
+============
+
+-
+
+Version
+=======
+
+0.1-dev
+
+Code, interfaces and functionality are likely to change. Use at your own risk.
+
+ToDo
+====
+
+
+

Added: forrest/trunk/plugins/openOffice.org/docs/forrest.properties
==============================================================================
--- (empty file)
+++ forrest/trunk/plugins/openOffice.org/docs/forrest.properties	Thu Oct 28 14:58:10 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=openOffice.org

Added: forrest/trunk/plugins/openOffice.org/docs/src/documentation/classes/CatalogManager.properties
==============================================================================
--- (empty file)
+++ forrest/trunk/plugins/openOffice.org/docs/src/documentation/classes/CatalogManager.properties	Thu Oct 28 14:58:10 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/openOffice.org/docs/src/documentation/content/xdocs/images/apache-forrest.png
==============================================================================
Binary file. No diff available.

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

Added: forrest/trunk/plugins/openOffice.org/docs/src/documentation/content/xdocs/images/group.svg
==============================================================================
--- (empty file)
+++ forrest/trunk/plugins/openOffice.org/docs/src/documentation/content/xdocs/images/group.svg	Thu Oct 28 14:58:10 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/openOffice.org/docs/src/documentation/content/xdocs/images/icon.png
==============================================================================
Binary file. No diff available.

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

Added: forrest/trunk/plugins/openOffice.org/docs/src/documentation/content/xdocs/images/project.svg
==============================================================================
--- (empty file)
+++ forrest/trunk/plugins/openOffice.org/docs/src/documentation/content/xdocs/images/project.svg	Thu Oct 28 14:58:10 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/openOffice.org/docs/src/documentation/content/xdocs/index.xml
==============================================================================
--- (empty file)
+++ forrest/trunk/plugins/openOffice.org/docs/src/documentation/content/xdocs/index.xml	Thu Oct 28 14:58:10 2004
@@ -0,0 +1,29 @@
+<?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 OpenOffice.org Plugin Example</title> 
+  </header> 
+  <body> 
+    <section>
+      <title>Apache Forrest - OpenOffice.org Plugin</title>
+      <p>This is an example site for the Apache Forrest OpenOffice.org Plugin.
+      It provides examples of all the functionality in the plugin.</p>
+    </section>
+  </body>
+</document>

Added: forrest/trunk/plugins/openOffice.org/docs/src/documentation/content/xdocs/samples/openoffice-impress.sxi
==============================================================================
Binary file. No diff available.

Added: forrest/trunk/plugins/openOffice.org/docs/src/documentation/content/xdocs/samples/openoffice-writer.sxw
==============================================================================
Binary file. No diff available.

Added: forrest/trunk/plugins/openOffice.org/docs/src/documentation/content/xdocs/site.xml
==============================================================================
--- (empty file)
+++ forrest/trunk/plugins/openOffice.org/docs/src/documentation/content/xdocs/site.xml	Thu Oct 28 14:58:10 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/">
+    <openOfficeWriter label="SXW" href="openoffice-writer.html" description="Open Office Writer Example"/>
+    <openOfficeImpress label="SXI" href="openoffice-impress.html" description="Open Office Impress Example"/>
+  </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/openOffice.org/docs/src/documentation/content/xdocs/tabs.xml
==============================================================================
--- (empty file)
+++ forrest/trunk/plugins/openOffice.org/docs/src/documentation/content/xdocs/tabs.xml	Thu Oct 28 14:58:10 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/openOffice.org/docs/src/documentation/skinconf.xml
==============================================================================
--- (empty file)
+++ forrest/trunk/plugins/openOffice.org/docs/src/documentation/skinconf.xml	Thu Oct 28 14:58:10 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="openOffice.org" domain="forrest.apache.org/plugins/openOffice.org"/>
+
+  <!-- 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>openOffice.org</project-name>
+  <project-description>Apache Forrest OpenOffice.org Plugin - embed OpenOffice.org files in forrest sites</project-description>
+  <project-url>http://forrest.apache.org/plugins/openOffice.org</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/openOffice.org/docs/src/documentation/translations/langcode.xml
==============================================================================
--- (empty file)
+++ forrest/trunk/plugins/openOffice.org/docs/src/documentation/translations/langcode.xml	Thu Oct 28 14:58:10 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/openOffice.org/docs/src/documentation/translations/languages_en.xml
==============================================================================
--- (empty file)
+++ forrest/trunk/plugins/openOffice.org/docs/src/documentation/translations/languages_en.xml	Thu Oct 28 14:58:10 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/openOffice.org/docs/src/documentation/translations/languages_es.xml
==============================================================================
--- (empty file)
+++ forrest/trunk/plugins/openOffice.org/docs/src/documentation/translations/languages_es.xml	Thu Oct 28 14:58:10 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/openOffice.org/docs/src/documentation/translations/menu.xml
==============================================================================
--- (empty file)
+++ forrest/trunk/plugins/openOffice.org/docs/src/documentation/translations/menu.xml	Thu Oct 28 14:58:10 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/openOffice.org/docs/src/documentation/translations/menu_af.xml
==============================================================================
--- (empty file)
+++ forrest/trunk/plugins/openOffice.org/docs/src/documentation/translations/menu_af.xml	Thu Oct 28 14:58:10 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/openOffice.org/docs/src/documentation/translations/menu_de.xml
==============================================================================
--- (empty file)
+++ forrest/trunk/plugins/openOffice.org/docs/src/documentation/translations/menu_de.xml	Thu Oct 28 14:58:10 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/openOffice.org/docs/src/documentation/translations/menu_es.xml
==============================================================================
--- (empty file)
+++ forrest/trunk/plugins/openOffice.org/docs/src/documentation/translations/menu_es.xml	Thu Oct 28 14:58:10 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/openOffice.org/docs/src/documentation/translations/menu_it.xml
==============================================================================
--- (empty file)
+++ forrest/trunk/plugins/openOffice.org/docs/src/documentation/translations/menu_it.xml	Thu Oct 28 14:58:10 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/openOffice.org/docs/src/documentation/translations/menu_no.xml
==============================================================================
--- (empty file)
+++ forrest/trunk/plugins/openOffice.org/docs/src/documentation/translations/menu_no.xml	Thu Oct 28 14:58:10 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/openOffice.org/docs/src/documentation/translations/menu_ru.xml
==============================================================================
--- (empty file)
+++ forrest/trunk/plugins/openOffice.org/docs/src/documentation/translations/menu_ru.xml	Thu Oct 28 14:58:10 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/openOffice.org/docs/src/documentation/translations/menu_sk.xml
==============================================================================
--- (empty file)
+++ forrest/trunk/plugins/openOffice.org/docs/src/documentation/translations/menu_sk.xml	Thu Oct 28 14:58:10 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/openOffice.org/docs/src/documentation/translations/tabs.xml
==============================================================================
--- (empty file)
+++ forrest/trunk/plugins/openOffice.org/docs/src/documentation/translations/tabs.xml	Thu Oct 28 14:58:10 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/openOffice.org/docs/src/documentation/translations/tabs_es.xml
==============================================================================
--- (empty file)
+++ forrest/trunk/plugins/openOffice.org/docs/src/documentation/translations/tabs_es.xml	Thu Oct 28 14:58:10 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/openOffice.org/docs/status.xml
==============================================================================
--- (empty file)
+++ forrest/trunk/plugins/openOffice.org/docs/status.xml	Thu Oct 28 14:58:10 2004
@@ -0,0 +1,58 @@
+<?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 by copying map snippets and
+        samples from Forrest Core.
+      </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>
+    <!-- Add todo items. @context is an arbitrary string. Eg:
+    <actions priority="high">
+      <action context="code" dev="SN">
+      </action>
+    </actions>
+    <actions priority="medium">
+      <action context="docs" dev="open">
+      </action>
+    </actions>
+    -->
+  </todo>
+
+</status>

Added: forrest/trunk/plugins/openOffice.org/resources/stylesheets/aggregateToRSS20.xsl
==============================================================================
--- (empty file)
+++ forrest/trunk/plugins/openOffice.org/resources/stylesheets/aggregateToRSS20.xsl	Thu Oct 28 14:58:10 2004
@@ -0,0 +1,44 @@
+<?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.
+-->
+<!--
+Stylesheet for generating an aggregated feed from multple feeds.
+-->
+
+<xsl:stylesheet version="1.0" 
+  xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+  
+
+  <xsl:output method="xml" version="1.0" encoding="UTF-8"/>
+    
+  <xsl:template match="aggregateDescriptor">
+    <rss version="2.0">
+      <xsl:apply-templates/>
+    </rss>
+  </xsl:template>
+  
+  <xsl:template match="feed">
+    <xsl:variable name="url" select="url"/>
+    <xsl:variable name="feed" select="document($url)"/>
+    <xsl:apply-templates select="$feed/rss/channel"/>
+  </xsl:template>
+
+  <xsl:template match="@*|*|text()|processing-instruction()|comment()">
+    <xsl:copy>
+      <xsl:apply-templates select="@*|*|text()|processing-instruction()|comment()"/>
+    </xsl:copy>
+  </xsl:template>
+</xsl:stylesheet>

Added: forrest/trunk/plugins/openOffice.org/resources/stylesheets/aggregates/openoffice-document.xsl
==============================================================================
--- (empty file)
+++ forrest/trunk/plugins/openOffice.org/resources/stylesheets/aggregates/openoffice-document.xsl	Thu Oct 28 14:58:10 2004
@@ -0,0 +1,35 @@
+<?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.
+-->
+<!-- OpenOffice.org Writer files are stored in .swx files which are 
+     ZIP files. Content, style, meta, ... are stored
+     n different files within these archives. In order to generate 
+     *one* XML file containing all parts this aggregation using
+     the CInclude-transformer is necessary.
+     -->
+<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format">
+  <xsl:param name="src"/>
+  <xsl:template match="/">
+    <office:document xmlns:c="http://apache.org/cocoon/include/1.0" xmlns:office="http://openoffice.org/2000/office" xmlns:style="http://openoffice.org/2000/style" xmlns:text="http://openoffice.org/2000/text" xmlns:table="http://openoffice.org/2000/table" xmlns:draw="http://openoffice.org/2000/drawing" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:meta="http://openoffice.org/2000/meta" xmlns:number="http://openoffice.org/2000/datastyle" xmlns:svg="http://www.w3.org/2000/svg" xmlns:chart="http://openoffice.org/2000/chart" xmlns:dr3d="http://openoffice.org/2000/dr3d" xmlns:math="http://www.w3.org/1998/Math/MathML" xmlns:form="http://openoffice.org/2000/form" xmlns:script="http://openoffice.org/2000/script" xmlns:config="http://openoffice.org/2001/config" office:class="text" office:version="1.0">
+      <c:include select="/*/*">
+        <xsl:attribute name="src">zip://meta.xml@<xsl:value-of select="$src"/></xsl:attribute>
+      </c:include>
+      <c:include select="/*/*">
+        <xsl:attribute name="src">zip://content.xml@<xsl:value-of select="$src"/></xsl:attribute>
+      </c:include>      
+    </office:document>
+  </xsl:template>
+</xsl:stylesheet>

Added: forrest/trunk/plugins/openOffice.org/resources/stylesheets/aggregates/openoffice-writer.xml
==============================================================================
--- (empty file)
+++ forrest/trunk/plugins/openOffice.org/resources/stylesheets/aggregates/openoffice-writer.xml	Thu Oct 28 14:58:10 2004
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+  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.
+-->
+<!-- only necessary to start the pipeline -->
+<openoffice/>

Added: forrest/trunk/plugins/openOffice.org/resources/stylesheets/aggregates/openoffice-writer.xsl
==============================================================================
--- (empty file)
+++ forrest/trunk/plugins/openOffice.org/resources/stylesheets/aggregates/openoffice-writer.xsl	Thu Oct 28 14:58:10 2004
@@ -0,0 +1,35 @@
+<?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.
+-->
+<!-- OpenOffice.org Writer files are stored in .swx files which are 
+     ZIP files. Content, style, meta, ... are stored
+     n different files within these archives. In order to generate 
+     *one* XML file containing all parts this aggregation using
+     the CInclude-transformer is necessary.
+     -->
+<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format">
+  <xsl:param name="src"/>
+  <xsl:template match="/">
+    <office:document xmlns:c="http://apache.org/cocoon/include/1.0" xmlns:office="http://openoffice.org/2000/office" xmlns:style="http://openoffice.org/2000/style" xmlns:text="http://openoffice.org/2000/text" xmlns:table="http://openoffice.org/2000/table" xmlns:draw="http://openoffice.org/2000/drawing" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:meta="http://openoffice.org/2000/meta" xmlns:number="http://openoffice.org/2000/datastyle" xmlns:svg="http://www.w3.org/2000/svg" xmlns:chart="http://openoffice.org/2000/chart" xmlns:dr3d="http://openoffice.org/2000/dr3d" xmlns:math="http://www.w3.org/1998/Math/MathML" xmlns:form="http://openoffice.org/2000/form" xmlns:script="http://openoffice.org/2000/script" xmlns:config="http://openoffice.org/2001/config" office:class="text" office:version="1.0">
+      <c:include select="/*/*">
+        <xsl:attribute name="src">zip://meta.xml@<xsl:value-of select="$src"/></xsl:attribute>
+      </c:include>
+      <c:include select="/*/*">
+        <xsl:attribute name="src">zip://content.xml@<xsl:value-of select="$src"/></xsl:attribute>
+      </c:include>      
+    </office:document>
+  </xsl:template>
+</xsl:stylesheet>

Added: forrest/trunk/plugins/openOffice.org/resources/stylesheets/aggregates/openoffice.xml
==============================================================================
--- (empty file)
+++ forrest/trunk/plugins/openOffice.org/resources/stylesheets/aggregates/openoffice.xml	Thu Oct 28 14:58:10 2004
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+  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.
+-->
+<!-- only necessary to start the pipeline -->
+<openoffice/>

Added: forrest/trunk/plugins/openOffice.org/resources/stylesheets/openoffice-common2forrest.xsl
==============================================================================
--- (empty file)
+++ forrest/trunk/plugins/openOffice.org/resources/stylesheets/openoffice-common2forrest.xsl	Thu Oct 28 14:58:10 2004
@@ -0,0 +1,302 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+
+<xsl:stylesheet version="1.0" xmlns:style="http://openoffice.org/2000/style" xmlns:text="http://openoffice.org/2000/text" xmlns:office="http://openoffice.org/2000/office" xmlns:table="http://openoffice.org/2000/table" xmlns:draw="http://openoffice.org/2000/drawing" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:meta="http://openoffice.org/2000/meta" xmlns:number="http://openoffice.org/2000/datastyle" xmlns:svg="http://www.w3.org/2000/svg" xmlns:chart="http://openoffice.org/2000/chart" xmlns:dr3d="http://openoffice.org/2000/dr3d" xmlns:math="http://www.w3.org/1998/Math/MathML" xmlns:form="http://openoffice.org/2000/form" xmlns:script="http://openoffice.org/2000/script" xmlns:config="http://openoffice.org/2001/config" office:class="text" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" exclude-result-prefixes="office meta  table number dc fo xlink chart math script xsl draw svg dr3d form config text style">
+  <xsl:param name="filename"/>
+  <xsl:param name="extension"/>
+  <xsl:output method="xml" indent="yes" omit-xml-declaration="no"/>
+  <xsl:output method="xml" version="1.0" encoding="UTF-8" 
+    doctype-public="-//APACHE//DTD Documentation V1.2//EN" 
+    doctype-system="http://apache.org/forrest/dtd/document-v12.dtd"/>
+  
+    <!--+
+      | keys to generate the structure
+      +-->
+  <xsl:key name="rootChildren" match="draw:text-box | text:footnote-body | text:section | text:p |table:table | text:span | text:ordered-list | office:annotation | text:unordered-list | text:footnote | text:a | text:list-item | draw:plugin" use="generate-id((..|preceding-sibling::text:h[@text:level='1']|preceding-sibling::text:h[@text:level='2']|preceding-sibling::text:h[@text:level='3']|preceding-sibling::text:h[@text:level='4']|preceding-sibling::text:h[@text:level='5'])[last()])"/>
+  <xsl:key name="chieldElements" match="text:h[@text:level &gt; '1' and @text:level &lt;= '5']" use="generate-id(preceding-sibling::text:h[@text:level &lt; current()/@text:level][1])"/>
+  
+  <!--+
+      | start transforming 
+      +-->
+  <xsl:template match="/">
+    <document>
+      <header>
+        <title>
+          <xsl:choose>
+            <xsl:when test="/office:document/office:meta/dc:title = '' or not(/office:document/office:meta/dc:title)">
+              <xsl:value-of select="$filename"/>
+            </xsl:when>
+            <xsl:otherwise>
+              <xsl:value-of select="/office:document/office:meta/dc:title"/>
+            </xsl:otherwise>
+          </xsl:choose>
+        </title>
+        <xsl:call-template name="style"/>
+      </header>
+      <xsl:apply-templates select="//office:body"/>
+    </document>
+  </xsl:template>
+  
+  <!--+
+      | create the body 
+      +-->
+  <xsl:template match="office:body">
+    <body>
+      <xsl:apply-templates select="key('rootChildren', generate-id())"/>
+      <xsl:apply-templates select="text:h[@text:level='1']"/>      
+    </body>
+  </xsl:template>
+  
+  <!--+
+      | headings
+      +-->
+  <xsl:template match="text:h[@text:level='1']">
+    <xsl:call-template name="createSection">
+      <xsl:with-param name="currentLevel" select="@text:level"/>
+      <xsl:with-param name="prevLevel" select="1"/>
+    </xsl:call-template>
+  </xsl:template>
+  <xsl:template match="text:h[@text:level='2'] | text:h[@text:level='3']| text:h[@text:level='4'] | text:h[@text:level='5']">
+    <xsl:variable name="level" select="@text:level"/>
+    <xsl:call-template name="createSection">
+      <xsl:with-param name="currentLevel" select="$level"/>
+      <xsl:with-param name="prevLevel" select="preceding-sibling::text:h[@text:level &lt; $level][1]/@text:level "/>
+    </xsl:call-template>
+  </xsl:template>
+  <xsl:template name="createSection">
+    <xsl:param name="currentLevel"/>
+    <xsl:param name="prevLevel"/>
+    <xsl:choose>
+      <xsl:when test="$currentLevel &gt; $prevLevel+1">
+        <section>
+          <title>hugo</title>
+          <xsl:call-template name="createSection">
+            <xsl:with-param name="currentLevel" select="$currentLevel"/>
+            <xsl:with-param name="prevLevel" select="$prevLevel +1"/>
+          </xsl:call-template>
+        </section>
+      </xsl:when>
+      <xsl:otherwise>
+        <section>
+          <title>
+            <xsl:apply-templates/>
+          </title>
+          <xsl:apply-templates select="key('rootChildren', generate-id())"/>
+          <xsl:apply-templates select="key('chieldElements', generate-id())"/>
+        </section>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:template>
+  
+  <!--+
+      | paragraph
+      +-->
+  <xsl:template match="text:p">
+    <xsl:element name="p">
+      <xsl:apply-templates select="@text:style-name"/>
+      <xsl:apply-templates/>
+    </xsl:element>
+  </xsl:template>
+  
+  <!--+
+      | lists
+      +-->
+  <xsl:template match="text:unordered-list">
+    <ul>
+      <xsl:apply-templates select="text:list-item"/>
+    </ul>
+  </xsl:template>
+
+  <xsl:template match="text:ordered-list">
+    <ol>
+      <xsl:apply-templates select="text:list-item"/>
+    </ol>
+  </xsl:template>
+  
+  <xsl:template match="text:list-item">
+    <li>
+      <xsl:apply-templates select="text:p"/>
+      <xsl:apply-templates select="text:unordered-list"/>
+      <xsl:apply-templates select="text:ordered-list"/>    
+    </li>
+  </xsl:template>
+      
+  
+    <!--+
+      | Tables
+      | Note (RP): need some improvement, maybe forrest-doc isn't good enough
+      | for many talbe requirements ...
+      +-->
+  <xsl:template match="table:table">
+    <table>
+      <caption><xsl:value-of select="@table:name"/></caption>
+      <xsl:apply-templates select="table:*"/>
+    </table>
+  </xsl:template>
+  <xsl:template match="table:table-header-rows">
+    <xsl:apply-templates select="table:table-row"/>
+  </xsl:template>  
+  <xsl:template match="table:table-row">
+    <tr>
+      <xsl:apply-templates select="table:table-cell"/>
+    </tr>
+  </xsl:template>
+  <xsl:template match="table:table-header-rows/table:table-row/table:table-cell">
+    <th>
+      <xsl:apply-templates select="text:p" mode="in-element"/>
+    </th>
+  </xsl:template>  
+  <xsl:template match="table:table-cell">
+    <td>
+      <xsl:apply-templates select="text:p" mode="in-element"/>
+    </td>
+  </xsl:template>
+  
+  <!--+
+      | Links
+      +-->
+  <xsl:template match="text:a[not(@office:target-frame-name)]">
+    <link href="{@xlink:href}" title="{@office:name}">
+      <xsl:value-of select="."/>
+    </link>
+  </xsl:template>
+  <xsl:template match="text:a[@office:target-frame-name='_new']">
+    <jump href="{@xlink:href}" title="{@office:name}">
+      <xsl:value-of select="."/>
+    </jump>
+  </xsl:template>  
+  <xsl:template match="text:a">
+    <fork href="{@xlink:href}" title="{@office:name}">
+      <xsl:value-of select="."/>
+    </fork>
+  </xsl:template>  
+  
+  <!--+
+      | Images
+      +-->
+  <xsl:template match="draw:image[@xlink:show]">
+    <xsl:variable name="href"><xsl:value-of select="@xlink:href"/></xsl:variable>
+    <xsl:choose>
+      <xsl:when test="starts-with($href, '#')">
+        <img src="openOfficeEmbeddedImage/zip-{$filename}.{$extension}/file-{substring($href, 2)}"
+          alt="{@draw:name}"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <img src="{$href}" alt="{@draw:name}"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:template>
+
+  <!--+
+      | line breaks 
+      +-->
+  <xsl:template match="text:line-break">
+    <br/>
+  </xsl:template>
+  
+  <!-- ==================================================================== -->
+  <!-- Span                                                                 -->
+  <!-- ==================================================================== -->
+  <xsl:template match="text:span">
+    <span>
+      <xsl:apply-templates select="@text:style-name"/>
+      <xsl:apply-templates/>
+    </span>
+  </xsl:template>
+  
+  <!-- ==================================================================== -->
+  <!-- Styles                                                               -->
+  <!-- ==================================================================== -->
+  
+  <xsl:template match="@text:style-name">
+    <xsl:attribute name="class">
+      <xsl:value-of select="."/>
+    </xsl:attribute>
+  </xsl:template>
+  
+  <xsl:template name="style">
+    <style>
+      <xsl:apply-templates select="//office:styles/style:style"/>
+      <xsl:apply-templates select="//office:automatic-styles/style:style"/>
+    </style>
+  </xsl:template>
+ 
+  <xsl:template match="style:style">
+    .<xsl:value-of select="@style:name"/> {
+      <xsl:call-template name="fontStyle"/>
+      <xsl:call-template name="textDecorationStyle"/>
+      <xsl:call-template name="colourStyle"/>
+      <xsl:call-template name="marginStyle"/>
+    }
+  </xsl:template>
+  
+  <!-- Margin Style -->
+  
+  <xsl:template name="marginStyle">
+    <xsl:apply-templates select="style:properties/@fo:margin-top"/>
+    <xsl:apply-templates select="style:properties/@fo:margin-bottom"/>
+    <xsl:apply-templates select="style:properties/@fo:margin-left"/>
+    <xsl:apply-templates select="style:properties/@fo:margin-right"/>
+  </xsl:template>
+  
+  <xsl:template match="@fo:margin-top">
+    margin-top: <xsl:value-of select="."/>;
+  </xsl:template>
+  
+  <xsl:template match="@fo:margin-bottom">
+    margin-bottom: <xsl:value-of select="."/>;
+  </xsl:template>
+  
+  <xsl:template match="@fo:margin-left">
+    margin-left: <xsl:value-of select="."/>;
+  </xsl:template>
+  
+  <xsl:template match="@fo:margin-right">
+    margin-right: <xsl:value-of select="."/>;
+  </xsl:template>
+  
+  <!-- Font Style -->
+  
+  <xsl:template name="fontStyle">
+    <xsl:apply-templates select="style:properties/@fo:font-weight"/>
+    <xsl:apply-templates select="style:properties/@fo:font-style"/>
+    <xsl:apply-templates select="style:properties/@fo:font-size"/>
+    <xsl:apply-templates select="style:properties/@style:font-name"/>
+  </xsl:template>
+  
+  <xsl:template match="@fo:font-size">
+    font-size: <xsl:value-of select="."/>;
+  </xsl:template>
+  
+  <xsl:template match="@fo:font-weight">
+    font-weight: <xsl:value-of select="."/>;
+  </xsl:template>
+  
+  <xsl:template match="@fo:font-style">
+    font-style: <xsl:value-of select="."/>;
+  </xsl:template>
+  
+  <xsl:template match="@style:font-name">
+    font-family: <xsl:value-of select="."/>;
+  </xsl:template>
+  
+  <!-- Text Decoration -->
+  
+  <xsl:template name="textDecorationStyle">
+    <xsl:apply-templates select="style:properties/@style:text-underline"/>
+  </xsl:template>
+  
+  <xsl:template match="@style:text-underline">
+    text-decoration: underline;
+  </xsl:template>
+  
+  <!-- Colour -->
+  
+  <xsl:template name="colourStyle">
+    <xsl:apply-templates select="style:properties/@fo:color"/>
+  </xsl:template>
+  
+  <xsl:template match="@fo:color">
+    color: <xsl:value-of select="."/>;
+  </xsl:template>
+  
+</xsl:stylesheet>

Added: forrest/trunk/plugins/openOffice.org/resources/stylesheets/openoffice-impress2forrest.xsl
==============================================================================
--- (empty file)
+++ forrest/trunk/plugins/openOffice.org/resources/stylesheets/openoffice-impress2forrest.xsl	Thu Oct 28 14:58:10 2004
@@ -0,0 +1,89 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+
+<xsl:stylesheet version="1.0" 
+  xmlns:style="http://openoffice.org/2000/style" 
+  xmlns:text="http://openoffice.org/2000/text" 
+  xmlns:office="http://openoffice.org/2000/office" 
+  xmlns:table="http://openoffice.org/2000/table" 
+  xmlns:draw="http://openoffice.org/2000/drawing" 
+  xmlns:presentation="http://openoffice.org/2000/presentation" 
+  xmlns:fo="http://www.w3.org/1999/XSL/Format" 
+  xmlns:xlink="http://www.w3.org/1999/xlink" 
+  xmlns:dc="http://purl.org/dc/elements/1.1/" 
+  xmlns:meta="http://openoffice.org/2000/meta" 
+  xmlns:number="http://openoffice.org/2000/datastyle" 
+  xmlns:svg="http://www.w3.org/2000/svg" 
+  xmlns:chart="http://openoffice.org/2000/chart" 
+  xmlns:dr3d="http://openoffice.org/2000/dr3d" 
+  xmlns:math="http://www.w3.org/1998/Math/MathML" 
+  xmlns:form="http://openoffice.org/2000/form" 
+  xmlns:script="http://openoffice.org/2000/script" 
+  xmlns:config="http://openoffice.org/2001/config" 
+  office:class="text" 
+  xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 
+  exclude-result-prefixes="office meta  table number dc fo xlink chart math script xsl draw svg dr3d form config text style">
+
+  <xsl:import href="openoffice-common2forrest.xsl"/>
+
+  <!--+
+      | create the body 
+      +-->
+  <xsl:template match="office:body">
+    <body>  
+      <xsl:apply-templates select="key('rootChildren', generate-id())"/>
+      <xsl:apply-templates select="draw:page"/>
+    </body>
+  </xsl:template>
+  
+  <!--+
+      | slide
+      +-->
+  <xsl:template match="draw:page">
+    <xsl:variable name="layout-name"><xsl:value-of select="@presentation:presentation-page-layout-name"/></xsl:variable>
+      <section>
+          <section class="slide">
+            <title><xsl:value-of select="draw:text-box/text:p"/></title>
+            <xsl:apply-templates select="draw:image" mode="slide">
+              <xsl:with-param name="layout-name"><xsl:value-of select="$layout-name"/></xsl:with-param>
+            </xsl:apply-templates>
+            <xsl:apply-templates select="draw:text-box" mode="slide"/>
+          </section>
+          <xsl:apply-templates select="presentation:notes/draw:text-box" mode="notes"/>
+      </section>
+  </xsl:template>
+  
+  <!-- ==================================================================== -->
+  <!-- Text Boxes                                                           -->
+  <!-- ==================================================================== -->
+  <xsl:template match="draw:text-box" mode="slide">
+    <!-- ignore first element if it is a paragraph as this
+         is the title of the slide -->
+    <xsl:apply-templates select="*[not(self::text:p)]"/>
+  </xsl:template>
+  
+  <xsl:template match="draw:text-box" mode="notes">
+    <xsl:apply-templates select="*"/>
+  </xsl:template>
+  
+  <xsl:template name="fontStyle">
+    <xsl:apply-templates select="style:properties/@fo:font-weight"/>
+    <xsl:apply-templates select="style:properties/@fo:font-style"/>
+    <xsl:apply-templates select="style:properties/@style:font-name"/>
+  </xsl:template>
+  
+  
+  <xsl:template match="draw:image[@xlink:show]" mode="slide">
+    <xsl:param name="layout-name"/>
+    <xsl:variable name="href"><xsl:value-of select="@xlink:href"/></xsl:variable>
+    <xsl:choose>
+      <xsl:when test="starts-with($href, '#')">
+        <img src="openOfficeEmbeddedImage/zip-{$filename}.{$extension}/file-{substring($href, 2)}"
+          alt="{@draw:name}"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <img src="{$href}" alt="{@draw:name}"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:template>
+  
+</xsl:stylesheet>

Added: forrest/trunk/plugins/openOffice.org/resources/stylesheets/openoffice-writer2forrest.xsl
==============================================================================
--- (empty file)
+++ forrest/trunk/plugins/openOffice.org/resources/stylesheets/openoffice-writer2forrest.xsl	Thu Oct 28 14:58:10 2004
@@ -0,0 +1,105 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+
+<xsl:stylesheet version="1.0" xmlns:style="http://openoffice.org/2000/style" xmlns:text="http://openoffice.org/2000/text" xmlns:office="http://openoffice.org/2000/office" xmlns:table="http://openoffice.org/2000/table" xmlns:draw="http://openoffice.org/2000/drawing" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:meta="http://openoffice.org/2000/meta" xmlns:number="http://openoffice.org/2000/datastyle" xmlns:svg="http://www.w3.org/2000/svg" xmlns:chart="http://openoffice.org/2000/chart" xmlns:dr3d="http://openoffice.org/2000/dr3d" xmlns:math="http://www.w3.org/1998/Math/MathML" xmlns:form="http://openoffice.org/2000/form" xmlns:script="http://openoffice.org/2000/script" xmlns:config="http://openoffice.org/2001/config" office:class="text" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" exclude-result-prefixes="office meta  table number dc fo xlink chart math script xsl draw svg dr3d form config text style">
+  
+  <xsl:import href="openoffice-common2forrest.xsl"/>
+  
+  
+  <!-- ================================================================== -->
+  <!-- The templates below match special styles created in a special 
+       Forrest template. However, there is no longer any need to use this
+       template as support for Open Office defined styles is being 
+       embedded into the stylesheets, that is, all style information should
+       be copied into the HTML page.                                      -->
+  <!-- ================================================================== -->     
+  
+  <!--+
+      | strong emphasised text
+      +-->
+  <xsl:template match="text:span[@text:style-name='Strong Emphasis']">
+    <strong>
+      <xsl:apply-templates/>
+    </strong>
+  </xsl:template>  
+
+  <!--+
+      | emphasised text
+      +-->
+  <xsl:template match="text:span[@text:style-name='Emphasis']">
+    <em>
+      <xsl:apply-templates/>
+    </em>
+  </xsl:template>    
+
+  <!--+
+      | Code
+      +-->
+  <xsl:template match="text:span[@text:style-name='Forrest: Code']">
+    <code>
+      <xsl:value-of select="."/>
+    </code>
+  </xsl:template>
+  
+  <!--+
+      | sup
+      +-->
+  <xsl:template match="text:span[@text:style-name='Forrest: Above']">
+    <sup>
+      <xsl:value-of select="."/>
+    </sup>
+  </xsl:template>
+  <!--+
+      | sub
+      +-->
+  <xsl:template match="text:span[@text:style-name='Forrest: Below']">
+    <sub>
+      <xsl:value-of select="."/>
+    </sub>
+  </xsl:template>    
+  
+  <!--+
+      | Source
+      +-->
+  <xsl:template match="text:p[@text:style-name='Forrest: Source']">
+    <source>
+<xsl:text>
+</xsl:text>
+      <xsl:apply-templates/>
+<xsl:text>
+</xsl:text>
+   
+    </source>
+  </xsl:template>      
+  <xsl:template match="text:p[@text:style-name='Forrest: Source']/text:line-break">
+    <br/>
+  </xsl:template> 
+  
+  <!--+
+      | Warning
+      +-->
+  <xsl:template match="text:p[@text:style-name='Forrest: Warning']">
+    <warning>
+      <xsl:apply-templates/>
+    </warning>
+  </xsl:template>
+  
+  <!--+
+      | Fixme
+      | - the author attribute is ignored but this has to change with
+      |   XHTML2 anyway ... (RP)
+      +-->
+  <xsl:template match="text:p[@text:style-name='Forrest: Fixme']">
+    <fixme>
+      <xsl:apply-templates/>
+    </fixme>
+  </xsl:template>
+
+  <!--+
+      | Note
+      +-->
+  <xsl:template match="text:p[@text:style-name='Forrest: Note']">
+    <note>
+      <xsl:apply-templates/>
+    </note>
+  </xsl:template>    
+</xsl:stylesheet>

Added: forrest/trunk/plugins/openOffice.org/resources/stylesheets/rss20ToSnippet.xsl
==============================================================================
--- (empty file)
+++ forrest/trunk/plugins/openOffice.org/resources/stylesheets/rss20ToSnippet.xsl	Thu Oct 28 14:58:10 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.
+-->
+<!--
+Stylesheet for generating an XDoc from an RSS 1.0 feed.
+-->
+
+<xsl:stylesheet version="1.0" 
+  xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+  
+
+  <xsl:output method="xml" version="1.0" encoding="UTF-8"
+    doctype-public="-//APACHE//DTD Documentation V2.0//EN" 
+    doctype-system="http://apache.org/forrest/dtd/document-v20.dtd"/>
+
+  <xsl:include href="rss20ToXdoc.xsl"/>
+    
+  <xsl:template match="/">
+      <xsl:apply-templates/>
+  </xsl:template>
+  
+  <xsl:template match="channel">
+    <section>
+      <title><xsl:value-of select="title"/></title>
+      <xsl:apply-templates select="item"/>
+    </section>
+  </xsl:template>
+</xsl:stylesheet>

Added: forrest/trunk/plugins/openOffice.org/resources/stylesheets/rss20ToXdoc.xsl
==============================================================================
--- (empty file)
+++ forrest/trunk/plugins/openOffice.org/resources/stylesheets/rss20ToXdoc.xsl	Thu Oct 28 14:58:10 2004
@@ -0,0 +1,76 @@
+<?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.
+-->
+<!--
+Stylesheet for generating an XDoc from an RSS 1.0 feed.
+-->
+
+<xsl:stylesheet version="1.0" 
+  xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+  
+
+  <xsl:output method="xml" version="1.0" encoding="UTF-8"
+    doctype-public="-//APACHE//DTD Documentation V2.0//EN" 
+    doctype-system="http://apache.org/forrest/dtd/document-v20.dtd"/>
+
+  <xsl:template match="/">
+    <document>
+      <xsl:apply-templates/>
+    </document>
+  </xsl:template>
+  
+  <xsl:template match="rss">
+    <xsl:apply-templates/>
+  </xsl:template>
+  
+  <xsl:template match="channel">
+    <header>
+      <title><xsl:value-of select="title"/></title>
+    </header>
+    <body>
+      <xsl:apply-templates select="item"/>
+      <section>
+        <title>Source</title>
+        <p>The above entries are syndicated from 
+          <xsl:element name="a">
+            <xsl:attribute name="href"><xsl:value-of select="link"/></xsl:attribute>
+            <xsl:value-of select="title"/>
+          </xsl:element>.</p>
+      </section>
+    </body>
+  </xsl:template>
+  
+  <xsl:template match="item">
+    <section>
+      <title><xsl:value-of select="title"/></title>
+      <xsl:apply-templates select="description"/>
+      <xsl:if test="guid">
+        <p>
+        <xsl:element name="a">
+          <xsl:attribute name="href"><xsl:value-of select="guid"/></xsl:attribute>
+          Source
+        </xsl:element>
+        </p>
+      </xsl:if>
+      <p><xsl:value-of select="copyright"/></p>
+      <p>(Published: <xsl:value-of select="pubDate"/>)</p>
+    </section>
+  </xsl:template>
+  
+  <xsl:template match="description">
+    <p><xsl:value-of select="." disable-output-escaping="yes"/></p>
+  </xsl:template>
+</xsl:stylesheet>

Added: forrest/trunk/plugins/openOffice.org/sitemap.xmap
==============================================================================
--- (empty file)
+++ forrest/trunk/plugins/openOffice.org/sitemap.xmap	Thu Oct 28 14:58:10 2004
@@ -0,0 +1,77 @@
+<?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.
+-->
+  <!-- ============================================================ -->
+  <!-- OpenOffice.org Plugin                                        -->
+  <!-- This plugin allows OpenOffice.org application files to be    -->
+  <!-- uded in a Forrest site                                       -->
+  <!-- ============================================================ -->
+
+<map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0">
+    
+  <map:resources>
+    <map:resource name="file-resolver">
+      <map:select type="exists">
+        <map:when test="{project:content.xdocs}{uri}.sxw">
+          <map:match type="regexp" pattern="^(.*?)([^/]*).xml$">
+            <map:generate src="{forrest:plugins}/openOffice.org/resources/stylesheets/aggregates/openoffice.xml"/>
+            <map:transform src="{forrest:plugins}/openOffice.org/resources/stylesheets/aggregates/openoffice-document.xsl">
+              <map:parameter name="src" value="{project:content.xdocs}{1}{2}.sxw"/>
+            </map:transform>
+            <map:transform type="cinclude"/>
+            <map:transform src="{forrest:plugins}/openOffice.org/resources/stylesheets/openoffice-writer2forrest.xsl">
+              <map:parameter name="filename" value="{2}" />
+            </map:transform>
+            <map:serialize type="xml-document"/>
+          </map:match>
+        </map:when>  
+        
+        <map:when test="{project:content.xdocs}{uri}.sxi">
+          <map:match type="regexp" pattern="^(.*?)([^/]*).xml$">
+            <map:generate src="{forrest:plugins}/openOffice.org/resources/stylesheets/aggregates/openoffice.xml"/>
+            <map:transform src="{forrest:plugins}/openOffice.org/resources/stylesheets/aggregates/openoffice-document.xsl">
+              <map:parameter name="src" value="{project:content.xdocs}{1}{2}.sxi"/>
+            </map:transform>
+            <map:transform type="cinclude"/>
+            <map:transform src="{forrest:plugins}/openOffice.org/resources/stylesheets/openoffice-impress2forrest.xsl">
+              <map:parameter name="filename" value="{2}" />
+            </map:transform>
+            <map:serialize type="xml-document"/>
+          </map:match>
+        </map:when>  
+      </map:select>
+    </map:resource>
+  </map:resources>  
+  
+  <map:pipelines>
+    <map:pipeline internal="true">
+      <map:match pattern="**.xml">
+        <map:call resource="file-resolver">
+          <map:parameter name="uri" value="{1}"/>
+        </map:call>
+      </map:match>
+
+      <map:match pattern="openOfficeEmbeddedImage/zip-**/file-**.*">
+        <map:read src="jar:file://{project:content.xdocs}{1}!/{2}.{3}" mime-type="image/{3}" />
+      </map:match>
+      
+      <map:match pattern="**/openOfficeEmbeddedImage/zip-**/file-**.*">
+        <map:read src="jar:file://{project:content.xdocs}{2}!/{3}.{4}" mime-type="image/{4}" />
+      </map:match>
+      
+    </map:pipeline>
+  </map:pipelines>
+</map:sitemap>

Mime
View raw message