aboutsummaryrefslogtreecommitdiffstats
path: root/test
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-272-0/+32
| | | | | | http://www.apache.org/dev/apply-license.html. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197391 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
* test for the text-transform functionWilliam Victor Mote2002-12-011-0/+133
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@195700 13f79535-47bb-0310-9956-ffa450edef68
* white-space and line-ending cleanupWilliam Victor Mote2002-11-2937-1627/+1627
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@195675 13f79535-47bb-0310-9956-ffa450edef68
* white-space and line-ending cleanupWilliam Victor Mote2002-11-2912-57/+57
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@195674 13f79535-47bb-0310-9956-ffa450edef68
* convert tabs to spacesWilliam Victor Mote2002-11-271-28/+28
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@195640 13f79535-47bb-0310-9956-ffa450edef68
* improved layout a bit, added some more examples of scalingKeiron Liddle2002-11-062-9/+37
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@195438 13f79535-47bb-0310-9956-ffa450edef68
* test for images with errorsKeiron Liddle2002-08-205-0/+89
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@195106 13f79535-47bb-0310-9956-ffa450edef68
* changed to a format jimi can handle, no alpha and packedKeiron Liddle2002-08-191-0/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@195098 13f79535-47bb-0310-9956-ffa450edef68
* added test, currently not handled, for a transparency factor on whole imageKeiron Liddle2002-08-021-0/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@195052 13f79535-47bb-0310-9956-ffa450edef68
* added eps image typeKeiron Liddle2002-08-022-0/+364
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@195051 13f79535-47bb-0310-9956-ffa450edef68
* fixed master-name and a test setup problemKeiron Liddle2002-07-3126-26/+26
| | | | | | | | as suggested by: Peter Kullmann <p.kullmann@arenae.ch> fixed line endings git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@195040 13f79535-47bb-0310-9956-ffa450edef68
* added a few more text testsKeiron Liddle2002-07-181-0/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@195005 13f79535-47bb-0310-9956-ffa450edef68
* improved patterns, the contents should be visible nowKeiron Liddle2002-07-101-2/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@194992 13f79535-47bb-0310-9956-ffa450edef68
* embedding svg in instream-foreign-object with alignment and scalingKeiron Liddle2002-07-052-0/+114
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@194970 13f79535-47bb-0310-9956-ffa450edef68
* some test images and fo with alignment, viewports etc.Keiron Liddle2002-07-0510-0/+360
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@194967 13f79535-47bb-0310-9956-ffa450edef68
* added some more complicated fillsKeiron Liddle2002-06-281-4/+20
| | | | | | | tests use of resources inside patterns git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@194931 13f79535-47bb-0310-9956-ffa450edef68
* more svg tests with transparency, patterns and imagesKeiron Liddle2002-06-217-1/+193
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@194908 13f79535-47bb-0310-9956-ffa450edef68
* put decent glyphs for fontKeiron Liddle2002-06-171-25/+35
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@194890 13f79535-47bb-0310-9956-ffa450edef68
* some svg test, links and textKeiron Liddle2002-06-143-0/+175
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@194883 13f79535-47bb-0310-9956-ffa450edef68
* synced with branchKeiron Liddle2001-12-1113-14/+14
| | | | | | | master-name changed to master-reference git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@194596 13f79535-47bb-0310-9956-ffa450edef68
* added some tests with invalid xml or unknown namespacesKeiron Liddle2001-10-086-0/+166
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@194495 13f79535-47bb-0310-9956-ffa450edef68
* fixed some text wrapping problemsKeiron Liddle2001-09-251-0/+106
| | | | | | | and improved the wrapping test git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@194482 13f79535-47bb-0310-9956-ffa450edef68
* This adds avalon and logkit to the path to allow execution.Steve Coffman2001-08-201-2/+2
| | | | | | | | | | PR: Obtained from: Submitted by: Reviewed by: git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@194434 13f79535-47bb-0310-9956-ffa450edef68
* put bugtests back in hereKeiron Liddle2001-05-2237-0/+2618
| | | | | | | | still needs catagorisation and cleanup now all these can be part of the build test target git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@194267 13f79535-47bb-0310-9956-ffa450edef68
* fixed classpath for batik jarKeiron Liddle2001-05-181-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@194255 13f79535-47bb-0310-9956-ffa450edef68
* added some simple test files with blocksKeiron Liddle2001-05-166-6/+257
| | | | | | | also a script to create pdf from test suites git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@194245 13f79535-47bb-0310-9956-ffa450edef68
* K. Liddle: testing supportarved2001-05-106-0/+299
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@194237 13f79535-47bb-0310-9956-ffa450edef68