aboutsummaryrefslogtreecommitdiffstats
path: root/test/java/org/apache/fop
Commit message (Collapse)AuthorAgeFilesLines
* 1.) render() methods moved from Driver to XSLTInputHandler and FOFileHandler.Glen Mazza2004-07-202-21/+3
| | | | | | | 2.) -param command line switch implemented for xml->xslt->pdf processes git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197803 13f79535-47bb-0310-9956-ffa450edef68
* 1.) Moved exclusively to Simon's DefaultHandler object for both TransformerGlen Mazza2004-07-191-4/+4
| | | | | | | | | | | | | | | | and SAXParser usage. DefaultHandler implements the ContentHandler interface so it can be used where the latter was previously used, also it provides more functionality. [1] 2.) Updated the examples and internal code accordingly. 3.) Renamed ExampleFO2PDFUsingSAX to ...Parser to avoid confusion (both use SAX.) [1] http://www.cafeconleche.org/books/xmljava/chapters/ch06s03.html#d0e8440 git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197802 13f79535-47bb-0310-9956-ffa450edef68
* 1.) Driver constructor modified to require RenderType, and setter functionsGlen Mazza2004-07-192-15/+7
| | | | | | | | | | | | | | | | for RenderType and FOUserAgent removed, to allow for better checking of a valid Driver object at time of construction. (Also, will reduce need to validate Driver object should it be a parameter to a method.) 2.) Added validity checking of renderType to FOTreeBuilder as well, in effect decoupling Driver from FOTreeBuilder (the latter can work on its own now.) 3.) Updated the various examples and the documentation to indicate the new API. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197801 13f79535-47bb-0310-9956-ffa450edef68
* Removed the Driver.run() method in favor of JAXP.Glen Mazza2004-07-141-32/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197790 13f79535-47bb-0310-9956-ffa450edef68
* Switch to JAXP identity transformation for DOM Document example.Glen Mazza2004-07-071-4/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197765 13f79535-47bb-0310-9956-ffa450edef68
* 1. Output constant types (RENDER_PDF, RENDER_PS, etc.) made common betweenGlen Mazza2004-06-261-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | CommandLineOptions and Driver, and factored into fo.Constants interface. 2. New Driver(AWTRenderer renderer) constructor added in apps.Driver for the AWTRenderer (which does reloading, unique among the output types.) Note reloading currently doesn't work--AWTRenderer not yet functional. 3. Driver.hasData() method removed from API--a search on when it was implemented dates it to 2001, when reset() was coded. Unsure of its need, and so removed until we have user requests for it. 4. Renderers abstracted away from API in favor of just calling .setRenderer(int Rendertype), and configuring user-configurable options in FOUserAgent. 5. Driver.setRenderer(String <renderer class name>) also dropped. If external user need for it, can be re-implemented fairly easily via a "renderer override" string in FOUserAgent, for which FOTreeHandler can read and use instead. 6. Validity checking added to fo:flow, and convenience functions defining the "%block;" parameter entity and neutral containers as defined in 6.2 of spec [1] added to FObj. [1] http://www.w3.org/TR/2001/REC-xsl-20011015/slice6.html#section-N9447-Formatting-Object-Content git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197745 13f79535-47bb-0310-9956-ffa450edef68
* 1.) Moved the CommandLineOptions' InputHandler object into FOUserAgent, allowingGlen Mazza2004-06-252-12/+4
| | | | | | | | | | | | | | | | for a no-parameter constructor for AWTRenderer (like the other renderers). (Code is not yet ideal in AWTRenderer, but will do the task.) 2.) AWT renderer handling now more similar to the other renderers (simplifications in Driver, Fop). 3.) Driver.getRenderer() removed from API. (Renderer configuration now mostly done through FOUserAgent, and setup of renderer prior to calling setRenderer().) 4.) Validity checking added to region-after, -start, -end, and -before. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197744 13f79535-47bb-0310-9956-ffa450edef68
* Change of file to use Commons-logging.Glen Mazza2004-04-021-12/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197477 13f79535-47bb-0310-9956-ffa450edef68
* Applied Apache License Version 2.0 by following the instructions at ↵Jeremias Maerki2004-02-2713-595/+179
| | | | | | 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
* Adapt to changes in Commons IO's APIs.Jeremias Maerki2004-02-061-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197334 13f79535-47bb-0310-9956-ffa450edef68
* Basic functionality tests for PS and RTF besides PDF. Still no detailed ↵Jeremias Maerki2003-11-081-1/+43
| | | | | | output checking, only checking that no exception is thrown. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196997 13f79535-47bb-0310-9956-ffa450edef68
* Redfactored generic FOP test to self-contained JUnit test. Joerg Pietschmann2003-09-271-0/+173
| | | | | | | More to add. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196940 13f79535-47bb-0310-9956-ffa450edef68
* Fixed Testcase. Joerg Pietschmann2003-09-271-22/+1
| | | | | | | | Some style changes. Replace FIXME with TODO git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196939 13f79535-47bb-0310-9956-ffa450edef68
* SAX filter providing a MD5 checksum for ensuring XML input integrity.Joerg Pietschmann2003-09-192-0/+360
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196925 13f79535-47bb-0310-9956-ffa450edef68
* Initial set of test casesJeremias Maerki2003-07-0410-0/+1146
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196604 13f79535-47bb-0310-9956-ffa450edef68