aboutsummaryrefslogtreecommitdiffstats
path: root/examples/mathml
Commit message (Collapse)AuthorAgeFilesLines
* Some instructions in the readme file for the MathML extension.Jeremias Maerki2006-09-041-0/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@440154 13f79535-47bb-0310-9956-ffa450edef68
* Changed license headers and updated NOTICE file according to: ↵Jeremias Maerki2006-07-284-20/+24
| | | | | | http://www.apache.org/legal/src-headers.html git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@426576 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #39416:Jeremias Maerki2006-04-272-110/+0
| | | | | | | | Fixed classpath for the embedding example. Removed all build.* scripts following Ant best practices. Removed a deprecation warning in ExampleConcat. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@397464 13f79535-47bb-0310-9956-ffa450edef68
* Fix MathML rendering. Missed renaming an override method after my cleanup ↵Jeremias Maerki2006-02-171-2/+2
| | | | | | work in the FO tree. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@378471 13f79535-47bb-0310-9956-ffa450edef68
* New feature: "Intermediate format" (IF). The IF is basically the XML dialect ↵Jeremias Maerki2006-01-171-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | written by the area tree renderer (XMLRenderer). A new parser for this format allows reparsing a serialized and possibly modified area tree and rendering it to the final target format. More details on the Wiki at http://wiki.apache.org/xmlgraphics-fop/AreaTreeIntermediateXml. No advanced features have been implemented, yet, only the basic functionality. The whole change should be fully backwards-compatible WRT the outer FOP API except maybe for FOTreeBuilder.addElementMapping(), and the area tree XML which got small changes. The area tree has been cleaned up. The serializability has been restored. The CachedRenderPagesModel works again and can, in certain situations, decrease the maximum amount of memory held at one point in time. Some adjustments were necessary in the area tree to help the work of the AreaTreeParser. The AreaTreeParser is new and is responsible for parsing area tree XML files and adding pages to a RenderPagesModel instance. It is SAX-based and should be pretty efficient. XMLUnit (http://xmlunit.sourceforge.net, BSD license) is a new dependency for the test code. It is used to verify the correctness of the intermediate format code. It doesn't have to be installed for the build to run through, though. ElementMapping got a new method getDOMImplementation() which provides the DOMImplementation used to handle a subdocument of a particular namespace. For example, SVG uses Batik's SVG DOM. The AreaTreeParser needs that to properly recreate foreign objects because it can't use the mechanism of the FO tree. The default implementation returns null. The ElementMapping instances are no longer maintained by the FOTreeBuilder, but by the newly created ElementMappingRegistry class. It is expected that the instance of this class is moved from the FOTreeBuilder and the AreaTreeParser's Handler class to the "environment class" once it is created to cut down on the startup time for each processed document. The XMLRenderer has been slightly modified to improve the serialization/deserialization qualities of the area tree XML format. The XMLRenderer can now mimic another renderer (see mimicRenderer(Renderer)) in order to use its font setup. That way it is made certain that the reparsed area tree will render to the final target format exactly as expected. Fixed a bug in the XMLHandlerRegistry which did not always return the right XMLHandler for every situation. Added a DefaultErrorListener to the util package. I've had problems with Xalan-J swallowing exceptions with its default ErrorListener, so I added a simple one for convenience and use in AreaTreeParser. Example code for working with the AreaTreeParser can be found in examples/embedding. Documentation will follow. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@369753 13f79535-47bb-0310-9956-ffa450edef68
* Change more links from xml.apache.org to xmlgraphics.apache.org.Simon Pepping2005-11-251-1/+1
| | | | | | | Change the file name helloworld.svg to lower case, as used in the java file. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@349032 13f79535-47bb-0310-9956-ffa450edef68
* Made the FO tree a little more consistent by renaming getName() to ↵Jeremias Maerki2005-11-111-5/+8
| | | | | | getLocalName() and adding additional methods like: getNamespaceURI() and getNormalNamespacePrefix(). getName() now returns the fully qualified name combined from getLocalName() and getNormalNamespacePrefix(). For special cases you can call getName(String) to return a different namespace prefix. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@332545 13f79535-47bb-0310-9956-ffa450edef68
* Fixed FO validation problem and the header.Jeremias Maerki2005-09-021-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@266302 13f79535-47bb-0310-9956-ffa450edef68
* Fixed getDocument() method (is now getDOMDocument()).Jeremias Maerki2005-09-021-7/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@266301 13f79535-47bb-0310-9956-ffa450edef68
* Removed left over .cvsignore files.Joerg Pietschmann2005-08-131-1/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@232529 13f79535-47bb-0310-9956-ffa450edef68
* Fixed compile errorJeremias Maerki2004-11-011-4/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198114 13f79535-47bb-0310-9956-ffa450edef68
* New exception hierarchy rooted in SAXException and throw clauses onFinn Bock2004-10-281-2/+2
| | | | | | | | | property parsing and retrieval. PR: 31899 git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198106 13f79535-47bb-0310-9956-ffa450edef68
* Adjusting to changes in XmlObj, making the sample extensions compile again.Jeremias Maerki2004-08-141-3/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197870 13f79535-47bb-0310-9956-ffa450edef68
* Fix compilation problemJeremias Maerki2004-06-161-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197718 13f79535-47bb-0310-9956-ffa450edef68
* Switched from handleAttrs() to more intuitive processNode() and (for FO ↵Glen Mazza2004-05-221-3/+4
| | | | | | namespace) addProperties() methods. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197613 13f79535-47bb-0310-9956-ffa450edef68
* Applied Apache License Version 2.0 by following the instructions at ↵Jeremias Maerki2004-02-273-43/+103
| | | | | | http://www.apache.org/dev/apply-license.html. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197393 13f79535-47bb-0310-9956-ffa450edef68
* Applied Apache License Version 2.0 by following the instructions at ↵Jeremias Maerki2004-02-273-138/+42
| | | | | | http://www.apache.org/dev/apply-license.html. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197384 13f79535-47bb-0310-9956-ffa450edef68
* Cleanup and make it compile againJeremias Maerki2003-11-073-6/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196984 13f79535-47bb-0310-9956-ffa450edef68
* Reconfigured ElementMapping from an interface to an abstract base classGlen Mazza2003-07-121-15/+5
| | | | | | | | Removed FOTreeBuilder references from all ElementMapping subclasses Simplified FOTreeBuilder ElementMapping instantiation somewhat git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196687 13f79535-47bb-0310-9956-ffa450edef68
* Switched to long licence Jeremias Maerki2003-03-073-24/+199
| | | | | | | Some general checkstyle fixing git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196043 13f79535-47bb-0310-9956-ffa450edef68
* Move over from contrib/mathmlJeremias Maerki2003-01-2912-0/+690
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@195908 13f79535-47bb-0310-9956-ffa450edef68