|
fop 0.95 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.fop.layoutmgr.SpaceResolver
public class SpaceResolver
This class resolves spaces and conditional borders and paddings by replacing the UnresolvedListElements descendants by the right combination of KnuthElements on an element list.
Nested Class Summary | |
---|---|
static class |
SpaceResolver.SpaceHandlingBreakPosition
Position class for break possibilities. |
static class |
SpaceResolver.SpaceHandlingPosition
Position class for no-break situations. |
Field Summary | |
---|---|
protected static org.apache.commons.logging.Log |
log
Logger instance |
Method Summary | |
---|---|
static void |
performConditionalsNotification(java.util.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(java.util.LinkedList elems)
Resolves unresolved elements applying the space resolution rules defined in 4.3.1. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static org.apache.commons.logging.Log log
Method Detail |
---|
public static void resolveElementList(java.util.LinkedList elems)
elems
- the element listpublic static void performConditionalsNotification(java.util.List effectiveList, int startElementIndex, int endElementIndex, int prevBreak)
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)
|
fop 0.95 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |