xmlgraphics-fop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vhenneb...@apache.org
Subject svn commit: r679758 [3/34] - in /xmlgraphics/fop/branches/Temp_AFPGOCAResources: ./ examples/embedding/java/embedding/ examples/embedding/java/embedding/events/ examples/embedding/java/embedding/intermediate/ examples/embedding/java/embedding/model/ ex...
Date Fri, 25 Jul 2008 10:56:32 GMT
Modified: xmlgraphics/fop/branches/Temp_AFPGOCAResources/examples/mathml/src/org/apache/fop/mathml/MathMLElement.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/branches/Temp_AFPGOCAResources/examples/mathml/src/org/apache/fop/mathml/MathMLElement.java?rev=679758&r1=679757&r2=679758&view=diff
==============================================================================
--- xmlgraphics/fop/branches/Temp_AFPGOCAResources/examples/mathml/src/org/apache/fop/mathml/MathMLElement.java (original)
+++ xmlgraphics/fop/branches/Temp_AFPGOCAResources/examples/mathml/src/org/apache/fop/mathml/MathMLElement.java Fri Jul 25 03:55:49 2008
@@ -5,9 +5,9 @@
  * The ASF licenses this file to You 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.
@@ -16,7 +16,7 @@
  */
 
 /* $Id$ */
- 
+
 package org.apache.fop.mathml;
 
 import java.awt.Color;
@@ -59,9 +59,9 @@
     }
 
     /** {@inheritDoc} */
-    public void processNode(String elementName, 
-                            Locator locator, 
-                            Attributes attlist, 
+    public void processNode(String elementName,
+                            Locator locator,
+                            Attributes attlist,
                             PropertyList propertyList) throws FOPException {
         super.processNode(elementName, locator, attlist, propertyList);
         createBasicDocument();

Modified: xmlgraphics/fop/branches/Temp_AFPGOCAResources/examples/mathml/src/org/apache/fop/mathml/MathMLElementMapping.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/branches/Temp_AFPGOCAResources/examples/mathml/src/org/apache/fop/mathml/MathMLElementMapping.java?rev=679758&r1=679757&r2=679758&view=diff
==============================================================================
--- xmlgraphics/fop/branches/Temp_AFPGOCAResources/examples/mathml/src/org/apache/fop/mathml/MathMLElementMapping.java (original)
+++ xmlgraphics/fop/branches/Temp_AFPGOCAResources/examples/mathml/src/org/apache/fop/mathml/MathMLElementMapping.java Fri Jul 25 03:55:49 2008
@@ -5,9 +5,9 @@
  * The ASF licenses this file to You 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.
@@ -16,7 +16,7 @@
  */
 
 /* $Id$ */
- 
+
 package org.apache.fop.mathml;
 
 import java.util.HashMap;
@@ -32,7 +32,7 @@
 public class MathMLElementMapping extends ElementMapping {
 
     /** MathML Namespace */
-    public static final String NAMESPACE = "http://www.w3.org/1998/Math/MathML"; 
+    public static final String NAMESPACE = "http://www.w3.org/1998/Math/MathML";
 
     /** Main constructor. */
     public MathMLElementMapping() {

Modified: xmlgraphics/fop/branches/Temp_AFPGOCAResources/examples/mathml/src/org/apache/fop/mathml/MathMLObj.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/branches/Temp_AFPGOCAResources/examples/mathml/src/org/apache/fop/mathml/MathMLObj.java?rev=679758&r1=679757&r2=679758&view=diff
==============================================================================
--- xmlgraphics/fop/branches/Temp_AFPGOCAResources/examples/mathml/src/org/apache/fop/mathml/MathMLObj.java (original)
+++ xmlgraphics/fop/branches/Temp_AFPGOCAResources/examples/mathml/src/org/apache/fop/mathml/MathMLObj.java Fri Jul 25 03:55:49 2008
@@ -5,9 +5,9 @@
  * The ASF licenses this file to You 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.
@@ -16,7 +16,7 @@
  */
 
 /* $Id$ */
- 
+
 package org.apache.fop.mathml;
 
 // FOP

Modified: xmlgraphics/fop/branches/Temp_AFPGOCAResources/examples/mathml/src/org/apache/fop/mathml/PreloaderMathML.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/branches/Temp_AFPGOCAResources/examples/mathml/src/org/apache/fop/mathml/PreloaderMathML.java?rev=679758&r1=679757&r2=679758&view=diff
==============================================================================
--- xmlgraphics/fop/branches/Temp_AFPGOCAResources/examples/mathml/src/org/apache/fop/mathml/PreloaderMathML.java (original)
+++ xmlgraphics/fop/branches/Temp_AFPGOCAResources/examples/mathml/src/org/apache/fop/mathml/PreloaderMathML.java Fri Jul 25 03:55:49 2008
@@ -5,9 +5,9 @@
  * The ASF licenses this file to You 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.
@@ -16,7 +16,7 @@
  */
 
 /* $Id$ */
- 
+
 package org.apache.fop.mathml;
 
 import java.awt.Dimension;
@@ -58,8 +58,8 @@
     private static Log log = LogFactory.getLog(PreloaderMathML.class);
 
     private boolean jeuclidAvailable = true;
-    
-    /** {@inheritDoc} */ 
+
+    /** {@inheritDoc} */
     public ImageInfo preloadImage(String uri, Source src, ImageContext context)
             throws IOException {
         if (!ImageUtil.hasInputStream(src)) {
@@ -89,21 +89,21 @@
      * class.
      */
     class Loader {
-        
+
         private ImageInfo getImage(String uri, Source src, ImageContext context) {
 
             InputStream in = new UnclosableInputStream(ImageUtil.needInputStream(src));
             try {
                 int length = in.available();
                 in.mark(length + 1);
-                
+
                 TransformerFactory tFactory = TransformerFactory.newInstance();
                 Transformer transformer = tFactory.newTransformer();
                 Source source = new StreamSource(in);
                 SAXMathBuilder mathBuilder = new SAXMathBuilder();
                 SAXResult res = new SAXResult(mathBuilder);
                 transformer.transform(source, res);
-                
+
                 String fontname = "Helvetica";
                 int fontstyle = 0;
                 int displayfontsize = 12;
@@ -122,7 +122,7 @@
                                   mathBuilder.getMathRootElement(),
                                   fontname, fontstyle, inlinefontsize,
                                   displayfontsize);
-                
+
                 ImageInfo info = new ImageInfo(uri, "text/mathml");
                 final ImageSize size = new ImageSize();
                 size.setSizeInMillipoints(
@@ -142,13 +142,13 @@
                     public void paint(Graphics2D g2d, Rectangle2D area) {
                         base.paint(g2d);
                     }
-                    
+
                 };
-                
+
                 //The whole image had to be loaded for this, so keep it
                 Image image = new ImageGraphics2D(info, painter);
                 info.getCustomObjects().put(ImageInfo.ORIGINAL_IMAGE, image);
-                
+
                 return info;
             } catch (NoClassDefFoundError ncdfe) {
                 try {

Modified: xmlgraphics/fop/branches/Temp_AFPGOCAResources/examples/plan/src/org/apache/fop/plan/ActionInfo.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/branches/Temp_AFPGOCAResources/examples/plan/src/org/apache/fop/plan/ActionInfo.java?rev=679758&r1=679757&r2=679758&view=diff
==============================================================================
--- xmlgraphics/fop/branches/Temp_AFPGOCAResources/examples/plan/src/org/apache/fop/plan/ActionInfo.java (original)
+++ xmlgraphics/fop/branches/Temp_AFPGOCAResources/examples/plan/src/org/apache/fop/plan/ActionInfo.java Fri Jul 25 03:55:49 2008
@@ -5,9 +5,9 @@
  * The ASF licenses this file to You 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.
@@ -16,13 +16,13 @@
  */
 
 /* $Id$ */
- 
+
 package org.apache.fop.plan;
 
 import java.util.Date;
 
 public class ActionInfo {
-    
+
     public static final int TASK = 1;
     public static final int MILESTONE = 2;
     public static final int GROUPING = 3;

Modified: xmlgraphics/fop/branches/Temp_AFPGOCAResources/examples/plan/src/org/apache/fop/plan/EventList.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/branches/Temp_AFPGOCAResources/examples/plan/src/org/apache/fop/plan/EventList.java?rev=679758&r1=679757&r2=679758&view=diff
==============================================================================
--- xmlgraphics/fop/branches/Temp_AFPGOCAResources/examples/plan/src/org/apache/fop/plan/EventList.java (original)
+++ xmlgraphics/fop/branches/Temp_AFPGOCAResources/examples/plan/src/org/apache/fop/plan/EventList.java Fri Jul 25 03:55:49 2008
@@ -5,9 +5,9 @@
  * The ASF licenses this file to You 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.
@@ -16,13 +16,13 @@
  */
 
 /* $Id$ */
- 
+
 package org.apache.fop.plan;
 
 import java.util.List;
 
 public class EventList {
-    
+
     private List data = new java.util.ArrayList();
 
     public void addGroupInfo(GroupInfo set) {

Modified: xmlgraphics/fop/branches/Temp_AFPGOCAResources/examples/plan/src/org/apache/fop/plan/GroupInfo.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/branches/Temp_AFPGOCAResources/examples/plan/src/org/apache/fop/plan/GroupInfo.java?rev=679758&r1=679757&r2=679758&view=diff
==============================================================================
--- xmlgraphics/fop/branches/Temp_AFPGOCAResources/examples/plan/src/org/apache/fop/plan/GroupInfo.java (original)
+++ xmlgraphics/fop/branches/Temp_AFPGOCAResources/examples/plan/src/org/apache/fop/plan/GroupInfo.java Fri Jul 25 03:55:49 2008
@@ -5,9 +5,9 @@
  * The ASF licenses this file to You 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.
@@ -16,13 +16,13 @@
  */
 
 /* $Id$ */
- 
+
 package org.apache.fop.plan;
 
 import java.util.List;
 
 public class GroupInfo {
-    
+
     private String name;
     private List actions = new java.util.ArrayList();
 

Modified: xmlgraphics/fop/branches/Temp_AFPGOCAResources/examples/plan/src/org/apache/fop/plan/Main.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/branches/Temp_AFPGOCAResources/examples/plan/src/org/apache/fop/plan/Main.java?rev=679758&r1=679757&r2=679758&view=diff
==============================================================================
--- xmlgraphics/fop/branches/Temp_AFPGOCAResources/examples/plan/src/org/apache/fop/plan/Main.java (original)
+++ xmlgraphics/fop/branches/Temp_AFPGOCAResources/examples/plan/src/org/apache/fop/plan/Main.java Fri Jul 25 03:55:49 2008
@@ -5,9 +5,9 @@
  * The ASF licenses this file to You 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.
@@ -16,7 +16,7 @@
  */
 
 /* $Id$ */
- 
+
 package org.apache.fop.plan;
 
 import java.io.InputStream;

Modified: xmlgraphics/fop/branches/Temp_AFPGOCAResources/examples/plan/src/org/apache/fop/plan/PlanDrawer.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/branches/Temp_AFPGOCAResources/examples/plan/src/org/apache/fop/plan/PlanDrawer.java?rev=679758&r1=679757&r2=679758&view=diff
==============================================================================
--- xmlgraphics/fop/branches/Temp_AFPGOCAResources/examples/plan/src/org/apache/fop/plan/PlanDrawer.java (original)
+++ xmlgraphics/fop/branches/Temp_AFPGOCAResources/examples/plan/src/org/apache/fop/plan/PlanDrawer.java Fri Jul 25 03:55:49 2008
@@ -5,9 +5,9 @@
  * The ASF licenses this file to You 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.
@@ -16,7 +16,7 @@
  */
 
 /* $Id$ */
- 
+
 package org.apache.fop.plan;
 
 import java.util.HashMap;
@@ -27,7 +27,7 @@
  * This interface defines how a plan drawer is converted.
  */
 public interface PlanDrawer {
-    
+
     Document createDocument(EventList data, float w, float h,
                                    HashMap hints);
 }

Modified: xmlgraphics/fop/branches/Temp_AFPGOCAResources/examples/plan/src/org/apache/fop/plan/PlanElement.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/branches/Temp_AFPGOCAResources/examples/plan/src/org/apache/fop/plan/PlanElement.java?rev=679758&r1=679757&r2=679758&view=diff
==============================================================================
--- xmlgraphics/fop/branches/Temp_AFPGOCAResources/examples/plan/src/org/apache/fop/plan/PlanElement.java (original)
+++ xmlgraphics/fop/branches/Temp_AFPGOCAResources/examples/plan/src/org/apache/fop/plan/PlanElement.java Fri Jul 25 03:55:49 2008
@@ -5,9 +5,9 @@
  * The ASF licenses this file to You 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.
@@ -16,7 +16,7 @@
  */
 
 /* $Id$ */
- 
+
 package org.apache.fop.plan;
 
 import java.awt.geom.Point2D;
@@ -48,7 +48,7 @@
     }
 
     /** {@inheritDoc} */
-    public void processNode(String elementName, Locator locator, 
+    public void processNode(String elementName, Locator locator,
                             Attributes attlist, PropertyList propertyList)
         throws FOPException {
         super.processNode(elementName, locator, attlist, propertyList);
@@ -67,7 +67,7 @@
                 svgDoc = pr.createSVGDocument(doc);
                 width = pr.getWidth();
                 height = pr.getHeight();
-    
+
                 doc = svgDoc;
             }
         } catch (Throwable t) {

Modified: xmlgraphics/fop/branches/Temp_AFPGOCAResources/examples/plan/src/org/apache/fop/plan/PlanElementMapping.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/branches/Temp_AFPGOCAResources/examples/plan/src/org/apache/fop/plan/PlanElementMapping.java?rev=679758&r1=679757&r2=679758&view=diff
==============================================================================
--- xmlgraphics/fop/branches/Temp_AFPGOCAResources/examples/plan/src/org/apache/fop/plan/PlanElementMapping.java (original)
+++ xmlgraphics/fop/branches/Temp_AFPGOCAResources/examples/plan/src/org/apache/fop/plan/PlanElementMapping.java Fri Jul 25 03:55:49 2008
@@ -5,9 +5,9 @@
  * The ASF licenses this file to You 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.
@@ -16,7 +16,7 @@
  */
 
 /* $Id$ */
- 
+
 package org.apache.fop.plan;
 
 import org.w3c.dom.DOMImplementation;
@@ -30,7 +30,7 @@
 public class PlanElementMapping extends ElementMapping {
 
     /** Plan Namespace */
-    public static final String NAMESPACE = "http://xmlgraphics.apache.org/fop/plan"; 
+    public static final String NAMESPACE = "http://xmlgraphics.apache.org/fop/plan";
 
     /** Main constructor. */
     public PlanElementMapping() {

Modified: xmlgraphics/fop/branches/Temp_AFPGOCAResources/examples/plan/src/org/apache/fop/plan/PlanHints.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/branches/Temp_AFPGOCAResources/examples/plan/src/org/apache/fop/plan/PlanHints.java?rev=679758&r1=679757&r2=679758&view=diff
==============================================================================
--- xmlgraphics/fop/branches/Temp_AFPGOCAResources/examples/plan/src/org/apache/fop/plan/PlanHints.java (original)
+++ xmlgraphics/fop/branches/Temp_AFPGOCAResources/examples/plan/src/org/apache/fop/plan/PlanHints.java Fri Jul 25 03:55:49 2008
@@ -5,9 +5,9 @@
  * The ASF licenses this file to You 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.
@@ -16,14 +16,14 @@
  */
 
 /* $Id$ */
- 
+
 package org.apache.fop.plan;
 
 /**
  * This interface defines some constants for use in the plan package.
  */
 public interface PlanHints {
-    
+
     /** Border attribute */
     public static final String PLAN_BORDER = "border";
     /** Legend attribute */

Modified: xmlgraphics/fop/branches/Temp_AFPGOCAResources/examples/plan/src/org/apache/fop/plan/PlanObj.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/branches/Temp_AFPGOCAResources/examples/plan/src/org/apache/fop/plan/PlanObj.java?rev=679758&r1=679757&r2=679758&view=diff
==============================================================================
--- xmlgraphics/fop/branches/Temp_AFPGOCAResources/examples/plan/src/org/apache/fop/plan/PlanObj.java (original)
+++ xmlgraphics/fop/branches/Temp_AFPGOCAResources/examples/plan/src/org/apache/fop/plan/PlanObj.java Fri Jul 25 03:55:49 2008
@@ -5,9 +5,9 @@
  * The ASF licenses this file to You 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.
@@ -16,7 +16,7 @@
  */
 
 /* $Id$ */
- 
+
 package org.apache.fop.plan;
 
 // FOP

Modified: xmlgraphics/fop/branches/Temp_AFPGOCAResources/examples/plan/src/org/apache/fop/plan/PlanRenderer.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/branches/Temp_AFPGOCAResources/examples/plan/src/org/apache/fop/plan/PlanRenderer.java?rev=679758&r1=679757&r2=679758&view=diff
==============================================================================
--- xmlgraphics/fop/branches/Temp_AFPGOCAResources/examples/plan/src/org/apache/fop/plan/PlanRenderer.java (original)
+++ xmlgraphics/fop/branches/Temp_AFPGOCAResources/examples/plan/src/org/apache/fop/plan/PlanRenderer.java Fri Jul 25 03:55:49 2008
@@ -5,9 +5,9 @@
  * The ASF licenses this file to You 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.
@@ -16,7 +16,7 @@
  */
 
 /* $Id$ */
- 
+
 package org.apache.fop.plan;
 
 
@@ -34,9 +34,9 @@
 import org.apache.batik.dom.svg.SVGDOMImplementation;
 
 public class PlanRenderer {
-    
+
     private static final String SVG_NAMESPACE = SVGDOMImplementation.SVG_NAMESPACE_URI;
-    
+
     private String fontFamily = "sansserif";
     private float fontSize = 12;
     private String type = "";

Modified: xmlgraphics/fop/branches/Temp_AFPGOCAResources/examples/plan/src/org/apache/fop/plan/PreloaderPlan.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/branches/Temp_AFPGOCAResources/examples/plan/src/org/apache/fop/plan/PreloaderPlan.java?rev=679758&r1=679757&r2=679758&view=diff
==============================================================================
--- xmlgraphics/fop/branches/Temp_AFPGOCAResources/examples/plan/src/org/apache/fop/plan/PreloaderPlan.java (original)
+++ xmlgraphics/fop/branches/Temp_AFPGOCAResources/examples/plan/src/org/apache/fop/plan/PreloaderPlan.java Fri Jul 25 03:55:49 2008
@@ -5,9 +5,9 @@
  * The ASF licenses this file to You 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.
@@ -16,7 +16,7 @@
  */
 
 /* $Id$ */
- 
+
 package org.apache.fop.plan;
 
 import java.io.IOException;
@@ -52,7 +52,7 @@
     /** Logger instance */
     private static Log log = LogFactory.getLog(PreloaderPlan.class);
 
-    /** {@inheritDoc} */ 
+    /** {@inheritDoc} */
     public ImageInfo preloadImage(String uri, Source src, ImageContext context)
             throws IOException {
         if (!ImageUtil.hasInputStream(src)) {
@@ -75,13 +75,13 @@
             Source source = new StreamSource(in);
             DOMResult res = new DOMResult();
             transformer.transform(source, res);
-            
+
             //Have to render the plan to know its size
             PlanRenderer pr = new PlanRenderer();
             Document svgDoc = pr.createSVGDocument((Document)res.getNode());
             float width = pr.getWidth();
             float height = pr.getHeight();
-            
+
             //Return converted SVG image
             ImageInfo info = new ImageInfo(uri, "image/svg+xml");
             final ImageSize size = new ImageSize();
@@ -97,7 +97,7 @@
             Image image = new ImageXMLDOM(info, svgDoc,
                     svgDoc.getDocumentElement().getNamespaceURI());
             info.getCustomObjects().put(ImageInfo.ORIGINAL_IMAGE, image);
-            
+
             return info;
         } catch (TransformerException e) {
             try {

Modified: xmlgraphics/fop/branches/Temp_AFPGOCAResources/examples/plan/src/org/apache/fop/plan/SimplePlanDrawer.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/branches/Temp_AFPGOCAResources/examples/plan/src/org/apache/fop/plan/SimplePlanDrawer.java?rev=679758&r1=679757&r2=679758&view=diff
==============================================================================
--- xmlgraphics/fop/branches/Temp_AFPGOCAResources/examples/plan/src/org/apache/fop/plan/SimplePlanDrawer.java (original)
+++ xmlgraphics/fop/branches/Temp_AFPGOCAResources/examples/plan/src/org/apache/fop/plan/SimplePlanDrawer.java Fri Jul 25 03:55:49 2008
@@ -5,9 +5,9 @@
  * The ASF licenses this file to You 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.
@@ -16,7 +16,7 @@
  */
 
 /* $Id$ */
- 
+
 package org.apache.fop.plan;
 
 import java.text.DateFormat;
@@ -35,9 +35,9 @@
  * Simple plan drawer implementation.
  */
 public class SimplePlanDrawer implements PlanDrawer {
-    
+
     private static final String SVG_NAMESPACE = SVGDOMImplementation.SVG_NAMESPACE_URI;
-    
+
     private float fontSize;
     private HashMap hints;
     private java.awt.Font font = null;
@@ -91,8 +91,8 @@
         svgRoot.setAttributeNS(null, "width", "" + width);
         svgRoot.setAttributeNS(null, "height", "" + height);
         svgRoot.setAttributeNS(null, "style",
-                               "font-size:" + 8 
-                                   + ";font-family:" 
+                               "font-size:" + 8
+                                   + ";font-family:"
                                    + hints.get(PlanHints.FONT_FAMILY));
 
         font = new java.awt.Font((String)hints.get(PlanHints.FONT_FAMILY),
@@ -249,8 +249,8 @@
                             taskGraphic = SVGUtilities.createRect(doc,
                                 left + daysToStart * 300 / (totalDays - 2),
                                 topEdge + 2, days * 300 / (totalDays - 2), 10);
-                            taskGraphic.setAttributeNS(null, 
-                                "style", 
+                            taskGraphic.setAttributeNS(null,
+                                "style",
                                 "stroke:black;fill:blue;stroke-width:1;clip-path:url(#clip3)");
                             g.appendChild(taskGraphic);
                             break;
@@ -259,8 +259,8 @@
                                 "m " + (left
                                     + daysToStart * 300 / (totalDays - 2) - 6)
                                     + " " + (topEdge + 6) + "l6 6l6-6l-6-6z");
-                            taskGraphic.setAttributeNS(null, 
-                                "style", 
+                            taskGraphic.setAttributeNS(null,
+                                "style",
                                 "stroke:black;fill:black;stroke-width:1;clip-path:url(#clip3)");
                             g.appendChild(taskGraphic);
                             text = SVGUtilities.createText(doc,
@@ -271,7 +271,7 @@
                             break;
                         case ActionInfo.GROUPING:
                             taskGraphic = SVGUtilities.createPath(doc,
-                                "m " + (left 
+                                "m " + (left
                                     + daysToStart * 300 / (totalDays - 2) - 6)
                                     + " " + (topEdge + 6) + "l6 -6l"
                                     + (days * 300 / (totalDays - 2))
@@ -279,7 +279,7 @@
                                     + -(days * 300 / (totalDays - 2) - 8)
                                     + " 0l-4 4l-6-6z");
                             taskGraphic.setAttributeNS(null,
-                                "style", 
+                                "style",
                                 "stroke:black;fill:black;stroke-width:1;clip-path:url(#clip3)");
                             g.appendChild(taskGraphic);
                             break;

Modified: xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/codegen/java/org/apache/fop/tools/EventConventionException.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/codegen/java/org/apache/fop/tools/EventConventionException.java?rev=679758&r1=679757&r2=679758&view=diff
==============================================================================
--- xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/codegen/java/org/apache/fop/tools/EventConventionException.java (original)
+++ xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/codegen/java/org/apache/fop/tools/EventConventionException.java Fri Jul 25 03:55:49 2008
@@ -33,5 +33,5 @@
     public EventConventionException(String message) {
         super(message);
     }
-    
+
 }

Modified: xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/codegen/java/org/apache/fop/tools/EventProducerCollector.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/codegen/java/org/apache/fop/tools/EventProducerCollector.java?rev=679758&r1=679757&r2=679758&view=diff
==============================================================================
--- xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/codegen/java/org/apache/fop/tools/EventProducerCollector.java (original)
+++ xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/codegen/java/org/apache/fop/tools/EventProducerCollector.java Fri Jul 25 03:55:49 2008
@@ -46,7 +46,7 @@
 
     private static final String CLASSNAME_EVENT_PRODUCER = EventProducer.class.getName();
     private static final Map PRIMITIVE_MAP;
-    
+
     static {
         Map m = new java.util.HashMap();
         m.put("boolean", Boolean.class);
@@ -59,7 +59,7 @@
         m.put("double", Double.class);
         PRIMITIVE_MAP = Collections.unmodifiableMap(m);
     }
-    
+
     private DocletTagFactory tagFactory;
     private EventModel model = new EventModel();
 
@@ -81,21 +81,25 @@
     /**
      * Scans a file and processes it if it extends the {@link EventProducer} interface.
      * @param src the source file (a Java source file)
+     * @return true if the file contained an EventProducer interface
      * @throws IOException if an I/O error occurs
      * @throws EventConventionException if the EventProducer conventions are violated
      * @throws ClassNotFoundException if a required class cannot be found
      */
-    public void scanFile(File src)
+    public boolean scanFile(File src)
             throws IOException, EventConventionException, ClassNotFoundException {
         JavaDocBuilder builder = new JavaDocBuilder(this.tagFactory);
         builder.addSource(src);
         JavaClass[] classes = builder.getClasses();
+        boolean eventProducerFound = false;
         for (int i = 0, c = classes.length; i < c; i++) {
             JavaClass clazz = classes[i];
             if (clazz.isInterface() && implementsInterface(clazz, CLASSNAME_EVENT_PRODUCER)) {
                 processEventProducerInterface(clazz);
+                eventProducerFound = true;
             }
         }
+        return eventProducerFound;
     }
 
     private boolean implementsInterface(JavaClass clazz, String intf) {
@@ -146,13 +150,13 @@
             throw new EventConventionException("The first parameter of the method " + methodSig
                     + " must be: 'Object source'!");
         }
-        
+
         //build method model
         DocletTag tag = method.getTagByName("event.severity");
         EventSeverity severity;
         if (tag != null) {
             severity = EventSeverity.valueOf(tag.getValue());
-        } else { 
+        } else {
             severity = EventSeverity.INFO;
         }
         EventMethodModel methodMeta = new EventMethodModel(
@@ -192,7 +196,7 @@
     public EventModel getModel() {
         return this.model;
     }
-    
+
     /**
      * Saves the accumulated event model to an XML file.
      * @param modelFile the target model file
@@ -201,5 +205,5 @@
     public void saveModelToXML(File modelFile) throws IOException {
         getModel().saveToXML(modelFile);
     }
-    
+
 }

Modified: xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/codegen/java/org/apache/fop/tools/EventProducerCollectorTask.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/codegen/java/org/apache/fop/tools/EventProducerCollectorTask.java?rev=679758&r1=679757&r2=679758&view=diff
==============================================================================
--- xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/codegen/java/org/apache/fop/tools/EventProducerCollectorTask.java (original)
+++ xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/codegen/java/org/apache/fop/tools/EventProducerCollectorTask.java Fri Jul 25 03:55:49 2008
@@ -63,16 +63,21 @@
     public void execute() throws BuildException {
         try {
             EventProducerCollector collector = new EventProducerCollector();
-            processFileSets(collector);
+            long lastModified = processFileSets(collector);
             File parentDir = getModelFile().getParentFile();
             if (!parentDir.exists() && !parentDir.mkdirs()) {
                 throw new BuildException(
                         "Could not create target directory for event model file: " + parentDir);
             }
-            collector.saveModelToXML(getModelFile());
-            log("Event model written to " + getModelFile());
+            if (!getModelFile().exists() || lastModified > getModelFile().lastModified()) {
+                collector.saveModelToXML(getModelFile());
+                log("Event model written to " + getModelFile());
+            }
             if (getTranslationFile() != null) {
-                updateTranslationFile();
+                if (!getTranslationFile().exists()
+                        || lastModified > getTranslationFile().lastModified()) {
+                    updateTranslationFile();
+                }
             }
         } catch (ClassNotFoundException e) {
             throw new BuildException(e);
@@ -164,12 +169,14 @@
     /**
      * Processes the file sets defined for the task.
      * @param collector the collector to use for collecting the event producers
+     * @return the time of the latest modification of any of the files inspected
      * @throws IOException if an I/O error occurs
      * @throws EventConventionException if the EventProducer conventions are violated
      * @throws ClassNotFoundException if a required class cannot be found
      */
-    protected void processFileSets(EventProducerCollector collector)
+    protected long processFileSets(EventProducerCollector collector)
             throws IOException, EventConventionException, ClassNotFoundException {
+        long lastModified = 0;
         Iterator iter = filesets.iterator();
         while (iter.hasNext()) {
             FileSet fs = (FileSet)iter.next();
@@ -179,9 +186,13 @@
             for (int i = 0, c = srcFiles.length; i < c; i++) {
                 String filename = srcFiles[i];
                 File src = new File(directory, filename);
-                collector.scanFile(src);
+                boolean eventProducerFound = collector.scanFile(src);
+                if (eventProducerFound) {
+                    lastModified = Math.max(lastModified, src.lastModified());
+                }
             }
         }
+        return lastModified;
     }
 
     /**

Modified: xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/codegen/unicode/java/org/apache/fop/text/linebreak/GenerateLineBreakUtils.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/codegen/unicode/java/org/apache/fop/text/linebreak/GenerateLineBreakUtils.java?rev=679758&r1=679757&r2=679758&view=diff
==============================================================================
--- xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/codegen/unicode/java/org/apache/fop/text/linebreak/GenerateLineBreakUtils.java (original)
+++ xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/codegen/unicode/java/org/apache/fop/text/linebreak/GenerateLineBreakUtils.java Fri Jul 25 03:55:49 2008
@@ -1,13 +1,13 @@
-/* 
+/*
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
  * this work for additional information regarding copyright ownership.
  * The ASF licenses this file to You 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.
@@ -67,7 +67,7 @@
      * table for the table driven line breaking algorithm described in
      * <a href="http://unicode.org/reports/tr14/#PairBasedImplementation">UTR #14</a>.
      * TODO: Code points above the base plane are simply ignored.
-     * 
+     *
      * @param lineBreakFileName Name of line break property file (part of Unicode files).
      * @param propertyValueFileName Name of property values alias file (part of Unicode files).
      * @param breakPairFileName Name of pair table file (<i>not</i> part of the unicode files).
@@ -109,7 +109,7 @@
         if (line != null) {
             lineTokens = line.split("\\s+");
             byte columnNumber = 0;
-            
+
             for (int i = 0; i < lineTokens.length; ++i) {
                 name = lineTokens[i];
                 if (name.length() > 0) {
@@ -481,7 +481,7 @@
      * Read line break property value names and the actual properties for the Unicode
      * characters from the respective Unicode files.
      * TODO: Code points above the base plane are simply ignored.
-     * 
+     *
      * @param lineBreakFileName Name of line break property file.
      * @param propertyValueFileName Name of property values alias file.
      * @throws Exception in case anything goes wrong.
@@ -600,7 +600,7 @@
      * Determine a good block size for the two stage optimized storage of the
      * line breaking properties. Note: the memory utilization calculation is a rule of thumb,
      * don't take it too serious.
-     * 
+     *
      * @param lineBreakFileName Name of line break property file.
      * @param propertyValueFileName Name of property values alias file.
      * @throws Exception in case anything goes wrong.

Modified: xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/documentation/content/xdocs/DnI/BookMaker.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/documentation/content/xdocs/DnI/BookMaker.java?rev=679758&r1=679757&r2=679758&view=diff
==============================================================================
--- xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/documentation/content/xdocs/DnI/BookMaker.java (original)
+++ xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/documentation/content/xdocs/DnI/BookMaker.java Fri Jul 25 03:55:49 2008
@@ -5,9 +5,9 @@
  * The ASF licenses this file to You 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.
@@ -75,7 +75,7 @@
 import org.apache.fop.messaging.MessageHandler;
 
 /**
- * This class converts an XML file to PDF using 
+ * This class converts an XML file to PDF using
  * JAXP (XSLT) and FOP (XSL:FO).
  */
 public class BookMaker implements ErrorHandler {
@@ -113,7 +113,7 @@
         throw e;
     }
 
-    public void makeBook() 
+    public void makeBook()
                 throws IOException, FOPException, TransformerException,
                        FactoryConfigurationError,
                        ParserConfigurationException, SAXException {
@@ -160,7 +160,7 @@
                             + " as SAX parser");
                 xmlReader.setErrorHandler(this);
                 xmlReader.setEntityResolver(resolver);
-        
+
                 // Setup SAX source
                 fis = new FileInputStream(xmlFile);
                 is = new InputSource(fis);
@@ -175,7 +175,7 @@
                             + " as SAX parser");
                 xmlReader.setErrorHandler(this);
                 xmlReader.setEntityResolver(resolver);
-        
+
                 // Setup SAX source
                 fis = new FileInputStream(xsltFile);
                 is = new InputSource(fis);
@@ -210,7 +210,7 @@
                         + " as TrAX transformer");
 
             // Set the value of parameters, if any, defined for stylesheet
-            if (xsltParams != null) { 
+            if (xsltParams != null) {
                 for (int i = 0; i < xsltParams.size(); i += 2) {
                     transformer.setParameter
                         ((String) xsltParams.elementAt(i),
@@ -299,7 +299,7 @@
             }
             if (cl.hasOption("xsl")) {
                 app.xsltFile = new File(cl.getOptionValue("xsl"));
-            }   
+            }
             if (cl.hasOption("out")) {
                 app.outFile = new File(cl.getOptionValue("out"));
             }
@@ -323,9 +323,9 @@
             }
             app.logger.info("");
             app.logger.info("Transforming...");
-            
+
             app.makeBook();
-            
+
             app.logger.info("Transforming done");
         } catch (Exception e) {
             app.logger.error(ExceptionUtil.printStackTrace(e));

Modified: xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/documentation/content/xdocs/trunk/anttask.xml
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/documentation/content/xdocs/trunk/anttask.xml?rev=679758&r1=679757&r2=679758&view=diff
==============================================================================
--- xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/documentation/content/xdocs/trunk/anttask.xml (original)
+++ xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/documentation/content/xdocs/trunk/anttask.xml Fri Jul 25 03:55:49 2008
@@ -150,7 +150,7 @@
       </tr> 
       <tr> 
        <td>throwexceptions</td> 
-       <td>Controls whether or not an exception is thrown if an error occurs during rendering.</strong></td> 
+       <td>Controls whether or not an exception is thrown if an error occurs during rendering.</td> 
        <td>Default is <code>true</code></td> 
       </tr> 
      </table>

Modified: xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/Version.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/Version.java?rev=679758&r1=679757&r2=679758&view=diff
==============================================================================
--- xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/Version.java (original)
+++ xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/Version.java Fri Jul 25 03:55:49 2008
@@ -25,7 +25,7 @@
  * as this package equals the one specified in the manifest.
  */
 public final class Version {
-    
+
     private Version() { }
 
     /**
@@ -40,11 +40,11 @@
         }
         if (version == null) {
             //Fallback if FOP is used in a development environment
-            String headURL 
+            String headURL
                 = "$HeadURL$";
             version = headURL;
             final String pathPrefix = "/xmlgraphics/fop/";
-            int pos = version.indexOf(pathPrefix); 
+            int pos = version.indexOf(pathPrefix);
             if (pos >= 0) {
                 version = version.substring(pos + pathPrefix.length() - 1, version.length() - 2);
                 pos = version.indexOf("/src/");
@@ -57,5 +57,5 @@
         }
         return version;
     }
-    
+
 }

Modified: xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/apps/FOPException.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/apps/FOPException.java?rev=679758&r1=679757&r2=679758&view=diff
==============================================================================
--- xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/apps/FOPException.java (original)
+++ xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/apps/FOPException.java Fri Jul 25 03:55:49 2008
@@ -5,9 +5,9 @@
  * The ASF licenses this file to You 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.
@@ -32,7 +32,7 @@
     private String systemId;
     private int line;
     private int column;
-    
+
     private String localizedMessage;
 
     /**
@@ -80,7 +80,7 @@
     /**
      * Constructs a new exception with the specified detail message and cause.
      * @param message  the detail message
-     * @param cause the cause 
+     * @param cause the cause
      */
     public FOPException(String message, Exception cause) {
         super(message, cause);
@@ -212,7 +212,7 @@
             }
         }
     }
-    
+
     /**
      * Sets the localized message for this exception.
      * @param msg the localized message
@@ -230,6 +230,6 @@
         }
     }
 
-    
-    
+
+
 }

Modified: xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/apps/FOURIResolver.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/apps/FOURIResolver.java?rev=679758&r1=679757&r2=679758&view=diff
==============================================================================
--- xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/apps/FOURIResolver.java (original)
+++ xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/apps/FOURIResolver.java Fri Jul 25 03:55:49 2008
@@ -5,9 +5,9 @@
  * The ASF licenses this file to You 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.
@@ -42,7 +42,7 @@
 /**
  * Provides FOP specific URI resolution. This is the default URIResolver
  * {@link FOUserAgent} will use unless overidden.
- * 
+ *
  * @see javax.xml.transform.URIResolver
  */
 public class FOURIResolver implements javax.xml.transform.URIResolver {
@@ -96,7 +96,7 @@
 
     /**
      * Additional constructor
-     * 
+     *
      * @param throwExceptions
      *            true if exceptions are to be thrown if the URIs cannot be
      *            resolved.
@@ -107,7 +107,7 @@
 
     /**
      * Handles resolve exceptions appropriately.
-     * 
+     *
      * @param errorStr
      *            error string
      * @param strict
@@ -133,7 +133,7 @@
      * If the method is successful it will return a Source of type
      * {@link javax.xml.transform.stream.StreamSource} with its SystemID set to
      * the resolved URL used to open the underlying InputStream.
-     * 
+     *
      * @param href
      *            An href attribute, which may be relative or absolute.
      * @param base
@@ -212,13 +212,13 @@
                     /*
                      * This piece of code is based on the following statement in
                      * RFC2396 section 5.2:
-                     * 
+                     *
                      * 3) If the scheme component is defined, indicating that
                      * the reference starts with a scheme name, then the
                      * reference is interpreted as an absolute URI and we are
                      * done. Otherwise, the reference URI's scheme is inherited
                      * from the base URI's scheme component.
-                     * 
+                     *
                      * Due to a loophole in prior specifications [RFC1630], some
                      * parsers allow the scheme name to be present in a relative
                      * URI if it is the same as the base URI scheme.
@@ -228,7 +228,7 @@
                      * removing the scheme if it matches that of the base URI
                      * and the scheme is known to always use the <hier_part>
                      * syntax.
-                     * 
+                     *
                      * The URL class does not implement this work around, so we
                      * do.
                      */
@@ -281,7 +281,7 @@
      * before the connect() method is called. Subclass FOURIResolver and
      * override this method to do things like adding the user name and password
      * for HTTP basic authentication.
-     * 
+     *
      * @param connection
      *            the URLConnection instance
      * @param href
@@ -295,7 +295,7 @@
      * This is a convenience method for users who want to override
      * updateURLConnection for HTTP basic authentication. Simply call it using
      * the right username and password.
-     * 
+     *
      * @param connection
      *            the URLConnection to set up for HTTP basic authentication
      * @param username
@@ -327,7 +327,7 @@
      * Sets the custom URI Resolver. It is used for resolving factory-level URIs like
      * hyphenation patterns and as backup for URI resolution performed during a
      * rendering run.
-     * 
+     *
      * @param resolver
      *            the new URI resolver
      */
@@ -337,7 +337,7 @@
 
     /**
      * Returns the custom URI Resolver.
-     * 
+     *
      * @return the URI Resolver or null, if none is set
      */
     public URIResolver getCustomURIResolver() {

Modified: xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/apps/FOUserAgent.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/apps/FOUserAgent.java?rev=679758&r1=679757&r2=679758&view=diff
==============================================================================
--- xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/apps/FOUserAgent.java (original)
+++ xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/apps/FOUserAgent.java Fri Jul 25 03:55:49 2008
@@ -5,9 +5,9 @@
  * The ASF licenses this file to You 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.
@@ -468,7 +468,7 @@
     /**
      * Gets the default page-height to use as fallback,
      * in case page-height="auto"
-     * 
+     *
      * @return the page-height, as a String
      * @see FopFactory#getPageHeight()
      */
@@ -479,7 +479,7 @@
     /**
      * Gets the default page-width to use as fallback,
      * in case page-width="auto"
-     * 
+     *
      * @return the page-width, as a String
      * @see FopFactory#getPageWidth()
      */
@@ -522,7 +522,7 @@
     /**
      * Controls the use of SAXLocators to provide location information in error
      * messages.
-     * 
+     *
      * @param enableLocator <code>false</code> if SAX Locators should be disabled
      */
     public void setLocatorEnabled(boolean enableLocator) {

Modified: xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/apps/Fop.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/apps/Fop.java?rev=679758&r1=679757&r2=679758&view=diff
==============================================================================
--- xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/apps/Fop.java (original)
+++ xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/apps/Fop.java Fri Jul 25 03:55:49 2008
@@ -5,9 +5,9 @@
  * The ASF licenses this file to You 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.
@@ -30,13 +30,13 @@
  * Primary class that activates the FOP process for embedded usage.
  * <P>
  * JAXP is the standard method of embedding FOP in Java programs.
- * Please check our 
+ * Please check our
  * <a href="http://xmlgraphics.apache.org/fop/trunk/embedding.html">embedding page</a>
- * for samples (these are also available within the distribution in 
+ * for samples (these are also available within the distribution in
  * FOP_DIR\examples\embedding)
  * <P>
  * Methods within FOUserAgent are available to customize portions of the
- * process.  For example, a specific Renderer object can be specified, 
+ * process.  For example, a specific Renderer object can be specified,
  * also ElementMappings which determine elements in the FO that can be
  * processed) can be added.
  * <P>
@@ -58,7 +58,7 @@
     private FOTreeBuilder foTreeBuilder = null;
 
     /**
-     * Constructor for use with already-created FOUserAgents. It uses MIME types to select the 
+     * Constructor for use with already-created FOUserAgents. It uses MIME types to select the
      * output format (ex. "application/pdf" for PDF).
      * @param outputFormat the MIME type of the output format to use (ex. "application/pdf").
      * @param ua FOUserAgent object
@@ -72,9 +72,9 @@
         if (foUserAgent == null) {
             foUserAgent = FopFactory.newInstance().newFOUserAgent();
         }
-        
+
         this.stream = stream;
-        
+
         createDefaultHandler();
     }
 
@@ -119,7 +119,7 @@
      * page-sequence. Call this method only after the rendering process is
      * finished. Note that the results are only available for output formats
      * which make use of FOP's layout engine (PDF, PS, etc.).
-     * @return the results of the rendering process, or null for flow-oriented 
+     * @return the results of the rendering process, or null for flow-oriented
      * output formats like RTF and MIF.
      */
     public FormattingResults getResults() {

Modified: xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/apps/FopFactory.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/apps/FopFactory.java?rev=679758&r1=679757&r2=679758&view=diff
==============================================================================
--- xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/apps/FopFactory.java (original)
+++ xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/apps/FopFactory.java Fri Jul 25 03:55:49 2008
@@ -537,7 +537,7 @@
     /**
      * Gets the default page-height to use as fallback,
      * in case page-height="auto"
-     * 
+     *
      * @return the page-height, as a String
      */
     public String getPageHeight() {
@@ -547,7 +547,7 @@
     /**
      * Sets the page-height to use as fallback, in case
      * page-height="auto"
-     * 
+     *
      * @param pageHeight    page-height as a String
      */
     public void setPageHeight(String pageHeight) {
@@ -560,7 +560,7 @@
     /**
      * Gets the default page-width to use as fallback,
      * in case page-width="auto"
-     * 
+     *
      * @return the page-width, as a String
      */
     public String getPageWidth() {
@@ -570,7 +570,7 @@
     /**
      * Sets the page-width to use as fallback, in case
      * page-width="auto"
-     * 
+     *
      * @param pageWidth    page-width as a String
      */
     public void setPageWidth(String pageWidth) {
@@ -729,13 +729,13 @@
 
     /**
      * Create (if needed) and return an ICC ColorSpace instance.
-     * 
+     *
      * The ICC profile source is taken from the src attribute of the color-profile FO element.
      * If the ICC ColorSpace is not yet in the cache a new one is created and stored in the cache.
-     * 
+     *
      * The FOP URI resolver is used to try and locate the ICC file.
      * If that fails null is returned.
-     * 
+     *
      * @param baseUri a base URI to resolve relative URIs
      * @param iccProfileSrc ICC Profile source to return a ColorSpace for
      * @return ICC ColorSpace object or null if ColorSpace could not be created

Modified: xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/apps/FopFactoryConfigurator.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/apps/FopFactoryConfigurator.java?rev=679758&r1=679757&r2=679758&view=diff
==============================================================================
--- xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/apps/FopFactoryConfigurator.java (original)
+++ xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/apps/FopFactoryConfigurator.java Fri Jul 25 03:55:49 2008
@@ -5,9 +5,9 @@
  * The ASF licenses this file to You 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.

Modified: xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/apps/FormattingResults.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/apps/FormattingResults.java?rev=679758&r1=679757&r2=679758&view=diff
==============================================================================
--- xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/apps/FormattingResults.java (original)
+++ xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/apps/FormattingResults.java Fri Jul 25 03:55:49 2008
@@ -5,9 +5,9 @@
  * The ASF licenses this file to You 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.

Modified: xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/apps/PageSequenceResults.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/apps/PageSequenceResults.java?rev=679758&r1=679757&r2=679758&view=diff
==============================================================================
--- xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/apps/PageSequenceResults.java (original)
+++ xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/apps/PageSequenceResults.java Fri Jul 25 03:55:49 2008
@@ -5,9 +5,9 @@
  * The ASF licenses this file to You 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.

Modified: xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/area/AbstractOffDocumentItem.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/area/AbstractOffDocumentItem.java?rev=679758&r1=679757&r2=679758&view=diff
==============================================================================
--- xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/area/AbstractOffDocumentItem.java (original)
+++ xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/area/AbstractOffDocumentItem.java Fri Jul 25 03:55:49 2008
@@ -5,9 +5,9 @@
  * The ASF licenses this file to You 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.
@@ -16,7 +16,7 @@
  */
 
 /* $Id$ */
- 
+
 package org.apache.fop.area;
 
 /**
@@ -51,10 +51,10 @@
      */
     public static final int START_OF_DOC = 2;
 
-    
+
     /** Indicates in what phase the item should be processed. */
     protected int whenToProcess = IMMEDIATELY;
-    
+
     /**
      * Get an indicator of when this item should be processed
      * @return int constant (IMMEDIATELY, AFTER_PAGE, START_OF_DOC, END_OF_DOC)

Modified: xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/area/Area.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/area/Area.java?rev=679758&r1=679757&r2=679758&view=diff
==============================================================================
--- xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/area/Area.java (original)
+++ xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/area/Area.java Fri Jul 25 03:55:49 2008
@@ -167,9 +167,9 @@
     }
 
     /**
-     * Get the inline progression dimension of the content rectangle 
+     * Get the inline progression dimension of the content rectangle
      * for this area.
-     * 
+     *
      * @return the inline progression dimension
      * @see <a href="http://www.w3.org/TR/xsl/#inline-progression-dimension">ipd</a>
      */
@@ -218,7 +218,7 @@
      * @return the total BPD allocation for this area
      */
     public int getAllocBPD() {
-        return getSpaceBefore() + getBorderAndPaddingWidthBefore() + getBPD() 
+        return getSpaceBefore() + getBorderAndPaddingWidthBefore() + getBPD()
                 + getBorderAndPaddingWidthAfter() + getSpaceAfter();
     }
 
@@ -233,7 +233,7 @@
         if (bps != null) {
             margin = bps.width;
         }
-        
+
         Integer padWidth = (Integer) getTrait(Trait.PADDING_BEFORE);
         if (padWidth != null) {
             margin += padWidth.intValue();
@@ -241,7 +241,7 @@
 
         return margin;
     }
-    
+
     /**
      * Return the sum of region border- and padding-after
      *
@@ -249,12 +249,12 @@
      */
     public int getBorderAndPaddingWidthAfter() {
         int margin = 0;
-        
+
         BorderProps bps = (BorderProps) getTrait(Trait.BORDER_AFTER);
         if (bps != null) {
             margin = bps.width;
         }
-        
+
         Integer padWidth = (Integer) getTrait(Trait.PADDING_AFTER);
         if (padWidth != null) {
             margin += padWidth.intValue();
@@ -274,7 +274,7 @@
         if (bps != null) {
             margin = bps.width;
         }
-        
+
         Integer padWidth = (Integer) getTrait(Trait.PADDING_START);
         if (padWidth != null) {
             margin += padWidth.intValue();
@@ -294,7 +294,7 @@
         if (bps != null) {
             margin = bps.width;
         }
-        
+
         Integer padWidth = (Integer) getTrait(Trait.PADDING_END);
         if (padWidth != null) {
             margin += padWidth.intValue();
@@ -316,7 +316,7 @@
         }
         return margin;
     }
-    
+
     /**
      * Returns the space after
      *
@@ -330,7 +330,7 @@
         }
         return margin;
     }
-    
+
     /**
      * Returns the space start
      *
@@ -344,7 +344,7 @@
         }
         return margin;
     }
-    
+
     /**
      * Returns the space end
      *
@@ -358,7 +358,7 @@
         }
         return margin;
     }
-    
+
     /**
      * Add a child to this area.
      * The default is to do nothing. Subclasses must override
@@ -395,7 +395,7 @@
     public boolean hasTraits() {
         return (this.props != null);
     }
-    
+
     /**
      * Get a trait from this area.
      *
@@ -405,7 +405,7 @@
     public Object getTrait(Object oTraitCode) {
         return (props != null ? props.get(oTraitCode) : null);
     }
-    
+
     /**
      * Checks whether a certain trait is set on this area.
      * @param oTraitCode the trait key
@@ -414,7 +414,7 @@
     public boolean hasTrait(Object oTraitCode) {
         return (getTrait(oTraitCode) != null);
     }
-    
+
     /**
      * Get a boolean trait from this area.
      * @param oTraitCode the trait key
@@ -440,10 +440,10 @@
                     + " could not be converted to an integer");
         }
     }
-    
+
     /**
      * {@inheritDoc}
-     * @return ipd and bpd of area 
+     * @return ipd and bpd of area
      * */
     public String toString() {
         StringBuffer sb = new StringBuffer(super.toString());

Modified: xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/area/AreaEventProducer.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/area/AreaEventProducer.java?rev=679758&r1=679757&r2=679758&view=diff
==============================================================================
--- xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/area/AreaEventProducer.java (original)
+++ xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/area/AreaEventProducer.java Fri Jul 25 03:55:49 2008
@@ -31,7 +31,7 @@
      * Provider class for the event producer.
      */
     class Provider {
-        
+
         /**
          * Returns an event producer.
          * @param broadcaster the event broadcaster to use
@@ -51,7 +51,7 @@
      * @event.severity WARN
      */
     void unresolvedIDReference(Object source, String type, String id);
-    
+
     /**
      * An unresolved ID reference was encountered on a page.
      * @param source the event source
@@ -60,7 +60,7 @@
      * @event.severity WARN
      */
     void unresolvedIDReferenceOnPage(Object source, String page, String id);
-    
+
     /**
      * A page could not be loaded/deserialized from a file.
      * @param source the event source
@@ -69,7 +69,7 @@
      * @event.severity ERROR
      */
     void pageLoadError(Object source, String page, Exception e);
-    
+
     /**
      * A page could not be saved/serialized to a file.
      * @param source the event source
@@ -78,7 +78,7 @@
      * @event.severity ERROR
      */
     void pageSaveError(Object source, String page, Exception e);
-    
+
     /**
      * A page could not be rendered.
      * @param source the event source
@@ -87,5 +87,5 @@
      * @event.severity ERROR
      */
     void pageRenderingError(Object source, String page, Exception e);
-    
+
 }

Modified: xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/area/AreaTreeHandler.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/area/AreaTreeHandler.java?rev=679758&r1=679757&r2=679758&view=diff
==============================================================================
--- xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/area/AreaTreeHandler.java (original)
+++ xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/area/AreaTreeHandler.java Fri Jul 25 03:55:49 2008
@@ -5,9 +5,9 @@
  * The ASF licenses this file to You 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.
@@ -49,7 +49,7 @@
 
 /**
  * Area tree handler for formatting objects.
- * 
+ *
  * Concepts: The area tree is to be as small as possible. With minimal classes
  * and data to fully represent an area tree for formatting objects. The area
  * tree needs to be simple to render and follow the spec closely. This area tree
@@ -61,7 +61,7 @@
  * type of renderer.
  */
 public class AreaTreeHandler extends FOEventHandler {
-    
+
     private static Log log = LogFactory.getLog(AreaTreeHandler.class);
 
     // Recorder of debug statistics
@@ -78,7 +78,7 @@
 
     // The fo:root node of the document
     private Root rootFObj;
-    
+
     // The formatting results to be handed back to the caller.
     private FormattingResults results = new FormattingResults();
 
@@ -88,7 +88,7 @@
 
     /**
      * Constructor.
-     * 
+     *
      * @param userAgent FOUserAgent object for process
      * @param outputFormat the MIME type of the output format to use (ex.
      * "application/pdf").
@@ -107,7 +107,7 @@
         }
 
         this.idTracker = new IDTracker();
-        
+
         if (log.isDebugEnabled()) {
             statistics = new Statistics();
         }
@@ -115,7 +115,7 @@
 
     /**
      * Sets up the AreaTreeModel instance for use by the AreaTreeHandler.
-     * 
+     *
      * @param userAgent FOUserAgent object for process
      * @param outputFormat the MIME type of the output format to use (ex.
      * "application/pdf").
@@ -129,7 +129,7 @@
 
     /**
      * Get the area tree model for this area tree.
-     * 
+     *
      * @return AreaTreeModel the model being used for this area tree
      */
     public AreaTreeModel getAreaTreeModel() {
@@ -138,7 +138,7 @@
 
     /**
      * Get the LayoutManager maker for this area tree.
-     * 
+     *
      * @return LayoutManagerMaker the LayoutManager maker being used for this
      *         area tree
      */
@@ -148,7 +148,7 @@
 
     /**
      * Get the IDTracker for this area tree.
-     * 
+     *
      * @return IDTracker used to track reference ids for items in this area tree
      */
     public IDTracker getIDTracker() {
@@ -157,7 +157,7 @@
 
     /**
      * Get information about the rendered output, like number of pages created.
-     * 
+     *
      * @return the results structure
      */
     public FormattingResults getResults() {
@@ -167,7 +167,7 @@
     /**
      * Prepare AreaTreeHandler for document processing This is called from
      * FOTreeBuilder.startDocument()
-     * 
+     *
      * @throws SAXException
      *             if there is an error
      */
@@ -193,7 +193,7 @@
     public void startPageSequence(PageSequence pageSequence) {
         startAbstractPageSequence(pageSequence);
     }
-    
+
     private void startAbstractPageSequence(AbstractPageSequence pageSequence) {
         rootFObj = pageSequence.getRoot();
         finishPrevPageSequence(pageSequence.getInitialPageNumber());
@@ -217,7 +217,7 @@
     /**
      * End the PageSequence. The PageSequence formats Pages and adds them to the
      * AreaTree. The area tree then handles what happens with the pages.
-     * 
+     *
      * @param pageSequence the page sequence ending
      */
     public void endPageSequence(PageSequence pageSequence) {
@@ -248,20 +248,20 @@
         if (statistics != null) {
             statistics.end();
         }
-        
+
         ExternalDocumentLayoutManager edLM;
         edLM = getLayoutManagerMaker().makeExternalDocumentLayoutManager(this, document);
         edLM.activateLayout();
         // preserve the current PageSequenceLayoutManger for the
         // force-page-count check at the beginning of the next PageSequence
         prevPageSeqLM = edLM;
-        
+
     }
 
     /**
      * Called by the PageSequenceLayoutManager when it is finished with a
      * page-sequence.
-     * 
+     *
      * @param pageSequence the page-sequence just finished
      * @param pageCount The number of pages generated for the page-sequence
      */
@@ -275,7 +275,7 @@
 
     /**
      * End the document.
-     * 
+     *
      * @throws SAXException if there is some error
      */
     public void endDocument() throws SAXException {
@@ -313,7 +313,7 @@
      * Add a OffDocumentItem to the area tree model. This checks if the
      * OffDocumentItem is resolvable and attempts to resolve or add the
      * resolvable ids for later resolution.
-     * 
+     *
      * @param odi the OffDocumentItem to add.
      */
     private void addOffDocumentItem(OffDocumentItem odi) {
@@ -342,7 +342,7 @@
 
     /**
      * Generates and returns a unique key for a page viewport.
-     * 
+     *
      * @return the generated key.
      */
     public String generatePageViewportKey() {
@@ -354,7 +354,7 @@
      * Tie a PageViewport with an ID found on a child area of the PV. Note that
      * an area with a given ID may be on more than one PV, hence an ID may have
      * more than one PV associated with it.
-     * 
+     *
      * @param id the property ID of the area
      * @param pv a page viewport that contains the area with this ID
      * @deprecated use getIDTracker().associateIDWithPageViewport(id, pv) instead
@@ -367,7 +367,7 @@
      * This method tie an ID to the areaTreeHandler until this one is ready to
      * be processed. This is used in page-number-citation-last processing so we
      * know when an id can be resolved.
-     * 
+     *
      * @param id the id of the object being processed
      * @deprecated use getIDTracker().signalPendingID(id) instead
      */
@@ -379,7 +379,7 @@
      * Signals that all areas for the formatting object with the given ID have
      * been generated. This is used to determine when page-number-citation-last
      * ref-ids can be resolved.
-     * 
+     *
      * @param id the id of the formatting object which was just finished
      * @deprecated use getIDTracker().signalIDProcessed(id) instead
      */
@@ -389,7 +389,7 @@
 
     /**
      * Check if an ID has already been resolved
-     * 
+     *
      * @param id the id to check
      * @return true if the ID has been resolved
      * @deprecated use getIDTracker().alreadyResolvedID(id) instead
@@ -400,7 +400,7 @@
 
     /**
      * Tries to resolve all unresolved ID references on the given page.
-     * 
+     *
      * @param pv page viewport whose ID refs to resolve
      * @deprecated use getIDTracker().tryIDResolution(pv) instead
      */
@@ -410,7 +410,7 @@
 
     /**
      * Get the list of page viewports that have an area with a given id.
-     * 
+     *
      * @param id the id to lookup
      * @return the list of PageViewports
      * @deprecated use getIDTracker().getPageViewportsContainingID(id) instead
@@ -421,7 +421,7 @@
 
     /**
      * Add an Resolvable object with an unresolved idref
-     * 
+     *
      * @param idref the idref whose target id has not yet been located
      * @param res the Resolvable object needing the idref to be resolved
      * @deprecated use getIDTracker().addUnresolvedIDRef(idref, res) instead
@@ -429,7 +429,7 @@
     public void addUnresolvedIDRef(String idref, Resolvable res) {
         idTracker.addUnresolvedIDRef(idref, res);
     }
-    
+
     private class Statistics {
         // for statistics gathering
         private Runtime runtime;

Modified: xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/area/AreaTreeModel.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/area/AreaTreeModel.java?rev=679758&r1=679757&r2=679758&view=diff
==============================================================================
--- xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/area/AreaTreeModel.java (original)
+++ xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/area/AreaTreeModel.java Fri Jul 25 03:55:49 2008
@@ -5,9 +5,9 @@
  * The ASF licenses this file to You 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.
@@ -16,7 +16,7 @@
  */
 
 /* $Id$ */
- 
+
 package org.apache.fop.area;
 
 // Java
@@ -80,7 +80,7 @@
     }
 
     /**
-     * Handle an OffDocumentItem 
+     * Handle an OffDocumentItem
      * @param ext the extension to handle
      */
     public void handleOffDocumentItem(OffDocumentItem ext) { };
@@ -98,7 +98,7 @@
     public PageSequence getCurrentPageSequence() {
         return this.currentPageSequence;
     }
-    
+
     /**
      * Get the page sequence count.
      * @return the number of page sequences in the document.

Modified: xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/area/AreaTreeObject.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/area/AreaTreeObject.java?rev=679758&r1=679757&r2=679758&view=diff
==============================================================================
--- xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/area/AreaTreeObject.java (original)
+++ xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/area/AreaTreeObject.java Fri Jul 25 03:55:49 2008
@@ -33,7 +33,7 @@
 
     /** Foreign attributes */
     protected Map foreignAttributes = null;
-    
+
     /** Extension attachments */
     protected List/*<ExtensionAttachment>*/ extensionAttachments = null;
     
@@ -48,7 +48,7 @@
         }
         this.foreignAttributes.put(name, value);
     }
-    
+
     /**
      * Set foreign attributes from a Map.
      * @param atts a Map with attributes (keys: QName, values: String)
@@ -61,11 +61,11 @@
         while (iter.hasNext()) {
             Map.Entry entry = (Map.Entry)iter.next();
             String value = (String)entry.getValue();
-            //The casting is only to ensure type safety (too bad we can't use generics, yet) 
+            //The casting is only to ensure type safety (too bad we can't use generics, yet)
             setForeignAttribute((QName)entry.getKey(), value);
         }
     }
-    
+
     /**
      * Returns the value of a foreign attribute on the area.
      * @param name the qualified name of the attribute
@@ -78,7 +78,7 @@
             return null;
         }
     }
-    
+
     /** @return the foreign attributes associated with this area */
     public Map getForeignAttributes() {
         if (this.foreignAttributes != null) {



---------------------------------------------------------------------
To unsubscribe, e-mail: fop-commits-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-commits-help@xmlgraphics.apache.org


Mime
View raw message