Class PageBreakingAlgorithm.KnuthPageNode

    • Field Detail

      • 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 java.util.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 Detail

      • 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)