aboutsummaryrefslogtreecommitdiffstats
path: root/examples
Commit message (Collapse)AuthorAgeFilesLines
* Working on bug #5335, barcode.fo example fixed to work with current codeBertrand Delacretaz2006-09-213-42/+142
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@448544 13f79535-47bb-0310-9956-ffa450edef68
* Working on bug #5335: font did not embed correctly, replaced with a fresh ↵Bertrand Delacretaz2006-09-211-0/+0
| | | | | | download from http://www.geocities.com/keith_dimmock/barcodes.html git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@448541 13f79535-47bb-0310-9956-ffa450edef68
* Failed with "Border and padding for region "xsl-region-after" must be '0'" ↵Bertrand Delacretaz2006-09-211-4/+1
| | | | | | error, border removed. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@448519 13f79535-47bb-0310-9956-ffa450edef68
* Fix a bug in the example code: Without setting the user agent on the ↵Jeremias Maerki2006-09-101-2/+5
| | | | | | Renderer instance, stuff like using images doesn't work. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@441942 13f79535-47bb-0310-9956-ffa450edef68
* 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-2849-230/+327
| | | | | | 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 #39846, #39847:Jeremias Maerki2006-06-211-2/+2
| | | | | | | Nits Submitted by: Patrick Paul <ppaul_apache.at.yahoo.ca> git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@415932 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #39416:Jeremias Maerki2006-04-272-2/+5
| | | | | | | JDK 1.3 compatibility. Added missing serializer*.jar to the classpath. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@397466 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #39416:Jeremias Maerki2006-04-271-1/+1
| | | | | | Fixed classpath for the embedding example. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@397465 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #39416:Jeremias Maerki2006-04-279-341/+11
| | | | | | | | 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
* Merged Temp_API_Finalization branch back into FOP Trunk:Jeremias Maerki2006-03-2711-87/+326
| | | | | | | | | | | Finalized API according to the plan in the Wiki: http://wiki.apache.org/xmlgraphics-fop/ApiDesign In addition to that: Deprecated the rest of the Fop constructors. Refactored the FopServlet a bit to make it more versatile and still easy to understand. The FopPrintServlet is now a subclass of FopServlet. Some further cleanup on the way. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@389086 13f79535-47bb-0310-9956-ffa450edef68
* Removed totally misleading demo file. widows and orphans only have an effect ↵Jeremias Maerki2006-03-251-521/+0
| | | | | | | | inside the same fo:block, not across table-cells. See also: http://mail-archives.apache.org/mod_mbox/xmlgraphics-fop-users/200603.mbox/%3c20060322150426.7F8D.DEV@jeremias-maerki.ch%3e git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@388767 13f79535-47bb-0310-9956-ffa450edef68
* You can specify an object file in a jar file as follows:Simon Pepping2006-02-242-115/+138
| | | | | | | /path/to/fop-hyph.jar:hyph/xx.hyp. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@380644 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
* An addition to FOP that can be used to render a hyphenation tree inSimon Pepping2006-01-286-0/+1120
| | | | | | | | various ways, among which a complete tree representation. And correction of a few typos in HyphenationTree. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@373170 13f79535-47bb-0310-9956-ffa450edef68
* Removed old doap.xml file. Clay Leeds2006-01-241-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@372018 13f79535-47bb-0310-9956-ffa450edef68
* add support for rtf test filesPeter Herweg2006-01-241-0/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@371992 13f79535-47bb-0310-9956-ffa450edef68
* Added an example for the intermediate format the demonstrates stamping a ↵Jeremias Maerki2006-01-173-1/+195
| | | | | | document using XSLT. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@369908 13f79535-47bb-0310-9956-ffa450edef68
* New feature: "Intermediate format" (IF). The IF is basically the XML dialect ↵Jeremias Maerki2006-01-173-4/+232
| | | | | | | | | | | | | | | | | | | | | | | | | | 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-2511-30/+30
| | | | | | | 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
* Removed obsolete docs dirChristian Geisert2005-11-172-0/+2024
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@345230 13f79535-47bb-0310-9956-ffa450edef68
* Added the problem with whitespace around markers as a disabled test case, ↵Manuel Mall2005-11-151-16/+8
| | | | | | changed the example fo to work around the problem git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@344348 13f79535-47bb-0310-9956-ffa450edef68
* Changed coordinates to reflect the reference-orientation specified on the ↵Andreas L. Delmelle2005-11-131-5/+5
| | | | | | block-container (+ corrected spelling errors) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@333038 13f79535-47bb-0310-9956-ffa450edef68
* Updated examples in examples/basic/fo to match 0.90 and to reduce warnings ↵Manuel Mall2005-11-1310-117/+119
| | | | | | when they are built using the examples ant target git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@332960 13f79535-47bb-0310-9956-ffa450edef68
* Deprecated constructors Fop(int) and Fop(int, FOUserAgent).Jeremias Maerki2005-11-128-9/+18
| | | | | | | | Deprecated Fop.getVersion() in favor for Version.getVersion(). Changed every place the newly deprecated methods were called. Ant task and TestConverter changed to fully use MIME types. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@332791 13f79535-47bb-0310-9956-ffa450edef68
* Ant is not in the lib directory anymore. Run test with the "ant" script, not ↵Jeremias Maerki2005-11-122-63/+0
| | | | | | "runtests". git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@332784 13f79535-47bb-0310-9956-ffa450edef68
* Made the FO tree a little more consistent by renaming getName() to ↵Jeremias Maerki2005-11-113-15/+19
| | | | | | 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
* 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