Class LocalBreaker

    • Field Detail

      • displayAlign

        private int displayAlign
      • ipd

        private int ipd
      • overflow

        private int overflow
      • repeatedHeader

        private boolean repeatedHeader
      • isDescendantOfTableFooter

        private boolean isDescendantOfTableFooter
      • repeatedFooter

        private boolean repeatedFooter
    • Method Detail

      • setRepeatedFooter

        public void setRepeatedFooter​(boolean repeatedFooter)
      • setDescendantOfTableFooter

        public void setDescendantOfTableFooter​(boolean isDescendantOfTableFooter)
      • setRepeatedHeader

        public void setRepeatedHeader​(boolean repeatedHeader)
      • isPartOverflowRecoveryActivated

        protected boolean isPartOverflowRecoveryActivated()
        Controls the behaviour of the algorithm in cases where the first element of a part overflows a line/page.
        Overrides:
        isPartOverflowRecoveryActivated in class AbstractBreaker
        Returns:
        true if the algorithm should try to send the element to the next line/page.
      • isOverflow

        public boolean isOverflow()
      • getOverflowAmount

        public int getOverflowAmount()
      • getNextKnuthElements

        protected java.util.List getNextKnuthElements​(LayoutContext context,
                                                      int alignment)
        Description copied from class: AbstractBreaker
        Get a sequence of KnuthElements representing the content of the node assigned to the LM
        Specified by:
        getNextKnuthElements in class AbstractBreaker
        Parameters:
        context - the LayoutContext used to store layout information
        alignment - the desired text alignment
        Returns:
        the list of KnuthElements
      • hasMoreContent

        protected boolean hasMoreContent()
        Specified by:
        hasMoreContent in class AbstractBreaker
        Returns:
        true if content not exhausted
      • addAreas

        protected void addAreas​(PositionIterator posIter,
                                LayoutContext context)
        Description copied from class: AbstractBreaker
        Tell the layout manager to add all the child areas implied by Position objects which will be returned by the Iterator.
        Specified by:
        addAreas in class AbstractBreaker
        Parameters:
        posIter - the position iterator
        context - the context