org.pentaho.reporting.engine.classic.core.layout.process.alignment
Class LeftAlignmentProcessor
java.lang.Object
org.pentaho.reporting.engine.classic.core.layout.process.alignment.AbstractAlignmentProcessor
org.pentaho.reporting.engine.classic.core.layout.process.alignment.LeftAlignmentProcessor
- All Implemented Interfaces:
- LastLineTextAlignmentProcessor, TextAlignmentProcessor
- Direct Known Subclasses:
- JustifyAlignmentProcessor
public class LeftAlignmentProcessor
- extends AbstractAlignmentProcessor
Performs the left-alignment computations.
The inf-min-step creates the initial sequence of elements. The alignment processor now iterates over the sequence and
produces the layouted line.
Elements can be split, splitting is a local operation and does not copy the children. Text splitting may produce a
totally different text (see: TeX hyphenation system).
The process is iterative and continues unless all elements have been consumed.
- Author:
- Thomas Morgner
LeftAlignmentProcessor
public LeftAlignmentProcessor()
getPageSegment
public int getPageSegment()
setPageSegment
public void setPageSegment(int pageSegment)
next
public RenderBox next()
- Specified by:
next
in interface TextAlignmentProcessor
- Overrides:
next
in class AbstractAlignmentProcessor
performLastLineAlignment
public void performLastLineAlignment()
- Specified by:
performLastLineAlignment
in interface LastLineTextAlignmentProcessor
- Overrides:
performLastLineAlignment
in class AbstractAlignmentProcessor
performSkipAlignment
public void performSkipAlignment(int endIndex)
- Overrides:
performSkipAlignment
in class AbstractAlignmentProcessor