Uses of Class
org.apache.fop.layoutmgr.Position
Packages that use Position
Package
Description
FOP's layout engine.
Layout managers for inline formatting objects and line building.
Layout managers for lists.
Layout managers for tables.
-
Uses of Position in org.apache.fop.layoutmgr
Subclasses of Position in org.apache.fop.layoutmgrModifier and TypeClassDescriptionstatic class
static class
A page break position.private class
protected static class
A mapping position.class
A leaf position.(package private) static class
class
A non-leaf position.static class
Position class for break possibilities.static class
Position class for no-break situations.Fields in org.apache.fop.layoutmgr declared as PositionModifier and TypeFieldDescriptionprivate Position
BlockStackingLayoutManager.auxiliaryPosition
private Position
SpaceResolver.SpaceHandlingBreakPosition.originalPosition
private Position
ListElement.position
protected Position
AbstractBreaker.positionAtBreak
private Position
NonLeafPosition.subPos
Methods in org.apache.fop.layoutmgr that return PositionModifier and TypeMethodDescriptionprotected Position
BlockStackingLayoutManager.getAuxiliaryPosition()
SpaceResolver.SpaceHandlingBreakPosition.getOriginalBreakPosition()
protected Position
Default implementation assumes that the passednextObj
is itself aPosition
, and just returns it.protected Position
Default implementation assumes that the passednextObj
is itself aPosition
, and just returns it.ListElement.getPosition()
NonLeafPosition.getPosition()
Position.getPosition()
Overridden by NonLeafPosition to return the Position of its child LM.Position.getPosition
(int depth) Overridden by NonLeafPosition to return the Position of its child LM.SpaceResolver.SpaceHandlingBreakPosition.getPosition()
Overridden by NonLeafPosition to return the Position of its child LM.KnuthPossPosIter.next()
PositionIterator.next()
Adds a Position to the Position participating in the first|last determination by assigning it a unique position index.Adds a Position to the Position participating in the first|last determination by assigning it a unique position index.Methods in org.apache.fop.layoutmgr that return types with arguments of type PositionModifier and TypeMethodDescriptionMultiSwitchLayoutManager.WhitespaceManagementPosition.getPositionList()
Methods in org.apache.fop.layoutmgr with parameters of type PositionModifier and TypeMethodDescriptionprivate static void
AreaAdditionUtil.add
(Position pos, LinkedList<Position> positionList) private List
<ListElement> FlowLayoutManager.addChildElements
(List<ListElement> elements, LayoutManager childLM, LayoutContext context, int alignment, Stack<LayoutManager> lmStack, Position position, LayoutManager restartAtLM) protected void
AbstractLayoutManager.checkEndOfLayout
(Position pos) Checks to see if the incomingPosition
is the last one for this LM, and if so, callsAbstractLayoutManager.notifyEndOfLayout()
and cleans up.protected boolean
AbstractBreaker.containsNonRestartableLM
(Position position) Returnstrue
if the given position or one of its descendants corresponds to a non-restartable LM.AbstractBreaker.BlockSequence.endBlockSequence
(Position breakPosition) Finalizes a thisAbstractBreaker.BlockSequence
, adding a terminating penalty-glue-penalty sequenceAbstractBreaker.BlockSequence.endSequence
(Position breakPosition) Finalizes a Knuth sequence.protected int
AbstractBreaker.getNextBlockList
(LayoutContext childLC, int nextSequenceStartsOn, Position positionAtIPDChange, LayoutManager restartAtLM, List<KnuthElement> 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, List firstElements) Gets the next block list (sequence) and adds it to a list of block lists if it's not empty.protected List
<ListElement> BlockLayoutManager.getNextChildElements
(LayoutManager childLM, LayoutContext context, LayoutContext childLC, int alignment, Stack lmStack, Position restartPosition, LayoutManager restartAtLM) Overridden to take into account that the childLM may be the block'sLineLayoutManager
.protected List
<ListElement> BlockStackingLayoutManager.getNextChildElements
(LayoutManager childLM, LayoutContext context, LayoutContext childLC, int alignment, Stack<LayoutManager> lmStack, Position restartPosition, LayoutManager restartAtLM) Gets the next set of child elements for the given childLM.protected List
<ListElement> FlowLayoutManager.getNextChildElements
(LayoutManager childLM, LayoutContext context, LayoutContext childLC, int alignment, 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.AbstractBaseLayoutManager.getNextKnuthElements
(LayoutContext context, int alignment, 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 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 LMBlockContainerLayoutManager.getNextKnuthElements
(LayoutContext context, int alignment, 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.BlockLayoutManager.getNextKnuthElements
(LayoutContext context, int alignment, 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.BlockStackingLayoutManager.getNextKnuthElements
(LayoutContext context, int alignment, 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.(package private) List
FlowLayoutManager.getNextKnuthElements
(LayoutContext context, int alignment, Position restartPosition, LayoutManager restartLM) Get a sequence of KnuthElements representing the content of the node assigned to the LM.LayoutManager.getNextKnuthElements
(LayoutContext context, int alignment, 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 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 LMprivate static boolean
ElementListUtils.isAbsoluteOrFixed
(Position pos) boolean
Indicates whether the given Position is the first area-generating Position of this LM.boolean
Indicates whether the given Position is the last area-generating Position of this LM.Adds a Position to the Position participating in the first|last determination by assigning it a unique position index.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.private void
AbstractLayoutManager.verifyNonNullPosition
(Position pos) Method parameters in org.apache.fop.layoutmgr with type arguments of type PositionModifier and TypeMethodDescriptionprivate static void
AreaAdditionUtil.add
(Position pos, LinkedList<Position> positionList) Constructors in org.apache.fop.layoutmgr with parameters of type PositionModifierConstructorDescriptionBorderElement
(Position position, CondLengthProperty condLength, RelSide side, boolean isFirst, boolean isLast, PercentBaseContext context) Main constructorBorderOrPaddingElement
(Position position, CondLengthProperty condLength, RelSide side, boolean isFirst, boolean isLast, PercentBaseContext context) Main constructorBreakElement
(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 givenposition
,penaltyValue
andbreakClass
.BreakElement
(Position position, int penaltyValue, LayoutContext context) Main constructorKnuthBlockBox
(int width, List list, Position pos, boolean auxiliary) Creates a new box.KnuthBlockBox
(int width, List list, Position pos, boolean auxiliary, List<FloatContentLayoutManager> fclms) KnuthBlockBox
(int width, MinOptMax range, int bpdim, Position pos, boolean auxiliary) Creates a new box.Creates a newKnuthBox
.protected
KnuthElement
(int width, Position pos, boolean auxiliary) Creates a newKnuthElement
.KnuthGlue
(int width, int stretch, int shrink, Adjustment adjustmentClass, Position pos, boolean auxiliary) Creates a newKnuthGlue
.Creates a newKnuthGlue
.Creates a newKnuthGlue
.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 constructorNonLeafPosition
(LayoutManager lm, Position sub) Construct a leaf position.PaddingElement
(Position position, CondLengthProperty condLength, RelSide side, boolean isFirst, boolean isLast, PercentBaseContext context) Main constructorSpaceElement
(Position position, SpaceProperty space, RelSide side, boolean isFirst, boolean isLast, PercentBaseContext context) Main constructorUnresolvedListElement
(Position position) Main constructorUnresolvedListElementWithLength
(Position position, MinOptMax length, RelSide side, boolean conditional, boolean isFirst, boolean isLast) Main constructor -
Uses of Position in org.apache.fop.layoutmgr.inline
Subclasses of Position in org.apache.fop.layoutmgr.inlineModifier and TypeClassDescription(package private) static class
Private class to store information about inline breaks.Fields in org.apache.fop.layoutmgr.inline declared as PositionMethods in org.apache.fop.layoutmgr.inline that return PositionModifier and TypeMethodDescriptionprotected Position
InlineLayoutManager.getAuxiliaryPosition()
Adds a Position to the Position participating in the first|last determination by assigning it a unique position index.Methods in org.apache.fop.layoutmgr.inline with parameters of type PositionModifier and TypeMethodDescriptionprivate void
LineLayoutManager.addBlockArea
(LayoutContext context, Position pos, boolean isLastPosition) Add a line with block contentprivate void
LineLayoutManager.createElements
(List<ListElement> list, LineLayoutPossibilities llPoss, Position elementPosition) private List
TextLayoutManager.getElementsForBreakingSpace
(int alignment, GlyphMapping mapping, Position pos2, int p2WidthOffset, Position pos3, int p3WidthOffset, boolean skipZeroCheck) private List
TextLayoutManager.getElementsForJustifiedText
(GlyphMapping mapping, Position pos2, int p2WidthOffset, Position pos3, int p3WidthOffset, boolean skipZeroCheck, int shrinkability) CharacterLayoutManager.getWordChars
(Position pos) Get the word chars corresponding to the given position.ContentLayoutManager.getWordChars
(Position pos) Get the word chars corresponding to the given position.InlineContainerLayoutManager.getWordChars
(Position pos) InlineLevelLayoutManager.getWordChars
(Position pos) Get the word chars corresponding to the given position.InlineStackingLayoutManager.getWordChars
(Position pos) Get the word chars corresponding to the given position.LeafNodeLayoutManager.getWordChars
(Position pos) Get the word chars corresponding to the given position.TextLayoutManager.getWordChars
(Position pos) Get the word chars corresponding to the given position.void
CharacterLayoutManager.hyphenate
(Position pos, HyphContext hc) Tell the LM to hyphenate a wordvoid
ContentLayoutManager.hyphenate
(Position pos, HyphContext hc) Tell the LM to hyphenate a wordvoid
InlineContainerLayoutManager.hyphenate
(Position pos, HyphContext hyphContext) void
InlineLevelLayoutManager.hyphenate
(Position pos, HyphContext hyphContext) Tell the LM to hyphenate a wordvoid
InlineStackingLayoutManager.hyphenate
(Position pos, HyphContext hc) Tell the LM to hyphenate a wordvoid
LeaderLayoutManager.hyphenate
(Position pos, HyphContext hc) Tell the LM to hyphenate a wordvoid
LeafNodeLayoutManager.hyphenate
(Position pos, HyphContext hyphContext) Tell the LM to hyphenate a wordvoid
TextLayoutManager.hyphenate
(Position pos, HyphContext hyphContext) Tell the LM to hyphenate a wordAdds a Position to the Position participating in the first|last determination by assigning it a unique position index.Constructors in org.apache.fop.layoutmgr.inline with parameters of type PositionModifierConstructorDescriptionKnuthInlineBox
(int width, AlignmentContext alignmentContext, Position pos, boolean auxiliary) Create a new KnuthBox. -
Uses of Position in org.apache.fop.layoutmgr.list
Subclasses of Position in org.apache.fop.layoutmgr.listFields in org.apache.fop.layoutmgr.list declared as PositionModifier and TypeFieldDescriptionprivate Position
ListItemLayoutManager.ListItemPosition.originalBodyPosition
private Position
ListItemLayoutManager.ListItemPosition.originalLabelPosition
Methods in org.apache.fop.layoutmgr.list that return PositionModifier and TypeMethodDescriptionprivate Position
ListItemLayoutManager.extractBlock
(List<ListElement> bodyElements, int index) Extracts a block Position from a ListElement at a given index in a list of ListItem body elements.ListItemLayoutManager.ListItemPosition.getOriginalBodyPosition()
ListItemLayoutManager.ListItemPosition.getOriginalLabelPosition()
Methods in org.apache.fop.layoutmgr.list with parameters of type PositionModifier and TypeMethodDescriptionListBlockLayoutManager.getNextKnuthElements
(LayoutContext context, int alignment, 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.ListItemContentLayoutManager.getNextKnuthElements
(LayoutContext context, int alignment, 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.ListItemLayoutManager.getNextKnuthElements
(LayoutContext context, int alignment, 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
ListItemLayoutManager.ListItemPosition.setOriginalBodyPosition
(Position originalBodyPosition) void
ListItemLayoutManager.ListItemPosition.setOriginalLabelPosition
(Position originalLabelPosition) -
Uses of Position in org.apache.fop.layoutmgr.table
Subclasses of Position in org.apache.fop.layoutmgr.tableModifier and TypeClassDescription(package private) class
This class represents a Position specific to TableContentLayoutManager.(package private) class
This class represents a Position specific to TableContentLayoutManager.(package private) class
This class represents a Position specific to TableContentLayoutManager.Fields in org.apache.fop.layoutmgr.table declared as PositionMethods in org.apache.fop.layoutmgr.table that return PositionModifier and TypeMethodDescriptionTableLayoutManager.getAuxiliaryPosition()
TableContentPosition.getPosition()