aboutsummaryrefslogtreecommitdiffstats
path: root/examples
Commit message (Collapse)AuthorAgeFilesLines
* Fixed filename of stylesheet for case-sensitive file systems.Jeremias Maerki2004-08-303-3/+3
| | | | | | | Submitted by: Heikki Linnakangas <hlinnaka.at.iki.fi> git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197899 13f79535-47bb-0310-9956-ffa450edef68
* 1. Implemented validateChildNode() for fo:simple-page-master. This may ↵Glen Mazza2004-08-252-2/+2
| | | | | | | | | | | | | | | cause some stress with the user community--as any declared fo:region-xxxx children must follow a specific ordering. 2. Modified several of our sample and test FO files to be compliant with the XSL spec with respect to the change above. 3. @todo's added to FO's still missing validateChildNode() 4. New FONode missingPropertyError() method created, for the major cases where missing properties should halt processing. 5. Various cleanup in our layout-master-set and region classes, including the removal of error checks that are no longer needed due to validateChildNode() being implemented. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197889 13f79535-47bb-0310-9956-ffa450edef68
* Style-up for example classes.Jeremias Maerki2004-08-152-3/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197874 13f79535-47bb-0310-9956-ffa450edef68
* Adjusting to changes in XmlObj, making the sample extensions compile again.Jeremias Maerki2004-08-142-5/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197870 13f79535-47bb-0310-9956-ffa450edef68
* 1.) Layout initialization logic for fo:table, fo:table-header, and ↵Glen Mazza2004-08-131-6/+6
| | | | | | | | | | | | | | | | | | fo:table-footer moved from AddLMVisitor to fo.Table. 2.) Layout logic for fo:external-graphic moved from fo.ExternalGraphic to layoutmgr.ExternalGraphicLayoutManager. 3.) Partial implementation of validateChildNode() for fo:footnote. 4.) fox:destination commented out from images.fo sample until purpose, content model better defined. Also needs a Maker class. (Does not appear to work in either maintenance or HEAD.) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197867 13f79535-47bb-0310-9956-ffa450edef68
* Combined the apps.Driver class into apps.Fop. (195 LOC total.) PrimaryGlen Mazza2004-07-245-25/+25
| | | | | | | | | | | | | | | | | | | benefit is to make Fop self-documenting in external code, also none of the API ideas called for retention of the Driver class (even if there were different ideas for its replacement). Let's try this for a few weeks, if it confuses people too much (or when the API starts to grow again) we can bring back Driver, possibly under a different name, apps.FopProcess, perhaps. See also: http://marc.theaimsgroup.com/?l=fop-dev&m=108947697611032&w=2 http://marc.theaimsgroup.com/?l=fop-dev&m=108966015504506&w=2 http://marc.theaimsgroup.com/?l=fop-dev&m=108942673103344&w=2 http://marc.theaimsgroup.com/?l=fop-dev&m=108958756030147&w=2 git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197827 13f79535-47bb-0310-9956-ffa450edef68
* 1.) Moved exclusively to Simon's DefaultHandler object for both TransformerGlen Mazza2004-07-196-9/+9
| | | | | | | | | | | | | | | | 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-196-37/+25
| | | | | | | | | | | | | | | | 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
* Added alternative example for FO to PDF, using javax.xml.parsersSimon Pepping2004-07-182-0/+139
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197800 13f79535-47bb-0310-9956-ffa450edef68
* Back to transform example, reverted yesterday's change that removed ↵Glen Mazza2004-07-161-24/+10
| | | | | | BufferedOutputStream. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197793 13f79535-47bb-0310-9956-ffa450edef68
* *Temporary* commit showing how this process works via SAXParserFactory;Glen Mazza2004-07-161-5/+23
| | | | | | | | including just for future reference should we get a question on this class or wish to document this method on our web pages in the future. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197792 13f79535-47bb-0310-9956-ffa450edef68
* Removed BufferedOutputStream line as unneeded in this case (Unsure if helpfulGlen Mazza2004-07-141-1/+0
| | | | | | | for performance.) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197789 13f79535-47bb-0310-9956-ffa450edef68
* Updated FO->PDF example to use JAXP.Glen Mazza2004-07-141-19/+30
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197788 13f79535-47bb-0310-9956-ffa450edef68
* Made Driver.initialize() private, more in line with 0.20.5, which doesn'tGlen Mazza2004-07-094-12/+0
| | | | | | | have such a method. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197773 13f79535-47bb-0310-9956-ffa450edef68
* Switch from non-JAXP DOM processing to using JAXP identity transformationGlen Mazza2004-07-073-23/+50
| | | | | | | for ExampleDOM2PDF example. Patch from Jeremias Maerki. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197764 13f79535-47bb-0310-9956-ffa450edef68
* 1.) Removed the get/setLogger methods from Driver, obsolete with ↵Glen Mazza2004-06-204-38/+11
| | | | | | | | | | Commons-Logging. 2.) Updated examples and documentation. 3.) Added a -v option to show version of FOP being used. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197740 13f79535-47bb-0310-9956-ffa450edef68
* Fix compilation problemJeremias Maerki2004-06-162-0/+2
| | | | 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-222-6/+8
| | | | | | namespace) addProperties() methods. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197613 13f79535-47bb-0310-9956-ffa450edef68
* More consolidation of pagination examples.Glen Mazza2004-04-184-1041/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197515 13f79535-47bb-0310-9956-ffa450edef68
* Used standard Java exception-printing method "printStackTrace(PrintStream)"Glen Mazza2004-04-147-28/+8
| | | | | | | instead of Avalon equivalent. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197498 13f79535-47bb-0310-9956-ffa450edef68
* Updated examples to use Commons-Logging.Glen Mazza2004-04-015-46/+73
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197475 13f79535-47bb-0310-9956-ffa450edef68
* Combined franklin_rep.fo and franklin_rep_max_repeats_nl.fo (they wereGlen Mazza2004-03-222-1067/+45
| | | | | | | essentially equivalent). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197471 13f79535-47bb-0310-9956-ffa450edef68
* File identical to franklin_rep_max_repeats.fo so removed.Glen Mazza2004-03-221-1024/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197470 13f79535-47bb-0310-9956-ffa450edef68
* Minor formatting and naming issues fixed.Glen Mazza2004-03-225-33/+33
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197469 13f79535-47bb-0310-9956-ffa450edef68
* Fix to get use-content option of fo:leader working again. leader.fo nowGlen Mazza2004-03-211-7/+7
| | | | | | | runs without error. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197468 13f79535-47bb-0310-9956-ffa450edef68
* Some consolidation of information about page-sequence-master and ↵Glen Mazza2004-03-097-172/+30
| | | | | | simple-page-master; removal of basic1.fo (not informative, also duplicated elsewhere.) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197439 13f79535-47bb-0310-9956-ffa450edef68
* Applied Apache License Version 2.0 by following the instructions at ↵Jeremias Maerki2004-02-276-84/+207
| | | | | | 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-42/+102
| | | | | | http://www.apache.org/dev/apply-license.html. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197392 13f79535-47bb-0310-9956-ffa450edef68
* Applied Apache License Version 2.0 by following the instructions at ↵Jeremias Maerki2004-02-271-0/+16
| | | | | | 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-2727-1242/+378
| | | | | | 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
* Formatting cleanup of fo:layout-master-sets in examples.Glen Mazza2004-02-2238-284/+335
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197361 13f79535-47bb-0310-9956-ffa450edef68
* Modification of ExampleXML2PDF to show a Transformer.setParameter() call.Glen Mazza2004-02-092-49/+36
| | | | | | | | Fix to xsl stylesheet to show '1.0' instead of just '1' for the version number (fix from Clay Leeds). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197343 13f79535-47bb-0310-9956-ffa450edef68
* Added a parameter to the projectteam2fo.xsl example (for subsequent useGlen Mazza2004-02-052-5/+9
| | | | | | | | in showing a setTransform() call in the samples); also added a needed library to the examples' build.xml file. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197330 13f79535-47bb-0310-9956-ffa450edef68
* Style, javadoc and tab character fixesJeremias Maerki2004-01-091-14/+20
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197150 13f79535-47bb-0310-9956-ffa450edef68
* Using Joe's new "relativebase" feature, this file can be simplified.Jeremias Maerki2003-11-221-17/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197022 13f79535-47bb-0310-9956-ffa450edef68
* Put namespace URI in public constantJeremias Maerki2003-11-072-3/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196985 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
* add fox:destination elementsWilliam Victor Mote2003-10-121-3/+18
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196956 13f79535-47bb-0310-9956-ffa450edef68
* Updated the tables-collapse property on several tables from "separate" to ↵Glen Mazza2003-08-261-6/+7
| | | | | | "collapse". git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196851 13f79535-47bb-0310-9956-ffa450edef68
* Examples 8-11 added to check:Glen Mazza2003-08-201-12/+323
| | | | | | | | | | 1) implementation of border properties (border-color, border-width, border-style, etc.) at the fo:table-row and fo:table-column level. 2) border property conflict resolutions as defined in CSS2 standard at http://www.w3.org/TR/REC-CSS2/tables.html#border-conflict-resolution git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196819 13f79535-47bb-0310-9956-ffa450edef68
* $Id$ added to get header printed at top of file.Glen Mazza2003-08-131-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196797 13f79535-47bb-0310-9956-ffa450edef68
* Created a simple example using the DOM Level 2 API for testing/demonstrating ↵Glen Mazza2003-08-131-0/+192
| | | | | | | | | FOP's DOM Document-processing capabilities. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196796 13f79535-47bb-0310-9956-ffa450edef68
* Reconfigured ElementMapping from an interface to an abstract base classGlen Mazza2003-07-122-30/+10
| | | | | | | | 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
* Copy from maint branchJeremias Maerki2003-07-031-0/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196568 13f79535-47bb-0310-9956-ffa450edef68
* Buffer the output streams for increased performance (not really needed here ↵Jeremias Maerki2003-07-034-0/+4
| | | | | | but useful for showing best practices) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196567 13f79535-47bb-0310-9956-ffa450edef68
* Added SVG to PDF example using the PDF TranscoderJeremias Maerki2003-03-122-0/+151
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196080 13f79535-47bb-0310-9956-ffa450edef68
* Embedding examples ported from maintenance branch.Jeremias Maerki2003-03-1219-0/+2004
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196077 13f79535-47bb-0310-9956-ffa450edef68
* Switched to long licence Jeremias Maerki2003-03-0714-232/+981
| | | | | | | Some general checkstyle fixing git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196043 13f79535-47bb-0310-9956-ffa450edef68
* Set log level to "warn" per default.Jeremias Maerki2003-02-141-8/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@195954 13f79535-47bb-0310-9956-ffa450edef68
* Also include giro.fo from the advanced directory.Jeremias Maerki2003-02-021-0/+5
| | | | | | | The other files in there won't work ATM. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@195924 13f79535-47bb-0310-9956-ffa450edef68