Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| fop 1.0
PREV NEXT | FRAMES NO FRAMES

## Uses of Class
org.apache.fop.layoutmgr.KnuthElement

Packages that use KnuthElement
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
`class` | `KnuthBlockBox` Knuth box used to represent a line in block-progression-dimension (i.e.
`class` | `KnuthBox` An 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), ...
`class` | `KnuthGlue` An instance of this class represents a piece of content with adjustable width: for example a space between words of justified text.
`class` | `KnuthPenalty` An instance of this class represents information about a feasible breaking point; it does not represent any piece of content.

Methods in org.apache.fop.layoutmgr that return KnuthElement
`protected KnuthElement` | `BreakingAlgorithm.handleElementAt(int position, boolean previousIsBox, int allowedBreaks)` Generic handler for a `KnuthElement` at the given , taking into account whether the preceding element was a box, and which type(s) of breaks are allowed.
`protected KnuthElement` | `BreakingAlgorithm.getElement(int idx)` Return the element at index idx in the paragraph.

Methods in org.apache.fop.layoutmgr with parameters of type KnuthElement
`protected double` | `BalancingColumnBreakingAlgorithm.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. This adds to the total demerits of the given active node, the demerits of a line starting at this node and ending at the given element.
`int` | `BlockLevelLayoutManager.negotiateBPDAdjustment(int adj, KnuthElement lastElement)`
`int` | `FlowLayoutManager.negotiateBPDAdjustment(int adj, KnuthElement lastElement)`
`protected void` | `BreakingAlgorithm.considerLegalBreak(KnuthElement element, int elementIdx)` Determines if the given breakpoint is a feasible breakpoint.
`protected boolean` | `BreakingAlgorithm.elementCanEndLine(KnuthElement element, int line, int difference)` Check if the given `KnuthElement` can end the line with the given number.
`protected int` | `BreakingAlgorithm.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 double` | `BreakingAlgorithm.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.
`int` | `BlockContainerLayoutManager.negotiateBPDAdjustment(int adj, KnuthElement lastElement)`
`int` | `BlockStackingLayoutManager.negotiateBPDAdjustment(int adj, KnuthElement lastElement)`

Uses of KnuthElement in org.apache.fop.layoutmgr.inline

Subclasses of KnuthElement in org.apache.fop.layoutmgr.inline
`class` | `KnuthInlineBox`

Methods in org.apache.fop.layoutmgr.inline with parameters of type KnuthElement
`int` | `LineLayoutManager.negotiateBPDAdjustment(int adj, KnuthElement lastElement)`

Uses of KnuthElement in org.apache.fop.layoutmgr.table

Methods in org.apache.fop.layoutmgr.table with parameters of type KnuthElement
`int` | `TableCellLayoutManager.negotiateBPDAdjustment(int adj, KnuthElement lastElement)`
`int` | `TableLayoutManager.negotiateBPDAdjustment(int adj, KnuthElement lastElement)`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| fop 1.0
PREV NEXT | FRAMES NO FRAMES

Copyright 1999-2010 The Apache Software Foundation. All Rights Reserved.