Jeremias Maerki
251758435b
Fixed filename of stylesheet for case-sensitive file systems.
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
20 yıl önce
Jeremias Maerki
573ad6b538
Style-up for example classes.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197874 13f79535-47bb-0310-9956-ffa450edef68
20 yıl önce
Glen Mazza
3bcfed2d9b
Combined the apps.Driver class into apps.Fop. (195 LOC total.) Primary
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
20 yıl önce
Glen Mazza
b1c93550a8
1.) Moved exclusively to Simon's DefaultHandler object for both Transformer
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
20 yıl önce
Glen Mazza
af81f828c5
1.) Driver constructor modified to require RenderType, and setter functions
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
20 yıl önce
Simon Pepping
74955dc126
Added alternative example for FO to PDF, using javax.xml.parsers
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197800 13f79535-47bb-0310-9956-ffa450edef68
20 yıl önce
Glen Mazza
03a30e1017
Back to transform example, reverted yesterday's change that removed BufferedOutputStream.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197793 13f79535-47bb-0310-9956-ffa450edef68
20 yıl önce
Glen Mazza
73e492ff77
*Temporary* commit showing how this process works via SAXParserFactory;
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
20 yıl önce
Glen Mazza
3bb5fd04ea
Removed BufferedOutputStream line as unneeded in this case (Unsure if helpful
for performance.)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197789 13f79535-47bb-0310-9956-ffa450edef68
20 yıl önce
Glen Mazza
a60f0d8086
Updated FO->PDF example to use JAXP.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197788 13f79535-47bb-0310-9956-ffa450edef68
20 yıl önce
Glen Mazza
f7ebe087cf
Made Driver.initialize() private, more in line with 0.20.5, which doesn't
have such a method.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197773 13f79535-47bb-0310-9956-ffa450edef68
20 yıl önce
Glen Mazza
ed53ed2ac6
Switch from non-JAXP DOM processing to using JAXP identity transformation
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
20 yıl önce
Glen Mazza
d6fc7d07d2
1.) Removed the get/setLogger methods from Driver, obsolete with 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
20 yıl önce
Glen Mazza
840a4f65f9
Used standard Java exception-printing method "printStackTrace(PrintStream)"
instead of Avalon equivalent.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197498 13f79535-47bb-0310-9956-ffa450edef68
20 yıl önce
Glen Mazza
2dc7725850
Updated examples to use Commons-Logging.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197475 13f79535-47bb-0310-9956-ffa450edef68
20 yıl önce
Jeremias Maerki
a1ba0cada7
Applied Apache License Version 2.0 by following the instructions at 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
20 yıl önce
Jeremias Maerki
4334b4f382
Applied Apache License Version 2.0 by following the instructions at 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
20 yıl önce
Jeremias Maerki
f375715f4b
Applied Apache License Version 2.0 by following the instructions at 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
20 yıl önce
Glen Mazza
7c87a77330
Modification of ExampleXML2PDF to show a Transformer.setParameter() call.
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
20 yıl önce
Glen Mazza
30ca4bc59e
Added a parameter to the projectteam2fo.xsl example (for subsequent use
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
20 yıl önce
Jeremias Maerki
e07fab303c
Style, javadoc and tab character fixes
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197150 13f79535-47bb-0310-9956-ffa450edef68
20 yıl önce
Glen Mazza
dfadcfe581
$Id$ added to get header printed at top of file.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196797 13f79535-47bb-0310-9956-ffa450edef68
21 yıl önce
Glen Mazza
35cae00736
Created a simple example using the DOM Level 2 API for testing/demonstrating FOP's
DOM Document-processing capabilities.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196796 13f79535-47bb-0310-9956-ffa450edef68
21 yıl önce
Jeremias Maerki
d5fb100640
Buffer the output streams for increased performance (not really needed here but useful for showing best practices)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196567 13f79535-47bb-0310-9956-ffa450edef68
21 yıl önce
Jeremias Maerki
5ee6ead191
Added SVG to PDF example using the PDF Transcoder
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196080 13f79535-47bb-0310-9956-ffa450edef68
21 yıl önce
Jeremias Maerki
2ac9fa5376
Embedding examples ported from maintenance branch.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196077 13f79535-47bb-0310-9956-ffa450edef68
21 yıl önce