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
2. CommandLineStarter made a top-level class, and abstract Starter class removed.
(only one starter being used for command line, regardless of renderer.)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196793 13f79535-47bb-0310-9956-ffa450edef68
2. move logic that starts layout from fo.FOTreeHandler to apps.Driver.
3. add logic to apps.Driver to handle the events fired from fo.FOTreeHandler
4. end result is that FOTreeHandler now allows other objects to handle page-sequence and document objects in a manner similar to the way SAX allows them to handle XML elements.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196788 13f79535-47bb-0310-9956-ffa450edef68
2. move logic that starts layout from fo.FOTreeHandler to apps.Driver.
3. add logic to apps.Driver to handle the events fired from fo.FOTreeHandler
4. end result is that FOTreeHandler now allows other objects to handle page-sequence and document objects in a manner similar to the way SAX allows them to handle XML elements.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196787 13f79535-47bb-0310-9956-ffa450edef68
2. New AWTRenderer constructor -- takes an InputHandler object which
is used for the document refreshing/reloading.
3. PreviewDialog's reload() functionality now handled via Driver instead of
AWTStarter.
4. Class AWTStarter removed: AWT generation now activated via CommandLineStarter.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196785 13f79535-47bb-0310-9956-ffa450edef68
2. break explanation of fox: namespace into a separate section so that it is clear that it applies to all of the fox: extensions
3. some other minor cleanup
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196783 13f79535-47bb-0310-9956-ffa450edef68
Gave the AWTRenderer access to the PrintViewer frame that displays the document.
Moved rendering status messages from AWTStarter to AWTRenderer and PrintDialog.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196779 13f79535-47bb-0310-9956-ffa450edef68
2. Removed the blank definitions of startRenderer() and stopRenderer() from PrintRenderer, these are now defined in AbstractRenderer.
3. Member string variables "producer" and "creator" were added to AbstractRenderer and are now populated by its setProducer() and setCreator() methods; removed these functions from the several subclasses that were handling these strings equivalently.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196776 13f79535-47bb-0310-9956-ffa450edef68
2.) getParserClassName() moved from Driver to (to be renamed) FOInputHandler; now the same class that provides the parser provides its description.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196771 13f79535-47bb-0310-9956-ffa450edef68
2. Added the setting of the "namespace-prefix" SAX option directly into createParser(), and removed function setParserFeatures (where it was previously being set).
3. Removed the duplicate XMLReader creation code in Driver.run(), it now uses FOTreeBuilder.createParser().
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196769 13f79535-47bb-0310-9956-ffa450edef68
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
1. It has nothing to do with layout (its name was presumably chosen to reflect that it is used for formats where layout will be needed).
2. It is used for building FO trees. Part of the purpose here is to make the FO tree building process as self-contained as possible within the fo package.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196758 13f79535-47bb-0310-9956-ffa450edef68