org.apache.fop.layoutmgr
Class InlineKnuthSequence
public class InlineKnuthSequence
Represents a list of inline Knuth elements.
If closed, it represents all elements of a Knuth paragraph.
appendSequence , appendSequence , appendSequenceOrClose , appendSequenceOrClose , canAppendSequence , endSequence , getElement , getLast , isInlineSequence , removeLast , startSequence , wrapPositions |
InlineKnuthSequence
public InlineKnuthSequence()
Creates a new and empty list.
InlineKnuthSequence
public InlineKnuthSequence(List list)
Creates a new list from an existing list.
list
- The list from which to create the new list.
addALetterSpace
public void addALetterSpace()
appendSequence
public boolean appendSequence(KnuthSequence sequence)
Append sequence to this sequence if it can be appended.
- appendSequence in interface KnuthSequence
sequence
- The sequence that is to be appended.
- whether the sequence was succesfully appended to this sequence.
appendSequence
public boolean appendSequence(KnuthSequence sequence,
boolean keepTogether,
BreakElement breakElement)
Append sequence to this sequence if it can be appended.
- appendSequence in interface KnuthSequence
sequence
- The sequence that is to be appended.keepTogether
- Whether the two sequences must be kept together.breakElement
- The BreakElement that may be inserted between the two sequences.
- whether the sequence was succesfully appended to this sequence.
canAppendSequence
public boolean canAppendSequence(KnuthSequence sequence)
Can sequence be appended to this sequence?
- canAppendSequence in interface KnuthSequence
sequence
- The sequence that may be appended.
- whether the sequence can be appended to this sequence.
Copyright 1999-2008 The Apache Software Foundation. All Rights Reserved.