Revision: 7682
Author: victormote
Date: 2006-06-17 13:53:41 -0700 (Sat, 17 Jun 2006)
ViewCVS: http://svn.sourceforge.net/foray/?rev=7682&view=rev
Log Message:
-----------
Whitespace changes only.
Modified Paths:
--------------
trunk/foray/foray-app/src/java/org/foray/app/AWTStarter.java
trunk/foray/foray-app/src/java/org/foray/app/CommandLineOptions.java
trunk/foray/foray-app/src/java/org/foray/app/CommandLineStarter.java
trunk/foray/foray-app/src/java/org/foray/app/FOray.java
trunk/foray/foray-app/src/java/org/foray/app/FOraySpecific.java
trunk/foray/foray-app/src/java/org/foray/app/Options.java
trunk/foray/foray-app/src/java/org/foray/app/OutputTargetFactory.java
trunk/foray/foray-app/src/java/org/foray/app/PrintStarter.java
trunk/foray/foray-app/src/java/org/foray/app/Starter.java
trunk/foray/foray-app/src/java/org/foray/app/ant/FOrayAntTask.java
trunk/foray/foray-app/src/java/org/foray/app/ant/FOrayAntTaskStarter.java
trunk/foray/foray-app/src/java/org/foray/app/ant/RunTest.java
trunk/foray/foray-app/src/java/org/foray/app/test/TestConverter.java
trunk/foray/foray-app/src/java/org/foray/demo/embed/DemoAWTViewer.java
trunk/foray/foray-app/src/java/org/foray/demo/embed/DemoFO2PDF.java
trunk/foray/foray-app/src/java/org/foray/demo/embed/DemoObj2PDF.java
trunk/foray/foray-app/src/java/org/foray/demo/embed/DemoObj2XML.java
trunk/foray/foray-app/src/java/org/foray/demo/embed/DemoXML2FO.java
trunk/foray/foray-app/src/java/org/foray/demo/embed/DemoXML2PDF.java
trunk/foray/foray-app/src/java/org/foray/demo/embed/EmbedDemo.java
trunk/foray/foray-app/src/java/org/foray/demo/embed/model/ProjectMember.java
trunk/foray/foray-app/src/java/org/foray/demo/embed/model/ProjectTeam.java
trunk/foray/foray-app/src/java/org/foray/demo/embed/model/ProjectTeamInputSource.java
trunk/foray/foray-app/src/java/org/foray/demo/embed/model/ProjectTeamXMLReader.java
trunk/foray/foray-app/src/java/org/foray/demo/embed/tools/AbstractObjectReader.java
trunk/foray/foray-app/src/java/org/foray/demo/embed/tools/EasyContentHandlerProxy.java
trunk/foray/foray-app/src/java/org/foray/demo/servlet/AbstractDemoServlet.java
trunk/foray/foray-app/src/java/org/foray/demo/servlet/DemoPrintServlet.java
trunk/foray/foray-app/src/java/org/foray/demo/servlet/DemoServlet.java
Modified: trunk/foray/foray-app/src/java/org/foray/app/AWTStarter.java
===================================================================
--- trunk/foray/foray-app/src/java/org/foray/app/AWTStarter.java 2006-06-17 20:49:06 UTC (rev 7681)
+++ trunk/foray/foray-app/src/java/org/foray/app/AWTStarter.java 2006-06-17 20:53:41 UTC (rev 7682)
@@ -1,19 +1,19 @@
/*
* Copyright 2004 The FOray Project.
* http://www.foray.org
- *
+ *
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- *
+ *
* This work is in part derived from the following work(s), used with the
* permission of the licensor:
* Apache FOP, licensed by the Apache Software Foundation
@@ -21,7 +21,7 @@
*/
/* $Id$ */
-
+
package org.foray.app;
/*
* originally contributed by
Modified: trunk/foray/foray-app/src/java/org/foray/app/CommandLineOptions.java
===================================================================
--- trunk/foray/foray-app/src/java/org/foray/app/CommandLineOptions.java 2006-06-17 20:49:06 UTC (rev 7681)
+++ trunk/foray/foray-app/src/java/org/foray/app/CommandLineOptions.java 2006-06-17 20:53:41 UTC (rev 7682)
@@ -1,19 +1,19 @@
/*
* Copyright 2004 The FOray Project.
* http://www.foray.org
- *
+ *
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- *
+ *
* This work is in part derived from the following work(s), used with the
* permission of the licensor:
* Apache FOP, licensed by the Apache Software Foundation
@@ -21,7 +21,7 @@
*/
/* $Id$ */
-
+
package org.foray.app;
import org.foray.common.Logging;
Modified: trunk/foray/foray-app/src/java/org/foray/app/CommandLineStarter.java
===================================================================
--- trunk/foray/foray-app/src/java/org/foray/app/CommandLineStarter.java 2006-06-17 20:49:06 UTC (rev 7681)
+++ trunk/foray/foray-app/src/java/org/foray/app/CommandLineStarter.java 2006-06-17 20:53:41 UTC (rev 7682)
@@ -1,19 +1,19 @@
/*
* Copyright 2004 The FOray Project.
* http://www.foray.org
- *
+ *
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- *
+ *
* This work is in part derived from the following work(s), used with the
* permission of the licensor:
* Apache FOP, licensed by the Apache Software Foundation
@@ -21,7 +21,7 @@
*/
/* $Id$ */
-
+
package org.foray.app;
import org.foray.core.FOrayDocument;
@@ -69,7 +69,7 @@
/*
* In addition to actually starting and running a FOray session, this
* method serves as de facto documentation of the process for those
- * who wish to embed FOray in other applications.
+ * who wish to embed FOray in other applications.
*/
/* Instantiate the FOraySession. */
@@ -136,7 +136,7 @@
* Start instructions for internal FOray control. Ignore this section
* if you are controlling externally.
* ****************************************************************************/
- /*
+ /*
* Just push the button, and let FOray do the rest ...
*/
session.process();
Modified: trunk/foray/foray-app/src/java/org/foray/app/FOray.java
===================================================================
--- trunk/foray/foray-app/src/java/org/foray/app/FOray.java 2006-06-17 20:49:06 UTC (rev 7681)
+++ trunk/foray/foray-app/src/java/org/foray/app/FOray.java 2006-06-17 20:53:41 UTC (rev 7682)
@@ -1,19 +1,19 @@
/*
* Copyright 2004 The FOray Project.
* http://www.foray.org
- *
+ *
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- *
+ *
* This work is in part derived from the following work(s), used with the
* permission of the licensor:
* Apache FOP, licensed by the Apache Software Foundation
@@ -21,7 +21,7 @@
*/
/* $Id$ */
-
+
package org.foray.app;
import org.foray.common.Logging;
Modified: trunk/foray/foray-app/src/java/org/foray/app/FOraySpecific.java
===================================================================
--- trunk/foray/foray-app/src/java/org/foray/app/FOraySpecific.java 2006-06-17 20:49:06 UTC (rev 7681)
+++ trunk/foray/foray-app/src/java/org/foray/app/FOraySpecific.java 2006-06-17 20:53:41 UTC (rev 7682)
@@ -1,19 +1,19 @@
/*
* Copyright 2006 The FOray Project.
* http://www.foray.org
- *
+ *
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- *
+ *
* This work is in part derived from the following work(s), used with the
* permission of the licensor:
* Apache FOP, licensed by the Apache Software Foundation
@@ -21,7 +21,7 @@
*/
/* $Id$ */
-
+
package org.foray.app;
import org.foray.area.FOrayAreaTreeFactory;
Modified: trunk/foray/foray-app/src/java/org/foray/app/Options.java
===================================================================
--- trunk/foray/foray-app/src/java/org/foray/app/Options.java 2006-06-17 20:49:06 UTC (rev 7681)
+++ trunk/foray/foray-app/src/java/org/foray/app/Options.java 2006-06-17 20:53:41 UTC (rev 7682)
@@ -1,19 +1,19 @@
/*
* Copyright 2004 The FOray Project.
* http://www.foray.org
- *
+ *
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- *
+ *
* This work is in part derived from the following work(s), used with the
* permission of the licensor:
* Apache FOP, licensed by the Apache Software Foundation
@@ -21,7 +21,7 @@
*/
/* $Id$ */
-
+
package org.foray.app;
import org.foray.core.ConfigurationParser;
Modified: trunk/foray/foray-app/src/java/org/foray/app/OutputTargetFactory.java
===================================================================
--- trunk/foray/foray-app/src/java/org/foray/app/OutputTargetFactory.java 2006-06-17 20:49:06 UTC (rev 7681)
+++ trunk/foray/foray-app/src/java/org/foray/app/OutputTargetFactory.java 2006-06-17 20:53:41 UTC (rev 7682)
@@ -1,19 +1,19 @@
/*
* Copyright 2006 The FOray Project.
* http://www.foray.org
- *
+ *
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- *
+ *
* This work is in part derived from the following work(s), used with the
* permission of the licensor:
* Apache FOP, licensed by the Apache Software Foundation
Modified: trunk/foray/foray-app/src/java/org/foray/app/PrintStarter.java
===================================================================
--- trunk/foray/foray-app/src/java/org/foray/app/PrintStarter.java 2006-06-17 20:49:06 UTC (rev 7681)
+++ trunk/foray/foray-app/src/java/org/foray/app/PrintStarter.java 2006-06-17 20:53:41 UTC (rev 7682)
@@ -1,19 +1,19 @@
/*
* Copyright 2004 The FOray Project.
* http://www.foray.org
- *
+ *
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- *
+ *
* This work is in part derived from the following work(s), used with the
* permission of the licensor:
* Apache FOP, licensed by the Apache Software Foundation
@@ -21,7 +21,7 @@
*/
/* $Id$ */
-
+
package org.foray.app;
import org.foray.core.FOrayException;
Modified: trunk/foray/foray-app/src/java/org/foray/app/Starter.java
===================================================================
--- trunk/foray/foray-app/src/java/org/foray/app/Starter.java 2006-06-17 20:49:06 UTC (rev 7681)
+++ trunk/foray/foray-app/src/java/org/foray/app/Starter.java 2006-06-17 20:53:41 UTC (rev 7682)
@@ -1,19 +1,19 @@
/*
* Copyright 2004 The FOray Project.
* http://www.foray.org
- *
+ *
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- *
+ *
* This work is in part derived from the following work(s), used with the
* permission of the licensor:
* Apache FOP, licensed by the Apache Software Foundation
@@ -21,7 +21,7 @@
*/
/* $Id$ */
-
+
package org.foray.app;
import org.foray.core.FOrayException;
Modified: trunk/foray/foray-app/src/java/org/foray/app/ant/FOrayAntTask.java
===================================================================
--- trunk/foray/foray-app/src/java/org/foray/app/ant/FOrayAntTask.java 2006-06-17 20:49:06 UTC (rev 7681)
+++ trunk/foray/foray-app/src/java/org/foray/app/ant/FOrayAntTask.java 2006-06-17 20:53:41 UTC (rev 7682)
@@ -1,19 +1,19 @@
/*
* Copyright 2004 The FOray Project.
* http://www.foray.org
- *
+ *
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- *
+ *
* This work is in part derived from the following work(s), used with the
* permission of the licensor:
* Apache FOP, licensed by the Apache Software Foundation
@@ -21,7 +21,7 @@
*/
/* $Id$ */
-
+
package org.foray.app.ant;
import org.foray.app.OutputTargetFactory;
Modified: trunk/foray/foray-app/src/java/org/foray/app/ant/FOrayAntTaskStarter.java
===================================================================
--- trunk/foray/foray-app/src/java/org/foray/app/ant/FOrayAntTaskStarter.java 2006-06-17 20:49:06 UTC (rev 7681)
+++ trunk/foray/foray-app/src/java/org/foray/app/ant/FOrayAntTaskStarter.java 2006-06-17 20:53:41 UTC (rev 7682)
@@ -1,19 +1,19 @@
/*
* Copyright 2004 The FOray Project.
* http://www.foray.org
- *
+ *
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- *
+ *
* This work is in part derived from the following work(s), used with the
* permission of the licensor:
* Apache FOP, licensed by the Apache Software Foundation
@@ -21,7 +21,7 @@
*/
/* $Id$ */
-
+
package org.foray.app.ant;
import org.foray.app.FOraySpecific;
Modified: trunk/foray/foray-app/src/java/org/foray/app/ant/RunTest.java
===================================================================
--- trunk/foray/foray-app/src/java/org/foray/app/ant/RunTest.java 2006-06-17 20:49:06 UTC (rev 7681)
+++ trunk/foray/foray-app/src/java/org/foray/app/ant/RunTest.java 2006-06-17 20:53:41 UTC (rev 7682)
@@ -1,19 +1,19 @@
/*
* Copyright 2004 The FOray Project.
* http://www.foray.org
- *
+ *
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- *
+ *
* This work is in part derived from the following work(s), used with the
* permission of the licensor:
* Apache FOP, licensed by the Apache Software Foundation
@@ -21,7 +21,7 @@
*/
/* $Id$ */
-
+
package org.foray.app.ant;
import org.foray.common.Logging;
Modified: trunk/foray/foray-app/src/java/org/foray/app/test/TestConverter.java
===================================================================
--- trunk/foray/foray-app/src/java/org/foray/app/test/TestConverter.java 2006-06-17 20:49:06 UTC (rev 7681)
+++ trunk/foray/foray-app/src/java/org/foray/app/test/TestConverter.java 2006-06-17 20:53:41 UTC (rev 7682)
@@ -1,19 +1,19 @@
/*
* Copyright 2004 The FOray Project.
* http://www.foray.org
- *
+ *
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- *
+ *
* This work is in part derived from the following work(s), used with the
* permission of the licensor:
* Apache FOP, licensed by the Apache Software Foundation
@@ -21,7 +21,7 @@
*/
/* $Id$ */
-
+
package org.foray.app.test;
import org.foray.app.FOraySpecific;
Modified: trunk/foray/foray-app/src/java/org/foray/demo/embed/DemoAWTViewer.java
===================================================================
--- trunk/foray/foray-app/src/java/org/foray/demo/embed/DemoAWTViewer.java 2006-06-17 20:49:06 UTC (rev 7681)
+++ trunk/foray/foray-app/src/java/org/foray/demo/embed/DemoAWTViewer.java 2006-06-17 20:53:41 UTC (rev 7682)
@@ -1,19 +1,19 @@
/*
* Copyright 2004 The FOray Project.
* http://www.foray.org
- *
+ *
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- *
+ *
* This work is in part derived from the following work(s), used with the
* permission of the licensor:
* Apache FOP, licensed by the Apache Software Foundation
@@ -21,7 +21,7 @@
*/
/* $Id$ */
-
+
package org.foray.demo.embed;
import java.awt.Dimension;
Modified: trunk/foray/foray-app/src/java/org/foray/demo/embed/DemoFO2PDF.java
===================================================================
--- trunk/foray/foray-app/src/java/org/foray/demo/embed/DemoFO2PDF.java 2006-06-17 20:49:06 UTC (rev 7681)
+++ trunk/foray/foray-app/src/java/org/foray/demo/embed/DemoFO2PDF.java 2006-06-17 20:53:41 UTC (rev 7682)
@@ -1,19 +1,19 @@
/*
* Copyright 2004 The FOray Project.
* http://www.foray.org
- *
+ *
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- *
+ *
* This work is in part derived from the following work(s), used with the
* permission of the licensor:
* Apache FOP, licensed by the Apache Software Foundation
@@ -21,7 +21,7 @@
*/
/* $Id$ */
-
+
package org.foray.demo.embed;
import org.foray.app.FOraySpecific;
@@ -75,13 +75,13 @@
app.getLogger().info(Application.getApplicationNameShort()
+ " ExampleFO2PDF\n");
app.getLogger().info("Preparing...");
-
+
//Setup directories
File baseDir = new File("../resource/embedding");
File outDir = new File(baseDir, "out");
outDir.mkdirs();
- //Setup input and output files
+ //Setup input and output files
File fofile = new File(baseDir, "xml/helloworld.fo");
File pdffile = new File(outDir, "ResultFO2PDF.pdf");
@@ -89,10 +89,10 @@
app.getLogger().info("Output: PDF (" + pdffile + ")");
app.getLogger().info("");
app.getLogger().info("Transforming...");
-
+
try {
app.convertFO2PDF(fofile, pdffile);
-
+
} catch (Exception e) {
app.getLogger().error("Demo FO to PDF Error", e);
System.exit(-1);
Modified: trunk/foray/foray-app/src/java/org/foray/demo/embed/DemoObj2PDF.java
===================================================================
--- trunk/foray/foray-app/src/java/org/foray/demo/embed/DemoObj2PDF.java 2006-06-17 20:49:06 UTC (rev 7681)
+++ trunk/foray/foray-app/src/java/org/foray/demo/embed/DemoObj2PDF.java 2006-06-17 20:53:41 UTC (rev 7682)
@@ -1,19 +1,19 @@
/*
* Copyright 2004 The FOray Project.
* http://www.foray.org
- *
+ *
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- *
+ *
* This work is in part derived from the following work(s), used with the
* permission of the licensor:
* Apache FOP, licensed by the Apache Software Foundation
@@ -21,7 +21,7 @@
*/
/* $Id$ */
-
+
package org.foray.demo.embed;
import org.foray.app.FOraySpecific;
@@ -47,14 +47,14 @@
import javax.xml.transform.stream.StreamSource;
/**
- * This class demonstrates the conversion of an arbitrary object file to a
+ * This class demonstrates the conversion of an arbitrary object file to a
* PDF using JAXP (XSLT) and FOray (XSL:FO).
*/
public class DemoObj2PDF extends EmbedDemo {
- public void convertProjectTeam2PDF(ProjectTeam team, File xslt, File pdf)
+ public void convertProjectTeam2PDF(ProjectTeam team, File xslt, File pdf)
throws IOException, FOrayException, TransformerException {
-
+
// Setup FOraySession
FOraySession session = FOraySpecific.makeFOraySession(null);
@@ -71,7 +71,7 @@
*/
FOrayDocument document = new FOrayDocument(session, transformer,
source);
-
+
//Setup Renderer
OutputTarget renderer = OutputTargetFactory.makeOutputTarget(
OutputTargetFactory.RENDER_PDF, null, session.getLogger());
@@ -90,7 +90,7 @@
app.getLogger().info(Application.getApplicationNameShort()
+ " ExampleObj2PDF\n");
app.getLogger().info("Preparing...");
-
+
//Setup directories
File baseDir = new File(".");
File outDir = new File(baseDir, "out");
Modified: trunk/foray/foray-app/src/java/org/foray/demo/embed/DemoObj2XML.java
===================================================================
--- trunk/foray/foray-app/src/java/org/foray/demo/embed/DemoObj2XML.java 2006-06-17 20:49:06 UTC (rev 7681)
+++ trunk/foray/foray-app/src/java/org/foray/demo/embed/DemoObj2XML.java 2006-06-17 20:53:41 UTC (rev 7682)
@@ -1,19 +1,19 @@
/*
* Copyright 2004 The FOray Project.
* http://www.foray.org
- *
+ *
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- *
+ *
* This work is in part derived from the following work(s), used with the
* permission of the licensor:
* Apache FOP, licensed by the Apache Software Foundation
@@ -21,7 +21,7 @@
*/
/* $Id$ */
-
+
package org.foray.demo.embed;
import org.foray.core.Application;
@@ -39,25 +39,25 @@
import javax.xml.transform.stream.StreamResult;
/**
- * This class demonstrates the conversion of an arbitrary object file to an
+ * This class demonstrates the conversion of an arbitrary object file to an
* XML file.
*/
public class DemoObj2XML extends EmbedDemo {
- public void convertProjectTeam2XML(ProjectTeam team, File xml)
+ public void convertProjectTeam2XML(ProjectTeam team, File xml)
throws IOException, TransformerException {
-
+
//Setup XSLT
TransformerFactory factory = TransformerFactory.newInstance();
Transformer transformer = factory.newTransformer();
/* Note:
We use the identity transformer, no XSL transformation is done.
- The transformer is basically just used to serialize the
+ The transformer is basically just used to serialize the
generated document to XML. */
-
+
//Setup input
Source src = team.getSourceForProjectTeam();
-
+
//Setup output
Result res = new StreamResult(xml);
@@ -84,7 +84,7 @@
app.getLogger().info(Application.getApplicationNameShort() +
" ExampleObj2XML\n");
app.getLogger().info("Preparing...");
-
+
//Setup directories
File baseDir = new File(".");
File outDir = new File(baseDir, "out");
Modified: trunk/foray/foray-app/src/java/org/foray/demo/embed/DemoXML2FO.java
===================================================================
--- trunk/foray/foray-app/src/java/org/foray/demo/embed/DemoXML2FO.java 2006-06-17 20:49:06 UTC (rev 7681)
+++ trunk/foray/foray-app/src/java/org/foray/demo/embed/DemoXML2FO.java 2006-06-17 20:53:41 UTC (rev 7682)
@@ -1,19 +1,19 @@
/*
* Copyright 2004 The FOray Project.
* http://www.foray.org
- *
+ *
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- *
+ *
* This work is in part derived from the following work(s), used with the
* permission of the licensor:
* Apache FOP, licensed by the Apache Software Foundation
@@ -21,7 +21,7 @@
*/
/* $Id$ */
-
+
package org.foray.demo.em...
[truncated message content] |