커밋 그래프

2564 커밋

작성자 SHA1 메시지 날짜
Glen Mazza
dfadcfe581 $Id$ added to get header printed at top of file.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196797 13f79535-47bb-0310-9956-ffa450edef68
2003-08-13 23:19:57 +00:00
Glen Mazza
35cae00736 Created a simple example using the DOM Level 2 API for testing/demonstrating FOP's
DOM Document-processing capabilities.


git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196796 13f79535-47bb-0310-9956-ffa450edef68
2003-08-13 23:16:14 +00:00
William Victor Mote
951e31cb43 clean up documentation of new code and some checkstyle problems
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196795 13f79535-47bb-0310-9956-ffa450edef68
2003-08-13 05:32:54 +00:00
Glen Mazza
8880ae5b8e 1.) CommandLineStarter removed, its functionality placed directly into 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
2003-08-12 22:40:49 +00:00
Glen Mazza
f2233a9242 1. FOPTaskStarter separated from Starter class (was not using latter's InputHandler).
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
2003-08-12 21:36:43 +00:00
Glen Mazza
69eea3085a Renamed apps.FOInputHandler to apps.FOFileHandler to reduce confusion with 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
2003-08-12 21:17:44 +00:00
William Victor Mote
33d8eb8cac move render.pdf.FontReader to fonts.FontReader
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196791 13f79535-47bb-0310-9956-ffa450edef68
2003-08-12 18:27:35 +00:00
William Victor Mote
6b7838777f move the "common" property classes from layout to fo.properties, renaming them with a "Common" prefix
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196790 13f79535-47bb-0310-9956-ffa450edef68
2003-08-12 18:02:46 +00:00
William Victor Mote
b6dcb1e72d 1. convert fo.FOTreeHandler to fire events when it completes a PageSequence or document object
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
2003-08-12 06:30:04 +00:00
William Victor Mote
194c471b1c 1. convert fo.FOTreeHandler to fire events when it completes a PageSequence or document object
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
2003-08-12 06:18:43 +00:00
Christian Geisert
23fed68502 removed info about old download location
fixed broken links to archives.apache.org


git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196786 13f79535-47bb-0310-9956-ffa450edef68
2003-08-12 00:00:52 +00:00
Glen Mazza
6a4856b3de 1. AWT PreviewDialog creation shifted from AWTStarter to AWTRenderer.
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
2003-08-11 23:47:22 +00:00
William Victor Mote
eeacdbbd49 add some doc for fox:continued-label
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196784 13f79535-47bb-0310-9956-ffa450edef68
2003-08-11 23:37:38 +00:00
William Victor Mote
71f91369f5 1. add documentation of fox:destination
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
2003-08-11 23:18:08 +00:00
William Victor Mote
3c31a165f3 set up render(XMLReader, InputSource) as the main render() method, and normalize render(Document document) to this form.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196782 13f79535-47bb-0310-9956-ffa450edef68
2003-08-11 18:08:06 +00:00
William Victor Mote
f2f5b624bb fix minor checkstyle errors
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196781 13f79535-47bb-0310-9956-ffa450edef68
2003-08-11 17:51:25 +00:00
William Victor Mote
b005549edb some javadoc changes
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196780 13f79535-47bb-0310-9956-ffa450edef68
2003-08-11 17:44:15 +00:00
Glen Mazza
8303819b1d Moved the Translator (resource bundle) creation from AWTStarter to AWTRenderer.
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
2003-08-10 15:43:13 +00:00
Glen Mazza
9936fde9ef Fix: setOptions() for AWTRenderer not being called.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196778 13f79535-47bb-0310-9956-ffa450edef68
2003-08-08 22:56:15 +00:00
Glen Mazza
a735404e39 Removed empty setProducer() from AWTRenderer; can rely on base class.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196777 13f79535-47bb-0310-9956-ffa450edef68
2003-08-08 20:43:25 +00:00
Glen Mazza
1e1da39c3d 1. To facilitate comprehension of the Renderer classes, added the remaining three methods in the Renderer interface to AbstractRenderer: startRenderer(), stopRenderer(), and setupFontInfo(). SetupFontInfo() remains abstract, the other two have blank definitions.
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
2003-08-07 23:38:17 +00:00
Glen Mazza
648b6414fc Safer handling of treebuilder variable within Driver.reset(), also Driver.setRenderer(renderer) will now set the rendererType variable when given an AWTRenderer.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196775 13f79535-47bb-0310-9956-ffa450edef68
2003-08-05 22:39:51 +00:00
Glen Mazza
c6c409470f 1) Command-line option -l now sets default locale for entire instance, not 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
2003-08-04 18:53:17 +00:00
Glen Mazza
507c7e4537 visual nitpicks fixed.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196773 13f79535-47bb-0310-9956-ffa450edef68
2003-08-04 01:31:30 +00:00
Glen Mazza
d7bdf03a36 Updated embedded.xml to give ViewCVS links to HEAD of the JAXP examples at the bottom.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196772 13f79535-47bb-0310-9956-ffa450edef68
2003-08-04 01:20:03 +00:00
Glen Mazza
9ba242bf2e 1.) only partly implemented Run() function removed from InputHandler and its subclasses; Driver.Run(InputHandler) can be used instead; now all processing centralized in Driver class.
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
2003-08-04 00:52:16 +00:00
Glen Mazza
39491e6ea4 PrinterJob setup and construction moved from Driver to AWTPrintRenderer class. AWTPrintRenderer now be instantiated without a PrinterJob object. (Pending: for embedded programming, may still wish to have a PrinterJob-based constructor for AWTPrintRenderer, or otherwise provide an accessor method to its PrinterJob object.)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196770 13f79535-47bb-0310-9956-ffa450edef68
2003-08-02 21:26:53 +00:00
Glen Mazza
944fab93a1 1. Moved the XMLReader createParser() functionality from abstract class InputHandler to FOInputHandler.
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
2003-08-02 01:15:20 +00:00
William Victor Mote
96eb6e6c2d update with current trunk statistics
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196768 13f79535-47bb-0310-9956-ffa450edef68
2003-08-01 06:54:14 +00:00
William Victor Mote
47c9e3d83a 1. reverse columns
2. put in correct data for 0.20.5 (note that the trunk stats are incorrect atm, they actually point to the old maintenance numbers)


git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196767 13f79535-47bb-0310-9956-ffa450edef68
2003-08-01 06:12:11 +00:00
William Victor Mote
8c3ae50cda pretty-print changes only
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196766 13f79535-47bb-0310-9956-ffa450edef68
2003-08-01 05:50:26 +00:00
William Victor Mote
37024eea00 fix typo, some table problems
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196765 13f79535-47bb-0310-9956-ffa450edef68
2003-08-01 05:48:41 +00:00
William Victor Mote
5f03fe53d7 1. update description of maintenance branch (submitted by Clay Leeds)
2. combine the statistics into one table


git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196764 13f79535-47bb-0310-9956-ffa450edef68
2003-07-31 18:43:41 +00:00
William Victor Mote
16aa3c5419 update status image (submitted by Clay Leeds)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196763 13f79535-47bb-0310-9956-ffa450edef68
2003-07-31 18:42:40 +00:00
Glen Mazza
a010449e24 XSLTInputHandler reimplemented using TraxInputHandler code. TraxInputHandler removed. (Retaining XSLTInputHandler because of its technology-independent name, also probably the more used class of the two.)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196762 13f79535-47bb-0310-9956-ffa450edef68
2003-07-31 05:14:29 +00:00
Glen Mazza
d7b5f74fc0 Patch 21381: New "force" attribute added to FOP task, update to documentation.
Submitted by: Sean Gilligan (seanlist at msgilligan dot com)


git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196761 13f79535-47bb-0310-9956-ffa450edef68
2003-07-30 22:01:35 +00:00
Glen Mazza
28721d4585 1.) Moved the business logic for determining which starter to create from 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
2003-07-29 22:08:54 +00:00
William Victor Mote
a8c3608884 beef up the javadoc comments explaining what these classes do
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196759 13f79535-47bb-0310-9956-ffa450edef68
2003-07-29 19:33:29 +00:00
William Victor Mote
04f2cc10bb move layoutmgr/LayoutHandler to fo/FOTreeHandler:
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
2003-07-29 19:08:23 +00:00
William Victor Mote
ba6a64c2bc rename StructureHandler to FOInputHandler to clarify that its subclasses are handling data for output that is either structured or laid out
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196756 13f79535-47bb-0310-9956-ffa450edef68
2003-07-29 18:42:32 +00:00
William Victor Mote
1a3d48adfa add Chris Bowditch to list of active contributors
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196755 13f79535-47bb-0310-9956-ffa450edef68
2003-07-29 16:50:49 +00:00
William Victor Mote
1cd970079a fix some more typos
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196754 13f79535-47bb-0310-9956-ffa450edef68
2003-07-28 23:03:22 +00:00
William Victor Mote
9ff3878eb4 fix bad link
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196753 13f79535-47bb-0310-9956-ffa450edef68
2003-07-28 18:26:25 +00:00
William Victor Mote
1c8e1914be 1. add detail of command-line options for PFMReader and TTFReader
2. add more detail about the encoding issues for TTF metrics


git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196752 13f79535-47bb-0310-9956-ffa450edef68
2003-07-28 17:40:47 +00:00
William Victor Mote
0577f556bc fix broken link to PDF spec
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196751 13f79535-47bb-0310-9956-ffa450edef68
2003-07-27 23:50:45 +00:00
Glen Mazza
8718e8427e PrintStarter simplified and then obsoleted; PrinterJob object that the 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
2003-07-27 20:16:03 +00:00
William Victor Mote
46b0a7f43d add "id" attributes to <section> tags
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196747 13f79535-47bb-0310-9956-ffa450edef68
2003-07-27 17:59:36 +00:00
Glen Mazza
2d7e730708 Created a new overloaded method Driver.render(InputHandler), simplifies 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
2003-07-27 16:37:14 +00:00
William Victor Mote
0253758cda clean up some gump javadoc warnings
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196745 13f79535-47bb-0310-9956-ffa450edef68
2003-07-26 06:14:24 +00:00
William Victor Mote
ce764e3e87 1. remove version number from title
2. add better explanation of what "na" means
3. add better explanation of what the color coding does


git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196744 13f79535-47bb-0310-9956-ffa450edef68
2003-07-24 19:03:21 +00:00