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 | Method and Description |
---|---|
protected LayoutContext |
AbstractBreaker.createLayoutContext()
Creates the top-level LayoutContext for the breaker operation.
|
Modifier and Type | Method and Description |
---|---|
static void |
AreaAdditionUtil.addAreas(BlockStackingLayoutManager bslm,
PositionIterator parentIter,
LayoutContext layoutContext)
Creates the child areas for the given layout manager.
|
void |
BlockLayoutManager.addAreas(PositionIterator parentIter,
LayoutContext layoutContext)
Tell the layout manager to add all the child areas implied
by Position objects which will be returned by the
Iterator.
|
void |
FlowLayoutManager.addAreas(PositionIterator parentIter,
LayoutContext layoutContext)
Tell the layout manager to add all the child areas implied
by Position objects which will be returned by the
Iterator.
|
protected abstract void |
AbstractBreaker.addAreas(PositionIterator posIter,
LayoutContext context) |
void |
LayoutManager.addAreas(PositionIterator posIter,
LayoutContext context)
Tell the layout manager to add all the child areas implied
by Position objects which will be returned by the
Iterator.
|
void |
AbstractLayoutManager.addAreas(PositionIterator posIter,
LayoutContext context)
Tell the layout manager to add all the child areas implied
by Position objects which will be returned by the
Iterator.
|
void |
BlockContainerLayoutManager.addAreas(PositionIterator parentIter,
LayoutContext layoutContext)
Tell the layout manager to add all the child areas implied
by Position objects which will be returned by the
Iterator.
|
void |
FootnoteBodyLayoutManager.addAreas(PositionIterator parentIter,
LayoutContext layoutContext)
Tell the layout manager to add all the child areas implied
by Position objects which will be returned by the
Iterator.
|
void |
StaticContentLayoutManager.addAreas(PositionIterator parentIter,
LayoutContext layoutContext)
Tell the layout manager to add all the child areas implied
by Position objects which will be returned by the
Iterator.
|
protected void |
PageBreaker.addAreas(PositionIterator posIter,
LayoutContext context)
Adds an area to the flow layout manager
|
protected void |
BlockStackingLayoutManager.addInBetweenBreak(java.util.List contentList,
LayoutContext parentLC,
LayoutContext childLC)
Adds a break element to the content list between individual child elements.
|
protected boolean |
BlockStackingLayoutManager.addKnuthElementsForBreakAfter(java.util.List returnList,
LayoutContext context)
Creates Knuth elements for break-after and adds them to the return list.
|
protected boolean |
BlockStackingLayoutManager.addKnuthElementsForBreakBefore(java.util.List returnList,
LayoutContext context)
Creates Knuth elements for break-before and adds them to the return list.
|
protected void |
BlockStackingLayoutManager.addPendingMarks(LayoutContext context)
Adds the unresolved elements for border and padding to a layout context so break
possibilities can be properly constructed.
|
void |
LayoutContext.copyPendingMarksFrom(LayoutContext source) |
protected int |
AbstractBreaker.getNextBlockList(LayoutContext childLC,
int nextSequenceStartsOn)
Gets the next block list (sequence) and adds it to a list of block lists if it's not empty.
|
protected int |
PageBreaker.getNextBlockList(LayoutContext childLC,
int nextSequenceStartsOn)
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 firstElements)
Gets the next block list (sequence) and adds it to a list of block lists
if it's not empty.
|
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.
|
java.util.List |
BlockLayoutManager.getNextKnuthElements(LayoutContext context,
int alignment)
Get a sequence of KnuthElements representing the content
of the node assigned to the LM
|
java.util.List |
FlowLayoutManager.getNextKnuthElements(LayoutContext context,
int alignment)
Get a sequence of KnuthElements representing the content
of the node assigned to the LM
|
protected abstract java.util.List |
AbstractBreaker.getNextKnuthElements(LayoutContext context,
int alignment) |
java.util.List |
LayoutManager.getNextKnuthElements(LayoutContext context,
int alignment)
Get a sequence of KnuthElements representing the content
of the node assigned to the LM
|
java.util.List |
AbstractLayoutManager.getNextKnuthElements(LayoutContext context,
int alignment)
Get a sequence of KnuthElements representing the content
of the node assigned to the LM
|
java.util.List |
BlockContainerLayoutManager.getNextKnuthElements(LayoutContext context,
int alignment)
Get a sequence of KnuthElements representing the content
of the node assigned to the LM
|
java.util.List |
BlockStackingLayoutManager.getNextKnuthElements(LayoutContext context,
int alignment)
Get a sequence of KnuthElements representing the content
of the node assigned to the LM
|
java.util.List |
StaticContentLayoutManager.getNextKnuthElements(LayoutContext context,
int alignment)
Get a sequence of KnuthElements representing the content
of the node assigned to the LM
|
protected java.util.List |
PageBreaker.getNextKnuthElements(LayoutContext context,
int alignment) |
java.util.List |
FlowLayoutManager.getNextKnuthElements(LayoutContext context,
int alignment,
Position positionAtIPDChange,
LayoutManager restartAtLM) |
protected java.util.List |
AbstractBreaker.getNextKnuthElements(LayoutContext context,
int alignment,
Position positionAtIPDChange,
LayoutManager restartAtLM) |
protected java.util.List |
PageBreaker.getNextKnuthElements(LayoutContext context,
int alignment,
Position positionAtIPDChange,
LayoutManager restartAtLM) |
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 |
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 |
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 |
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.
|
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.
|
protected int |
AbstractBreaker.handleSpanChange(LayoutContext childLC,
int nextSequenceStartsOn)
Handles span changes reported through the
LayoutContext . |
protected int |
PageBreaker.handleSpanChange(LayoutContext childLC,
int nextSequenceStartsOn)
Handles span changes reported through the
LayoutContext . |
protected void |
AbstractBreaker.updateLayoutContext(LayoutContext context)
Used to update the LayoutContext in subclasses prior to starting a new element list.
|
protected void |
PageBreaker.updateLayoutContext(LayoutContext context)
Used to update the LayoutContext in subclasses prior to starting a new element list.
|
Constructor and Description |
---|
BreakElement(Position position,
int penaltyWidth,
int penaltyValue,
int breakClass,
LayoutContext context)
Constructor for hard breaks.
|
BreakElement(Position position,
int penaltyValue,
int breakClass,
LayoutContext context)
Create a new BreakElement for the given
position , penaltyValue
and breakClass . |
BreakElement(Position position,
int penaltyValue,
LayoutContext context)
Main constructor
|
LayoutContext(LayoutContext parentLC)
Copy constructor for creating child layout contexts.
|
Modifier and Type | Field and Description |
---|---|
protected LayoutContext |
InlineStackingLayoutManager.childLC
The child layout context
|
Modifier and Type | Method and Description |
---|---|
protected LayoutContext |
InlineStackingLayoutManager.getContext()
Current child layout context
|
Modifier and Type | Method and Description |
---|---|
void |
LeafNodeLayoutManager.addAreas(PositionIterator posIter,
LayoutContext context)
Add the area for this layout manager.
|
void |
ContentLayoutManager.addAreas(PositionIterator posIter,
LayoutContext context) |
void |
AbstractPageNumberCitationLayoutManager.addAreas(PositionIterator posIter,
LayoutContext context)
Add the area for this layout manager.
|
void |
FootnoteLayoutManager.addAreas(PositionIterator posIter,
LayoutContext context)
Tell the layout manager to add all the child areas implied
by Position objects which will be returned by the
Iterator.
|
void |
LineLayoutManager.addAreas(PositionIterator parentIter,
LayoutContext context)
Add the areas with the break points.
|
void |
WrapperLayoutManager.addAreas(PositionIterator posIter,
LayoutContext context)
Add the area for this layout manager.
|
void |
InlineLayoutManager.addAreas(PositionIterator parentIter,
LayoutContext context)
Generate and add areas to parent area.
|
void |
TextLayoutManager.addAreas(PositionIterator posIter,
LayoutContext context)
Generate and add areas to parent area.
|
void |
LeaderLayoutManager.addAreas(PositionIterator posIter,
LayoutContext context)
Add the area for this layout manager.
|
InlineArea |
LeafNodeLayoutManager.get(LayoutContext context)
get the inline area.
|
InlineArea |
PageNumberCitationLastLayoutManager.get(LayoutContext context)
get the inline area.
|
InlineArea |
AbstractPageNumberCitationLayoutManager.get(LayoutContext context)
get the inline area.
|
InlineArea |
PageNumberCitationLayoutManager.get(LayoutContext context)
get the inline area.
|
InlineArea |
PageNumberLayoutManager.get(LayoutContext context)
get the inline area.
|
InlineArea |
WrapperLayoutManager.get(LayoutContext context)
get the inline area.
|
InlineArea |
LeaderLayoutManager.get(LayoutContext context)
Return the inline area for this leader.
|
java.util.List |
LeafNodeLayoutManager.getNextKnuthElements(LayoutContext context,
int alignment)
Get a sequence of KnuthElements representing the content
of the node assigned to the LM
|
java.util.List |
ContentLayoutManager.getNextKnuthElements(LayoutContext context,
int alignment) |
java.util.List |
AbstractGraphicsLayoutManager.getNextKnuthElements(LayoutContext context,
int alignment)
Get a sequence of KnuthElements representing the content
of the node assigned to the LM
|
java.util.List |
FootnoteLayoutManager.getNextKnuthElements(LayoutContext context,
int alignment)
Get a sequence of KnuthElements representing the content
of the node assigned to the LM
|
java.util.List |
LineLayoutManager.getNextKnuthElements(LayoutContext context,
int alignment)
Get a sequence of KnuthElements representing the content
of the node assigned to the LM
|
java.util.List |
InlineLayoutManager.getNextKnuthElements(LayoutContext context,
int alignment)
Get a sequence of KnuthElements representing the content
of the node assigned to the LM
|
java.util.List |
TextLayoutManager.getNextKnuthElements(LayoutContext context,
int alignment)
Get a sequence of KnuthElements representing the content
of the node assigned to the LM
|
java.util.List |
LeaderLayoutManager.getNextKnuthElements(LayoutContext context,
int alignment)
Get a sequence of KnuthElements representing the content
of the node assigned to the LM
|
java.util.List |
CharacterLayoutManager.getNextKnuthElements(LayoutContext context,
int alignment)
Get a sequence of KnuthElements representing the content
of the node assigned to the LM
|
java.util.List |
LineLayoutManager.getNextKnuthElements(LayoutContext context,
int alignment,
LeafPosition restartPosition) |
protected AlignmentContext |
LeafNodeLayoutManager.makeAlignmentContext(LayoutContext context)
Creates a new alignment context or returns the current
alignment context.
|
protected AlignmentContext |
AbstractPageNumberCitationLayoutManager.makeAlignmentContext(LayoutContext context)
Creates a new alignment context or returns the current
alignment context.
|
protected AlignmentContext |
AbstractGraphicsLayoutManager.makeAlignmentContext(LayoutContext context)
Creates a new alignment context or returns the current
alignment context.
|
protected AlignmentContext |
PageNumberLayoutManager.makeAlignmentContext(LayoutContext context)
Creates a new alignment context or returns the current
alignment context.
|
protected void |
LeafNodeLayoutManager.offsetArea(InlineArea area,
LayoutContext context)
Offset this area.
|
protected void |
InlineStackingLayoutManager.setChildContext(LayoutContext lc)
Set the current child layout context
|
protected void |
LeafNodeLayoutManager.widthAdjustArea(InlineArea area,
LayoutContext context)
Adjust the width of the area when adding.
|
Modifier and Type | Method and Description |
---|---|
void |
ListItemContentLayoutManager.addAreas(PositionIterator parentIter,
LayoutContext layoutContext)
Add the areas for the break points.
|
void |
ListItemLayoutManager.addAreas(PositionIterator parentIter,
LayoutContext layoutContext)
Add the areas for the break points.
|
void |
ListBlockLayoutManager.addAreas(PositionIterator parentIter,
LayoutContext layoutContext)
The table area is a reference area that contains areas for
columns, bodies, rows and the contents are in cells.
|
java.util.List |
ListItemLayoutManager.getNextKnuthElements(LayoutContext context,
int alignment)
Get a sequence of KnuthElements representing the content
of the node assigned to the LM
|
java.util.List |
ListBlockLayoutManager.getNextKnuthElements(LayoutContext context,
int alignment)
Get a sequence of KnuthElements representing the content
of the node assigned to the LM
|
Modifier and Type | Method and Description |
---|---|
void |
TableAndCaptionLayoutManager.addAreas(PositionIterator parentIter,
LayoutContext layoutContext)
Add the areas.
|
void |
TableLayoutManager.addAreas(PositionIterator parentIter,
LayoutContext layoutContext)
The table area is a reference area that contains areas for
columns, bodies, rows and the contents are in cells.
|
void |
TableCaptionLayoutManager.addAreas(PositionIterator parentIter,
LayoutContext layoutContext)
Add the areas to the parent.
|
void |
TableCellLayoutManager.addAreas(PositionIterator parentIter,
LayoutContext layoutContext,
int[] spannedGridRowHeights,
int startRow,
int endRow,
int borderBeforeWhich,
int borderAfterWhich,
boolean firstOnPage,
boolean lastOnPage,
org.apache.fop.layoutmgr.table.RowPainter painter,
int firstRowHeight)
Add the areas for the break points.
|
java.util.LinkedList |
TableStepper.getCombinedKnuthElementsForRowGroup(LayoutContext context,
EffRow[] rows,
int bodyType)
Creates the combined element list for a row group.
|
java.util.List |
TableCellLayoutManager.getNextKnuthElements(LayoutContext context,
int alignment)
Get a sequence of KnuthElements representing the content
of the node assigned to the LM
|
java.util.List |
TableLayoutManager.getNextKnuthElements(LayoutContext context,
int alignment)
Get a sequence of KnuthElements representing the content
of the node assigned to the LM
|
java.util.LinkedList |
TableContentLayoutManager.getNextKnuthElements(LayoutContext context,
int alignment) |
Copyright 1999-2010 The Apache Software Foundation. All Rights Reserved.