You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by jh...@apache.org on 2005/11/04 10:47:51 UTC
svn commit: r330769 [1/2] - in
/cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart: ./ impl/
impl/src/ impl/src/main/ impl/src/main/java/ impl/src/main/java/org/
impl/src/main/java/org/apache/ impl/src/main/java/org/apache/cocoon/
impl/src/mai...
Author: jheymans
Date: Fri Nov 4 01:47:32 2005
New Revision: 330769
URL: http://svn.apache.org/viewcvs?rev=330769&view=rev
Log:
accidentally deleted
Added:
cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/
cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/impl/
cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/impl/pom.xml (with props)
cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/impl/src/
cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/impl/src/main/
cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/impl/src/main/java/
cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/impl/src/main/java/org/
cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/impl/src/main/java/org/apache/
cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/impl/src/main/java/org/apache/cocoon/
cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/impl/src/main/java/org/apache/cocoon/generation/
cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/impl/src/main/java/org/apache/cocoon/generation/asciiart/
cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/impl/src/main/java/org/apache/cocoon/generation/asciiart/AsciiArtPad.java (with props)
cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/impl/src/main/java/org/apache/cocoon/generation/asciiart/AsciiArtSVGGenerator.java (with props)
cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/impl/src/main/resources/
cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/impl/src/main/resources/COB-INF/
cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/impl/src/main/resources/COB-INF/block.xml (with props)
cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/impl/src/main/resources/COB-INF/sitemap-additions/
cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/impl/src/main/resources/COB-INF/sitemap-additions/cocoon-asciiart.xconf (with props)
cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/impl/src/main/resources/COB-INF/wiring.xml (with props)
cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/impl/src/main/resources/COB-INF/xconf/
cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/impl/src/main/resources/COB-INF/xconf/cocoon-asciiart.xconf (with props)
cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/impl/src/main/resources/META-INF/
cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/impl/src/main/resources/META-INF/Manifest.mf (with props)
cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/impl/src/test/
cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/impl/src/test/java/
cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/impl/src/test/resources/
cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/pom.xml (with props)
cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/samples/
cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/samples/pom.xml (with props)
cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/samples/src/
cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/samples/src/main/
cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/samples/src/main/java/
cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/samples/src/main/resources/
cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/samples/src/main/resources/asciiart.xsamples
cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/samples/src/main/resources/data/
cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/samples/src/main/resources/data/ascii-art-1.txt (with props)
cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/samples/src/main/resources/data/ascii-art-10.txt (with props)
cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/samples/src/main/resources/data/ascii-art-2.txt (with props)
cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/samples/src/main/resources/data/ascii-art-3.txt (with props)
cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/samples/src/main/resources/data/ascii-art-4.txt (with props)
cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/samples/src/main/resources/data/ascii-art-5.txt (with props)
cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/samples/src/main/resources/data/ascii-art-6.txt (with props)
cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/samples/src/main/resources/data/ascii-art-7.txt (with props)
cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/samples/src/main/resources/data/ascii-art-8.txt (with props)
cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/samples/src/main/resources/data/ascii-art-9.txt (with props)
cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/samples/src/main/resources/dir2html.xsl (with props)
cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/samples/src/main/resources/sitemap.xmap (with props)
cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/samples/src/test/
cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/samples/src/test/java/
cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/samples/src/test/resources/
Added: cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/impl/pom.xml
URL: http://svn.apache.org/viewcvs/cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/impl/pom.xml?rev=330769&view=auto
==============================================================================
--- cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/impl/pom.xml (added)
+++ cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/impl/pom.xml Fri Nov 4 01:47:32 2005
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 2005 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.
+-->
+<!--+
+ | @version $Id:$
+ |
+ +-->
+<project>
+ <parent>
+ <groupId>apache-cocoon</groupId>
+ <artifactId>cocoon-asciiart-block</artifactId>
+ <version>2.2-SNAPSHOT</version>
+ </parent>
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>apache-cocoon</groupId>
+ <artifactId>cocoon-asciiart-impl</artifactId>
+ <version>2.2-SNAPSHOT</version>
+ <packaging>jar</packaging>
+ <name>Ascii Art Implementation</name>
+</project>
\ No newline at end of file
Propchange: cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/impl/pom.xml
------------------------------------------------------------------------------
svn:eol-style = native
Added: cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/impl/src/main/java/org/apache/cocoon/generation/asciiart/AsciiArtPad.java
URL: http://svn.apache.org/viewcvs/cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/impl/src/main/java/org/apache/cocoon/generation/asciiart/AsciiArtPad.java?rev=330769&view=auto
==============================================================================
--- cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/impl/src/main/java/org/apache/cocoon/generation/asciiart/AsciiArtPad.java (added)
+++ cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/impl/src/main/java/org/apache/cocoon/generation/asciiart/AsciiArtPad.java Fri Nov 4 01:47:32 2005
@@ -0,0 +1,905 @@
+/*
+ * Copyright 1999-2004 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.cocoon.generation.asciiart;
+
+import java.util.ArrayList;
+import java.util.Iterator;
+import java.util.List;
+import org.apache.regexp.RE;
+import org.apache.regexp.RESyntaxException;
+
+/**
+ * A drawing ascii art pad.
+ *
+ * @author huber@apache.org
+ * @since 18. Dezember 2002
+ * @version CVS $Id: AsciiArtPad.java 30941 2004-07-29 19:56:58Z vgritsenko $
+ */
+public class AsciiArtPad {
+
+ private int width;
+ private int height;
+
+ /**
+ * List of AsciiArt elements
+ */
+ private List pad;
+
+ private double xGrid;
+ private double yGrid;
+
+
+ /**
+ *Constructor for the AsciiArtPad object
+ */
+ public AsciiArtPad() {
+ pad = new ArrayList();
+ }
+
+
+ /**
+ *Constructor for the AsciiArtPad object
+ *
+ *@param w Description of the Parameter
+ *@param h Description of the Parameter
+ */
+ public AsciiArtPad(int w, int h) {
+ width = w;
+ height = h;
+
+ pad = new ArrayList();
+ }
+
+
+ /**
+ * Sets the width attribute of the AsciiArtPad object
+ *
+ *@param width The new width value
+ */
+ public void setWidth(int width) {
+ this.width = width;
+ }
+
+
+ /**
+ * Sets the height attribute of the AsciiArtPad object
+ *
+ *@param height The new height value
+ */
+ public void setHeight(int height) {
+ this.height = height;
+ }
+
+
+ /**
+ * Sets the xGrid attribute of the AsciiArtPad object
+ *
+ *@param xGrid The new xGrid value
+ */
+ public void setXGrid(double xGrid) {
+ this.xGrid = xGrid;
+ }
+
+
+ /**
+ * Sets the yGrid attribute of the AsciiArtPad object
+ *
+ *@param yGrid The new yGrid value
+ */
+ public void setYGrid(double yGrid) {
+ this.yGrid = yGrid;
+ }
+
+
+ /**
+ * Gets the width attribute of the AsciiArtPad object
+ *
+ *@return The width value
+ */
+ public int getWidth() {
+ return width;
+ }
+
+
+ /**
+ * Gets the height attribute of the AsciiArtPad object
+ *
+ *@return The height value
+ */
+ public int getHeight() {
+ return height;
+ }
+
+
+ /**
+ * Gets the xGrid attribute of the AsciiArtPad object
+ *
+ *@return The xGrid value
+ */
+ public double getXGrid() {
+ return xGrid;
+ }
+
+
+ /**
+ * Gets the yGrid attribute of the AsciiArtPad object
+ *
+ *@return The yGrid value
+ */
+ public double getYGrid() {
+ return yGrid;
+ }
+
+
+ /**
+ * Add a AsciiArtElement
+ *
+ *@param o the AsciiArtElement object
+ */
+ public void add(Object o) {
+ pad.add(o);
+ }
+
+
+ /**
+ * Iterator of AsciiArtPad
+ *
+ *@return Iterator iterating over all AsciiArtElements
+ */
+ public Iterator iterator() {
+ return pad.iterator();
+ }
+
+
+ /**
+ * An AsciiArtElement describing a line.
+ *
+ */
+ public static class AsciiArtLine implements AsciiArtElement {
+ double xStart;
+ double yStart;
+ double xEnd;
+ double yEnd;
+
+
+ /**
+ *Constructor for the AsciiArtLine object
+ *
+ *@param start Description of the Parameter
+ *@param end Description of the Parameter
+ */
+ public AsciiArtLine(AsciiArtCoordinate start, AsciiArtCoordinate end) {
+ xStart = start.getXDouble();
+ yStart = start.getYDouble();
+ xEnd = end.getXDouble();
+ yEnd = end.getYDouble();
+ }
+
+
+ /**
+ * Sets the xStart attribute of the AsciiArtLine object
+ *
+ *@param xStart The new xStart value
+ */
+ public void setXStart(double xStart) {
+ this.xStart = xStart;
+ }
+
+
+ /**
+ * Sets the yStart attribute of the AsciiArtLine object
+ *
+ *@param yStart The new yStart value
+ */
+ public void setYStart(double yStart) {
+ this.yStart = yStart;
+ }
+
+
+ /**
+ * Sets the xEnd attribute of the AsciiArtLine object
+ *
+ *@param xEnd The new xEnd value
+ */
+ public void setXEnd(double xEnd) {
+ this.xEnd = xEnd;
+ }
+
+
+ /**
+ * Sets the yEnd attribute of the AsciiArtLine object
+ *
+ *@param yEnd The new yEnd value
+ */
+ public void setYEnd(double yEnd) {
+ this.yEnd = yEnd;
+ }
+
+
+ /**
+ * Gets the xStart attribute of the AsciiArtLine object
+ *
+ *@return The xStart value
+ */
+ public double getXStart() {
+ return xStart;
+ }
+
+
+ /**
+ * Gets the yStart attribute of the AsciiArtLine object
+ *
+ *@return The yStart value
+ */
+ public double getYStart() {
+ return yStart;
+ }
+
+
+ /**
+ * Gets the xEnd attribute of the AsciiArtLine object
+ *
+ *@return The xEnd value
+ */
+ public double getXEnd() {
+ return xEnd;
+ }
+
+
+ /**
+ * Gets the yEnd attribute of the AsciiArtLine object
+ *
+ *@return The yEnd value
+ */
+ public double getYEnd() {
+ return yEnd;
+ }
+
+
+ /**
+ * Descriptive string
+ *
+ *@return String
+ */
+ public String toString() {
+ String s =
+ "[xStart:" + String.valueOf(xStart) + "]" +
+ "[yStart:" + String.valueOf(yStart) + "]" +
+ "[xEnd:" + String.valueOf(xEnd) + "]" +
+ "[yEnd:" + String.valueOf(yEnd) + "]";
+ return s;
+ }
+ }
+
+
+ /**
+ * An AsciiArtElement describing a rectangle.
+ *
+ */
+ public static class AsciiArtRect implements AsciiArtElement {
+ double xUpperLeft;
+ double yUpperLeft;
+ double xLowerRight;
+ double yLowerRight;
+
+
+ /**
+ *Constructor for the AsciiArtRect object
+ *
+ *@param upperLeft Description of the Parameter
+ *@param lowerRight Description of the Parameter
+ */
+ public AsciiArtRect(AsciiArtCoordinate upperLeft, AsciiArtCoordinate lowerRight) {
+ xUpperLeft = upperLeft.getXDouble();
+ yUpperLeft = upperLeft.getYDouble();
+ xLowerRight = lowerRight.getXDouble();
+ yLowerRight = lowerRight.getYDouble();
+ }
+
+
+ /**
+ * Sets the xUpperLeft attribute of the AsciiArtRect object
+ *
+ *@param xUpperLeft The new xUpperLeft value
+ */
+ public void setXUpperLeft(double xUpperLeft) {
+ this.xUpperLeft = xUpperLeft;
+ }
+
+
+ /**
+ * Sets the yUpperLeft attribute of the AsciiArtRect object
+ *
+ *@param yUpperLeft The new yUpperLeft value
+ */
+ public void setYUpperLeft(double yUpperLeft) {
+ this.yUpperLeft = yUpperLeft;
+ }
+
+
+ /**
+ * Sets the xLowerRight attribute of the AsciiArtRect object
+ *
+ *@param xLowerRight The new xLowerRight value
+ */
+ public void setXLowerRight(double xLowerRight) {
+ this.xLowerRight = xLowerRight;
+ }
+
+
+ /**
+ * Sets the yLowerRight attribute of the AsciiArtRect object
+ *
+ *@param yLowerRight The new yLowerRight value
+ */
+ public void setYLowerRight(double yLowerRight) {
+ this.yLowerRight = yLowerRight;
+ }
+
+
+ /**
+ * Gets the xUpperLeft attribute of the AsciiArtRect object
+ *
+ *@return The xUpperLeft value
+ */
+ public double getXUpperLeft() {
+ return xUpperLeft;
+ }
+
+
+ /**
+ * Gets the yUpperLeft attribute of the AsciiArtRect object
+ *
+ *@return The yUpperLeft value
+ */
+ public double getYUpperLeft() {
+ return yUpperLeft;
+ }
+
+
+ /**
+ * Gets the xLowerRight attribute of the AsciiArtRect object
+ *
+ *@return The xLowerRight value
+ */
+ public double getXLowerRight() {
+ return xLowerRight;
+ }
+
+
+ /**
+ * Gets the yLowerRight attribute of the AsciiArtRect object
+ *
+ *@return The yLowerRight value
+ */
+ public double getYLowerRight() {
+ return yLowerRight;
+ }
+
+
+ /**
+ * Gets the width attribute of the AsciiArtRect object
+ *
+ *@return The width value
+ */
+ public double getWidth() {
+ return Math.abs(xUpperLeft - xLowerRight);
+ }
+
+
+ /**
+ * Gets the height attribute of the AsciiArtRect object
+ *
+ *@return The height value
+ */
+ public double getHeight() {
+ return Math.abs(yUpperLeft - yLowerRight);
+ }
+
+
+ /**
+ * Descriptive string
+ *
+ *@return String
+ */
+ public String toString() {
+ String s =
+ "[xUpperLeft:" + String.valueOf(xUpperLeft) + "]" +
+ "[yUpperLeft:" + String.valueOf(yUpperLeft) + "]" +
+ "[xLowerRight:" + String.valueOf(xLowerRight) + "]" +
+ "[yLowerRight:" + String.valueOf(yLowerRight) + "]";
+ return s;
+ }
+ }
+
+
+ /**
+ * An AsciiArtElement describing a string of text.
+ *
+ */
+ public static class AsciiArtString implements AsciiArtElement {
+ private double x;
+ private double y;
+ private String s;
+
+
+ /**
+ *Constructor for the AsciiArtString object
+ *
+ *@param s Description of the Parameter
+ *@param aac Description of the Parameter
+ */
+ public AsciiArtString(AsciiArtCoordinate aac, String s) {
+ this.x = aac.getXDouble();
+ this.y = aac.getYDouble();
+ this.s = s;
+ }
+
+
+ /**
+ * Sets the x attribute of the AsciiArtString object
+ *
+ *@param x The new x value
+ */
+ public void setX(double x) {
+ this.x = x;
+ }
+
+
+ /**
+ * Sets the y attribute of the AsciiArtString object
+ *
+ *@param y The new y value
+ */
+ public void setY(double y) {
+ this.y = y;
+ }
+
+
+ /**
+ * Sets the s attribute of the AsciiArtString object
+ *
+ *@param s The new s value
+ */
+ public void setS(String s) {
+ this.s = s;
+ }
+
+
+ /**
+ * Gets the x attribute of the AsciiArtString object
+ *
+ *@return The x value
+ */
+ public double getX() {
+ return x;
+ }
+
+
+ /**
+ * Gets the y attribute of the AsciiArtString object
+ *
+ *@return The y value
+ */
+ public double getY() {
+ return y;
+ }
+
+
+ /**
+ * Gets the s attribute of the AsciiArtString object
+ *
+ *@return The s value
+ */
+ public String getS() {
+ return s;
+ }
+
+
+ /**
+ * Descriptive string
+ *
+ *@return String
+ */
+ public String toString() {
+ String s =
+ "[x:" + String.valueOf(x) + "]" +
+ "[y:" + String.valueOf(y) + "]" +
+ "[s:" + String.valueOf(this.s) + "]";
+ return s;
+ }
+ }
+
+
+ /**
+ * Helper class describing a coordinate of AsciiArtPad elements.
+ *
+ */
+ public static class AsciiArtCoordinate {
+ int x, y;
+ AsciiArtPad asciiArtPad;
+ double tx, ty;
+
+
+ /**
+ *Constructor for the AsciiArtCoordinate object
+ */
+ public AsciiArtCoordinate() { }
+
+
+ /**
+ *Constructor for the AsciiArtCoordinate object
+ *
+ *@param asciiArtPad Description of the Parameter
+ */
+ public AsciiArtCoordinate(AsciiArtPad asciiArtPad) {
+ setAsciiArtPad(asciiArtPad);
+ }
+
+
+ /**
+ *Constructor for the AsciiArtCoordinate object
+ *
+ *@param x Description of the Parameter
+ *@param y Description of the Parameter
+ */
+ public AsciiArtCoordinate(int x, int y) {
+ setXY(x, y);
+ }
+
+
+ /**
+ * Sets the asciiArtPad attribute of the AsciiArtCoordinate object
+ *
+ *@param asciiArtPad The new asciiArtPad value
+ */
+ public void setAsciiArtPad(AsciiArtPad asciiArtPad) {
+ this.asciiArtPad = asciiArtPad;
+ }
+
+
+ /**
+ * Sets the xY attribute of the AsciiArtCoordinate object
+ *
+ *@param tx The new transXY value
+ *@param ty The new transXY value
+ */
+ public void setTransXY(double tx, double ty) {
+ this.tx = tx;
+ this.ty = ty;
+ }
+
+
+ /**
+ * Sets the xY attribute of the AsciiArtCoordinate object
+ *
+ *@param x The new xY value
+ *@param y The new xY value
+ */
+ public void setXY(int x, int y) {
+ this.x = x;
+ this.y = y;
+ }
+
+
+ /**
+ * Gets the xDouble attribute of the AsciiArtCoordinate object
+ *
+ *@return The xDouble value
+ */
+ public double getXDouble() {
+ return x * asciiArtPad.getXGrid() + tx;
+ }
+
+
+ /**
+ * Gets the yDouble attribute of the AsciiArtCoordinate object
+ *
+ *@return The yDouble value
+ */
+ public double getYDouble() {
+ return y * asciiArtPad.getYGrid() + ty;
+ }
+ }
+
+
+ /**
+ * Helper class containing the ascii text data,
+ * acting as input of an AsciiArtPad
+ *
+ */
+ public static class AsciiArt {
+ private String[] s;
+ private int w;
+ private int h;
+
+
+ /**
+ *Constructor for the AsciiArt object
+ *
+ *@param s Description of the Parameter
+ */
+ public AsciiArt(String[] s) {
+ this.s = s;
+ int length = s.length;
+ h = length;
+ w = 0;
+ for (int i = 0; i < length; i++) {
+ String line = s[i];
+ if (line != null && line.length() > w) {
+ w = line.length();
+ }
+ }
+ }
+
+
+ /**
+ * Gets the w attribute of the AsciiArt object
+ *
+ *@return The w value
+ */
+ public int getW() {
+ return w;
+ }
+
+
+ /**
+ * Gets the h attribute of the AsciiArt object
+ *
+ *@return The h value
+ */
+ public int getH() {
+ return h;
+ }
+
+
+ /**
+ * Gets the row attribute of the AsciiArt object
+ *
+ *@param r Description of the Parameter
+ *@return The row value
+ */
+ public String getRow(int r) {
+ String row = this.s[r];
+ return row;
+ }
+
+
+ /**
+ * Gets the column attribute of the AsciiArt object
+ *
+ *@param c Description of the Parameter
+ *@return The column value
+ */
+ public String getColumn(int c) {
+ StringBuffer column = new StringBuffer();
+
+ final String EMPTY_CHAR = " ";
+ for (int i = 0; i < s.length; i++) {
+ if (s[i] != null && c < s[i].length()) {
+ column.append(s[i].charAt(c));
+ } else {
+ column.append(EMPTY_CHAR);
+ }
+ }
+ return column.toString();
+ }
+ }
+
+
+ /**
+ * Builder of AsciiArtElements from an AsciiArt input.
+ *
+ */
+ public static class AsciiArtPadBuilder {
+ private AsciiArtPad asciiArtPad;
+ private AsciiArt aa;
+
+ final String EDGE_GROUP = "[+\\\\/]";
+ final String HLINE_GROUP = "[\\-~=+]";
+ final String VLINE_GROUP = "[|+]";
+
+ final String STRING_SUFFIX_GROUP = "[^\\-|~=\\/+ \\\\]";
+ //final String STRING_PREFIX_GROUP = "[a-zA-Z0-9_\\*;\\.#]";
+ final String STRING_PREFIX_GROUP = STRING_SUFFIX_GROUP;
+
+
+ /**
+ *Constructor for the AsciiArtPadBuilder object
+ *
+ *@param asciiArtPad Description of the Parameter
+ */
+ public AsciiArtPadBuilder(AsciiArtPad asciiArtPad) {
+ this.asciiArtPad = asciiArtPad;
+ }
+
+
+ /**
+ * Build AsciiArtElement from an asciiArt
+ *
+ *@param asciiArt Description of the Parameter
+ */
+ public void build(String[] asciiArt) {
+ aa = new AsciiArt(asciiArt);
+ asciiArtPad.setWidth(aa.getW());
+ asciiArtPad.setHeight(aa.getH());
+
+ // find asciiArt patterns
+ findRectPattern();
+ findCornerPattern();
+ findLinePattern();
+ findStringPattern();
+ }
+
+
+ /**
+ * Find rectangles in the AsciiArt.
+ * not implemented yet.
+ */
+ protected void findRectPattern() {
+ }
+
+
+ /**
+ * Find corners in the AsciiArt
+ */
+ protected void findCornerPattern() {
+ AsciiArtCoordinate aacStart = new AsciiArtCoordinate(this.asciiArtPad);
+ aacStart.setTransXY(0, asciiArtPad.getYGrid() / 2);
+ AsciiArtCoordinate aacEnd = new AsciiArtCoordinate(this.asciiArtPad);
+ aacEnd.setTransXY(0, asciiArtPad.getYGrid() / 2);
+
+ // hor line
+ try {
+ final RE reCorner = new RE(EDGE_GROUP);
+ for (int r = 0; r < aa.getH(); r++) {
+ String row = aa.getRow(r);
+ int startIndex = 0;
+ while (reCorner.match(row, startIndex)) {
+ String s = reCorner.getParen(0);
+ int mStart = reCorner.getParenStart(0);
+ int mEnd = reCorner.getParenEnd(0);
+
+ if (s.equals("\\")) {
+ aacStart.setXY(mStart, r - 1);
+ aacEnd.setXY(mStart + 1, r);
+ } else if (s.equals("/")) {
+ aacStart.setXY(mStart + 1, r - 1);
+ aacEnd.setXY(mStart, r);
+ } else {
+ aacStart.setXY(mStart, r);
+ aacEnd.setXY(mStart, r);
+ }
+ AsciiArtLine aal = new AsciiArtLine(aacStart, aacEnd);
+ this.asciiArtPad.add(aal);
+
+ if (startIndex >= mEnd) {
+ break;
+ }
+ startIndex = mEnd;
+ }
+ }
+ } catch (RESyntaxException rese) {
+ rese.printStackTrace();
+ }
+
+ }
+
+
+ /**
+ * Find lines in the AsciiArt
+ */
+ protected void findLinePattern() {
+ AsciiArtCoordinate aacStart = new AsciiArtCoordinate(this.asciiArtPad);
+ aacStart.setTransXY(0, asciiArtPad.getYGrid() / 2);
+ AsciiArtCoordinate aacEnd = new AsciiArtCoordinate(this.asciiArtPad);
+ aacEnd.setTransXY(0, asciiArtPad.getYGrid() / 2);
+
+ // hor line
+ try {
+ final RE reHorLine = new RE(HLINE_GROUP + "+");
+ for (int r = 0; r < aa.getH(); r++) {
+ String row = aa.getRow(r);
+ int startIndex = 0;
+ while (reHorLine.match(row, startIndex)) {
+ int mStart = reHorLine.getParenStart(0);
+ int mEnd = reHorLine.getParenEnd(0);
+
+ aacStart.setXY(mStart, r);
+ aacEnd.setXY(mEnd - 1, r);
+ AsciiArtLine aal = new AsciiArtLine(aacStart, aacEnd);
+ this.asciiArtPad.add(aal);
+
+ if (startIndex >= mEnd) {
+ break;
+ }
+ startIndex = mEnd;
+ }
+ }
+ } catch (RESyntaxException rese) {
+ rese.printStackTrace();
+ }
+
+ // ver line
+ try {
+ RE reVerLine = new RE(VLINE_GROUP + "+");
+ for (int c = 0; c < aa.getW(); c++) {
+ String col = aa.getColumn(c);
+ int startIndex = 0;
+ while (reVerLine.match(col, startIndex)) {
+ int mStart = reVerLine.getParenStart(0);
+ int mEnd = reVerLine.getParenEnd(0);
+
+ aacStart.setXY(c, mStart);
+ aacEnd.setXY(c, mEnd - 1);
+ AsciiArtLine aal = new AsciiArtLine(aacStart, aacEnd);
+ this.asciiArtPad.add(aal);
+
+ if (startIndex >= mEnd) {
+ break;
+ }
+ startIndex = mEnd;
+ }
+ }
+ } catch (RESyntaxException rese) {
+ rese.printStackTrace();
+ }
+ }
+
+
+ /**
+ * Find string text in the AsciiArt.
+ */
+ protected void findStringPattern() {
+ AsciiArtCoordinate aacStart = new AsciiArtCoordinate(this.asciiArtPad);
+ aacStart.setTransXY(0, 3 * asciiArtPad.getYGrid() / 4);
+ // string
+ try {
+ final RE reString = new RE(STRING_PREFIX_GROUP + STRING_SUFFIX_GROUP + "*");
+ for (int r = 0; r < aa.getH(); r++) {
+ String row = aa.getRow(r);
+ int startIndex = 0;
+ while (reString.match(row, startIndex)) {
+ String s = reString.getParen(0);
+ int mStart = reString.getParenStart(0);
+ int mEnd = reString.getParenEnd(0);
+
+ aacStart.setXY(mStart, r);
+ AsciiArtString aas = new AsciiArtString(aacStart, s);
+ this.asciiArtPad.add(aas);
+
+ if (startIndex >= mEnd) {
+ break;
+ }
+ startIndex = mEnd;
+ }
+ }
+ } catch (RESyntaxException rese) {
+ rese.printStackTrace();
+ }
+ }
+
+ }
+
+
+ /**
+ * Marker interface of objects addable to the AsciiArtPad
+ *
+ */
+ public static interface AsciiArtElement {
+ }
+}
+
Propchange: cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/impl/src/main/java/org/apache/cocoon/generation/asciiart/AsciiArtPad.java
------------------------------------------------------------------------------
svn:eol-style = native
Added: cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/impl/src/main/java/org/apache/cocoon/generation/asciiart/AsciiArtSVGGenerator.java
URL: http://svn.apache.org/viewcvs/cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/impl/src/main/java/org/apache/cocoon/generation/asciiart/AsciiArtSVGGenerator.java?rev=330769&view=auto
==============================================================================
--- cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/impl/src/main/java/org/apache/cocoon/generation/asciiart/AsciiArtSVGGenerator.java (added)
+++ cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/impl/src/main/java/org/apache/cocoon/generation/asciiart/AsciiArtSVGGenerator.java Fri Nov 4 01:47:32 2005
@@ -0,0 +1,358 @@
+/*
+ * Copyright 1999-2004 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.cocoon.generation.asciiart;
+
+import java.io.BufferedReader;
+import java.io.IOException;
+import java.io.InputStream;
+import java.io.InputStreamReader;
+import java.text.DecimalFormat;
+import java.text.DecimalFormatSymbols;
+import java.util.ArrayList;
+import java.util.Iterator;
+import java.util.List;
+import java.util.Locale;
+import java.util.Map;
+import org.apache.avalon.framework.parameters.Parameters;
+import org.apache.cocoon.CascadingIOException;
+import org.apache.cocoon.ProcessingException;
+import org.apache.cocoon.caching.CacheableProcessingComponent;
+import org.apache.cocoon.components.source.SourceUtil;
+import org.apache.cocoon.environment.SourceResolver;
+import org.apache.cocoon.generation.AbstractGenerator;
+import org.apache.excalibur.source.Source;
+import org.apache.excalibur.source.SourceException;
+import org.apache.excalibur.source.SourceValidity;
+import org.xml.sax.Attributes;
+import org.xml.sax.SAXException;
+import org.xml.sax.helpers.AttributesImpl;
+
+/**
+ * A simple AsciiArt text SVG XML generator.
+ *
+ * @author <a href="mailto:huber@apache.org">Bernhard Huber</a>
+ * @version CVS $Id: AsciiArtSVGGenerator.java 30941 2004-07-29 19:56:58Z vgritsenko $
+ * @since Cocoon 2.1, 22 December 2002
+ */
+public class AsciiArtSVGGenerator
+ extends AbstractGenerator
+ implements CacheableProcessingComponent {
+
+ /**
+ * The input source
+ */
+ protected Source inputSource;
+
+ private AttributesImpl attributes = null;
+ private AsciiArtPad asciiArtPad;
+
+ //private String PREFIX = "svg";
+ private String PREFIX = "";
+ private String URI = "http://www.w3.org/2000/svg";
+
+ /** default SVG line attributes
+ */
+ private final String DEFAULT_LINE_ATTRIBUTE = "stroke:black; stroke-width:1.5";
+
+ /** default SVG text attribute
+ */
+ private final String DEFAULT_TEXT_ATTRIBUTE = "font-size: 12; font-family:Times Roman; fill:blue;";
+
+ private String lineAttribute = DEFAULT_LINE_ATTRIBUTE;
+ private String textAttribute = DEFAULT_TEXT_ATTRIBUTE;
+
+
+ final int DEFAULT_X_GRID = 10;
+ final int DEFAULT_Y_GRID = 12;
+ private int xGrid = DEFAULT_X_GRID;
+ private int yGrid = DEFAULT_Y_GRID;
+
+ /**
+ * Setup the AsciiArtSVG generator.
+ * Try to get the last modification date of the source for caching.
+ *
+ *@param resolver Cocoon's resolver
+ *@param objectModel Cocoon's objectModel
+ *@param src generator's src attribute
+ *@param par sitemap parameters
+ *@exception ProcessingException setup fails
+ *@exception SAXException sax generation fails
+ *@exception IOException general io fails
+ */
+ public void setup(SourceResolver resolver, Map objectModel, String src, Parameters par)
+ throws ProcessingException, SAXException, IOException {
+ super.setup(resolver, objectModel, src, par);
+
+ try {
+ this.inputSource = resolver.resolveURI(src);
+ } catch (SourceException se) {
+ throw SourceUtil.handle("Error during resolving of '" + src + "'.", se);
+ }
+
+ // Setup lineAttribute
+ lineAttribute = par.getParameter("line-attribute", DEFAULT_LINE_ATTRIBUTE);
+ // Setup textAttribute
+ textAttribute = par.getParameter("text-attribute", DEFAULT_TEXT_ATTRIBUTE);
+
+ xGrid = par.getParameterAsInteger("x-grid", DEFAULT_X_GRID);
+ yGrid = par.getParameterAsInteger("y-grid", DEFAULT_Y_GRID);
+ }
+
+
+ /**
+ * Recycle this component.
+ * All instance variables are set to <code>null</code>.
+ */
+ public void recycle() {
+ if (null != this.inputSource) {
+ super.resolver.release(this.inputSource);
+ this.inputSource = null;
+ }
+ super.recycle();
+ }
+
+
+ /**
+ * Generate the unique key.
+ * This key must be unique inside the space of this component.
+ *
+ * @return The generated key hashes the src
+ */
+ public java.io.Serializable getKey() {
+ return this.inputSource.getURI();
+ }
+
+
+ /**
+ * Generate the validity object.
+ *
+ * @return The generated validity object or <code>null</code> if the
+ * component is currently not cacheable.
+ */
+ public SourceValidity getValidity() {
+ return this.inputSource.getValidity();
+ }
+
+
+ /**
+ * Generate XML data.
+ */
+ public void generate()
+ throws IOException, SAXException, ProcessingException {
+ try {
+ if (getLogger().isDebugEnabled()) {
+ getLogger().debug("Source " + super.source +
+ " resolved to " + this.inputSource.getURI());
+ }
+
+ // read the ascii art
+ String[] asciiArt = readAsciiArt();
+ // setup ascii art pad
+ asciiArtPad = new AsciiArtPad();
+ asciiArtPad.setXGrid(this.xGrid);
+ asciiArtPad.setYGrid(this.yGrid);
+
+ // build the ascii art
+ AsciiArtPad.AsciiArtPadBuilder builder = new AsciiArtPad.AsciiArtPadBuilder(asciiArtPad);
+ builder.build(asciiArt);
+ attributes = new AttributesImpl();
+
+ // start the document
+ this.contentHandler.startDocument();
+ this.contentHandler.startPrefixMapping(PREFIX, URI);
+
+ // generate root element
+ attributes.clear();
+ // set svg attributes
+ addAttribute("width", String.valueOf(asciiArtPad.getXGrid() * asciiArtPad.getWidth()));
+ addAttribute("height", String.valueOf(asciiArtPad.getYGrid() * asciiArtPad.getHeight()));
+ startElement("svg", attributes);
+
+ // generate svg g, and path elements
+ attributes.clear();
+ // set line attributes
+ addAttribute("style", this.lineAttribute);
+ startElement("g", attributes);
+ generateSVGLineElements();
+ endElement("g");
+
+ // generate svg g, and text elements
+ attributes.clear();
+ // set text attributes
+ addAttribute("style", this.textAttribute);
+ startElement("g", attributes);
+ generateSVGTextElements();
+ endElement("g");
+
+ // end root element, document
+ endElement("svg");
+ this.contentHandler.endPrefixMapping(PREFIX);
+ this.contentHandler.endDocument();
+ } catch (SAXException e) {
+ SourceUtil.handleSAXException(this.inputSource.getURI(), e);
+ }
+ }
+
+
+ /**
+ * Read the ascii art from the input source.
+ *
+ *@return String[] describing the ascii art
+ *@exception IOException reading the ascii art fails
+ */
+ protected String[] readAsciiArt() throws IOException {
+ InputStream is = null;
+ BufferedReader br = null;
+ try {
+ is = this.inputSource.getInputStream();
+ br = new BufferedReader(new InputStreamReader(is));
+ String line;
+ List lines = new ArrayList();
+ while ((line = br.readLine()) != null) {
+ lines.add(line);
+ }
+ String[] asciiArt = (String[]) lines.toArray(new String[0]);
+ return asciiArt;
+ } catch (SourceException se) {
+ throw new CascadingIOException("Cannot get input stream", se);
+ } finally {
+ if (is != null) {
+ is.close();
+ }
+ if (br != null) {
+ br.close();
+ }
+ }
+ }
+
+
+ /**
+ * Generate SVG path elements.
+ * The SVG path elements are generated from ascii art lines.
+ *
+ *@throws SAXException iff SAX generation fails.
+ */
+ protected void generateSVGLineElements() throws SAXException {
+ //NumberFormat nf = NumberFormat.getInstance(Locale.US);
+ //nf.setGroupingIsUsed( false );
+ DecimalFormatSymbols dfs = new DecimalFormatSymbols(Locale.US);
+ DecimalFormat df = new DecimalFormat("##0.0##", dfs);
+ Iterator i = asciiArtPad.iterator();
+ while (i.hasNext()) {
+ Object o = i.next();
+ if (o instanceof AsciiArtPad.AsciiArtLine) {
+ AsciiArtPad.AsciiArtLine aal = (AsciiArtPad.AsciiArtLine) o;
+ double mx = aal.getXStart();
+ double my = aal.getYStart();
+ double lx = aal.getXEnd();
+ double ly = aal.getYEnd();
+
+ attributes.clear();
+ addAttribute("d",
+ "M " + df.format(mx) + " " + df.format(my) + " " +
+ "L " + df.format(lx) + " " + df.format(ly));
+ startElement("path", attributes);
+ endElement("path");
+ }
+ }
+ }
+
+
+ /**
+ * Generate SVG text elements.
+ * The SVG text elements are generated from ascii art string.
+ *
+ *@throws SAXException iff SAX generation fails.
+ */
+ protected void generateSVGTextElements() throws SAXException {
+ //NumberFormat nf = NumberFormat.getInstance(Locale.US);
+ DecimalFormatSymbols dfs = new DecimalFormatSymbols(Locale.US);
+ DecimalFormat df = new DecimalFormat("##0.0##", dfs);
+ Iterator i = asciiArtPad.iterator();
+ while (i.hasNext()) {
+ Object o = i.next();
+ if (o instanceof AsciiArtPad.AsciiArtString) {
+ AsciiArtPad.AsciiArtString aas = (AsciiArtPad.AsciiArtString) o;
+ double x = aas.getX();
+ double y = aas.getY();
+ attributes.clear();
+ addAttribute("x", df.format(x));
+ addAttribute("y", df.format(y));
+ startElement("text", attributes);
+ characters(aas.getS());
+ endElement("text");
+ }
+ }
+ }
+
+
+ /**
+ * SAX startElement helper
+ *
+ *@param nodeName name of the element's name
+ *@param attributes of the node
+ *@throws SAXException iff SAX generation fails
+ */
+ protected void startElement(String nodeName, Attributes attributes) throws SAXException {
+ if (PREFIX.length() > 0) {
+ this.contentHandler.startElement(URI, nodeName, PREFIX + ":" + nodeName, attributes);
+ } else {
+ this.contentHandler.startElement(URI, nodeName, nodeName, attributes);
+ }
+ }
+
+
+ /**
+ * SAX character helper
+ *
+ *@param s Description of the Parameter
+ *@throws SAXException iff SAX generation fails
+ */
+ protected void characters(String s) throws SAXException {
+ if (s != null) {
+ char[] stringCharacters = s.toCharArray();
+ this.contentHandler.characters(stringCharacters, 0, stringCharacters.length);
+ }
+ }
+
+
+ /**
+ * SAX endElement helper
+ *
+ *@param nodeName name of the element's name
+ *@throws SAXException iff SAX generation fails
+ */
+ protected void endElement(String nodeName) throws SAXException {
+ if (PREFIX.length() > 0) {
+ this.contentHandler.endElement(URI, nodeName, PREFIX + ":" + nodeName);
+ } else {
+ this.contentHandler.endElement(URI, nodeName, nodeName);
+ }
+ }
+
+
+ /**
+ * Adds a feature to the Attribute attribute of the MailXMLSerializer
+ * object
+ *
+ *@param nodeName name of the attriute's name
+ *@param nodeValue value of the attribute
+ */
+ protected void addAttribute(String nodeName, String nodeValue) {
+ attributes.addAttribute("", nodeName, nodeName, "CDATA", nodeValue);
+ }
+}
+
Propchange: cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/impl/src/main/java/org/apache/cocoon/generation/asciiart/AsciiArtSVGGenerator.java
------------------------------------------------------------------------------
svn:eol-style = native
Added: cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/impl/src/main/resources/COB-INF/block.xml
URL: http://svn.apache.org/viewcvs/cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/impl/src/main/resources/COB-INF/block.xml?rev=330769&view=auto
==============================================================================
--- cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/impl/src/main/resources/COB-INF/block.xml (added)
+++ cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/impl/src/main/resources/COB-INF/block.xml Fri Nov 4 01:47:32 2005
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 1999-2004 The Apache Software Foundation
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<block xmlns="http://apache.org/cocoon/blocks/cob/1.0" id="http://apache.org/cocoon/asciiart/1.0">
+
+ <name short="asciiart" version="1.0">Cocoon Ascii Art</name>
+ <author href="http://cocoon.apache.org">Cocoon Community</author>
+ <license href="http://www.apache.org/LICENSE-2.0/">Apache Software License 2.0</license>
+
+</block>
\ No newline at end of file
Propchange: cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/impl/src/main/resources/COB-INF/block.xml
------------------------------------------------------------------------------
svn:eol-style = native
Added: cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/impl/src/main/resources/COB-INF/sitemap-additions/cocoon-asciiart.xconf
URL: http://svn.apache.org/viewcvs/cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/impl/src/main/resources/COB-INF/sitemap-additions/cocoon-asciiart.xconf?rev=330769&view=auto
==============================================================================
--- cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/impl/src/main/resources/COB-INF/sitemap-additions/cocoon-asciiart.xconf (added)
+++ cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/impl/src/main/resources/COB-INF/sitemap-additions/cocoon-asciiart.xconf Fri Nov 4 01:47:32 2005
@@ -0,0 +1,26 @@
+<?xml version="1.0"?>
+<!--
+ Copyright 1999-2004 The Apache Software Foundation
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<!--+
+ |
+ | $Id: cocoon-asciiart.xconf 265571 2005-08-31 20:13:55Z cziegeler $
+ +-->
+<map:components xmlns:map="http://apache.org/cocoon/sitemap/1.0">
+ <map:generators>
+ <map:generator name="asciiart-svg" logger="sitemap.generator.asciiart-svg"
+ src="org.apache.cocoon.generation.asciiart.AsciiArtSVGGenerator"/>
+ </map:generators>
+</map:components>
Propchange: cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/impl/src/main/resources/COB-INF/sitemap-additions/cocoon-asciiart.xconf
------------------------------------------------------------------------------
svn:eol-style = native
Added: cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/impl/src/main/resources/COB-INF/wiring.xml
URL: http://svn.apache.org/viewcvs/cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/impl/src/main/resources/COB-INF/wiring.xml?rev=330769&view=auto
==============================================================================
--- cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/impl/src/main/resources/COB-INF/wiring.xml (added)
+++ cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/impl/src/main/resources/COB-INF/wiring.xml Fri Nov 4 01:47:32 2005
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 1999-2004 The Apache Software Foundation
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<wiring xmlns="http://apache.org/cocoon/blocks/wiring/1.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://apache.org/cocoon/blocks/wiring/1.0 wiring-schema-1.0.xsd">
+
+</wiring>
\ No newline at end of file
Propchange: cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/impl/src/main/resources/COB-INF/wiring.xml
------------------------------------------------------------------------------
svn:eol-style = native
Added: cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/impl/src/main/resources/COB-INF/xconf/cocoon-asciiart.xconf
URL: http://svn.apache.org/viewcvs/cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/impl/src/main/resources/COB-INF/xconf/cocoon-asciiart.xconf?rev=330769&view=auto
==============================================================================
--- cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/impl/src/main/resources/COB-INF/xconf/cocoon-asciiart.xconf (added)
+++ cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/impl/src/main/resources/COB-INF/xconf/cocoon-asciiart.xconf Fri Nov 4 01:47:32 2005
@@ -0,0 +1,24 @@
+<?xml version="1.0"?>
+<!--
+ Copyright 1999-2005 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.
+-->
+
+<!--+
+ |
+ | SVN $Id: sitemap.xmap 123887 2005-01-02 15:12:01Z sylvain $
+ +-->
+<components>
+ <!-- Dummy config that other blocks can import -->
+</components>
Propchange: cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/impl/src/main/resources/COB-INF/xconf/cocoon-asciiart.xconf
------------------------------------------------------------------------------
svn:eol-style = native
Added: cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/impl/src/main/resources/META-INF/Manifest.mf
URL: http://svn.apache.org/viewcvs/cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/impl/src/main/resources/META-INF/Manifest.mf?rev=330769&view=auto
==============================================================================
(empty)
Propchange: cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/impl/src/main/resources/META-INF/Manifest.mf
------------------------------------------------------------------------------
svn:eol-style = native
Added: cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/pom.xml
URL: http://svn.apache.org/viewcvs/cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/pom.xml?rev=330769&view=auto
==============================================================================
--- cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/pom.xml (added)
+++ cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/pom.xml Fri Nov 4 01:47:32 2005
@@ -0,0 +1,44 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 2005 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.
+-->
+<!--+
+ | @version $Id:$
+ |
+ +-->
+<project>
+ <parent>
+ <groupId>apache-cocoon</groupId>
+ <artifactId>cocoon</artifactId>
+ <version>2.2-SNAPSHOT</version>
+ </parent>
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>apache-cocoon</groupId>
+ <artifactId>cocoon-asciiart-block</artifactId>
+ <version>2.2-SNAPSHOT</version>
+ <name>Ascii Art Block</name>
+ <packaging>pom</packaging>
+ <modules>
+ <module>impl</module>
+ <module>samples</module>
+ </modules>
+ <dependencies>
+ <dependency>
+ <groupId>apache-cocoon</groupId>
+ <artifactId>cocoon-core</artifactId>
+ <version>2.2-SNAPSHOT</version>
+ </dependency>
+ </dependencies>
+</project>
\ No newline at end of file
Propchange: cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/pom.xml
------------------------------------------------------------------------------
svn:eol-style = native
Added: cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/samples/pom.xml
URL: http://svn.apache.org/viewcvs/cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/samples/pom.xml?rev=330769&view=auto
==============================================================================
--- cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/samples/pom.xml (added)
+++ cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/samples/pom.xml Fri Nov 4 01:47:32 2005
@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 2005 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.
+-->
+<!--+
+ | @version $Id:$
+ |
+ +-->
+<project>
+ <parent>
+ <groupId>apache-cocoon</groupId>
+ <artifactId>cocoon-asciiart-block</artifactId>
+ <version>2.2-SNAPSHOT</version>
+ </parent>
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>apache-cocoon</groupId>
+ <artifactId>cocoon-asciiart-samples</artifactId>
+ <version>2.2-SNAPSHOT</version>
+ <packaging>jar</packaging>
+ <name>Asciiart Samples</name>
+ <dependencies>
+ <dependency>
+ <groupId>apache-cocoon</groupId>
+ <artifactId>cocoon-asciiart-impl</artifactId>
+ <version>2.2-SNAPSHOT</version>
+ </dependency>
+ </dependencies>
+</project>
Propchange: cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/samples/pom.xml
------------------------------------------------------------------------------
svn:eol-style = native
Added: cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/samples/src/main/resources/asciiart.xsamples
URL: http://svn.apache.org/viewcvs/cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/samples/src/main/resources/asciiart.xsamples?rev=330769&view=auto
==============================================================================
--- cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/samples/src/main/resources/asciiart.xsamples (added)
+++ cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/samples/src/main/resources/asciiart.xsamples Fri Nov 4 01:47:32 2005
@@ -0,0 +1,27 @@
+<?xml version="1.0"?>
+<!--
+ Copyright 1999-2004 The Apache Software Foundation
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<xsamples xpath="/samples" unless="group[@name='ASCII Art']">
+
+ <group name="ASCII Art">
+ <sample name="ASCII Art Block" href="asciiart/">
+ Plain text files with character-based artwork and diagrams are presented
+ in various formats, e.g. plain text, JPEG, PNG
+ </sample>
+ </group>
+
+</xsamples>
Added: cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/samples/src/main/resources/data/ascii-art-1.txt
URL: http://svn.apache.org/viewcvs/cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/samples/src/main/resources/data/ascii-art-1.txt?rev=330769&view=auto
==============================================================================
--- cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/samples/src/main/resources/data/ascii-art-1.txt (added)
+++ cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/samples/src/main/resources/data/ascii-art-1.txt Fri Nov 4 01:47:32 2005
@@ -0,0 +1,8 @@
+
+ +--------------+
+ | 1st quarter |
+ +------------+-+
+ | 2nd |
+ +-----+------+
+ | 3rd |
+ +-----+
Propchange: cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/samples/src/main/resources/data/ascii-art-1.txt
------------------------------------------------------------------------------
svn:eol-style = native
Added: cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/samples/src/main/resources/data/ascii-art-10.txt
URL: http://svn.apache.org/viewcvs/cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/samples/src/main/resources/data/ascii-art-10.txt?rev=330769&view=auto
==============================================================================
--- cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/samples/src/main/resources/data/ascii-art-10.txt (added)
+++ cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/samples/src/main/resources/data/ascii-art-10.txt Fri Nov 4 01:47:32 2005
@@ -0,0 +1,472 @@
+| sitemap.xmap~
+| sitemap.xmap
+| ascii-art-10.txt
+|
++---voiceportal
+| | sitemap.xmap
+| | cocoon.xconf
+| |
+| +---images
+| | dot.gif
+| | cocoon-buttons-built-126.gif
+| | line.gif
+| | logo.gif
+| | note.gif
+| | separator.gif
+| | unisyslogo.gif
+| | void.gif
+| |
+| +---resources
+| | main.css
+| | simple.css
+| |
+| +---stylesheets
+| | document2html.xsl
+| | book2menu.xsl
+| | copyover.xsl
+| | filterlinks.xsl
+| | site2xhtml.xsl
+| |
+| \---xdocs
+| | book.xml
+| | resources.xml
+| | index.xml
+| | .nbattrs
+| |
+| +---test
+| | | test.xml
+| | | book.xml
+| | |
+| | \---test-report-html
+| | index.test-report-html
+| |
+| +---services
+| | services.xml
+| | a1net.xml
+| | book.xml
+| | mail.xml
+| | news.xml
+| | rootdocument.xml
+| | subscriber.xml
+| |
+| +---install
+| | applicationserver.xml
+| | book.xml
+| | development.xml
+| | install.xml
+| |
+| +---dtd
+| | ISOgrk1.pen
+| | ISOdia.pen
+| | book-cocoon-v10.dtd
+| | ISOlat1.pen
+| | ISOnum.pen
+| | ISOpub.pen
+| | ISOtech.pen
+| | README
+| | XMLSchema.dtd
+| | changes-v10.dtd
+| | catalog
+| | javadoc-v04draft.dtd
+| | characters.ent
+| | datatypes.dtd
+| | document-v10.dtd
+| | faq-v10.dtd
+| | specification-v10.dtd
+| | sitemap-v02.dtd
+| | svg-cocoon-v11.dtd
+| | svg10.dtd
+| | todo-v10.dtd
+| |
+| +---development
+| | | building.xml
+| | | book.xml
+| | | development.xml
+| | | ias-notes.xml
+| | |
+| | +---apidoc-client
+| | | index.apidoc-html
+| | |
+| | \---apidoc
+| | index.html.apidoc-html
+| | index.apidoc-html
+| |
+| +---design
+| | framework.xml
+| | book.xml
+| | design.xml
+| | voiceportal.xml
+| |
+| \---about
+| about.xml
+| book.xml
+|
++---mail
+| | sitemap.xmap
+| | sitemap.xmap~
+| |
+| +---stylesheets
+| | folder2document.xsl
+| | mailheader2document.xsl
+| | mailbody2document.xsl
+| | mailheaders2document.xsl
+| | folder2document.xsl~
+| | mailbody2document.xsl~
+| | mailheader2document.xsl~
+| | document2html.xsl
+| | extended-document2html.xsl
+| |
+| +---docs
+| \---mail-store
+| +---mktest01
+| | | folder.xml
+| | |
+| | +---test1
+| | | folder.xml
+| | |
+| | +---test
+| | | folder.xml
+| | |
+| | +---Trash
+| | | folder.xml
+| | |
+| | +---Sent Items
+| | | folder.xml
+| | |
+| | +---Sent
+| | | folder.xml
+| | |
+| | +---Papierkorb
+| | | folder.xml
+| | |
+| | +---Gesendet
+| | | folder.xml
+| | |
+| | +---Drafts
+| | | folder.xml
+| | |
+| | \---INBOX
+| | folder.xml
+| | mail-1.xml
+| | mail-2.xml
+| | mail-3.xml
+| | mail-4.xml
+| | mail-5.xml
+| | mail-6.xml
+| | mail-7.xml
+| | mail-8.xml
+| | mail-9.xml
+| | mail-10.xml
+| | mail-11.xml
+| | mail-12.xml
+| | mail-13.xml
+| | mail-14.xml
+| | mail-16.xml
+| | mail-17.xml
+| | mail-18.xml
+| | mail-19.xml
+| | mail-20.xml
+| | mail-21.xml
+| | mail-22.xml
+| | mail-23.xml
+| | mail-24.xml
+| | mail-25.xml
+| | mail-26.xml
+| | mail-27.xml
+| |
+| \---mktest02
+| | folder.xml
+| |
+| +---von_jornada
+| | folder.xml
+| |
+| +---test
+| | folder.xml
+| |
+| +---gumpf
+| | folder.xml
+| |
+| +---Trash
+| | folder.xml
+| |
+| +---Sent
+| | folder.xml
+| |
+| +---Gesendet
+| | folder.xml
+| |
+| +---á
+| | folder.xml
+| |
+| \---INBOX
+| folder.xml
+| mail-1.xml
+| mail-2.xml
+| mail-3.xml
+| mail-4.xml
+|
++---apache-docs
+| | sitemap.xmap~
+| | sitemap.xmap
+| |
+| +---imports
+| | index.html
+| | howto-i18n-xmlform.html
+| | cocoon-javadoc-tags.html
+| |
+| +---resources
+| | \---entities
+| | | ISOnum.pen
+| | | characters.ent
+| | | XMLSchema.dtd
+| | | javadoc-v04draft.dtd
+| | | datatypes.dtd
+| | | svg-cocoon-v11.dtd
+| | | ISOlat1.pen
+| | | svg10.dtd
+| | | document-v10.dtd
+| | | sitemap-v02.dtd
+| | | ISOgrk1.pen
+| | | changes-v10.dtd
+| | | ISOpub.pen
+| | | ISOtech.pen
+| | | ISOdia.pen
+| | | faq-v10.dtd
+| | | catalog
+| | | specification-v10.dtd
+| | | book-cocoon-v10.dtd
+| | | todo-v10.dtd
+| | | README
+| | |
+| | \---catalog-demo
+| | | testsys.xml
+| | | override.xml
+| | | testpub.xml
+| | | catalog-demo-v10.dtd
+| | |
+| | \---CVS
+| | Root
+| | Repository
+| | Entries
+| | netbeans.cmd.cache
+| |
+| +---stylesheets
+| | document2html.xsl~
+| | xhtml2document.xsl~
+| | filterlinks.xsl
+| | xhtml2document.xsl
+| | document2xhtml.xsl
+| | document2html.xsl
+| |
+| \---xdocs
+| index.xml
+| index.xml~
+| howto-i18n-xmlform.xml
+| cocoon-javadoc-tags.xml
+|
++---wiki
+| | sitemap.xmap~
+| | sitemap.xmap
+| |
+| +---grammars
+| | wiki.grm
+| | rgrm.grm
+| | java.rgrm
+| | wiki.rgrm
+| | mathexp.grm
+| | Copy of wiki.rgrm
+| | wiki.grm~
+| | wiki.grm.enhanced.notokay
+| | Copy of wiki.grm
+| |
+| +---misc
+| | samples.xml
+| | wiki.xsp
+| | test2.java
+| | test1.java
+| | matex.xsp
+| | java.css
+| | mathexp.xsp
+| | howtoconfigurecocoonlogging.xml~
+| | wiki-sample-2.xml
+| | Copy of howtoconfigurecocoonlogging.xml
+| | howtoconfigurecocoonlogging.xml
+| | wiki-sample-2-modified.xml
+| | wiki-sample-1.xml~
+| | wiki-sample-3.xml
+| | wiki-sample-1.xml
+| | wiki-sample-2-modified.xml~
+| |
+| \---stylesheets
+| | parsefragment.xsl
+| | wiki2html.xsl
+| | rgrm2grm.xsl
+| | java2html.xsl
+| | mathexp2html.xsl
+| | wiki2html.xsl~
+| |
+| \---system
+| error2html.xsl
+| directory2html.xsl
+| status2html.xsl
+| profile2html.xsl
+|
++---sourcelink
+| | sitemap.xmap
+| |
+| \---stylesheets
+| linkstatus2html.xsl
+|
++---quartalswein
+| | sitemap.xmap
+| | sitemap.xmap~
+| |
+| +---stylesheets
+| | site2wml.xsl
+| | site2html.xsl
+| | site2wml.xsl~
+| | filterlinks.xsl
+| | document2html.xsl~
+| | site2html.xsl~
+| |
+| +---docs
+| | +---top-col-1
+| | | index.xml~
+| | | index.xml
+| | |
+| | +---mid-col-1
+| | | index.xml
+| | | index.xml~
+| | |
+| | +---mid-col-2
+| | | q4-2002.xml
+| | | index.xml
+| | | news.xml
+| | | faq.xml
+| | | links.xml~
+| | | news.xml~
+| | | news-20021205.xml~
+| | | info.xml~
+| | | news-20021213.xml~
+| | | info.xml
+| | | news-20021213.xml
+| | | q4-2002.xml~
+| | | news-20021205.xml
+| | | index.xml~
+| | | faq.xml~
+| | |
+| | +---mid-col-3
+| | | info.xml
+| | | news.xml
+| | | index.xml
+| | | faq.xml~
+| | | index.xml~
+| | | news.xml~
+| | | faq.xml
+| | |
+| | \---bottom-col-1
+| | index.xml~
+| | index.xml
+| |
+| +---resources
+| | +---styles
+| | | main.css
+| | | main.css~
+| | |
+| | \---images
+| | built-with-cocoon.gif
+| |
+| \---pagesheets
+| cardpages.xml~
+| cardpages.xml
+| s2pages.xml
+|
++---csscolumnsite
+| | sitemap.xmap~
+| | about-as.wiki.txt
+| | sitemap.xmap
+| |
+| +---resources
+| | +---images
+| | | built-with-cocoon.gif
+| | | favicon.ico
+| | |
+| | \---styles
+| | main.css~
+| | main.css
+| |
+| +---docs
+| | +---bottom-col-1
+| | | index.xml~
+| | | index.xml
+| | |
+| | +---mid-col-4
+| | | faq.xml~
+| | | index.xml~
+| | | faq.xml
+| | | index.xml
+| | |
+| | +---mid-col-3
+| | | faq.xml~
+| | | index.xml~
+| | | faq.xml
+| | | index.xml
+| | |
+| | +---mid-col-2
+| | | changes.xml
+| | | faq.xml
+| | | index.xml
+| | | about.xml
+| | | plans.xml
+| | | csscolumnsite.xml~
+| | | sitemap-1.xml~
+| | | sitemap-tutorial.xml~
+| | | news.xml~
+| | | sitemap-tutorial.xml
+| | | faq.xml~
+| | | filterlinks-tutorial.xml~
+| | | index.xml~
+| | | filterlink-tutorial.xml~
+| | | wapchannel-tutorial.xml~
+| | | filterlink-tutorial.xml
+| | | changes.xml~
+| | | wapchannel-tutorial.xml
+| | | plans.xml~
+| | | csscolumnsite.xml
+| | |
+| | +---mid-col-1
+| | | index.xml~
+| | | index.xml
+| | |
+| | \---top-col-1
+| | index.xml~
+| | index.xml
+| |
+| +---stylesheets
+| | site2wml.xsl
+| | site2wml.xsl.save
+| | document2html.xsl~
+| | site2html.xsl~
+| | site2html.xsl.save
+| | filterlinks.xsl
+| | site2html.xsl
+| | site2wml.xsl~
+| |
+| \---pagesheets
+| wmlpages.xml
+| htmlpages.xml
+|
+\---asciiart
+ | sitemap.xmap
+ |
+ \---asciiart
+ ascii-art-7.txt
+ ascii-art-6.txt
+ ascii-art-8.txt
+ ascii-art-4.txt
+ ascii-art-5.txt
+ ascii-art-1.txt
+ ascii-art-2.txt
+ ascii-art-3.txt
+ ascii-art-6.txt~
+
Propchange: cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/samples/src/main/resources/data/ascii-art-10.txt
------------------------------------------------------------------------------
svn:eol-style = native
Added: cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/samples/src/main/resources/data/ascii-art-2.txt
URL: http://svn.apache.org/viewcvs/cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/samples/src/main/resources/data/ascii-art-2.txt?rev=330769&view=auto
==============================================================================
--- cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/samples/src/main/resources/data/ascii-art-2.txt (added)
+++ cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/samples/src/main/resources/data/ascii-art-2.txt Fri Nov 4 01:47:32 2005
@@ -0,0 +1,15 @@
+
+
+ +--------------+
+ | containerN |
+ +--------------+ |
+ | container2 | |
+ +-------------+ | |
+ | container1 | | |
+ | | | |
+ | +-------+ | | |
+ | | part | | | |
+ | +-------+ | |-+
+ | |-+
+ +-------------+
+
\ No newline at end of file
Propchange: cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/samples/src/main/resources/data/ascii-art-2.txt
------------------------------------------------------------------------------
svn:eol-style = native
Added: cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/samples/src/main/resources/data/ascii-art-3.txt
URL: http://svn.apache.org/viewcvs/cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/samples/src/main/resources/data/ascii-art-3.txt?rev=330769&view=auto
==============================================================================
--- cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/samples/src/main/resources/data/ascii-art-3.txt (added)
+++ cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/samples/src/main/resources/data/ascii-art-3.txt Fri Nov 4 01:47:32 2005
@@ -0,0 +1,33 @@
+ +==============+
+ | Mail_Header |
+ | +========+ |
+ | | Body | |
+ | +==+==+==+ |
+ | |a |a |a | |
+ | |1 |2 |3 | |
+ | +==+==+==+ |
+ +==============+
+
+
+ +--------+ +------+ +-------+
+ | | | | | |
+ +--------+ +------+ +-------+
+ | | | | | |
+ +--------+ +------+ +-------+
+ | | | | | |
+ +--------+ +------+ +-------+
+ | | | | | |
+ +---+----+ +--+---+ +---+---+
+ | | |
+ +----------+----------+
+ | | |
+ | | |
+ +---+----+ +--+---+ +---+---+
+ | | | | | |
+ +--------+ +------+ +-------+
+ | | | | | |
+ +--------+ +------+ +-------+
+ | | | | | |
+ +--------+ +------+ +-------+
+ | | | | | |
+ +---+----+ +--+---+ +---+---+
Propchange: cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/samples/src/main/resources/data/ascii-art-3.txt
------------------------------------------------------------------------------
svn:eol-style = native
Added: cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/samples/src/main/resources/data/ascii-art-4.txt
URL: http://svn.apache.org/viewcvs/cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/samples/src/main/resources/data/ascii-art-4.txt?rev=330769&view=auto
==============================================================================
--- cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/samples/src/main/resources/data/ascii-art-4.txt (added)
+++ cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/samples/src/main/resources/data/ascii-art-4.txt Fri Nov 4 01:47:32 2005
@@ -0,0 +1,12 @@
+
+ +----------------+
+ | header |
+ +---+--------+---+
+ | c | col2 | c |
+ | o | | o |
+ | l | | l |
+ | 1 | | 3 |
+ +---+--------+---+
+ | footer |
+ +----------------+
+
Propchange: cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/samples/src/main/resources/data/ascii-art-4.txt
------------------------------------------------------------------------------
svn:eol-style = native
Added: cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/samples/src/main/resources/data/ascii-art-5.txt
URL: http://svn.apache.org/viewcvs/cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/samples/src/main/resources/data/ascii-art-5.txt?rev=330769&view=auto
==============================================================================
--- cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/samples/src/main/resources/data/ascii-art-5.txt (added)
+++ cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/samples/src/main/resources/data/ascii-art-5.txt Fri Nov 4 01:47:32 2005
@@ -0,0 +1,12 @@
+
+ +---stylesheets
+ +---docs
+ | +---top_col_1
+ | +---mid_col_1
+ | +---mid_col_2
+ | +---mid_col_3
+ | +---mid_col_4
+ | \---bottom_col_1
+ \---resources
+ |---styles
+ \---images
Propchange: cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/samples/src/main/resources/data/ascii-art-5.txt
------------------------------------------------------------------------------
svn:eol-style = native
Added: cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/samples/src/main/resources/data/ascii-art-6.txt
URL: http://svn.apache.org/viewcvs/cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/samples/src/main/resources/data/ascii-art-6.txt?rev=330769&view=auto
==============================================================================
--- cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/samples/src/main/resources/data/ascii-art-6.txt (added)
+++ cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/samples/src/main/resources/data/ascii-art-6.txt Fri Nov 4 01:47:32 2005
@@ -0,0 +1,23 @@
+
+ +--------------+
+ | Organization |
+ +------+-------+
+ |
+ +----------+-----+----+----------+
+ | | | |
+ +---+---+ +---+---+ +---+---+ +---+---+
+ | d1 | | d2 | | d3 | | d4 |
+ +---+---+ +---+---+ +---+---+ +---+---+
+ | | | |
+ +---+---+ +---+---+ +---+---+ +---+---+
+ | | | | | | | |
+ +---+---+ +---+---+ +---+---+ +---+---+
+ | | | |
+ +---+---+ +---+---+ +---+---+ +---+---+
+ | | | | | | | |
+ +---+---+ +---+---+ +---+---+ +---+---+
+ | | | |
+ +---+---+ +---+---+ +---+---+ +---+---+
+ | | | | | | | |
+ +---+---+ +---+---+ +---+---+ +---+---+
+
Propchange: cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/samples/src/main/resources/data/ascii-art-6.txt
------------------------------------------------------------------------------
svn:eol-style = native
Added: cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/samples/src/main/resources/data/ascii-art-7.txt
URL: http://svn.apache.org/viewcvs/cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/samples/src/main/resources/data/ascii-art-7.txt?rev=330769&view=auto
==============================================================================
--- cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/samples/src/main/resources/data/ascii-art-7.txt (added)
+++ cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/samples/src/main/resources/data/ascii-art-7.txt Fri Nov 4 01:47:32 2005
@@ -0,0 +1,17 @@
+
+ +-----------------------------x
+ |------------------------ Jan
+ |---------------- Feb
+ |-------------------- Mar
+ |--------------------- Apr
+ |---------------- May
+ |--------------------- Jun
+ |-------------------------- Jul
+ |------------------- Aug
+ |--------------------- Sep
+ |------------------------- Oct
+ |---------------------------- Nov
+ |------+-----+-----+------+-- Dec
+ | | | | |
+ | 50 100 150 200
+ y
\ No newline at end of file
Propchange: cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/samples/src/main/resources/data/ascii-art-7.txt
------------------------------------------------------------------------------
svn:eol-style = native
Added: cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/samples/src/main/resources/data/ascii-art-8.txt
URL: http://svn.apache.org/viewcvs/cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/samples/src/main/resources/data/ascii-art-8.txt?rev=330769&view=auto
==============================================================================
--- cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/samples/src/main/resources/data/ascii-art-8.txt (added)
+++ cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/samples/src/main/resources/data/ascii-art-8.txt Fri Nov 4 01:47:32 2005
@@ -0,0 +1,15 @@
+
+
+ +------+------
+ | |
+ +-+-+ +-+-+
+ | a | | b |
+ +---+ +---+
+ | |
+ +------+------
+ | |
+ +---+ +---+
+ | X | | Y |
+ +-+-+ +-+-+
+ | |
+ +------+------
Propchange: cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/samples/src/main/resources/data/ascii-art-8.txt
------------------------------------------------------------------------------
svn:eol-style = native
Added: cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/samples/src/main/resources/data/ascii-art-9.txt
URL: http://svn.apache.org/viewcvs/cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/samples/src/main/resources/data/ascii-art-9.txt?rev=330769&view=auto
==============================================================================
--- cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/samples/src/main/resources/data/ascii-art-9.txt (added)
+++ cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/samples/src/main/resources/data/ascii-art-9.txt Fri Nov 4 01:47:32 2005
@@ -0,0 +1,122 @@
+| |
+| +---docs
+| \---mail-store
+| | |
+| | \---INBOX
+| | folder.xml
+| | mail-1.xml
+| | mail-2.xml
+| | mail-3.xml
+| | mail-4.xml
+| | mail-5.xml
+| | mail-6.xml
+| | mail-7.xml
+| | mail-8.xml
+| | mail-9.xml
+| | mail-10.xml
+| | mail-11.xml
+| | mail-12.xml
+| | mail-13.xml
+| | mail-14.xml
+| | mail-16.xml
+| | mail-17.xml
+| | mail-18.xml
+| | mail-19.xml
+| | mail-20.xml
+| | mail-21.xml
+| | mail-22.xml
+| | mail-23.xml
+| | mail-24.xml
+| | mail-25.xml
+| | mail-26.xml
+| | mail-27.xml
+| |
+| \---mktest02
+| | folder.xml
+| |
+| +---von_jornada
+| | folder.xml
+| |
+| +---test
+| | folder.xml
+| |
+| +---gumpf
+| | folder.xml
+| |
+| +---Trash
+| | folder.xml
+| |
+| +---Sent
+| | folder.xml
+| |
+| +---Gesendet
+| | folder.xml
+| |
+| |
+| \---INBOX
+| folder.xml
+| mail-1.xml
+| mail-2.xml
+| mail-3.xml
+| mail-4.xml
+|
++---apache-docs
+| | sitemap.xmap~
+| | sitemap.xmap
+| |
+| +---imports
+| | index.html
+| | howto-i18n-xmlform.html
+| | cocoon-javadoc-tags.html
+| |
+| +---resources
+| | \---entities
+| | | ISOnum.pen
+| | | characters.ent
+| | | XMLSchema.dtd
+| | | javadoc-v04draft.dtd
+| | | datatypes.dtd
+| | | svg-cocoon-v11.dtd
+| | | ISOlat1.pen
+| | | svg10.dtd
+| | | document-v10.dtd
+| | | sitemap-v02.dtd
+| | | ISOgrk1.pen
+| | | changes-v10.dtd
+| | | ISOpub.pen
+| | | ISOtech.pen
+| | | ISOdia.pen
+| | | faq-v10.dtd
+| | | catalog
+| | | specification-v10.dtd
+| | | book-cocoon-v10.dtd
+| | | todo-v10.dtd
+| | | README
+| | |
+| | \---catalog-demo
+| | | testsys.xml
+| | | override.xml
+| | | testpub.xml
+| | | catalog-demo-v10.dtd
+| | |
+| | \---CVS
+| | Root
+| | Repository
+| | Entries
+| | netbeans.cmd.cache
+| |
+| +---stylesheets
+| | document2html.xsl~
+| | xhtml2document.xsl~
+| | filterlinks.xsl
+| | xhtml2document.xsl
+| | document2xhtml.xsl
+| | document2html.xsl
+| |
+| \---xdocs
+| index.xml
+| index.xml~
+| howto-i18n-xmlform.xml
+| cocoon-javadoc-tags.xml
+|
+
Propchange: cocoon/whiteboard/maven2/cocoon-flat-layout/cocoon-asciiart/samples/src/main/resources/data/ascii-art-9.txt
------------------------------------------------------------------------------
svn:eol-style = native