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.
|
Modifier and Type | Class | Description |
---|---|---|
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.
|
class |
WhitespaceManagementPenalty |
A special penalty used to specify content having multiple variants.
|
Modifier and Type | Field | Description |
---|---|---|
protected java.util.List<KnuthElement> |
BlockStackingLayoutManager.storedList |
Only used to store the original list when createUnitElements is called
|
Modifier and Type | Method | Description |
---|---|---|
protected KnuthElement |
BreakingAlgorithm.getElement(int idx) |
Return the element at index idx in the paragraph.
|
KnuthElement |
WhitespaceManagementPenalty.Variant.getPenalty() |
|
protected KnuthElement |
BreakingAlgorithm.handleElementAt(int position,
boolean previousIsBox,
int allowedBreaks) |
Generic handler for a
KnuthElement at the given position ,
taking into account whether the preceding element was a box, and which
type(s) of breaks are allowed. |
Modifier and Type | Method | Description |
---|---|---|
java.util.List<KnuthElement> |
FlowLayoutManager.getChangedKnuthElements(java.util.List oldList,
int alignment) |
Get a sequence of KnuthElements representing the content
of the node assigned to the LM, after changes have been applied
In the context of line breaking, this method is called after hyphenation has
been performed, in order to receive the sequence of elements representing the
text together with all possible hyphenation points.
|
static java.util.List<java.util.List<KnuthElement>> |
PageBreaker.getFootnoteKnuthElements(FlowLayoutManager flowLM,
LayoutContext context,
java.util.List<FootnoteBodyLayoutManager> footnoteBodyLMs) |
|
protected abstract java.util.List<KnuthElement> |
AbstractBreaker.getNextKnuthElements(LayoutContext context,
int alignment) |
Get a sequence of KnuthElements representing the content
of the node assigned to the LM
|
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 LM
|
java.util.List<KnuthElement> |
FootnoteBodyLayoutManager.getNextKnuthElements(LayoutContext context,
int alignment) |
|
java.util.List<java.util.List<KnuthElement>> |
PageSequenceLayoutManager.getTableFooterFootnotes() |
|
java.util.List<java.util.List<KnuthElement>> |
PageSequenceLayoutManager.getTableHeaderFootnotes() |
Modifier and Type | Method | Description |
---|---|---|
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.
|
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.
|
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 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. |
int |
BlockContainerLayoutManager.negotiateBPDAdjustment(int adj,
KnuthElement lastElement) |
Negotiate BPD adjustment.
|
int |
BlockLevelLayoutManager.negotiateBPDAdjustment(int adj,
KnuthElement lastElement) |
Negotiate BPD adjustment.
|
int |
BlockStackingLayoutManager.negotiateBPDAdjustment(int adj,
KnuthElement lastElement) |
Negotiate BPD adjustment.
|
int |
FlowLayoutManager.negotiateBPDAdjustment(int adj,
KnuthElement lastElement) |
Negotiate BPD adjustment.
|
Modifier and Type | Method | Description |
---|---|---|
void |
PageSequenceLayoutManager.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.
|
void |
PageSequenceLayoutManager.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.
|
protected int |
AbstractBreaker.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.
|
Modifier and Type | Class | Description |
---|---|---|
class |
KnuthInlineBox |
A knuth inline box.
|
Modifier and Type | Method | Description |
---|---|---|
int |
LineLayoutManager.negotiateBPDAdjustment(int adj,
KnuthElement lastElement) |
Negotiate BPD adjustment.
|
Modifier and Type | Method | Description |
---|---|---|
int |
TableCellLayoutManager.negotiateBPDAdjustment(int adj,
KnuthElement lastElement) |
Negotiate BPD adjustment.
|
int |
TableLayoutManager.negotiateBPDAdjustment(int adj,
KnuthElement lastElement) |
Negotiate BPD adjustment.
|
Copyright 1999-2016 The Apache Software Foundation. All Rights Reserved.