Package | Description |
---|---|
org.apache.fop.layoutmgr |
FOP's layout engine.
|
org.apache.fop.layoutmgr.inline |
Layout managers for inline formatting objects and line building.
|
org.apache.fop.layoutmgr.list |
Layout managers for lists.
|
org.apache.fop.layoutmgr.table |
Layout managers for tables.
|
Modifier and Type | Interface and Description |
---|---|
interface |
BlockLevelLayoutManager
The interface for LayoutManagers which generate block areas
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractBaseLayoutManager
The base class for nearly all LayoutManagers.
|
class |
AbstractLayoutManager
The base class for most LayoutManagers.
|
class |
AbstractPageSequenceLayoutManager
Abstract base class for a page sequence layout manager.
|
class |
BlockContainerLayoutManager
LayoutManager for a block-container FO.
|
class |
BlockLayoutManager
LayoutManager for a block FO.
|
class |
BlockStackingLayoutManager
Base LayoutManager class for all areas which stack their child
areas in the block-progression direction, such as Flow, Block, ListBlock.
|
class |
ExternalDocumentLayoutManager
LayoutManager for an external-document extension element.
|
class |
FlowLayoutManager
LayoutManager for an fo:flow object.
|
class |
FootnoteBodyLayoutManager
Layout manager for footnote bodies.
|
class |
PageSequenceLayoutManager
LayoutManager for a PageSequence.
|
class |
StaticContentLayoutManager
LayoutManager for an fo:flow object.
|
Modifier and Type | Field and Description |
---|---|
protected LayoutManager |
AbstractLayoutManager.curChildLM
child LM during getNextKnuthElement phase
|
protected LayoutManager |
AbstractLayoutManager.parentLayoutManager
Parent LayoutManager for this LayoutManager
|
Modifier and Type | Field and Description |
---|---|
protected java.util.ListIterator<LayoutManager> |
AbstractLayoutManager.childLMiter
child LM iterator during getNextKnuthElement phase
|
protected java.util.List<LayoutManager> |
AbstractLayoutManager.childLMs
List of child LayoutManagers
|
protected java.util.List<LayoutManager> |
LMiter.listLMs
list of layout managers
|
protected java.util.ListIterator<LayoutManager> |
BlockLayoutManager.proxyLMiter
Iterator over the child layout managers.
|
Modifier and Type | Method and Description |
---|---|
protected LayoutManager |
AbstractLayoutManager.getChildLM()
Return currently active child LayoutManager or null if
all children have finished layout.
|
protected LayoutManager |
PageBreaker.getCurrentChildLM() |
protected abstract LayoutManager |
AbstractBreaker.getCurrentChildLM() |
LayoutManager |
LayoutException.getLayoutManager()
Returns the layout manager that detected the problem.
|
LayoutManager |
ListElement.getLayoutManager() |
LayoutManager |
Position.getLM() |
LayoutManager |
Position.getLM(int depth) |
protected LayoutManager |
PositionIterator.getLM(java.lang.Object nextObj) |
protected LayoutManager |
KnuthPossPosIter.getLM(java.lang.Object nextObj) |
LayoutManager |
PositionIterator.getNextChildLM() |
protected LayoutManager |
UnresolvedListElement.getOriginatingLayoutManager() |
LayoutManager |
AbstractLayoutManager.getParent()
Get the parent layout manager.
|
LayoutManager |
LayoutManager.getParent()
Get the parent layout manager.
|
protected LayoutManager |
PageBreaker.getTopLevelLM() |
protected abstract LayoutManager |
AbstractBreaker.getTopLevelLM() |
LayoutManager |
LayoutManagerMapping.makeLayoutManager(FONode node)
Make a specific LayoutManager for the node.
|
LayoutManager |
LayoutManagerMaker.makeLayoutManager(FONode node)
Make a specific LayoutManager for the node.
|
LayoutManager |
LMiter.next() |
LayoutManager |
LMiter.previous() |
Modifier and Type | Method and Description |
---|---|
protected java.util.List<LayoutManager> |
AbstractLayoutManager.createChildLMs(int size)
Create the LM instances for the children of the
formatting object being handled by this LM.
|
java.util.List<LayoutManager> |
AbstractLayoutManager.getChildLMs() |
Modifier and Type | Method and Description |
---|---|
void |
LMiter.add(LayoutManager lm) |
void |
AbstractLayoutManager.addChildLM(LayoutManager lm)
Add the LM in the argument to the list of child LMs;
set this LM as the parent;
initialize the LM.
|
void |
LayoutManager.addChildLM(LayoutManager lm)
Add the LM in the argument to the list of child LMs;
set this LM as the parent;
initialize the LM.
|
protected int |
PageBreaker.getNextBlockList(LayoutContext childLC,
int nextSequenceStartsOn,
Position positionAtIPDChange,
LayoutManager restartLM,
java.util.List firstElements)
Gets the next block list (sequence) and adds it to a list of block lists
if it's not empty.
|
protected int |
AbstractBreaker.getNextBlockList(LayoutContext childLC,
int nextSequenceStartsOn,
Position positionAtIPDChange,
LayoutManager restartAtLM,
java.util.List<KnuthElement> firstElements)
Gets the next block list (sequence) and adds it to a list of block lists
if it's not empty.
|
protected java.util.List<ListElement> |
FlowLayoutManager.getNextChildElements(LayoutManager childLM,
LayoutContext context,
LayoutContext childLC,
int alignment,
java.util.Stack<LayoutManager> lmStack,
Position restartPosition,
LayoutManager restartLM)
Overridden to wrap the child positions before returning the list
Gets the next set of child elements for the given childLM.
|
protected java.util.List<ListElement> |
BlockStackingLayoutManager.getNextChildElements(LayoutManager childLM,
LayoutContext context,
LayoutContext childLC,
int alignment,
java.util.Stack<LayoutManager> lmStack,
Position restartPosition,
LayoutManager restartAtLM)
Gets the next set of child elements for the given childLM.
|
protected java.util.List<ListElement> |
BlockLayoutManager.getNextChildElements(LayoutManager childLM,
LayoutContext context,
LayoutContext childLC,
int alignment,
java.util.Stack lmStack,
Position restartPosition,
LayoutManager restartAtLM)
Overridden to take into account that the childLM may be the block's
LineLayoutManager . |
protected java.util.List |
PageBreaker.getNextKnuthElements(LayoutContext context,
int alignment,
Position positionAtIPDChange,
LayoutManager restartAtLM)
Get a sequence of KnuthElements representing the content
of the node assigned to the LM
|
protected java.util.List<KnuthElement> |
AbstractBreaker.getNextKnuthElements(LayoutContext context,
int alignment,
Position positionAtIPDChange,
LayoutManager restartAtLM)
Get a sequence of KnuthElements representing the content
of the node assigned to the LM
|
java.util.List |
BlockContainerLayoutManager.getNextKnuthElements(LayoutContext context,
int alignment,
java.util.Stack lmStack,
Position restartPosition,
LayoutManager restartAtLM)
Returns an updated list of Knuth elements corresponding to this layout
manager, after a change of IPD has been detected.
|
java.util.List |
AbstractBaseLayoutManager.getNextKnuthElements(LayoutContext context,
int alignment,
java.util.Stack lmStack,
Position positionAtIPDChange,
LayoutManager restartAtLM)
Returns an updated list of Knuth elements corresponding to this layout
manager, after a change of IPD has been detected.
|
java.util.List |
LayoutManager.getNextKnuthElements(LayoutContext context,
int alignment,
java.util.Stack lmStack,
Position positionAtIPDChange,
LayoutManager restartAtLM)
Returns an updated list of Knuth elements corresponding to this layout
manager, after a change of IPD has been detected.
|
java.util.List |
BlockLayoutManager.getNextKnuthElements(LayoutContext context,
int alignment,
java.util.Stack lmStack,
Position restartPosition,
LayoutManager restartAtLM)
Returns an updated list of Knuth elements corresponding to this layout
manager, after a change of IPD has been detected.
|
java.util.List |
BlockStackingLayoutManager.getNextKnuthElements(LayoutContext context,
int alignment,
java.util.Stack lmStack,
Position restartPosition,
LayoutManager restartAtLM)
Returns an updated list of Knuth elements corresponding to this layout
manager, after a change of IPD has been detected.
|
void |
LMiter.set(LayoutManager lm) |
protected void |
AbstractLayoutManager.setCurrentChildLM(LayoutManager childLM)
Set currently active child layout manager.
|
void |
AbstractLayoutManager.setParent(LayoutManager lm)
Set the parent layout manager.
|
void |
LayoutManager.setParent(LayoutManager lm)
Set the parent layout manager.
|
void |
KnuthSequence.wrapPositions(LayoutManager lm)
Wrap the Positions of the elements of this sequence in a Position for LayoutManager lm.
|
Modifier and Type | Method and Description |
---|---|
protected java.util.List<ListElement> |
FlowLayoutManager.getNextChildElements(LayoutManager childLM,
LayoutContext context,
LayoutContext childLC,
int alignment,
java.util.Stack<LayoutManager> lmStack,
Position restartPosition,
LayoutManager restartLM)
Overridden to wrap the child positions before returning the list
Gets the next set of child elements for the given childLM.
|
protected java.util.List<ListElement> |
BlockStackingLayoutManager.getNextChildElements(LayoutManager childLM,
LayoutContext context,
LayoutContext childLC,
int alignment,
java.util.Stack<LayoutManager> lmStack,
Position restartPosition,
LayoutManager restartAtLM)
Gets the next set of child elements for the given childLM.
|
Constructor and Description |
---|
BalancingColumnBreakingAlgorithm(LayoutManager topLevelLM,
PageProvider pageProvider,
PageBreakingAlgorithm.PageBreakingLayoutListener layoutListener,
int alignment,
int alignmentLast,
MinOptMax footnoteSeparatorLength,
boolean partOverflowRecovery,
int columnCount)
Construct a balancing column breaking algorithm.
|
BlockStackingLayoutManager.MappingPosition(LayoutManager lm,
int first,
int last)
Construct mapping position.
|
LayoutException(java.lang.String message,
LayoutManager lm)
Constructs a new layout exception with the specified detail message.
|
LeafPosition(LayoutManager layoutManager,
int pos)
Construct a leaf position.
|
LeafPosition(LayoutManager layoutManager,
int pos,
int index)
Construct a leaf position.
|
LMiter(LayoutManager lp)
Construct a layout manager iterator.
|
NonLeafPosition(LayoutManager lm,
Position sub)
Construct a leaf position.
|
Position(LayoutManager lm)
Construct a position.
|
Position(LayoutManager lm,
int index)
Construct a position.
|
Modifier and Type | Interface and Description |
---|---|
interface |
InlineLevelLayoutManager
The interface for LayoutManagers which generate inline areas
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractGraphicsLayoutManager
LayoutManager handling the common tasks for the fo:instream-foreign-object
and fo:external-graphics formatting objects
|
class |
AbstractPageNumberCitationLayoutManager
LayoutManager for the fo:page-number-citation(-last) formatting object
|
class |
BasicLinkLayoutManager
LayoutManager for the fo:basic-link formatting object
|
class |
BidiLayoutManager
Layout manager for fo:bidi-override.
|
class |
CharacterLayoutManager
LayoutManager for the fo:character formatting object
|
class |
ContentLayoutManager
Content Layout Manager.
|
class |
ExternalGraphicLayoutManager
LayoutManager for the fo:external-graphic formatting object
|
class |
FootnoteLayoutManager
Layout manager for fo:footnote.
|
class |
ICLayoutManager
This creates a single inline container area after
laying out the child block areas.
|
class |
InlineLayoutManager
LayoutManager for objects which stack children in the inline direction,
such as Inline or Line
|
class |
InlineStackingLayoutManager
Class modelling the commonalities of layoutmanagers for objects
which stack children in the inline direction, such as Inline or
Line.
|
class |
InstreamForeignObjectLM
LayoutManager for the fo:instream-foreign-object formatting object
|
class |
LeaderLayoutManager
LayoutManager for the fo:leader formatting object
|
class |
LeafNodeLayoutManager
Base LayoutManager for leaf-node FObj, ie: ones which have no children.
|
class |
LineLayoutManager
LayoutManager for lines.
|
class |
PageNumberCitationLastLayoutManager
LayoutManager for the fo:page-number-citation-last formatting object
|
class |
PageNumberCitationLayoutManager
LayoutManager for the fo:page-number-citation formatting object
|
class |
PageNumberLayoutManager
LayoutManager for the fo:page-number formatting object
|
class |
TextLayoutManager
LayoutManager for text (a sequence of characters) which generates one
or more inline areas.
|
class |
WrapperLayoutManager
This is the layout manager for the fo:wrapper formatting object.
|
Modifier and Type | Method and Description |
---|---|
LayoutManager |
ContentLayoutManager.getParent()
Get the parent layout manager.
|
Modifier and Type | Method and Description |
---|---|
void |
ContentLayoutManager.addChildLM(LayoutManager lm)
Add the LM in the argument to the list of child LMs;
set this LM as the parent;
initialize the LM.
|
void |
ContentLayoutManager.setParent(LayoutManager lm)
Set the parent layout manager.
|
Constructor and Description |
---|
ContentLayoutManager(Area area,
LayoutManager parentLM)
Constructs a new ContentLayoutManager
|
Modifier and Type | Class and Description |
---|---|
class |
ListBlockLayoutManager
LayoutManager for a list-block FO.
|
class |
ListItemContentLayoutManager
LayoutManager for a list-item-label or list-item-body FO.
|
class |
ListItemLayoutManager
LayoutManager for a list-item FO.
|
Modifier and Type | Class and Description |
---|---|
class |
TableAndCaptionLayoutManager
LayoutManager for a table-and-caption FO.
|
class |
TableCaptionLayoutManager
LayoutManager for a table-caption FO.
|
class |
TableCellLayoutManager
LayoutManager for a table-cell FO.
|
class |
TableLayoutManager
LayoutManager for a table FO.
|
Copyright 1999-2012 The Apache Software Foundation. All Rights Reserved.