Class PageBreakingAlgorithm.KnuthPageNode

java.lang.Object
org.apache.fop.layoutmgr.BreakingAlgorithm.KnuthNode
org.apache.fop.layoutmgr.PageBreakingAlgorithm.KnuthPageNode
Enclosing class:
PageBreakingAlgorithm

protected class PageBreakingAlgorithm.KnuthPageNode extends BreakingAlgorithm.KnuthNode
This class represents a feasible breaking point with extra information about footnotes.
  • Field Details

    • insertedFootnotes

      public int insertedFootnotes
      Additional length due to already inserted footnotes.
    • totalFootnotes

      public int totalFootnotes
      Total length of the footnotes.
    • footnoteListIndex

      public int footnoteListIndex
      Index of the last inserted footnote.
    • footnoteElementIndex

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

      private final List<WhitespaceManagementPenalty.Variant> pendingVariants
      Pending variants of dynamic contents that were evaluated WRT this node. When computing page difference for a break element, the total width of these variants will be added to 'actualWidth'.
    • totalVariantsWidth

      private int totalVariantsWidth
  • Constructor Details

    • KnuthPageNode

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