diff options
author | Jeremias Maerki <jeremias@apache.org> | 2005-09-02 07:49:30 +0000 |
---|---|---|
committer | Jeremias Maerki <jeremias@apache.org> | 2005-09-02 07:49:30 +0000 |
commit | f58ac672756e995864a0e9ef5efaa80db1af088f (patch) | |
tree | dd4d0aba847bc6b1e737ac3217285addce7dd218 | |
parent | 8c6aa8d4d9d06a201a275637e5d39e6a26acc803 (diff) | |
download | xmlgraphics-fop-f58ac672756e995864a0e9ef5efaa80db1af088f.tar.gz xmlgraphics-fop-f58ac672756e995864a0e9ef5efaa80db1af088f.zip |
Fixed getDocument() method (is now getDOMDocument()). The plan extension still worked because convertToSvg() was called by getDimension(). Anyway, this is now fixed.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@266300 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | examples/plan/src/org/apache/fop/plan/PlanElement.java | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/examples/plan/src/org/apache/fop/plan/PlanElement.java b/examples/plan/src/org/apache/fop/plan/PlanElement.java index 7bec2861d..92e30cf78 100644 --- a/examples/plan/src/org/apache/fop/plan/PlanElement.java +++ b/examples/plan/src/org/apache/fop/plan/PlanElement.java @@ -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 class PlanElement extends PlanObj { */ 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 @@ public class PlanElement extends PlanObj { } /** - * @see org.apache.fop.fo.XMLObj#getDocument() + * @see org.apache.fop.fo.XMLObj#getDOMDocument() */ - public Document getDocument() { + public Document getDOMDocument() { convertToSVG(); return doc; } |