org.apache.fop.layoutmgr
Class SpaceResolver
java.lang.Object
org.apache.fop.layoutmgr.SpaceResolver
public class SpaceResolver
extends java.lang.Object
This class resolves spaces and conditional borders and paddings by replacing the
UnresolvedListElements descendants by the right combination of KnuthElements on an element
list.
protected static Log | log - Logger instance
|
static void | performConditionalsNotification(List effectiveList, int startElementIndex, int endElementIndex, int prevBreak) - Inspects an effective element list and notifies all layout managers about the state of
the spaces and conditional lengths.
|
static void | resolveElementList(LinkedList elems) - Resolves unresolved elements applying the space resolution rules defined in 4.3.1.
|
log
protected static Log log
Logger instance
performConditionalsNotification
public static void performConditionalsNotification(List effectiveList,
int startElementIndex,
int endElementIndex,
int prevBreak)
Inspects an effective element list and notifies all layout managers about the state of
the spaces and conditional lengths.
effectiveList
- the effective element liststartElementIndex
- index of the first element in the part to be processedendElementIndex
- index of the last element in the part to be processedprevBreak
- index of the the break possibility just before this part (used to
identify a break condition, lastBreak <= 0 represents a no-break condition)
resolveElementList
public static void resolveElementList(LinkedList elems)
Resolves unresolved elements applying the space resolution rules defined in 4.3.1.
Copyright 1999-2007 The Apache Software Foundation. All Rights Reserved.