org.apache.fop.layoutmgr

Class PageBreakingAlgorithm.BestPageRecords

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

protected class PageBreakingAlgorithm.BestPageRecords
extends BreakingAlgorithm.BestRecords

this class stores information about how the nodes which could start a line ending at the current element

Method Summary

void
addRecord(double demerits, BreakingAlgorithm.KnuthNode node, double adjust, int availableShrink, int availableStretch, int difference, int fitness)
int
getFootnoteElementIndex(int fitness)
int
getFootnoteListIndex(int fitness)
int
getFootnotesLength(int fitness)

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

addRecord, getAdjust, getAvailableShrink, getAvailableStretch, getDemerits, getDifference, getMinDemerits, getNode, hasRecords, notInfiniteDemerits, reset

Method Details

addRecord

public void addRecord(double demerits,
                      BreakingAlgorithm.KnuthNode node,
                      double adjust,
                      int availableShrink,
                      int availableStretch,
                      int difference,
                      int fitness)
Overrides:
addRecord in interface BreakingAlgorithm.BestRecords

getFootnoteElementIndex

public int getFootnoteElementIndex(int fitness)

getFootnoteListIndex

public int getFootnoteListIndex(int fitness)

getFootnotesLength

public int getFootnotesLength(int fitness)

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