You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-commits@xmlgraphics.apache.org by je...@apache.org on 2005/09/02 09:49:34 UTC

svn commit: r266300 - /xmlgraphics/fop/trunk/examples/plan/src/org/apache/fop/plan/PlanElement.java

Author: jeremias
Date: Fri Sep  2 00:49:30 2005
New Revision: 266300

URL: http://svn.apache.org/viewcvs?rev=266300&view=rev
Log:
Fixed getDocument() method (is now getDOMDocument()). The plan extension still worked because convertToSvg() was called by getDimension(). Anyway, this is now fixed.

Modified:
    xmlgraphics/fop/trunk/examples/plan/src/org/apache/fop/plan/PlanElement.java

Modified: xmlgraphics/fop/trunk/examples/plan/src/org/apache/fop/plan/PlanElement.java
URL: http://svn.apache.org/viewcvs/xmlgraphics/fop/trunk/examples/plan/src/org/apache/fop/plan/PlanElement.java?rev=266300&r1=266299&r2=266300&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/examples/plan/src/org/apache/fop/plan/PlanElement.java (original)
+++ xmlgraphics/fop/trunk/examples/plan/src/org/apache/fop/plan/PlanElement.java Fri Sep  2 00:49:30 2005
@@ -1,5 +1,5 @@
 /*
- * Copyright 1999-2004 The Apache Software Foundation.
+ * Copyright 1999-2005 The Apache Software Foundation.
  * 
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -50,8 +50,7 @@
      */
     public void processNode(String elementName, Locator locator, 
                             Attributes attlist, PropertyList propertyList)
-        throws FOPException
-    {
+        throws FOPException {
         super.processNode(elementName, locator, attlist, propertyList);
         createBasicDocument();
     }
@@ -80,9 +79,9 @@
     }
 
     /**
-     * @see org.apache.fop.fo.XMLObj#getDocument()
+     * @see org.apache.fop.fo.XMLObj#getDOMDocument()
      */
-    public Document getDocument() {
+    public Document getDOMDocument() {
         convertToSVG();
         return doc;
     }



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