Hi Arved,
Nice to hear from you again.
As you can see Keiron is doing most of the work, so he probably has some
ideas for you. From my point of view, if you could look a bit at the
LayoutManger classes (I've  put a couple more in there) and the
interfaces I'm starting to define with the Area classes, and make some
comments it would help. The LayoutManager interface is still pretty
simple. There are a few things bothering me though and I'd appreciate
your feedback.
One question is how much intelligence to put in the Area classes
themselves and how much in the LayoutManagers which are creating them.
For example, does the Area know how to calculate its own IPD and BPD
when child areas are added, or does the LM tell it this? In the old
scheme, the FO set dimensions on the Areas (in general). I always
thought the Area classes should have done it. But now that we've moved
layout intelligence into the LM classes, maybe its logical that they do
the fancy calculations and set the results on the Area.

I think we also need some input on Property (ie. trait) management on
the areas (or on the LM?). Keiron has started to specify some
interfaces.
Also maybe we need to look at the class hierarchy some. I've already
noticed I'm doing a bunch of "casting" in the LM code, which isn't
usually a good sign.

My short-term goal is to get just enough LM code in place to get a feel
for how it should work and to stabilize interfaces with the Area
classes. I don't want to attack the more complicated cases yet, though
I've got some ideas for float management in the back of my mind.

Regards,
Karen

Arved Sandstrom wrote:
> 
> At 12:05 AM 11/10/01 +0100, Karen Lease wrote:
> >Hi all,
> >An initial version of the Layout Manager classes (package
> >org.apache.fop.layoutmgr) is now in CVS, plus some related changes in
> >Area (up for discussion; this is just past the pseudocode point, but at
> >least it builds :-) and in the fo/pagination classes.
> >Needless to say, it does nothing useful whatsoever yet.
> 
> All I can say is that I'm grateful that the two of you, Keiron and yourself,
> have the time to do this. I've been tracking progress, and basically I am
> waiting for the right moment to jump in and help out with smaller bits,
> because I can squeeze out time for that...just not the bigger stuff. I guess
> what I'm asking is, is there any area in particular that I can assist with
> or should take a look at?
> 
> Regards,
> Arved
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to