org.apache.fop.layoutmgr

Class PageBreakingAlgorithm.KnuthPageNode

Enclosing Class:
org.apache.fop.layoutmgr.PageBreakingAlgorithm

protected class PageBreakingAlgorithm.KnuthPageNode
extends BreakingAlgorithm.KnuthNode

This class represents a feasible breaking point with extra information about footnotes.

Field Summary

int
footnoteElementIndex
Index of the last inserted element of the last inserted footnote.
int
footnoteListIndex
Index of the last inserted footnote.
int
totalFootnotes
Additional length due to footnotes.

Fields inherited from class org.apache.fop.layoutmgr.BreakingAlgorithm.KnuthNode

adjustRatio, availableShrink, availableStretch, difference, fitRecoveryCounter, fitness, line, next, position, previous, totalDemerits, totalShrink, totalStretch, totalWidth

Constructor Summary

KnuthPageNode(int position, int line, int fitness, int totalWidth, int totalStretch, int totalShrink, int totalFootnotes, int footnoteListIndex, int footnoteElementIndex, double adjustRatio, int availableShrink, int availableStretch, int difference, double totalDemerits, BreakingAlgorithm.KnuthNode previous)

Method Summary

Methods inherited from class org.apache.fop.layoutmgr.BreakingAlgorithm.KnuthNode

toString

Field Details

footnoteElementIndex

public int footnoteElementIndex
Index of the last inserted element of the last inserted footnote.

footnoteListIndex

public int footnoteListIndex
Index of the last inserted footnote.

totalFootnotes

public int totalFootnotes
Additional length due to footnotes.

Constructor Details

KnuthPageNode

public KnuthPageNode(int position,
                     int line,
                     int fitness,
                     int totalWidth,
                     int totalStretch,
                     int totalShrink,
                     int totalFootnotes,
                     int footnoteListIndex,
                     int footnoteElementIndex,
                     double adjustRatio,
                     int availableShrink,
                     int availableStretch,
                     int difference,
                     double totalDemerits,
                     BreakingAlgorithm.KnuthNode previous)

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