Uses of Class
org.apache.fop.layoutmgr.Position
-
Packages that use Position 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. -
-
Uses of Position in org.apache.fop.layoutmgr
Subclasses of Position in org.apache.fop.layoutmgr Modifier and Type Class Description static classAbstractBreaker.FloatPositionstatic classAbstractBreaker.PageBreakPositionA page break position.protected static classBlockStackingLayoutManager.MappingPositionA mapping position.classLeafPositionA leaf position.classNonLeafPositionA non-leaf position.static classSpaceResolver.SpaceHandlingBreakPositionPosition class for break possibilities.static classSpaceResolver.SpaceHandlingPositionPosition class for no-break situations.Fields in org.apache.fop.layoutmgr declared as Position Modifier and Type Field Description protected PositionAbstractBreaker. positionAtBreakMethods in org.apache.fop.layoutmgr that return Position Modifier and Type Method Description protected PositionBlockStackingLayoutManager. getAuxiliaryPosition()PositionSpaceResolver.SpaceHandlingBreakPosition. getOriginalBreakPosition()protected PositionKnuthPossPosIter. getPos(java.lang.Object nextObj)Default implementation assumes that the passednextObjis itself aPosition, and just returns it.protected PositionPositionIterator. getPos(java.lang.Object nextObj)Default implementation assumes that the passednextObjis itself aPosition, and just returns it.PositionListElement. getPosition()PositionNonLeafPosition. getPosition()PositionPosition. getPosition()Overridden by NonLeafPosition to return the Position of its child LM.PositionPosition. getPosition(int depth)Overridden by NonLeafPosition to return the Position of its child LM.PositionSpaceResolver.SpaceHandlingBreakPosition. getPosition()Overridden by NonLeafPosition to return the Position of its child LM.PositionKnuthPossPosIter. next()PositionPositionIterator. next()PositionAbstractLayoutManager. notifyPos(Position pos)Adds a Position to the Position participating in the first|last determination by assigning it a unique position index.PositionLayoutManager. notifyPos(Position pos)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 with parameters of type Position Modifier and Type Method Description protected voidAbstractLayoutManager. checkEndOfLayout(Position pos)Checks to see if the incomingPositionis the last one for this LM, and if so, callsAbstractLayoutManager.notifyEndOfLayout()and cleans up.protected booleanAbstractBreaker. containsNonRestartableLM(Position position)Returnstrueif the given position or one of its descendants corresponds to a non-restartable LM.AbstractBreaker.BlockSequenceAbstractBreaker.BlockSequence. endBlockSequence(Position breakPosition)Finalizes a thisAbstractBreaker.BlockSequence, adding a terminating penalty-glue-penalty sequenceKnuthSequenceAbstractBreaker.BlockSequence. endSequence(Position breakPosition)Finalizes a Knuth sequence.protected intAbstractBreaker. 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 intPageBreaker. 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 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'sLineLayoutManager.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>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.java.util.ListAbstractBaseLayoutManager. 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 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 LMjava.util.ListBlockContainerLayoutManager. 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.ListBlockLayoutManager. 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.ListBlockStackingLayoutManager. 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.ListLayoutManager. 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 java.util.ListPageBreaker. getNextKnuthElements(LayoutContext context, int alignment, Position positionAtIPDChange, LayoutManager restartAtLM)Get a sequence of KnuthElements representing the content of the node assigned to the LMbooleanAbstractLayoutManager. isFirst(Position pos)Indicates whether the given Position is the first area-generating Position of this LM.booleanAbstractLayoutManager. isLast(Position pos)Indicates whether the given Position is the last area-generating Position of this LM.PositionAbstractLayoutManager. notifyPos(Position pos)Adds a Position to the Position participating in the first|last determination by assigning it a unique position index.PositionLayoutManager. notifyPos(Position pos)Adds a Position to the Position participating in the first|last determination by assigning it a unique position index.voidListElement. setPosition(Position position)Change the Position stored in this element.Constructors in org.apache.fop.layoutmgr with parameters of type Position Constructor Description BorderElement(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,penaltyValueandbreakClass.BreakElement(Position position, int penaltyValue, LayoutContext context)Main constructorKnuthBlockBox(int width, java.util.List list, Position pos, boolean auxiliary)Creates a new box.KnuthBlockBox(int width, java.util.List list, Position pos, boolean auxiliary, java.util.List<FloatContentLayoutManager> fclms)KnuthBlockBox(int width, MinOptMax range, int bpdim, Position pos, boolean auxiliary)Creates a new box.KnuthBox(int width, Position pos, boolean auxiliary)Creates a newKnuthBox.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.KnuthGlue(int width, int stretch, int shrink, Position pos, boolean auxiliary)Creates a newKnuthGlue.KnuthGlue(MinOptMax minOptMax, Position pos, boolean auxiliary)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
Methods in org.apache.fop.layoutmgr.inline that return Position Modifier and Type Method Description protected PositionInlineLayoutManager. getAuxiliaryPosition()PositionContentLayoutManager. notifyPos(Position pos)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 Position Modifier and Type Method Description java.lang.StringCharacterLayoutManager. getWordChars(Position pos)Get the word chars corresponding to the given position.java.lang.StringContentLayoutManager. getWordChars(Position pos)Get the word chars corresponding to the given position.java.lang.StringInlineContainerLayoutManager. getWordChars(Position pos)java.lang.StringInlineLevelLayoutManager. getWordChars(Position pos)Get the word chars corresponding to the given position.java.lang.StringInlineStackingLayoutManager. getWordChars(Position pos)Get the word chars corresponding to the given position.java.lang.StringLeafNodeLayoutManager. getWordChars(Position pos)Get the word chars corresponding to the given position.java.lang.StringTextLayoutManager. getWordChars(Position pos)Get the word chars corresponding to the given position.voidCharacterLayoutManager. hyphenate(Position pos, HyphContext hc)Tell the LM to hyphenate a wordvoidContentLayoutManager. hyphenate(Position pos, HyphContext hc)Tell the LM to hyphenate a wordvoidInlineContainerLayoutManager. hyphenate(Position pos, HyphContext hyphContext)voidInlineLevelLayoutManager. hyphenate(Position pos, HyphContext hyphContext)Tell the LM to hyphenate a wordvoidInlineStackingLayoutManager. hyphenate(Position pos, HyphContext hc)Tell the LM to hyphenate a wordvoidLeaderLayoutManager. hyphenate(Position pos, HyphContext hc)Tell the LM to hyphenate a wordvoidLeafNodeLayoutManager. hyphenate(Position pos, HyphContext hyphContext)Tell the LM to hyphenate a wordvoidTextLayoutManager. hyphenate(Position pos, HyphContext hyphContext)Tell the LM to hyphenate a wordPositionContentLayoutManager. notifyPos(Position pos)Adds 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 Position Constructor Description KnuthInlineBox(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.list Modifier and Type Class Description classListItemLayoutManager.ListItemPositionMethods in org.apache.fop.layoutmgr.list that return Position Modifier and Type Method Description PositionListItemLayoutManager.ListItemPosition. getOriginalBodyPosition()PositionListItemLayoutManager.ListItemPosition. getOriginalLabelPosition()Methods in org.apache.fop.layoutmgr.list with parameters of type Position Modifier and Type Method Description java.util.ListListBlockLayoutManager. 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.ListListItemContentLayoutManager. 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.ListListItemLayoutManager. 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.voidListItemLayoutManager.ListItemPosition. setOriginalBodyPosition(Position originalBodyPosition)voidListItemLayoutManager.ListItemPosition. setOriginalLabelPosition(Position originalLabelPosition) -
Uses of Position in org.apache.fop.layoutmgr.table
Methods in org.apache.fop.layoutmgr.table that return Position Modifier and Type Method Description PositionTableLayoutManager. getAuxiliaryPosition()
-