forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brond...@apache.org
Subject svn commit: rev 36824 - in forrest/trunk/scratchpad/XXE-config: . css icons template
Date Tue, 24 Aug 2004 21:13:32 GMT
Author: brondsem
Date: Tue Aug 24 14:13:31 2004
New Revision: 36824

Added:
   forrest/trunk/scratchpad/XXE-config/
   forrest/trunk/scratchpad/XXE-config/README.txt   (contents, props changed)
   forrest/trunk/scratchpad/XXE-config/build.xml   (contents, props changed)
   forrest/trunk/scratchpad/XXE-config/common_config.xml   (contents, props changed)
   forrest/trunk/scratchpad/XXE-config/css/
   forrest/trunk/scratchpad/XXE-config/css/common.css   (contents, props changed)
   forrest/trunk/scratchpad/XXE-config/css/document1x.css   (contents, props changed)
   forrest/trunk/scratchpad/XXE-config/css/document2x.css   (contents, props changed)
   forrest/trunk/scratchpad/XXE-config/document-v10.xxe   (contents, props changed)
   forrest/trunk/scratchpad/XXE-config/document-v20.xxe   (contents, props changed)
   forrest/trunk/scratchpad/XXE-config/icons/
   forrest/trunk/scratchpad/XXE-config/icons/note.png   (contents, props changed)
   forrest/trunk/scratchpad/XXE-config/icons/sub.png   (contents, props changed)
   forrest/trunk/scratchpad/XXE-config/icons/sup.png   (contents, props changed)
   forrest/trunk/scratchpad/XXE-config/template/
   forrest/trunk/scratchpad/XXE-config/template/document11.xml   (contents, props changed)
   forrest/trunk/scratchpad/XXE-config/template/document12.xml   (contents, props changed)
   forrest/trunk/scratchpad/XXE-config/template/document13.xml   (contents, props changed)
   forrest/trunk/scratchpad/XXE-config/template/document20.xml   (contents, props changed)
   forrest/trunk/scratchpad/XXE-config/toolBar.xml   (contents, props changed)
Log:
import my XMLMind XML Editor configuration for forrest; this is http://www.splike.com/XXE_forrest_config-1.1.zip
plus enhancements

Added: forrest/trunk/scratchpad/XXE-config/README.txt
==============================================================================
--- (empty file)
+++ forrest/trunk/scratchpad/XXE-config/README.txt	Tue Aug 24 14:13:31 2004
@@ -0,0 +1,50 @@
+  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.
+
+
+XXE Forrest Config
+==================
+
+Works with:
+===========
+* XXE V2.5p3+
+* Forrest 0.5+
+
+
+Upgrading
+=========
+* Delete the 'forrest' directory from the XXE application config directory. (e.g. D:\Program
Files\XMLmind_XML_Editor\config)
+* Install normally
+
+
+Installing
+==========
+* For XXEv2.5p3+
+  * Extract into the XXE application config directory (e.g. D:\Program Files\XMLmind_XML_Editor\config)
+* For XXEv2.5p2 or prior you also need to do
+  * Open XXE</li>
+  * select Options > Options > Schema > Add File
+  * Specify the XML Catalog file:
+  * "[FORREST_HOME]/context/resources/schema/catalog.xcat" (where [FORREST_HOME] is the value
of your FORREST_HOME environment variable)
+
+References
+==========
+XMLmind XML Editor
+    http://www.xmlmind.com/xmleditor/
+Apache Forrest
+    http://xml.apache.org/forrest/
+Instructions for other Forrest XML Editors
+    http://xml.apache.org/forrest/catalog.html
+XXE Custom Configuration Info
+    http://www.xmlmind.com/xmleditor/_distrib/docs/configure/index.html
\ No newline at end of file

Added: forrest/trunk/scratchpad/XXE-config/build.xml
==============================================================================
--- (empty file)
+++ forrest/trunk/scratchpad/XXE-config/build.xml	Tue Aug 24 14:13:31 2004
@@ -0,0 +1,45 @@
+<?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.
+-->
+
+<!--
+XXE Forrest plugin builder
+
+ - You must update catalog.xml manually based on changes to forrest's catalog.xcat
+-->
+
+<project basedir="." name="xxe-forrest" default="update">
+
+  <target name="-init">
+    <property environment="env"/>
+  </target>  
+  
+  <target name="update" depends="copy-dtds, copy-catalog" description="Update schemas
from FORREST_HOME"/>
+  
+  <target name="copy-dtds" depends="-init" description="Copy DTDs from FORREST_HOME">
+    <copy todir=".">
+      <fileset dir="${env.FORREST_HOME}/context/resources/schema/">
+        <include name="entity/**"/>
+        <include name="dtd/**"/>
+      </fileset>
+    </copy>
+  </target>  
+
+  <target name="copy-catalog" depends="-init" description="Copy Catalog from FORREST_HOME">
+    <copy file="${env.FORREST_HOME}/context/resources/schema/catalog.forrest.xcat" tofile="catalog.xml"/>
+  </target>  
+
+</project>

Added: forrest/trunk/scratchpad/XXE-config/common_config.xml
==============================================================================
--- (empty file)
+++ forrest/trunk/scratchpad/XXE-config/common_config.xml	Tue Aug 24 14:13:31 2004
@@ -0,0 +1,164 @@
+<?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.
+-->
+<configuration name="Forrest Doc v20"
+  xsi:schemaLocation="http://www.xmlmind.com/xmleditor/schema/configuration
+                      xsd/configuration.xsd"
+  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+  xmlns="http://www.xmlmind.com/xmleditor/schema/configuration"
+  xmlns:cfg="http://www.xmlmind.com/xmleditor/schema/configuration">
+
+  <include location="toolBar.xml" />
+  
+  <documentResources>
+    <resource path="//img/@src" />
+    <resource path="//figure/@src" />
+    <resource path="//icon/@src" />
+  </documentResources>
+  
+  <elementTemplate xmlns="" name="tableHeaded">
+    <table>
+      <tr>
+        <th>Column 1</th>
+        <th>Column 2</th>
+      </tr>
+      <tr>
+        <td></td>
+        <td></td>
+      </tr>
+      <tr>
+        <td></td>
+        <td></td>
+      </tr>
+    </table>
+  </elementTemplate>
+
+  <elementTemplate xmlns="" name="tableUnheaded">
+    <table>
+      <tr>
+        <td></td>
+        <td></td>
+      </tr>
+      <tr>
+        <td></td>
+        <td></td>
+      </tr>
+    </table>
+  </elementTemplate>
+  
+  <elementTemplate xmlns="" name="tableRow">
+    <tr>
+      <td></td>
+      <td></td>
+    </tr>
+  </elementTemplate>
+  
+  <elementTemplate xmlns="" name="aFork">
+    <a target="_blank"/>
+  </elementTemplate>
+  
+  <!-- Bindings =========================================================== -->
+  <!--   modified from xhtml & docbook config files =============== -->
+
+  <!-- attempt to behave like a word-processor. -->
+
+  <binding>
+    <keyPressed code="ENTER" />
+    <command name="forrest.splitOrInsertNewLine" />
+  </binding>
+
+  <binding>
+    <keyPressed code="DELETE" />
+    <command name="forrest.joinOrDeleteChar" />
+  </binding>
+
+  <binding>
+    <keyPressed code="BACK_SPACE" />
+    <command name="forrest.joinOrDeleteChar" parameter="backwards" />
+  </binding>
+
+  <command name="forrest.splitOrInsertNewLine">
+    <macro trace="false">
+      <choice>
+        <command name="insertControlChar" parameter="\n" />
+        <sequence>
+          <command name="selectNode" parameter="ancestorOrSelf[implicitElement] p td th
li" />
+          <command name="split" />
+        </sequence>
+      </choice>
+    </macro>
+  </command>
+
+  <command name="forrest.joinOrDeleteChar">
+    <macro trace="false">
+      <choice>
+        <sequence>
+          <test expression="($dot/ancestor::p or $dot/ancestor::li or $dot/ancestor::td
or $dot/ancestor::th) and not($selected) and not($mark)" />
+          <command name="deleteSelectionOrJoinOrDeleteChar" parameter="%0" />
+        </sequence>
+        <command name="deleteSelectionOrDeleteChar" parameter="%0" />
+      </choice>
+    </macro>
+  </command>
+
+  <!-- An easy way to insert a table row -->
+  <binding>
+    <keyPressed code="ENTER" modifiers="mod"/>
+    <command name="add" parameter="after[implicitElement] #template(tr,tableRow)" />
+  </binding>
+
+
+  <!-- An easy way to insert a br -->
+  <binding>
+    <keyPressed code="ENTER" modifiers="shift" />
+    <command name="forrest.insertLineBreak" />
+  </binding>
+
+  <command name="forrest.insertLineBreak">
+    <macro>
+      <sequence>
+        <command name="insert" parameter="into br" />
+        <!-- harmless if macro fails starting from here -->
+        <command name="insertNode" parameter="textAfter" />
+        <command name="cancelSelection" />
+      </sequence>
+    </macro>
+  </command>
+  
+  <!-- v1.x versus v2.x deciders -->
+  <command name="forrest.insertFork">
+    <macro trace="false">
+      <choice>
+        <!-- v1.x -->
+        <command name="convert" parameter="[implicitElement] fork" />
+        <!-- v2.x -->
+        <command name="convert" parameter="[implicitElement] #template(a,aFork)" />
+      </choice>
+    </macro>
+  </command>
+
+  <command name="forrest.insertLink">
+    <macro trace="false">
+      <choice>
+        <!-- v1.x -->
+        <command name="convert" parameter="[implicitElement] link" />
+        <!-- v2.x -->
+        <command name="convert" parameter="[implicitElement] a" />
+      </choice>
+    </macro>
+  </command>
+
+</configuration>

Added: forrest/trunk/scratchpad/XXE-config/css/common.css
==============================================================================
--- (empty file)
+++ forrest/trunk/scratchpad/XXE-config/css/common.css	Tue Aug 24 14:13:31 2004
@@ -0,0 +1,463 @@
+/*
+  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.
+*/
+
+/*===============================================================
+  General definitions
+  ===============================================================*/
+/* A person is a general human entity */
+person {
+    content: paragraph(attr(name) ' <' attr(email) '>');
+}
+
+/*===============================================================
+  General definitions
+  ===============================================================*/
+  
+    /*====================================================
+       Phrase Markup
+      ====================================================*/
+
+/* Code (typically monospaced) */
+code { 
+    font-family: monospace;
+}
+
+/* Strong (typically bold) */
+strong { 
+    font-weight: bold; 
+}
+
+/* Emphasis (typically italic) */
+em { 
+    font-style: italic; 
+}
+
+/* Superscript (typically smaller and higher) */
+sup {
+    font-size: .83em;
+    vertical-align: super;
+}
+
+/* Subscript (typically smaller and lower) */
+sub { 
+    font-size: .83em;
+    vertical-align: sub;
+}
+
+/* Anchor point (equivalent of <a name="...">) */
+anchor:after { 
+    content: icon(right-target); 
+    color: olive;
+    vertical-align: text-top;
+}
+
+/* Soft link between processed pages (no equivalent in HTML) */
+connect {
+    color: #0086b2;
+    text-decoration: underline;
+}
+
+connect:after {
+    font-style: italic;
+    content: ' [connect:' attr(href) '] '
+}
+
+    /*====================================================
+       Specials
+      ====================================================*/
+
+/* Breakline Object (typically forces line break) */
+br:before { 
+    content: "\A"; 
+    color: olive;
+}
+
+/* Image Object (typically an inlined image) */
+img {
+    content: image(attr(src), attr(width), attr(height)) ' [' attr(src) ' - ' attr(alt) ']';
+}
+
+/* Image Icon (typically an inlined image placed as graphical item) */
+icon {
+    content: image(attr(src), attr(width), attr(height));
+}
+
+/*===============================================================
+   Blocks definitions
+  ===============================================================*/
+
+    /*====================================================
+       Paragraphs
+      ====================================================*/
+
+/* Text Paragraph (normally vertically space delimited) */
+p {
+    display: block;
+    margin-top: 1.33ex;
+    margin-bottom: 1.33ex;
+}
+
+/* Source Paragraph (normally space is preserved) */
+/* need to center this block !! */
+source { 
+    display: block;
+    white-space: pre;
+    background-color: white;
+    border: thin solid #0086b2;
+	border-color: gray;
+    font-family: monospace;
+    margin-left: 10ex;
+    margin-right: 10ex;
+}
+
+/* Note Paragraph (normally shown encapsulated) */
+note {
+    display: block;
+	border-color: blue;
+	border-width: 2px;
+	border-style: solid;
+    /*font-style: italic;*/
+}
+
+note:before {
+    font-weight: bold;
+    content: 'Note : ';
+}
+
+/* warning Paragraph (normally shown encapsulated) */
+warning {
+    display: block;
+	border-color: red;
+	border-width: 2px;
+	border-style: solid;
+    /*font-style: italic;*/
+}
+
+warning:before {
+    font-weight: bold;
+    content: 'Warning : ';
+}
+
+/* Fixme Paragraph (normally shown encapsulated) */
+fixme {
+    display: block;
+    /*font-style: italic;*/
+	border-color: yellow;
+	border-width: 2px;
+	border-style: solid;
+}
+
+fixme:before {
+    font-weight: bold;
+    /*font-style: italic;*/
+    color: green;
+    content: 'FIXME [' attr(author) '] ';
+}
+
+    /*====================================================
+       Tables
+      ====================================================*/
+
+/* Table element */
+table { 
+    display: table;
+    border: 1 outset gray;
+    margin-top: 1.33ex;
+    margin-bottom: 1.33ex;
+}
+
+/* The table title */
+caption { 
+    display: table-caption;
+    font-style: italic;
+    text-align: center;
+    margin-left: 2ex;
+    margin-right: 2ex;
+    margin-top: 2;
+    margin-bottom: 2;
+}
+
+/* The table row element */
+tr { 
+    display: table-row;
+    /*text-align: eval(attr(align));*/
+}
+
+/* The table row header element */
+/* The table row description element */
+th, td {
+    display: table-cell;
+    text-align: eval(attr(align));
+    vertical-align: eval(attr(valign));
+    row-span: eval(attr(rowspan));
+    column-span: eval(attr(colspan));    
+    border: 1 inset gray;
+    padding: 2;
+}
+th {
+    font-weight: bold;
+	text-align: center;
+}
+
+    /*====================================================
+       Lists
+      ====================================================*/
+
+/* Unordered list (typically bulleted) */
+/* Ordered list (typically numbered) */
+/* Simple list (typically with no mark) */
+ul, ol, sl { 
+    display: block;
+    margin-top: 1.33ex;
+    margin-bottom: 1.33ex;
+}
+
+/* List item */
+li {
+    display: block;
+}
+
+ul > li {
+    margin-left: 2.5ex;
+}
+ul > li:before {
+    display: marker;
+    content: disc;
+}
+
+ol > li {
+    margin-left: 6ex;
+}
+ol > li:before {
+    display: marker;
+    content: counter(n, decimal);
+    font-weight: bold;
+}
+
+/* Nested lists */
+ul ul, ul ol, ul sl,
+ol ul, ol ol, ol sl,
+sl ul, sl ol, sl sl { 
+    margin-top: 0; 
+    margin-bottom: 0; 
+}
+
+/* Definition list (typically two-column) */
+dl {
+    display: block;
+    margin-left: 2ex;
+    margin-top: 1.33ex;
+    margin-bottom: 1.33ex;
+}
+
+/* Definition term */
+dt {
+    display: block;
+    font-weight: bold; 
+}
+
+/* Definition description */
+dd { 
+    display: block;
+    margin-left: 4ex;
+}
+
+    /*====================================================
+       Special Blocks
+      ====================================================*/
+
+/* Image Block (typically a separated and centered image) */
+/*
+figure {
+    display: block;
+    text-align: center;
+     XXE can display images, but unfortunaltely not concatenate strings to
+       handle the organisation of images in the documentation directory
+      content: url('../'attr(src), attr(width), attr(height)) '\A[' attr(alt) ']';
+	  
+	  content: image(attr(src), -400, -200);
+	  
+	  
+	  
+    
+    content: image(attr(src));
+}
+*/
+figure {
+    display: block;
+    collapsible: yes;
+	collapsed: yes;
+    not-collapsible-head: 1;
+    margin: 0;
+    padding: 2;
+}
+
+figure:before {
+    display: inline;
+    content: division(content(paragraph(content(" ", 
+					collapser(collapsed-icon, 
+							  icon(pop-right), 
+							  expanded-icon, 
+							  icon(pop-down)),
+							  
+					  paragraph(image(attr(src)),
+								text-align, center,
+								margin-top, 5,
+								margin-bottom, 5)
+												)),
+					file-name-field(
+						   columns, 30,
+						   attribute, src, 
+						   font-weight, normal,
+					   background-color, white,
+						   color, black)
+		));
+    font-weight: bold;
+    color: #0000A0;
+}
+
+/*===============================================================
+   Document
+  ===============================================================*/
+document {
+    display: block;
+}
+
+    /*====================================================
+       Header
+      ====================================================*/
+
+header {
+    border: thick solid black;
+    display: block;
+	background-color: #0086b2;
+    /*margin-top: .5ex;*/
+}
+
+title { 
+    display: block;
+    color: #ffffff;
+    background-color: #0086b2;
+    text-align: left;
+    font-weight: bold;
+    font-size: 2em;
+	margin-top: 1.33ex;
+	margin-bottom: 1.33ex;
+}
+
+subtitle {
+    display: block;
+    color: #ffffff;
+    background-color: #0086b2;
+    text-align: left;
+    font-weight: bold;
+    font-size: 1.5em;
+	margin-top: 1.33ex;
+    margin-bottom: 1.33ex;
+	border-color: black;
+	border-width: 2;
+}
+
+version {
+    display: block;
+    margin-bottom: .8ex;
+}
+version:before {
+    content: 'Version : ';
+}
+
+type {
+    display: block;
+    margin-bottom: .8ex;
+}
+type:before {
+    content: 'Type : ';
+}
+
+authors {
+    display: block;
+    margin-bottom: .8ex;
+}
+authors:before {
+    text-align: left;
+    content: paragraph('Authors : ');
+}
+/* 'person' in 'authors' */
+authors > person {
+    display: block;
+    margin-left: 5ex;
+}
+
+notice {
+    display: block;
+    margin-left: 5ex;
+    margin-bottom: .8ex;
+}
+notice:before {
+    display: block;
+    content: 'Notice :';
+}
+
+abstract {
+    display: block;
+    margin-left: 5ex;
+    margin-bottom: .8ex;
+}
+abstract:before {
+    display: block;
+    content: 'Abstract :';
+}
+
+    /*====================================================
+       Body
+      ====================================================*/
+body {
+    display: block;
+    font-family: sans-serif;
+}
+
+section {
+    display:block;
+    margin-left:10pt;
+}
+section:before { 
+    margin-top:0.5em;
+    display: block;
+	text-align: left;
+    font-weight: bold; 
+	color: #0086b2;
+    content: paragraph(attr(title));
+    font-size:2em;
+    border: thin solid white;
+/*    border-bottom-color: #0086b2; */
+}
+
+
+    /*====================================================
+       Footer
+      ====================================================*/
+footer {
+    display: block;
+    border: thin solid white;
+    border-top-color: #0086b2;
+    text-align: center;
+    margin-top: 2em;
+}
+
+legal {
+    color: #0086b2;
+}
+

Added: forrest/trunk/scratchpad/XXE-config/css/document1x.css
==============================================================================
--- (empty file)
+++ forrest/trunk/scratchpad/XXE-config/css/document1x.css	Tue Aug 24 14:13:31 2004
@@ -0,0 +1,53 @@
+/*
+  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.
+*/
+
+@import url(xxe-config:forrest/css/common.css);
+
+    /*====================================================
+       Hypertextual Links
+      ====================================================*/
+/* Hard replacing link (equivalent of <a ...>) */
+link {
+    color: #0086b2;
+    text-decoration: underline;
+}
+
+link:after {
+    font-style: italic;
+    content: ' [' attr(href) '] '
+}
+
+/* Hard window replacing link (equivalent of <a ... target="_top">) */
+jump {
+    color: #0086b2;
+    text-decoration: underline;
+}
+
+jump:after {
+    font-style: italic;
+    content: ' [jump:' attr(href) '] '
+}
+
+/* Hard window forking link (equivalent of <a ... target="_blank">) */
+fork {
+    color: #0086b2;
+    text-decoration: underline;
+}
+
+fork:after {
+    font-style: italic;
+    content: ' [fork:' attr(href) '] '
+}
\ No newline at end of file

Added: forrest/trunk/scratchpad/XXE-config/css/document2x.css
==============================================================================
--- (empty file)
+++ forrest/trunk/scratchpad/XXE-config/css/document2x.css	Tue Aug 24 14:13:31 2004
@@ -0,0 +1,32 @@
+/*
+  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.
+*/
+
+@import url(xxe-config:forrest/css/common.css);
+
+a {
+    color: #0086b2;
+    text-decoration: underline;
+}
+
+a:after {
+    font-style: italic;
+    content: ' [' attr(href) '] ';
+}
+
+meta:before {
+    font-weight: bold;
+    content: attr(name) ': ';
+}
\ No newline at end of file

Added: forrest/trunk/scratchpad/XXE-config/document-v10.xxe
==============================================================================
--- (empty file)
+++ forrest/trunk/scratchpad/XXE-config/document-v10.xxe	Tue Aug 24 14:13:31 2004
@@ -0,0 +1,47 @@
+<?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.
+-->
+<configuration name="Forrest Document v1.x"
+  xsi:schemaLocation="http://www.xmlmind.com/xmleditor/schema/configuration
+                      xsd/configuration.xsd"
+  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+  xmlns="http://www.xmlmind.com/xmleditor/schema/configuration"
+  xmlns:cfg="http://www.xmlmind.com/xmleditor/schema/configuration">
+
+  <include location="common_config.xml" />
+  
+  <detect>
+    <or>
+      <dtdPublicId substring="true">DTD Documentation V1.1</dtdPublicId>
+      <dtdPublicId substring="true">DTD Documentation V1.2</dtdPublicId>
+      <dtdPublicId substring="true">DTD Documentation V1.3</dtdPublicId>
+    </or>
+  </detect>
+    
+  <dtd publicId="-//APACHE//DTD Documentation V1.1//EN" 
+       systemId="dtd/document-v11.dtd" />
+  <dtd publicId="-//APACHE//DTD Documentation V1.2//EN" 
+       systemId="dtd/document-v12.dtd" />
+  <dtd publicId="-//APACHE//DTD Documentation V1.3//EN" 
+       systemId="dtd/document-v13.dtd" />
+
+  <template name="Document DTD v1.1" location="template/document11.xml" />
+  <template name="Document DTD v1.2" location="template/document12.xml" />
+  <template name="Document DTD v1.3" location="template/document13.xml" />
+  
+  <css name="Formatted v1.x" location="css/document1x.css" />
+ 
+</configuration>

Added: forrest/trunk/scratchpad/XXE-config/document-v20.xxe
==============================================================================
--- (empty file)
+++ forrest/trunk/scratchpad/XXE-config/document-v20.xxe	Tue Aug 24 14:13:31 2004
@@ -0,0 +1,39 @@
+<?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.
+-->
+<configuration name="Forrest Document v2.x"
+  xsi:schemaLocation="http://www.xmlmind.com/xmleditor/schema/configuration
+                      xsd/configuration.xsd"
+  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+  xmlns="http://www.xmlmind.com/xmleditor/schema/configuration"
+  xmlns:cfg="http://www.xmlmind.com/xmleditor/schema/configuration">
+
+  <include location="common_config.xml" />
+  
+  <detect>
+    <or>
+      <dtdPublicId substring="true">DTD Documentation V2.0</dtdPublicId>
+    </or>
+  </detect>
+    
+  <dtd publicId="-//APACHE//DTD Documentation V2.0//EN" 
+       systemId="dtd/document-v20.dtd" />
+
+  <template name="Document DTD v2.0" location="template/document20.xml" />
+  
+  <css name="Formatted v2.x" location="css/document2x.css" />
+
+</configuration>

Added: forrest/trunk/scratchpad/XXE-config/icons/note.png
==============================================================================
Binary file. No diff available.

Added: forrest/trunk/scratchpad/XXE-config/icons/sub.png
==============================================================================
Binary file. No diff available.

Added: forrest/trunk/scratchpad/XXE-config/icons/sup.png
==============================================================================
Binary file. No diff available.

Added: forrest/trunk/scratchpad/XXE-config/template/document11.xml
==============================================================================
--- (empty file)
+++ forrest/trunk/scratchpad/XXE-config/template/document11.xml	Tue Aug 24 14:13:31 2004
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.1//EN"
+"http://forrest.apache.org/dtd/document-v11.dtd">
+<document>
+  <header>
+    <title>Plantilla para Document DTD v11</title>
+
+    <authors>
+      <person email="jano-r@wanadoo.es" name="Alejandro Ramirez" />
+    </authors>
+  </header>
+
+  <body>
+    <p>Esto es una plantilla.</p>
+  </body>
+</document>
\ No newline at end of file

Added: forrest/trunk/scratchpad/XXE-config/template/document12.xml
==============================================================================
--- (empty file)
+++ forrest/trunk/scratchpad/XXE-config/template/document12.xml	Tue Aug 24 14:13:31 2004
@@ -0,0 +1,12 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.2//EN"
+"http://forrest.apache.org/dtd/document-v12.dtd">
+<document>
+  <header>
+    <title>Template for Document DTD v13</title>
+  </header>
+
+  <body>
+    <p>This is a template.</p>
+  </body>
+</document>
\ No newline at end of file

Added: forrest/trunk/scratchpad/XXE-config/template/document13.xml
==============================================================================
--- (empty file)
+++ forrest/trunk/scratchpad/XXE-config/template/document13.xml	Tue Aug 24 14:13:31 2004
@@ -0,0 +1,12 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.3//EN"
+"http://forrest.apache.org/dtd/document-v13.dtd">
+<document>
+  <header>
+    <title>Template for Document DTD v13</title>
+  </header>
+
+  <body>
+    <p>This is a template.</p>
+  </body>
+</document>
\ No newline at end of file

Added: forrest/trunk/scratchpad/XXE-config/template/document20.xml
==============================================================================
--- (empty file)
+++ forrest/trunk/scratchpad/XXE-config/template/document20.xml	Tue Aug 24 14:13:31 2004
@@ -0,0 +1,12 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V2.0//EN"
+"http://forrest.apache.org/dtd/document-v20.dtd">
+<document>
+  <header>
+    <title>Template for Document DTD v20</title>
+  </header>
+
+  <body>
+    <p>This is a template.</p>
+  </body>
+</document>
\ No newline at end of file

Added: forrest/trunk/scratchpad/XXE-config/toolBar.xml
==============================================================================
--- (empty file)
+++ forrest/trunk/scratchpad/XXE-config/toolBar.xml	Tue Aug 24 14:13:31 2004
@@ -0,0 +1,112 @@
+<?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.
+-->
+<configuration
+  xsi:schemaLocation="http://www.xmlmind.com/xmleditor/schema/configuration
+                      ../configuration/xsd/configuration.xsd"
+  xmlns="http://www.xmlmind.com/xmleditor/schema/configuration"
+  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+  xmlns:cfg="http://www.xmlmind.com/xmleditor/schema/configuration">
+
+  <toolBar>
+	<insert />
+    <button toolTip="Convert to strong" 
+            icon="../common/icons2/b.gif">
+      <command name="convert" parameter="[implicitElement] strong" />
+    </button>
+
+    <button toolTip="Convert to emphasis" 
+            icon="../common/icons2/emphasis.gif">
+      <command name="convert" parameter="[implicitElement] em" />
+    </button>
+
+    <button toolTip="Convert to code" 
+            icon="../common/icons2/tt.gif">
+      <command name="convert" parameter="[implicitElement] code" />
+    </button>
+
+    <button toolTip="Convert to link" 
+            icon="../common/icons2/link_menu.gif">
+      <menu>
+<!--
+        <item label="link" command="convertLink" 
+              parameter="[implicitElement] link" />
+-->
+        <item label="link" command="convertLink"/>
+        <item label="fork" command="convertFork"/>
+      </menu>
+    </button>
+
+    <button toolTip="Convert to subscript" icon="icons/sub.png">
+      <command name="convert" parameter="[implicitElement] sub" />
+    </button>
+
+    <button toolTip="Convert to superscript" icon="icons/sup.png">
+      <command name="convert" parameter="[implicitElement] sup" />
+    </button>
+
+    <button toolTip="Convert to plain text" icon="../common/icons2/plain.gif">
+      <command name="convert" parameter="[implicitElement] #text" />
+    </button>
+
+    <separator />
+
+    <button toolTip="Add section" icon="../common/icons2/section.gif">
+        <command name="add" parameter="after[implicitElement] section" />
+    </button>
+
+	<button toolTip="Add paragraph" icon="../common/icons2/para.gif">
+      <command name="add" parameter="after[implicitElement] p" />
+    </button>
+	
+	<button toolTip="Add source" icon="../common/icons2/edit.gif">
+      <command name="add" parameter="after[implicitElement] source" />
+    </button>
+
+    <button toolTip="Add note" icon="icons/note.png">
+		<menu>
+			<item label="Add note" command="add" parameter="after[implicitElement] note" icon="icons/note.png"/>
+			<item label="Add warning" command="add" parameter="after[implicitElement] warning"
/>
+			<item label="Add fixme" command="add" parameter="after[implicitElement] fixme" />
+		</menu>
+    </button>
+	
+	<separator />
+
+	<button toolTip="Add unordered list" 
+            icon="../common/icons2/itemizedlist.gif">
+      <command name="add" parameter="after[implicitElement] ul" />
+    </button>
+
+    <button toolTip="Add ordered list" icon="../common/icons2/orderedlist.gif">
+      <command name="add" parameter="after[implicitElement] ol" />
+    </button>
+
+    <button toolTip="Table" icon="../common/icons2/table.gif">
+		<menu>
+			<item label="With heading row" command="add" parameter="after[implicitElement] #template(table,tableHeaded)"
/>
+			<item label="Without heading row" command="add" parameter="after[implicitElement] #template(table,tableUnheaded)"
/>
+			<item label="Add row" command="add" parameter="after[implicitElement] #template(tr,tableRow)"
/>
+		</menu>
+    </button>
+
+    <button toolTip="Add image" icon="../common/icons2/figure.gif">
+      <command name="add" parameter="after[implicitElement] img" />
+    </button>
+	
+  </toolBar>
+
+</configuration>

Mime
View raw message