aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/apps/CommandLineOptions.java
Commit message (Collapse)AuthorAgeFilesLines
* Command-line switch for setting the resolution.Jeremias Maerki2005-06-091-1/+15
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198732 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla: #33760Jeremias Maerki2005-06-091-1/+39
| | | | | | | | | | | Resurrected Java2D/AWT Renderer (including bitmap output to PNG and TIFF using the Batik codecs and print capability). Submitted by: Renaud Richardet <renaud.richardet.at.gmail.com> Changes on the original patch: - PageViewport: isResolved() caused a NPE which I fixed. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198725 13f79535-47bb-0310-9956-ffa450edef68
* Merge of branch Temp_KnuthStylePageBreaking back into HEAD.Jeremias Maerki2005-05-131-0/+3
| | | | | | | Temp_KnuthStylePageBreaking branch and HEAD have been tagged prior to the merge, so merging uncommitted work from the branch should be easier. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198627 13f79535-47bb-0310-9956-ffa450edef68
* Slight deviation from the template.Jeremias Maerki2005-03-181-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198503 13f79535-47bb-0310-9956-ffa450edef68
* Avoid throwing exceptions from ctor, the logger is lost in that case.Finn Bock2004-09-131-9/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197946 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla patch 31162:Jeremias Maerki2004-09-111-6/+36
| | | | | | | | | | Better command-line logging without losing the possibility to fine-tune Commons Logging from outside. Submitted by: Finn Bock <bckfnn.at.apache.org> plus using the new CommandLineLogger for PFMReader and TTFReader, too. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197940 13f79535-47bb-0310-9956-ffa450edef68
* Removed unneded import statements.Finn Bock2004-09-091-1/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197937 13f79535-47bb-0310-9956-ffa450edef68
* Minor edits.Glen Mazza2004-08-221-11/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197886 13f79535-47bb-0310-9956-ffa450edef68
* Took advantage of the Transformer similarities between FO input andGlen Mazza2004-07-251-2/+2
| | | | | | | (XSL, XSLT) input to combine the two into InputHandler. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197840 13f79535-47bb-0310-9956-ffa450edef68
* Combined the apps.Driver class into apps.Fop. (195 LOC total.) PrimaryGlen Mazza2004-07-241-14/+6
| | | | | | | | | | | | | | | | | | | 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
* 1.) Moved the SAXParser-creating method from FOFileHandler to ↵Glen Mazza2004-07-201-1/+17
| | | | | | | | | | | | | | | CommandLineOptions, the latter being the class directly using it. 2.) Decoupled the SVG classes from apps.FOFileHandler, the SVG classes for some reason want a string containing a name of a SAXParser. We'll need to look in the future for the actual need for this--normally error messages are done by the caller, not the callee. It would appear that Batik can generate a SAXParser name by default, and use that when not explicitly overridden by the caller. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197804 13f79535-47bb-0310-9956-ffa450edef68
* Implementing user configuration file.Simon Pepping2004-07-091-1/+36
| | | | | | | | | Adding debug logging for user configuration, user PDF filters and user fonts. Adding reporting of mime type to renderers. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197774 13f79535-47bb-0310-9956-ffa450edef68
* 1. Output constant types (RENDER_PDF, RENDER_PS, etc.) made common betweenGlen Mazza2004-06-261-60/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | CommandLineOptions and Driver, and factored into fo.Constants interface. 2. New Driver(AWTRenderer renderer) constructor added in apps.Driver for the AWTRenderer (which does reloading, unique among the output types.) Note reloading currently doesn't work--AWTRenderer not yet functional. 3. Driver.hasData() method removed from API--a search on when it was implemented dates it to 2001, when reset() was coded. Unsure of its need, and so removed until we have user requests for it. 4. Renderers abstracted away from API in favor of just calling .setRenderer(int Rendertype), and configuring user-configurable options in FOUserAgent. 5. Driver.setRenderer(String <renderer class name>) also dropped. If external user need for it, can be re-implemented fairly easily via a "renderer override" string in FOUserAgent, for which FOTreeHandler can read and use instead. 6. Validity checking added to fo:flow, and convenience functions defining the "%block;" parameter entity and neutral containers as defined in 6.2 of spec [1] added to FObj. [1] http://www.w3.org/TR/2001/REC-xsl-20011015/slice6.html#section-N9447-Formatting-Object-Content git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197745 13f79535-47bb-0310-9956-ffa450edef68
* 1.) Moved the CommandLineOptions' InputHandler object into FOUserAgent, allowingGlen Mazza2004-06-251-10/+17
| | | | | | | | | | | | | | | | for a no-parameter constructor for AWTRenderer (like the other renderers). (Code is not yet ideal in AWTRenderer, but will do the task.) 2.) AWT renderer handling now more similar to the other renderers (simplifications in Driver, Fop). 3.) Driver.getRenderer() removed from API. (Renderer configuration now mostly done through FOUserAgent, and setup of renderer prior to calling setRenderer().) 4.) Validity checking added to region-after, -start, -end, and -before. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197744 13f79535-47bb-0310-9956-ffa450edef68
* 1.) Moving renderer-specific customization variables (producer, creator, ↵Glen Mazza2004-06-231-1/+1
| | | | | | | | | | | create date) to FOUserAgent, those renderers which can work with these values can read them from passed-in FOUserAgent instance. 2.) Version.getVersion() moved to Fop.getVersion(). 3.) Validation added for fo:region-body. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197743 13f79535-47bb-0310-9956-ffa450edef68
* 1. Moved renderer options to within FOUserAgentGlen Mazza2004-06-221-8/+10
| | | | | | | 2. Validity checking on fo:conditional-page-master-reference added. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197741 13f79535-47bb-0310-9956-ffa450edef68
* 1.) Removed the get/setLogger methods from Driver, obsolete with ↵Glen Mazza2004-06-201-3/+5
| | | | | | | | | | 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
* Remaining changes done with Avalon->Commons Logging conversion. (Bug 28237)Glen Mazza2004-04-181-50/+33
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197517 13f79535-47bb-0310-9956-ffa450edef68
* 3/4ths of Simon's patch committed at the moment, with minor changesGlen Mazza2004-04-091-37/+19
| | | | | | | made. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197496 13f79535-47bb-0310-9956-ffa450edef68
* PR:Glen Mazza2004-03-311-8/+9
| | | | | | | | | | | | Obtained from: Submitted by: Reviewed by: Conversion of Avalon to Commons-Logger. (Will still need to update the examples, which I will take care of next; Jeremias will be modifying the PDF libraries for more efficient use of the CL loggers.) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197474 13f79535-47bb-0310-9956-ffa450edef68
* Applied Apache License Version 2.0 by following the instructions at ↵Jeremias Maerki2004-02-271-48/+16
| | | | | | 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
* 1.) Deprecation of most constructors in XSLTInputHandler in favor of JAXP.Glen Mazza2004-02-101-1/+18
| | | | | | | | | | | 2.) Removal of unused transformer member variable in XSLTInputHandler. 3.) Partial modifications -- code from Xalan project -- in order to be able to handle command line parameters for XSLT stylesheet. (Changes still needed in XSLTInputHandler.getXMLFilter() -- unsure how to set parameters to an XMLFilter. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197350 13f79535-47bb-0310-9956-ffa450edef68
* style/javadoc changes onlyWilliam Victor Mote2003-09-011-13/+13
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196880 13f79535-47bb-0310-9956-ffa450edef68
* 1.) CommandLineStarter removed, its functionality placed directly into ↵Glen Mazza2003-08-121-5/+5
| | | | | | | | | | | | Fop.main(). Fop.main() now responsible for taking command-line input as provided from CommandLineOptions, and activating a Driver instance with that data. 2.) Minor cleanup of error messages in CommandLineOptions. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196794 13f79535-47bb-0310-9956-ffa450edef68
* Renamed apps.FOInputHandler to apps.FOFileHandler to reduce confusion with ↵Glen Mazza2003-08-121-1/+1
| | | | | | the new FOInputHandler in the fo package. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196792 13f79535-47bb-0310-9956-ffa450edef68
* 1) Command-line option -l now sets default locale for entire instance, not ↵Glen Mazza2003-08-041-12/+3
| | | | | | | | | just that of AWTRenderer. 2) (minor) CommandLineOptions.getInputHandler() returns error if input mode not properly set. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196774 13f79535-47bb-0310-9956-ffa450edef68
* 1.) Moved the business logic for determining which starter to create from ↵Glen Mazza2003-07-291-37/+13
| | | | | | | | | apps.CommandLineOptions to apps.Fop; CLO is now Starter-free. 2.) Made the input and output type constants in CLO public, to make the CLO.getOutputMode() and CLO.getInputMode() accessor functions meaningful. (Should probably make uniform with the very similar constants in the Driver class in the future.) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196760 13f79535-47bb-0310-9956-ffa450edef68
* PrintStarter simplified and then obsoleted; PrinterJob object that the ↵Glen Mazza2003-07-271-9/+0
| | | | | | AWTPrintRenderer needs is now created within Driver. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196749 13f79535-47bb-0310-9956-ffa450edef68
* Created a new overloaded method Driver.render(InputHandler), simplifies ↵Glen Mazza2003-07-271-1/+1
| | | | | | internal calls to the Driver class by centralizing parser initialization and InputSource extraction. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196746 13f79535-47bb-0310-9956-ffa450edef68
* extract a bunch of methods out of parseOptions(), mostly to satisfy ↵William Victor Mote2003-07-051-129/+196
| | | | | | checkstyle method size requirements git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196610 13f79535-47bb-0310-9956-ffa450edef68
* Array brackets movedPeter Bernard West2003-06-201-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196513 13f79535-47bb-0310-9956-ffa450edef68
* Revert refactoring of Driver to Session. Files affected should be identical ↵William Victor Mote2003-06-171-22/+22
| | | | | | to that which is two revisions earlier (e.g. if 1.3 is being checked in here, it should be identical to 1.1). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196504 13f79535-47bb-0310-9956-ffa450edef68
* 1. Copy apps.Driver to apps.Session.William Victor Mote2003-06-171-22/+22
| | | | | | | | | 2. Fix all references to use Session instead of Driver. 3. Keep contents of "Services" class, but remove the class definition itself so that it can be used by both Driver and Session. 4. Deprecate Driver. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196503 13f79535-47bb-0310-9956-ffa450edef68
* Take over InputHandler code from maintenance branch. Jeremias Maerki2003-06-021-1/+2
| | | | | | | | | Makes the org.apache.fop.tools.xslt package superfluous. (#20398) Submitted by: Glen Mazza <glenmazza@yahoo.com> git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196490 13f79535-47bb-0310-9956-ffa450edef68
* Moved sources from src/org/** to src/java/org/**Jeremias Maerki2003-03-111-0/+725
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196061 13f79535-47bb-0310-9956-ffa450edef68