Uses of Class
org.apache.fop.layoutmgr.KnuthElement
-
Packages that use KnuthElement 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. -
-
Uses of KnuthElement in org.apache.fop.layoutmgr
Subclasses of KnuthElement in org.apache.fop.layoutmgr Modifier and Type Class Description classKnuthBlockBoxKnuth box used to represent a line in block-progression-dimension (i.e.classKnuthBoxAn 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), ...classKnuthGlueAn instance of this class represents a piece of content with adjustable width: for example a space between words of justified text.classKnuthPenaltyAn instance of this class represents information about a feasible breaking point; it does not represent any piece of content.classWhitespaceManagementPenaltyA special penalty used to specify content having multiple variants.Fields in org.apache.fop.layoutmgr with type parameters of type KnuthElement Modifier and Type Field Description private java.util.List<java.util.List<KnuthElement>>KnuthBlockBox. elementListsList of Knuth elements.private java.util.List<java.util.List<KnuthElement>>PageBreakingAlgorithm. footnotesListFootnotes which are cited between the currently considered active node (previous break) and the current considered break.protected KnuthSequence<KnuthElement>BreakingAlgorithm. parThe paragraph of KnuthElements.protected java.util.List<KnuthElement>BlockStackingLayoutManager. storedListOnly used to store the original list when createUnitElements is calledprivate java.util.List<java.util.List<KnuthElement>>PageSequenceLayoutManager. tableFooterFootnotesFootnotes coming from repeated table footers, to be added after any other footnote.private java.util.List<java.util.List<KnuthElement>>PageSequenceLayoutManager. tableHeaderFootnotesFootnotes coming from repeated table headers, to be added before any other footnote.Methods in org.apache.fop.layoutmgr that return KnuthElement Modifier and Type Method Description protected KnuthElementBreakingAlgorithm. getElement(int idx)Return the element at index idx in the paragraph.KnuthElementWhitespaceManagementPenalty.Variant. getPenalty()protected 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 KnuthElement Modifier and Type Method Description java.util.List<java.util.List<KnuthElement>>KnuthBlockBox. getElementLists()Returns the list of Knuth sequences registered by this box.static java.util.List<java.util.List<KnuthElement>>PageBreaker. getFootnoteKnuthElements(FlowLayoutManager flowLM, LayoutContext context, java.util.List<FootnoteBodyLayoutManager> footnoteBodyLMs)protected java.util.List<KnuthElement>PageBreakingAlgorithm. getFootnoteList(int index)Obtain the element-list corresponding to the footnote at the given index.java.util.List<java.util.List<KnuthElement>>PageSequenceLayoutManager. getTableFooterFootnotes()private java.util.List<java.util.List<KnuthElement>>PageSequenceLayoutManager. getTableFootnotes(java.util.List<java.util.List<KnuthElement>> tableFootnotes)java.util.List<java.util.List<KnuthElement>>PageSequenceLayoutManager. getTableHeaderFootnotes()Methods in org.apache.fop.layoutmgr with parameters of type KnuthElement Modifier and Type Method Description protected 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 doublePageBreakingAlgorithm. 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 intPageBreakingAlgorithm. 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 voidPageBreakingAlgorithm. 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.protected booleanPageBreakingAlgorithm. 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 KnuthElement Modifier and Type Method Description private voidPageBreaker. addFootnoteAreas(java.util.List<KnuthElement> footnote)private voidPageBreaker. addFootnoteAreas(java.util.List<KnuthElement> footnote, int startIndex, int endIndex)voidPageSequenceLayoutManager. addTableFooterFootnotes(java.util.List<java.util.List<KnuthElement>> footerFootnotes)Registers the given footnotes so that they can be added to the current page, after any other footnote.voidPageSequenceLayoutManager. addTableHeaderFootnotes(java.util.List<java.util.List<KnuthElement>> headerFootnotes)Registers the given footnotes so that they can be added to the current page, before any other footnote.private java.util.List<java.util.List<KnuthElement>>PageSequenceLayoutManager. getTableFootnotes(java.util.List<java.util.List<KnuthElement>> tableFootnotes)private voidPageBreakingAlgorithm. handleFootnotes(java.util.List<java.util.List<KnuthElement>> elementLists)Handles the footnotes cited inside a block-level box.private voidPageBreakingAlgorithm. resetFootnotes(java.util.List<java.util.List<KnuthElement>> elementLists) -
Uses of KnuthElement in org.apache.fop.layoutmgr.inline
Subclasses of KnuthElement in org.apache.fop.layoutmgr.inline Modifier and Type Class Description classKnuthInlineBoxA knuth inline box.Fields in org.apache.fop.layoutmgr.inline declared as KnuthElement Modifier and Type Field Description private KnuthElementFootnoteLayoutManager. forcedAnchorRepresents the footnote citationMethods in org.apache.fop.layoutmgr.inline with parameters of type KnuthElement Modifier and Type Method Description intLineLayoutManager. negotiateBPDAdjustment(int adj, KnuthElement lastElement)Negotiate BPD adjustment. -
Uses of KnuthElement in org.apache.fop.layoutmgr.table
Subclasses of KnuthElement in org.apache.fop.layoutmgr.table Modifier and Type Class Description private static classActiveCell.FillerBoxprivate static classActiveCell.FillerPenaltyFields in org.apache.fop.layoutmgr.table with type parameters of type KnuthElement Modifier and Type Field Description private java.util.List<java.util.List<KnuthElement>>TableLayoutManager. footerFootnotesprivate java.util.List<java.util.List<KnuthElement>>TableLayoutManager. headerFootnotesMethods in org.apache.fop.layoutmgr.table that return types with arguments of type KnuthElement Modifier and Type Method Description (package private) java.util.List<java.util.List<KnuthElement>>TableLayoutManager. getFooterFootnotes()(package private) java.util.List<java.util.List<KnuthElement>>TableLayoutManager. getHeaderFootnotes()Methods in org.apache.fop.layoutmgr.table with parameters of type KnuthElement Modifier and Type Method Description (package private) static intActiveCell. getElementContentLength(KnuthElement el)Returns the actual length of the content represented by the given element.intTableCellLayoutManager. negotiateBPDAdjustment(int adj, KnuthElement lastElement)Negotiate BPD adjustment.intTableLayoutManager. negotiateBPDAdjustment(int adj, KnuthElement lastElement)Negotiate BPD adjustment.Method parameters in org.apache.fop.layoutmgr.table with type arguments of type KnuthElement Modifier and Type Method Description private intTableContentLayoutManager. getFootnotesBPD(java.util.List<java.util.List<KnuthElement>> footnotes)(package private) voidTableLayoutManager. setFooterFootnotes(java.util.List<java.util.List<KnuthElement>> footnotes)(package private) voidTableLayoutManager. setHeaderFootnotes(java.util.List<java.util.List<KnuthElement>> footnotes)
-