Uses of Class
org.apache.fop.layoutmgr.KnuthElement
Packages that use KnuthElement
Package
Description
FOP's layout engine.
Layout managers for inline formatting objects and line building.
Layout managers for tables.
-
Uses of KnuthElement in org.apache.fop.layoutmgr
Subclasses of KnuthElement in org.apache.fop.layoutmgrModifier and TypeClassDescriptionclassKnuth box used to represent a line in block-progression-dimension (i.e.classAn instance of this class represents an unbreakable piece of content with fixed width: for example an image, a syllable (but only if letter spacing is constant), ...classAn instance of this class represents a piece of content with adjustable width: for example a space between words of justified text.classAn instance of this class represents information about a feasible breaking point; it does not represent any piece of content.classA special penalty used to specify content having multiple variants.Fields in org.apache.fop.layoutmgr with type parameters of type KnuthElementModifier and TypeFieldDescriptionprotected KnuthSequence<KnuthElement> BreakingAlgorithm.parThe paragraph of KnuthElements.protected List<KnuthElement> BlockStackingLayoutManager.storedListOnly used to store the original list when createUnitElements is calledMethods in org.apache.fop.layoutmgr that return KnuthElementModifier and TypeMethodDescriptionprotected KnuthElementBreakingAlgorithm.getElement(int idx) Return the element at index idx in the paragraph.WhitespaceManagementPenalty.Variant.getPenalty()protected final KnuthElementBreakingAlgorithm.handleElementAt(int position, boolean previousIsBox, int allowedBreaks) Generic handler for aKnuthElementat the givenposition, taking into account whether the preceding element was a box, and which type(s) of breaks are allowed.Methods in org.apache.fop.layoutmgr that return types with arguments of type KnuthElementModifier and TypeMethodDescriptionKnuthBlockBox.getElementLists()Returns the list of Knuth sequences registered by this box.static List<List<KnuthElement>> PageBreaker.getFootnoteKnuthElements(FlowLayoutManager flowLM, LayoutContext context, List<FootnoteBodyLayoutManager> footnoteBodyLMs) PageSequenceLayoutManager.getTableFooterFootnotes()PageSequenceLayoutManager.getTableHeaderFootnotes()Methods in org.apache.fop.layoutmgr with parameters of type KnuthElementModifier and TypeMethodDescriptionprotected doubleBalancingColumnBreakingAlgorithm.computeDemerits(BreakingAlgorithm.KnuthNode activeNode, KnuthElement element, int fitnessClass, double r) Computes the demerits of the current breaking (that is, up to the given element), if the next-to-last chosen breakpoint is the given active node.protected doubleBreakingAlgorithm.computeDemerits(BreakingAlgorithm.KnuthNode activeNode, KnuthElement element, int fitnessClass, double r) Computes the demerits of the current breaking (that is, up to the given element), if the next-to-last chosen breakpoint is the given active node.protected intBreakingAlgorithm.computeDifference(BreakingAlgorithm.KnuthNode activeNode, KnuthElement element, int elementIndex) Return the difference between the natural width of a line that would be made between the given active node and the given element, and the available width of the real line.protected voidBreakingAlgorithm.considerLegalBreak(KnuthElement element, int elementIdx) Determines if the given breakpoint is a feasible breakpoint.protected booleanBreakingAlgorithm.elementCanEndLine(KnuthElement element, int line, int difference) Check if the givenKnuthElementcan end the line with the given number.intBlockContainerLayoutManager.negotiateBPDAdjustment(int adj, KnuthElement lastElement) Negotiate BPD adjustment.intBlockLevelLayoutManager.negotiateBPDAdjustment(int adj, KnuthElement lastElement) Negotiate BPD adjustment.intBlockStackingLayoutManager.negotiateBPDAdjustment(int adj, KnuthElement lastElement) Negotiate BPD adjustment.intFlowLayoutManager.negotiateBPDAdjustment(int adj, KnuthElement lastElement) Negotiate BPD adjustment.Method parameters in org.apache.fop.layoutmgr with type arguments of type KnuthElementModifier and TypeMethodDescriptionvoidPageSequenceLayoutManager.addTableFooterFootnotes(List<List<KnuthElement>> footerFootnotes) Registers the given footnotes so that they can be added to the current page, after any other footnote.voidPageSequenceLayoutManager.addTableHeaderFootnotes(List<List<KnuthElement>> headerFootnotes) Registers the given footnotes so that they can be added to the current page, before any other footnote. -
Uses of KnuthElement in org.apache.fop.layoutmgr.inline
Subclasses of KnuthElement in org.apache.fop.layoutmgr.inlineMethods in org.apache.fop.layoutmgr.inline with parameters of type KnuthElementModifier and TypeMethodDescriptionintLineLayoutManager.negotiateBPDAdjustment(int adj, KnuthElement lastElement) Negotiate BPD adjustment. -
Uses of KnuthElement in org.apache.fop.layoutmgr.table
Methods in org.apache.fop.layoutmgr.table with parameters of type KnuthElementModifier and TypeMethodDescriptionintTableCellLayoutManager.negotiateBPDAdjustment(int adj, KnuthElement lastElement) Negotiate BPD adjustment.intTableLayoutManager.negotiateBPDAdjustment(int adj, KnuthElement lastElement) Negotiate BPD adjustment.