aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/cli
Commit message (Collapse)AuthorAgeFilesLines
* * Javadoc update: use {@inheritDoc} instead of @see where applicable, ↵Andreas L. Delmelle2007-07-182-5/+5
| | | | | | | | | | removal of some @author tags * Additional code cleanup: removal of unused imports (mainly in the fo.flow package) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@557337 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #41831:Jeremias Maerki2007-05-281-3/+3
| | | | | | | | | | | | | | | | | | | | - Add support font auto-detection (easier font configuration) including a font cache to speed up the auto-detection process. - Refactoring of the configuration code: All Avalon configuration stuff is extracted into separate "Configurator" classes. - Refactoring of the FOURIResolver. Submitted by: Adrian Cumiskey <fop-dev.at.cumiskey.com> Changes to the patch by jeremias during the review: - Font cache simplified (Java object serialization instead of XML), functionality fixed and moved to the fonts.package. - Relocated default cache file location to user directory. - Fixed the font configuration for PDFDocumentGraphics2D/PDFTranscoder that got lost with the patch. - Fixed a problem with having a non-file URL as font base URL. - Simplified RendererContextInfo stuff to make it easier to understand. - Fixed handling of Type 1 fonts in auto-detection. - Reduced verbosity of font-related log output. - Updated Jakarta Commons IO to version 1.3.1 (the patch depends on it) - Various javadocs improvements git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@542237 13f79535-47bb-0310-9956-ffa450edef68
* Added afp to command line options help, marked mif and svg as experimentalManuel Mall2007-01-081-4/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@493927 13f79535-47bb-0310-9956-ffa450edef68
* Added fop.home to Main.getJARList. Adapted the documentation.Simon Pepping2007-01-061-1/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@493473 13f79535-47bb-0310-9956-ffa450edef68
* Changed license headers and updated NOTICE file according to: ↵Jeremias Maerki2006-07-284-20/+24
| | | | | | 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
* Command-line integration of PDF/X support. Generalized the specifying of PDF ↵Jeremias Maerki2006-07-241-16/+52
| | | | | | | | | profiles (-pdfprofile parameter). Documentation update for PDF/A. Documentation for PDF/X. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@424949 13f79535-47bb-0310-9956-ffa450edef68
* Made FOUserAgent.configure() protected again (not to tempt any users to play ↵Jeremias Maerki2006-07-111-11/+18
| | | | | | with it). Instead improved CommandLineOptions to properly build and adjust the FOUserAgent. Manuel's fix was ok, but I wasn't too comfortable with the public configure() method. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@420761 13f79535-47bb-0310-9956-ffa450edef68
* Sometimes I do stuff much too quickly. Removed debug code.Jeremias Maerki2006-07-101-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@420629 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #39983:Jeremias Maerki2006-07-101-1/+11
| | | | | | | Moved the setting of the system look&feel to CommandLineOptions. Shouldn't really be in PreviewDialog.java. Added a parameter to createPreviewDialog() so embedders don't get a System.exit() when the user closes the preview dialog. System.exit() may only be called if the preview dialog is the main window. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@420626 13f79535-47bb-0310-9956-ffa450edef68
* Some config file settings were not correctly set in FOUserAgent when invoked ↵Manuel Mall2006-07-101-0/+3
| | | | | | from command line git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@420543 13f79535-47bb-0310-9956-ffa450edef68
* I'd like to make Batik an optional dependency over time, so check Commons IO ↵Jeremias Maerki2006-04-051-1/+1
| | | | | | instead of Batik as indicator for a complete classpath. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@391746 13f79535-47bb-0310-9956-ffa450edef68
* Merged Temp_API_Finalization branch back into FOP Trunk:Jeremias Maerki2006-03-273-42/+19
| | | | | | | | | | | 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
* Add PDF/A-1b support to command-line.Jeremias Maerki2006-03-211-12/+20
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@387557 13f79535-47bb-0310-9956-ffa450edef68
* Avoid NPE when a malformed command-line is specified.Jeremias Maerki2006-01-251-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@372180 13f79535-47bb-0310-9956-ffa450edef68
* Command-line support for the intermediate format: Use "-atin" to specify an ↵Jeremias Maerki2006-01-244-56/+227
| | | | | | | | area tree XML file. Refactoring of the InputHandler to accomodate the IF as input format and to make responsibilities clearer in general. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@371922 13f79535-47bb-0310-9956-ffa450edef68
* Another workaround/hack to deal with non breaking spaces. Also some minor ↵Manuel Mall2005-12-171-0/+13
| | | | | | adjustments to support the planned AFP renderer git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@357298 13f79535-47bb-0310-9956-ffa450edef68
* NOTE: API changes in a backwards-incompatible way: ↵Jeremias Maerki2005-12-151-2/+2
| | | | | | | | | | FOUserAgent.setResolution() -> FOUserAgent.setSourceResolution() and FOUserAgent.setTargetResolution() Resolution parameter to the user agent is split into: - a source resolution used to determine the pixel size in SVG images and bitmap without resolution information - a target resolution used to specify the output resolution of bitmap images generated by bitmap renderers and bitmaps generated by Batik for filter effects. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@357081 13f79535-47bb-0310-9956-ffa450edef68
* The command-line now automatically sets two parameters for any XSLT ↵Jeremias Maerki2005-12-091-6/+11
| | | | | | | | transformation: "fop-output-format" contains the MIME type of the currently selected output format, "fop-version" contains FOP's version number. Suggested by: Roland Neilands git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@355411 13f79535-47bb-0310-9956-ffa450edef68
* The output file is now deleted when an exception occurs when calling FOP ↵Jeremias Maerki2005-12-091-0/+3
| | | | | | from the command-line. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@355401 13f79535-47bb-0310-9956-ffa450edef68
* Deprecated constructors Fop(int) and Fop(int, FOUserAgent).Jeremias Maerki2005-11-121-1/+2
| | | | | | | | 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
* Fop.java gets two new constructors: Fop(String) and Fop(String, FOUserAgent) ↵Jeremias Maerki2005-11-112-112/+85
| | | | | | | | | | | | | | | | | | | | | | where the String is the MIME type for the desired output format. MimeConstants provides a comprehensive list of MIME types used in Fop.java. Non-standard, FOP-specific MIME types changed to a uniform pattern: application/X-fop-awt-preview, application/X-fop-print and application/X-fop-areatree. RendererFactory now supports manual registration and dynamic discovery of Renderers and FOEventHandlers by their MIME types. Instantitation is done using MIME types everywhere. The RENDER_* constants are mapped to MIME types in Fop.java. RendererFactory is now an instantiable class whose reference is held by FOUserAgent just like it is done for the XLMHandlers. Renderers and FOEventHandlers now each have a *Maker class which is a kind of factory class which is used to register a Renderer/FOEventHandler and additionally serves to provide additional information about the thing, such as the MIME types it supports and if the implementation requires an OutputStream. The command-line gets a new option: -out application/pdf myfile.pdf is the generic way to create an output file. If someone created a WordML output handler and provided the right service resource file he could specify "-out text/xml+msword out.xml". ".out list" lists all MIME types that are available for output. Renderers can now potionally expose a Graphics2DAdapter which in concert with Graphics2DImagePainter can be used by FOP extensions to paint their content directly using a Graphics2D instance. That makes it possible to avoid a detour via SVG/Batik in certain cases. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@332549 13f79535-47bb-0310-9956-ffa450edef68
* Ported the command-line options for PDF encryption to trunk.Jeremias Maerki2005-10-251-9/+62
| | | | | | Warnings if required providers are not available. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@328449 13f79535-47bb-0310-9956-ffa450edef68
* Another effort to get the warnings for the debug and quiet optionsSimon Pepping2005-09-281-8/+15
| | | | | | | with other loggers than FOP's command line logger right git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@292153 13f79535-47bb-0310-9956-ffa450edef68
* Commented out the code that causes an NPE.Jeremias Maerki2005-09-191-4/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@290167 13f79535-47bb-0310-9956-ffa450edef68
* Report area tree output mode.Simon Pepping2005-09-171-1/+10
| | | | | | | Report that option -d fails for other than the command line logger. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@289827 13f79535-47bb-0310-9956-ffa450edef68
* New "-foout" parameter which only saves the intermediate XSL-FO file when ↵Jeremias Maerki2005-08-233-10/+63
| | | | | | -xml and -xsl are used. Saves people from having to call a separate XSL transformer. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@239414 13f79535-47bb-0310-9956-ffa450edef68
* Moved CLI to its own package. New main class is org.apache.fop.cli.Main. Jeremias Maerki2005-08-234-0/+1180
InputHandler is not passed through the FOUserAgent anymore. IMO it doesn't belong there. Instead I defined an interface "Renderable" in the AWT preview that InputHandler implements. This is used exclusively for reloading the document inside the preview dialog. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@239409 13f79535-47bb-0310-9956-ffa450edef68