Glenn Adams
b5612f6095
Configure maven build.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/maven@1733788 13f79535-47bb-0310-9956-ffa450edef68
pirms 8 gadiem
Mehdi Houshmand
4ba03449bf
Started unifying URI resolution mechanism, redesigned configuration system and created flexible config testing
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_URI_Unification@1344594 13f79535-47bb-0310-9956-ffa450edef68
pirms 12 gadiem
Jeremias Maerki
ccc9b4e77c
Merge from Trunk revisions 677589 to 679734.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@679781 13f79535-47bb-0310-9956-ffa450edef68
pirms 16 gadiem
Vincent Hennebert
efec634548
Fed up with all those trailing whitespaces. Let's remove them all (once... and for all?)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@679326 13f79535-47bb-0310-9956-ffa450edef68
pirms 16 gadiem
Jeremias Maerki
7046f7838f
Changed license headers and updated NOTICE file according to: 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
pirms 18 gadiem
Jeremias Maerki
f84616e34d
Merged Temp_API_Finalization branch back into FOP Trunk:
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
pirms 18 gadiem
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
pirms 18 gadiem
Jeremias Maerki
482a44a158
Providing a FO -> RTF example explaining the only difference that 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
pirms 19 gadiem
Jeremias Maerki
2d928b74ce
Bugzilla #35937:
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
pirms 19 gadiem
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
pirms 20 gadiem
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
pirms 20 gadiem
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
pirms 20 gadiem
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
pirms 20 gadiem
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
pirms 20 gadiem
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
pirms 20 gadiem
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
pirms 20 gadiem
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
pirms 20 gadiem
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
pirms 20 gadiem
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
pirms 20 gadiem
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
pirms 20 gadiem
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
pirms 20 gadiem
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
pirms 21 gadiem
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
pirms 21 gadiem
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
pirms 21 gadiem
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
pirms 21 gadiem
Keiron Liddle
0caa6b9d41
cleaned up imports
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@194715 13f79535-47bb-0310-9956-ffa450edef68
pirms 22 gadiem
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
pirms 22 gadiem
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
pirms 22 gadiem