Vincent Hennebert
4f5d724ce1
Enabled Checkstyle ExplicitInitializationCheck and fixed resulting warnings
That check had been agreed upon but left disabled because of the number of warnings too high to fix manually
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1610839 13f79535-47bb-0310-9956-ffa450edef68
hace 10 años
Luis Bernardo
0fc6583c26
FOP-2305: Poor resolution of PCL output in trunk vs. 1.1; fixed regression
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1570878 13f79535-47bb-0310-9956-ffa450edef68
hace 10 años
Vincent Hennebert
568b1f0182
FOP-2312: font-base configuration setting not working as expected
Use the config file URI to resolve relative <base> / <font-base> URIs.
Fall back to default base URI only if the config input stream has no URI.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1542190 13f79535-47bb-0310-9956-ffa450edef68
hace 10 años
Luis Bernardo
d5d014986d
FOP-2305: Poor resolution of PCL output in trunk vs. 1.1; target-resolution was being overridden by default value
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1536556 13f79535-47bb-0310-9956-ffa450edef68
hace 10 años
Vincent Hennebert
e102907bf7
FOP-2306: use the URI of the source FO document rather than the config file as a default base URI
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1534704 13f79535-47bb-0310-9956-ffa450edef68
hace 10 años
Vincent Hennebert
38853b215c
Removed unused variables
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1530507 13f79535-47bb-0310-9956-ffa450edef68
hace 10 años
Vincent Hennebert
4b4d6ca5fb
Removed obsolete CommandLineLogger.
The Jdk14Logger is guaranteed to be there by default now that the minimal Java requirement is 1.5.
Also, CommandLineLogger messes up the output when rendering to stdout.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1508599 13f79535-47bb-0310-9956-ffa450edef68
hace 10 años
Vincent Hennebert
8657e238ff
Cosmetics only: enabled Checkstyle MethodParamPad rule and fixed corresponding violations
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1479969 13f79535-47bb-0310-9956-ffa450edef68
hace 11 años
Luis Bernardo
b8610fb698
fixed the fact that -nocs was not being applied
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1424164 13f79535-47bb-0310-9956-ffa450edef68
hace 11 años
Mehdi Houshmand
245775c033
Slightly restructured the way the FontCache creates a cache-file
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1374238 13f79535-47bb-0310-9956-ffa450edef68
hace 11 años
Mehdi Houshmand
dd35e14f43
Fixed a couple minor bugs in CLI and config parsing
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1371734 13f79535-47bb-0310-9956-ffa450edef68
hace 11 años
Mehdi Houshmand
fc57d84a62
Addressed some of the javadocs that were erroneous
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1358237 13f79535-47bb-0310-9956-ffa450edef68
hace 12 años
Mehdi Houshmand
27761164d5
Fixed NPE with when outputting AreaTree also improved base URI handling for CLI
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1358130 13f79535-47bb-0310-9956-ffa450edef68
hace 12 años
Mehdi Houshmand
461231d75b
Changed the base URI of the FOP factory to be the FO file when CLI is used
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1358100 13f79535-47bb-0310-9956-ffa450edef68
hace 12 años
Mehdi Houshmand
c1a7c33074
Command line parameters override fop conf settings when set (they won't override when not set)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1357517 13f79535-47bb-0310-9956-ffa450edef68
hace 12 años
Mehdi Houshmand
6b91e4e4b8
Fixed regression re:strict-validation parameter in fop.xconf
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1357307 13f79535-47bb-0310-9956-ffa450edef68
hace 12 años
Mehdi Houshmand
bafcae2f1c
Check style and find bugs now pass without errors
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1356755 13f79535-47bb-0310-9956-ffa450edef68
hace 12 años
Mehdi Houshmand
150754d40d
Improved the handling of defaults for PDF config and general clean up
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_URI_Unification@1353992 13f79535-47bb-0310-9956-ffa450edef68
hace 12 años
Mehdi Houshmand
5776650197
Added tests and cleaning up of code
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_URI_Unification@1352101 13f79535-47bb-0310-9956-ffa450edef68
hace 12 años
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
hace 12 años
Glenn Adams
5bb8c61a21
Bugzilla #52144: Fix crash on use of version switch (-v). Submitted by Luis Bernardo.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1341585 13f79535-47bb-0310-9956-ffa450edef68
hace 12 años
Glenn Adams
80507f1b42
Bugzilla #53248: Fix exception thrown from use of -print option in CLI.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1339441 13f79535-47bb-0310-9956-ffa450edef68
hace 12 años
Glenn Adams
4b0c6913a9
apply complex scripts patch
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1293736 13f79535-47bb-0310-9956-ffa450edef68
hace 12 años
Mehdi Houshmand
788b7b6ddc
Bugzilla#52513: Moved FOUserAgent to the constructor of the Renderers
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1237582 13f79535-47bb-0310-9956-ffa450edef68
hace 12 años
Mehdi Houshmand
bfd20ff951
Reverted changes made in r1234877, see bugzilla#52513
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1235189 13f79535-47bb-0310-9956-ffa450edef68
hace 12 años
Mehdi Houshmand
a7fb215af0
Moved the FOUserAgent into the constructor of the Renderers
This breaks the public API but for good reasons:
1) the user-agent is essential for configuring the renderers
2) instantiation of the constructor is always followed by call to "setUserAgent()" (in the examples)
3) simplifies the API and reduces mutability of the Renderers
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1234877 13f79535-47bb-0310-9956-ffa450edef68
hace 12 años
Vincent Hennebert
c74764e436
Added support for 128bit encryption in PDF output. Based on work by Michael Rubin.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1154998 13f79535-47bb-0310-9956-ffa450edef68
hace 13 años
Simon Pepping
7fd93418aa
Reverting renaming of public methods of rev. 1036179
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1036809 13f79535-47bb-0310-9956-ffa450edef68
hace 13 años
Simon Pepping
c12f21a43c
findbugs-reported bug squashing; 959 bugs left (findbugs 1.3.9)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1036179 13f79535-47bb-0310-9956-ffa450edef68
hace 13 años
Vincent Hennebert
4956ad917d
Fixed formatting of help message
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@995181 13f79535-47bb-0310-9956-ffa450edef68
hace 13 años
Vincent Hennebert
ba6cf6b929
Removed old Renderer implementations for AFP, PCL, PDF, PS.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@989178 13f79535-47bb-0310-9956-ffa450edef68
hace 13 años
Adrian Cumiskey
0162631270
-delete-cache command line argument replaced with -flush. Seems like a more common use case.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@986315 13f79535-47bb-0310-9956-ffa450edef68
hace 13 años
Jeremias Maerki
888cf65b1c
Removed tab character.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@985829 13f79535-47bb-0310-9956-ffa450edef68
hace 13 años
Simon Pepping
cc297732c0
Document exits
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@985806 13f79535-47bb-0310-9956-ffa450edef68
hace 13 años
Adrian Cumiskey
256173b092
Reinstated support for being able to specify a font cache filepath in the fop user configuration.
Added convenience support for the deletion of the Fop font cache file from the command line.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@985700 13f79535-47bb-0310-9956-ffa450edef68
hace 13 años
Jeremias Maerki
9b3c6aa26f
Bugzilla #49733:
Resolved compilation (safe one), Checkstyle and many Javadoc warnings.
Submitted by: Glenn Adams <glenn.at.skynav.com>
Changes to patch:
- Restored the deprecated Graphics2DAdapter method (to be removed after Barcode4J 2.1 is released).
- Restored Renderer.startPageSequence(LineArea) pending discussion about removal.
- build.xml: set max VM to 1024MB instead of 2048MB to allow for 32-bit JVMs.
- build.xml: restored longer taskdef names.
- Restored Checkstyle 4 file for people running older IDEs.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@985537 13f79535-47bb-0310-9956-ffa450edef68
hace 14 años
Vincent Hennebert
409d8072b3
Merged back Temp_Accessibility branch into Trunk
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@830293 13f79535-47bb-0310-9956-ffa450edef68
hace 14 años
Simon Pepping
9853ed3e85
Added events to the implementation of the catalog command-line option
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@829532 13f79535-47bb-0310-9956-ffa450edef68
hace 14 años
Simon Pepping
bdb86fa4ce
Added a command-line option '-catalog' to use a catalog resolver for
the XML and XSLT files. Implemented it in InputHandler.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@825875 13f79535-47bb-0310-9956-ffa450edef68
hace 14 años
Jeremias Maerki
e97537077a
Allow "-if [mime] out" as for "-at".
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@822753 13f79535-47bb-0310-9956-ffa450edef68
hace 14 años
Vincent Hennebert
5f480eb8ce
Changed meaning of '-v' option to 'verbose', which will print FOP's version and proceed. Added a '-version' option to simply print the version then exit, following Java practices.
Change made as per user demand, see thread here:
http://markmail.org/thread/e7juy7wvj7ujkltx
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@774724 13f79535-47bb-0310-9956-ffa450edef68
hace 15 años
Andreas L. Delmelle
094ca26ec0
Bugzilla 46828: Activation of the possibility to use CachedRenderPagesModel to conserve memory in case of large documents with a lot of cross-references. (area tree will be serialized to disk to avoid keeping it entirely in memory)
Thanks to Dario Laeria for submitting and testing.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@753327 13f79535-47bb-0310-9956-ffa450edef68
hace 15 años
Jeremias Maerki
2370a1d7ba
Merged feature branch https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign (603620-746655) into Trunk.
This adds a new intermediate format to FOP. Please see the documentation for details.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@746664 13f79535-47bb-0310-9956-ffa450edef68
hace 15 años
Jeremias Maerki
dcafc2f908
Added -ifin command-line option to use the intermediate format as input format.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@725723 13f79535-47bb-0310-9956-ffa450edef68
hace 15 años
Jeremias Maerki
4cb5459653
Merge from Trunk revisions 699793 to 706550.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@706553 13f79535-47bb-0310-9956-ffa450edef68
hace 15 años
Vincent Hennebert
31a7a2ec85
Bugzilla #45971: improved the behaviour of the command line interface:
- display 'fop' instead of 'Fop' in help messages
- do not throw exception when running fop without argument or with -v or -h
- return more meaningful error codes
Patch submitted with some modifications by Tom Browder (tom_dot.browder.at_gmail.dot_com)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@704008 13f79535-47bb-0310-9956-ffa450edef68
hace 15 años
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
hace 16 años
Vincent Hennebert
06569aa4b2
Hacked CommandLineOptions so that it accepts '-' as a specification of stdin/stdout.
Made it work also when infile is specified without any option ('fop - -pdf res.pdf')
TODO Investigate the adoption of Apache Commons CLI
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@678699 13f79535-47bb-0310-9956-ffa450edef68
hace 16 años
Jeremias Maerki
97e25972df
Merge from Trunk up to revision 677588.
Switched from svnmerge to SVN 1.5 merge tracking manually for this branch only.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@677594 13f79535-47bb-0310-9956-ffa450edef68
hace 16 años
Jeremias Maerki
405d936850
Renamed "iform" package to "intermediate" (iform was too cryptic for my taste)
Changed IFRenderer to work against the IFPainter interface.
Started IFPainter implementations for the IF format (IFSerializer), SVG 1.1 and SVG Print. They currently support very simple FOs only (like examples/fo/basic/simple.fo).
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@677204 13f79535-47bb-0310-9956-ffa450edef68
hace 16 años