|
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.ElementListUtils
Utilities for Knuth element lists.
| Constructor Summary | |
ElementListUtils()
|
|
| Method Summary | |
static int |
calcContentLength(java.util.List elems)
Calculates the content length of the given element list. |
static int |
calcContentLength(java.util.List elems,
int start,
int end)
Calculates the content length of the given element list. |
static int |
determinePreviousBreak(java.util.List elems,
int startIndex)
Determines the position of the previous break before the start index on an element list. |
static boolean |
endsWithForcedBreak(java.util.LinkedList elems)
Indicates whether the given element list ends with a forced break. |
static boolean |
removeLegalBreaks(java.util.LinkedList elements,
int constraint)
Removes legal breaks in an element list. |
static boolean |
removeLegalBreaks(java.util.LinkedList elements,
MinOptMax constraint)
Removes legal breaks in an element list. |
static boolean |
removeLegalBreaksFromEnd(java.util.LinkedList elements,
int constraint)
Removes legal breaks in an element list. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ElementListUtils()
| Method Detail |
public static boolean removeLegalBreaks(java.util.LinkedList elements,
MinOptMax constraint)
elements - the element listconstraint - min/opt/max value to restrict the range in which the breaks are removed.
public static boolean removeLegalBreaks(java.util.LinkedList elements,
int constraint)
elements - the element listconstraint - value to restrict the range in which the breaks are removed.
public static boolean removeLegalBreaksFromEnd(java.util.LinkedList elements,
int constraint)
elements - the element listconstraint - value to restrict the range in which the breaks are removed.
public static int calcContentLength(java.util.List elems,
int start,
int end)
elems - the element liststart - element at which to startend - element at which to stop
public static int calcContentLength(java.util.List elems)
elems - the element list
public static boolean endsWithForcedBreak(java.util.LinkedList elems)
elems - the element list
public static int determinePreviousBreak(java.util.List elems,
int startIndex)
elems - the element liststartIndex - the start index
|
fop 0.95 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||