Jeremias Maerki
9913f585a8
Deprecated constructors Fop(int) and Fop(int, FOUserAgent).
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
il y a 18 ans
Glen Mazza
97eb51d06a
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
il y a 20 ans
Glen Mazza
1b7102c513
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
il y a 20 ans
Glen Mazza
1cd6cf49c3
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
il y a 20 ans
Simon Pepping
6a68bff6f9
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
il y a 20 ans
Glen Mazza
f7ed710bd0
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
il y a 20 ans
Glen Mazza
147692858d
*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
il y a 20 ans
Glen Mazza
b2a07844c9
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
il y a 20 ans
Glen Mazza
07520399e9
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
il y a 20 ans
Glen Mazza
aabd3d583a
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
il y a 20 ans
Glen Mazza
47746530cb
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
il y a 20 ans
Glen Mazza
4e2710bec2
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
il y a 20 ans
Glen Mazza
cfad5851a6
Updated examples to use Commons-Logging.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197475 13f79535-47bb-0310-9956-ffa450edef68
il y a 20 ans
Jeremias Maerki
7272aa03a5
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
il y a 20 ans
Jeremias Maerki
ce894bd5bc
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
il y a 21 ans
Jeremias Maerki
080471bc5f
Embedding examples ported from maintenance branch.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196077 13f79535-47bb-0310-9956-ffa450edef68
il y a 21 ans
Jeremias Maerki
c4eee83913
Switched to long licence
Some general checkstyle fixing
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196043 13f79535-47bb-0310-9956-ffa450edef68
il y a 21 ans
Jeremias Maerki
da16d3633c
Move over from contrib/plan
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@195910 13f79535-47bb-0310-9956-ffa450edef68
il y a 21 ans
Keiron Liddle
0caa6b9d41
cleaned up imports
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@194715 13f79535-47bb-0310-9956-ffa450edef68
il y a 22 ans
Keiron Liddle
ab465ffd3f
added external image handler
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@194695 13f79535-47bb-0310-9956-ffa450edef68
il y a 22 ans
Keiron Liddle
6427ff43ce
example extension
this converts a dom into an svg document that should be rendered
by the renderer
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@194691 13f79535-47bb-0310-9956-ffa450edef68
il y a 22 ans