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:56:12 UTC
svn commit: r266301 -
/xmlgraphics/fop/trunk/examples/mathml/src/org/apache/fop/mathml/MathMLElement.java
Author: jeremias
Date: Fri Sep 2 00:56:08 2005
New Revision: 266301
URL: http://svn.apache.org/viewcvs?rev=266301&view=rev
Log:
Fixed getDocument() method (is now getDOMDocument()).
Modified:
xmlgraphics/fop/trunk/examples/mathml/src/org/apache/fop/mathml/MathMLElement.java
Modified: xmlgraphics/fop/trunk/examples/mathml/src/org/apache/fop/mathml/MathMLElement.java
URL: http://svn.apache.org/viewcvs/xmlgraphics/fop/trunk/examples/mathml/src/org/apache/fop/mathml/MathMLElement.java?rev=266301&r1=266300&r2=266301&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/examples/mathml/src/org/apache/fop/mathml/MathMLElement.java (original)
+++ xmlgraphics/fop/trunk/examples/mathml/src/org/apache/fop/mathml/MathMLElement.java Fri Sep 2 00:56:08 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.
@@ -104,12 +104,12 @@
/**
* Create the SVG from MathML.
+ * @param base the root element
* @return the DOM document containing SVG
*/
public static Document createSVG(MathBase base) {
- DOMImplementation impl =
- SVGDOMImplementation.getDOMImplementation();
+ DOMImplementation impl = SVGDOMImplementation.getDOMImplementation();
String svgNS = SVGDOMImplementation.SVG_NAMESPACE_URI;
Document svgdocument = impl.createDocument(svgNS, "svg", null);
@@ -140,10 +140,8 @@
}
- /**
- * @see org.apache.fop.fo.XMLObj#getDocument()
- */
- public Document getDocument() {
+ /** @see org.apache.fop.fo.XMLObj#getDOMDocument() */
+ 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