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.table |
Layout managers for tables.
|
Modifier and Type | Class and Description |
---|---|
static class |
AbstractBreaker.PageBreakPosition |
protected static class |
BlockStackingLayoutManager.MappingPosition |
class |
LeafPosition |
class |
NonLeafPosition |
static class |
SpaceResolver.SpaceHandlingBreakPosition
Position class for break possibilities.
|
static class |
SpaceResolver.SpaceHandlingPosition
Position class for no-break situations.
|
Modifier and Type | Method and Description |
---|---|
protected Position |
BlockStackingLayoutManager.getAuxiliaryPosition() |
Position |
SpaceResolver.SpaceHandlingBreakPosition.getOriginalBreakPosition() |
protected abstract Position |
PositionIterator.getPos(java.lang.Object nextObj) |
protected Position |
BlockStackingLayoutManager.StackingIter.getPos(java.lang.Object nextObj) |
protected Position |
KnuthPossPosIter.getPos(java.lang.Object nextObj) |
Position |
NonLeafPosition.getPosition() |
Position |
SpaceResolver.SpaceHandlingBreakPosition.getPosition() |
Position |
Position.getPosition()
Overridden by NonLeafPosition to return the Position of its
child LM.
|
Position |
ListElement.getPosition() |
Position |
LayoutManager.notifyPos(Position pos)
Adds a Position to the Position participating in the first|last determination by assigning
it a unique position index.
|
Position |
AbstractLayoutManager.notifyPos(Position pos)
Adds a Position to the Position participating in the first|last determination by assigning
it a unique position index.
|
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractLayoutManager.checkEndOfLayout(Position pos)
Checks to see if the incoming
Position
is the last one for this LM, and if so, calls
AbstractLayoutManager.notifyEndOfLayout() and cleans up. |
AbstractBreaker.BlockSequence |
AbstractBreaker.BlockSequence.endBlockSequence(Position breakPosition)
Finalizes a this
AbstractBreaker.BlockSequence , adding a terminating
penalty-glue-penalty sequence |
KnuthSequence |
AbstractBreaker.BlockSequence.endSequence(Position breakPosition)
Finalizes a Knuth sequence.
|
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 |
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.
|
boolean |
AbstractLayoutManager.isFirst(Position pos)
Indicates whether the given Position is the first area-generating Position of this LM.
|
boolean |
AbstractLayoutManager.isLast(Position pos)
Indicates whether the given Position is the last area-generating Position of this LM.
|
Position |
LayoutManager.notifyPos(Position pos)
Adds a Position to the Position participating in the first|last determination by assigning
it a unique position index.
|
Position |
AbstractLayoutManager.notifyPos(Position pos)
Adds a Position to the Position participating in the first|last determination by assigning
it a unique position index.
|
void |
ListElement.setPosition(Position position)
Change the Position stored in this element.
|
Constructor and Description |
---|
BorderElement(Position position,
CondLengthProperty condLength,
RelSide side,
boolean isFirst,
boolean isLast,
PercentBaseContext context)
Main constructor
|
BorderOrPaddingElement(Position position,
CondLengthProperty condLength,
RelSide side,
boolean isFirst,
boolean isLast,
PercentBaseContext context)
Main constructor
|
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
|
KnuthBlockBox(int width,
java.util.List list,
Position pos,
boolean auxiliary)
Creates a new box.
|
KnuthBlockBox(int width,
MinOptMax range,
int bpdim,
Position pos,
boolean auxiliary)
Creates a new box.
|
KnuthBox(int width,
Position pos,
boolean auxiliary)
Creates a new
KnuthBox . |
KnuthElement(int width,
Position pos,
boolean auxiliary)
Creates a new
KnuthElement . |
KnuthGlue(int width,
int stretch,
int shrink,
Adjustment adjustmentClass,
Position pos,
boolean auxiliary) |
KnuthGlue(int width,
int stretch,
int shrink,
Position pos,
boolean auxiliary)
Creates a new
KnuthGlue . |
KnuthGlue(MinOptMax minOptMax,
Position pos,
boolean auxiliary)
Creates a new
KnuthGlue . |
KnuthPenalty(int width,
int penalty,
boolean penaltyFlagged,
int breakClass,
Position pos,
boolean isAuxiliary)
Create a new KnuthPenalty.
|
KnuthPenalty(int width,
int penalty,
boolean penaltyFlagged,
Position pos,
boolean auxiliary)
Create a new KnuthPenalty.
|
ListElement(Position position)
Main constructor
|
NonLeafPosition(LayoutManager lm,
Position sub) |
PaddingElement(Position position,
CondLengthProperty condLength,
RelSide side,
boolean isFirst,
boolean isLast,
PercentBaseContext context)
Main constructor
|
SpaceElement(Position position,
SpaceProperty space,
RelSide side,
boolean isFirst,
boolean isLast,
PercentBaseContext context)
Main constructor
|
UnresolvedListElement(Position position)
Main constructor
|
UnresolvedListElementWithLength(Position position,
MinOptMax length,
RelSide side,
boolean conditional,
boolean isFirst,
boolean isLast)
Main constructor
|
Modifier and Type | Method and Description |
---|---|
protected Position |
InlineLayoutManager.getAuxiliaryPosition() |
Position |
LineLayoutPossibilities.getChosenPosition(int i) |
protected Position |
InlineStackingLayoutManager.StackingIter.getPos(java.lang.Object nextObj) |
Position |
ContentLayoutManager.notifyPos(Position pos)
Adds a Position to the Position participating in the first|last determination by assigning
it a unique position index.
|
Modifier and Type | Method and Description |
---|---|
void |
LineLayoutPossibilities.addBreakPosition(Position pos,
int i) |
java.lang.String |
LeafNodeLayoutManager.getWordChars(Position pos)
Get the word chars corresponding to the given position.
|
java.lang.String |
ContentLayoutManager.getWordChars(Position pos) |
java.lang.String |
InlineStackingLayoutManager.getWordChars(Position pos)
Get the word chars corresponding to the given position.
|
java.lang.String |
InlineLevelLayoutManager.getWordChars(Position pos)
Get the word chars corresponding to the given position.
|
java.lang.String |
TextLayoutManager.getWordChars(Position pos)
Get the word chars corresponding to the given position.
|
java.lang.String |
CharacterLayoutManager.getWordChars(Position pos)
Get the word chars corresponding to the given position.
|
void |
LeafNodeLayoutManager.hyphenate(Position pos,
HyphContext hyphContext)
Tell the LM to hyphenate a word
|
void |
ContentLayoutManager.hyphenate(Position pos,
HyphContext hc) |
void |
InlineStackingLayoutManager.hyphenate(Position pos,
HyphContext hc)
Tell the LM to hyphenate a word
|
void |
InlineLevelLayoutManager.hyphenate(Position pos,
HyphContext hyphContext)
Tell the LM to hyphenate a word
|
void |
TextLayoutManager.hyphenate(Position pos,
HyphContext hyphContext)
Tell the LM to hyphenate a word
|
void |
LeaderLayoutManager.hyphenate(Position pos,
HyphContext hc)
Tell the LM to hyphenate a word
|
void |
CharacterLayoutManager.hyphenate(Position pos,
HyphContext hc)
Tell the LM to hyphenate a word
|
Position |
ContentLayoutManager.notifyPos(Position pos)
Adds a Position to the Position participating in the first|last determination by assigning
it a unique position index.
|
Constructor and Description |
---|
KnuthInlineBox(int width,
AlignmentContext alignmentContext,
Position pos,
boolean auxiliary)
Create a new KnuthBox.
|
Modifier and Type | Method and Description |
---|---|
Position |
TableLayoutManager.getAuxiliaryPosition() |
Copyright 1999-2010 The Apache Software Foundation. All Rights Reserved.