Jesper Skov wrote:
>
> >>>>> "Paul" == Paul Rohr <[EMAIL PROTECTED]> writes:
>
> Paul> Since you're currently wading through all that code, I'd like to
> Paul> check on a suggestion which has been floating around the back of
> Paul> my brain for quite a while to see what you think. (Ditto for
> Paul> Eric, the original author of much of this code.)
>
> Paul> Could we prevent all this trouble by guaranteeing that *no*
> Paul> level of the layout hierarchy is ever totally empty?
What then? Phony data in levels?
>
> Paul> It seems like the main reason we run into trouble is that
> Paul> various physical layout units (pages, columns, blocks, lines,
> Paul> runs) can sometimes be totally empty. Thus, any attempt to
> Paul> hit-test at that level will fail.
The problem is obviously the "hit test" Isn't it better to fix your
error/empty-set-case handling than mess with all of the layout units?
--
Paul Cubbage, CEO 408-353-2164 408-353-8181FAX 408-472-1112cel
Open Country, Inc. [EMAIL PROTECTED]
23450 Old Santa Cruz Hwy.
Los Gatos, CA 95033