aboutsummaryrefslogtreecommitdiffstats
path: root/examples
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Fixed getDocument() method (is now getDOMDocument()). The plan extension ↵Jeremias Maerki2005-09-021-5/+4
| | | | | | still worked because convertToSvg() was called by getDimension(). Anyway, this is now fixed. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@266300 13f79535-47bb-0310-9956-ffa450edef68
* A nit.Jeremias Maerki2005-08-311-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@265584 13f79535-47bb-0310-9956-ffa450edef68
* external-graphic property demonstration section.Jeremias Maerki2005-08-312-8/+52
| | | | | | asf-logo-nt.png is the non-transparent version of asf-logo.png. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@265037 13f79535-47bb-0310-9956-ffa450edef68
* Providing a FO -> RTF example explaining the only difference that ↵Jeremias Maerki2005-08-151-0/+128
| | | | | | getResults() cannot be used. I think I promised that example to someone earlier. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@232805 13f79535-47bb-0310-9956-ffa450edef68
* Removed left over .cvsignore files.Joerg Pietschmann2005-08-134-6/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@232529 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #36112 Jeremias Maerki2005-08-101-0/+9
| | | | | | | Fix for Java2DRenderer to paint regions other than region-body. Area tree was not properly cloned. Submitted by: Richard Wheeldon <richardw.at.geoquip-rnd.demon.co.uk> git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@231213 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #35937: Jeremias Maerki2005-07-301-1/+16
| | | | | | | | | FormattingResults mechanism ported from maintenance branch to trunk. Submitted by: Manuel Mall <mm.at.arcus.com.au> Patch tweaked slightly to avoid the reference of Fop.java into the area package. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@226511 13f79535-47bb-0310-9956-ffa450edef68
* Example for printing to an old-style PrinterJob instance.Jeremias Maerki2005-07-271-0/+121
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@225498 13f79535-47bb-0310-9956-ffa450edef68
* Resurrected the old example from the maintenance branch now that the AWT ↵Jeremias Maerki2005-07-271-0/+97
| | | | | | Viewer works again. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@225489 13f79535-47bb-0310-9956-ffa450edef68
* Made the file more portable.Jeremias Maerki2005-07-261-6/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@225306 13f79535-47bb-0310-9956-ffa450edef68
* Clarify where this K3 barcode font is coming from.Jeremias Maerki2005-07-141-0/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@219012 13f79535-47bb-0310-9956-ffa450edef68
* region-after may not have borders. Used an absolutely positioned ↵Jeremias Maerki2005-02-171-1/+4
| | | | | | block-container instead. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198439 13f79535-47bb-0310-9956-ffa450edef68
* Added missing license header.Jeremias Maerki2005-02-171-0/+15
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198438 13f79535-47bb-0310-9956-ffa450edef68
* PR:Glen Mazza2005-01-301-1/+1
| | | | | | | | | | | | Obtained from: Submitted by: Reviewed by: Altered TestConverter to use FileCompare's file comparison logic. Renamed Compare to FileCompare. Simplified logger implementation in TestConverter. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198343 13f79535-47bb-0310-9956-ffa450edef68
* 1.) fox:label converted to 1.1 fo:bookmark-title.Glen Mazza2005-01-062-143/+122
| | | | | | | 2.) FObj, FObjMixed, InlineLevel made abstract. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198227 13f79535-47bb-0310-9956-ffa450edef68
* PR:Glen Mazza2005-01-042-62/+62
| | | | | | | | | | | Obtained from: Submitted by: Reviewed by: Converted fox:outline to fo:bookmark. fox:label/fo:bookmark-title still to be done. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198221 13f79535-47bb-0310-9956-ffa450edef68
* Switched from fox:bookmarks to fo:bookmark-tree (of XSL 1.1 2WD). Two moreGlen Mazza2005-01-022-64/+61
| | | | | | | | bookmark-related FO's (fox:outline and fox:label) need conversion and will be done next. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198216 13f79535-47bb-0310-9956-ffa450edef68
* Modified pdfoutline to have two page sequences--makes it more useful forGlen Mazza2004-12-131-0/+12
| | | | | | | testing. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198199 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-282-4/+4
| | | | | | | | | property parsing and retrieval. PR: 31899 git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198106 13f79535-47bb-0310-9956-ffa450edef68
* Second phase of performance improvement. Pass the propertyList intoFinn Bock2004-10-191-2/+5
| | | | | | | | | processNode(..) and addCharacters(..). PR: 31699 git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198056 13f79535-47bb-0310-9956-ffa450edef68
* Pass validation.Finn Bock2004-10-191-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198055 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #31512:Jeremias Maerki2004-10-113-0/+14
| | | | | | | | Fop should use Batik's Image readers when possible. Submitted by: Thomas Deweese <deweese.at.apache.org> git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198036 13f79535-47bb-0310-9956-ffa450edef68
* Pass validation.Finn Bock2004-10-109-9/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198028 13f79535-47bb-0310-9956-ffa450edef68
* 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