Package org.apache.fop.layoutmgr.inline
Class LineLayoutManager.Paragraph
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractList<E>
-
- java.util.ArrayList
-
- org.apache.fop.layoutmgr.KnuthSequence
-
- org.apache.fop.layoutmgr.InlineKnuthSequence
-
- org.apache.fop.layoutmgr.inline.LineLayoutManager.Paragraph
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
,java.lang.Iterable
,java.util.Collection
,java.util.List
,java.util.RandomAccess
- Enclosing class:
- LineLayoutManager
private static class LineLayoutManager.Paragraph extends InlineKnuthSequence
-
-
Field Summary
Fields Modifier and Type Field Description private int
ignoreAtEnd
Number of elements to ignore at the end of the list.private int
ignoreAtStart
Number of elements to ignore at the beginning of the list.private int
lastLineEndIndent
private LineLayoutManager
layoutManager
private MinOptMax
lineFiller
private static long
serialVersionUID
private int
textAlignment
private int
textAlignmentLast
private int
textIndent
-
Constructor Summary
Constructors Constructor Description Paragraph(LineLayoutManager llm, int alignment, int alignmentLast, int indent, int endIndent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
containsBox()
void
endParagraph()
KnuthSequence
endSequence()
Finalizes a Knuth sequence.void
startSequence()
Marks the start of the sequence.-
Methods inherited from class org.apache.fop.layoutmgr.InlineKnuthSequence
addALetterSpace, appendSequence, appendSequence, canAppendSequence, isInlineSequence
-
Methods inherited from class org.apache.fop.layoutmgr.KnuthSequence
appendSequenceOrClose, appendSequenceOrClose, getElement, getFirstBoxIndex, getLast, removeLast, toString, wrapPositions
-
Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, equals, forEach, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
ignoreAtStart
private int ignoreAtStart
Number of elements to ignore at the beginning of the list.
-
ignoreAtEnd
private int ignoreAtEnd
Number of elements to ignore at the end of the list.
-
lineFiller
private MinOptMax lineFiller
-
textAlignment
private final int textAlignment
-
textAlignmentLast
private final int textAlignmentLast
-
textIndent
private final int textIndent
-
lastLineEndIndent
private final int lastLineEndIndent
-
layoutManager
private final LineLayoutManager layoutManager
-
-
Constructor Detail
-
Paragraph
Paragraph(LineLayoutManager llm, int alignment, int alignmentLast, int indent, int endIndent)
-
-
Method Detail
-
startSequence
public void startSequence()
Description copied from class:KnuthSequence
Marks the start of the sequence.- Overrides:
startSequence
in classKnuthSequence
-
endParagraph
public void endParagraph()
-
endSequence
public KnuthSequence endSequence()
Description copied from class:InlineKnuthSequence
Finalizes a Knuth sequence.- Overrides:
endSequence
in classInlineKnuthSequence
- Returns:
- a finalized sequence.
-
containsBox
public boolean containsBox()
- Returns:
- true if the sequence contains a box
-
-