]> source.dussan.org Git - xmlgraphics-fop.git/commit
This change abstracts the Renderer away from FOTreeHandler as follows:
authorGlen Mazza <gmazza@apache.org>
Tue, 6 Jul 2004 05:25:09 +0000 (05:25 +0000)
committerGlen Mazza <gmazza@apache.org>
Tue, 6 Jul 2004 05:25:09 +0000 (05:25 +0000)
commita0e92b3059b2ecf27506bcb4ee2eae099adec7c9
tree02fe368b4153befa9fa2f99d9b31de4b50f88482
parent671f7a301437b0dd5d10e49ea9c3e22bc3321748
This change abstracts the Renderer away from FOTreeHandler as follows:

Old:
driver-->fotreehandler-->areatree
                     \-->renderer

New:
driver-->fotreehandler-->areatree-->renderer

I am hoping this will streamline the code more.
Main drawback I can see is that the AreaTree constructor
gets a bit ugly--from one parameter, the Renderer,
to four (the items needed to create a Renderer.) Perhaps
we can have AreaTree construct the FontInfo object in the
future, dropping us to a three-parameter constructor.

Comments welcome.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197754 13f79535-47bb-0310-9956-ffa450edef68
src/java/org/apache/fop/apps/Driver.java
src/java/org/apache/fop/area/AreaTree.java
src/java/org/apache/fop/fo/FOTreeHandler.java
src/java/org/apache/fop/tools/AreaTreeBuilder.java